/* Paleta baseada no logo T&I: preto, cinza e azul */
:root {
  --logo-preto: #231f20;
  --logo-cinza: #58595b;
  --logo-azul: #2e3192;
  --logo-claro: #e0dedb;

  --bg: #121214;
  --bg-alt: #18181c;
  --surface: #1f1f24;
  --border: #2c2c33;
  --text: #ecebe8;
  --text-muted: #9c9ca3;
  --primary: var(--logo-azul);
  --primary-light: #6266e0;
  --primary-glow: rgba(98, 102, 224, 0.35);

  --font-title: 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --radius: 14px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.accent {
  color: var(--primary-light);
}

.tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 1rem;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn--primary:hover {
  background: var(--primary-light);
}

.btn--outline {
  border-color: var(--primary-light);
  color: var(--text);
}

.btn--outline:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn--ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--text-muted);
}

.btn--lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  background: rgba(18, 18, 20, 0.85);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

/* o JPG do ícone tem uma linha preta na borda inferior */
.brand__icon img,
.hero__badge img {
  clip-path: inset(0 0 2.5% 0);
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-title);
  text-transform: uppercase;
  line-height: 1.05;
}

.brand__text strong {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.brand__text span {
  font-size: 0.85rem;
  color: var(--primary-light);
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a:not(.btn) {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav a:not(.btn):hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  overflow: hidden;
  background:
    linear-gradient(var(--border) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--border) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--bg);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, var(--bg) 75%);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--primary-glow), transparent 65%);
  filter: blur(40px);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 2.25rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__visual {
  display: flex;
  justify-content: center;
}

.hero__badge {
  width: min(320px, 70vw);
  aspect-ratio: 1;
  border-radius: 32px;
  background: #fff;
  padding: 2.25rem;
  box-shadow:
    0 0 0 1px var(--border),
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 120px var(--primary-glow);
  transform: rotate(-4deg);
  animation: flutuar 6s ease-in-out infinite;
}

@keyframes flutuar {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-14px); }
}

/* Seções */
.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section__header p,
.split p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards de serviço */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--primary-glow);
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--logo-cinza));
  margin-bottom: 1.25rem;
}

.card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-size: 1.35rem;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Atendimento */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.checklist li {
  position: relative;
  padding: 1rem 1.25rem 1rem 3.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* CTA */
.cta {
  text-align: center;
  background:
    radial-gradient(ellipse at center, var(--primary-glow), transparent 70%),
    var(--bg);
}

.cta__inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta__info {
  margin-top: 2rem;
  margin-bottom: 0 !important;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 1rem !important;
}

.cta__info a:hover {
  color: var(--primary-light);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: var(--bg-alt);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* Responsivo */
@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .hero__badge {
    width: 180px;
    padding: 1.25rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    display: none;
  }

  .nav--open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.5rem 0;
  }
}
