/* ============================================================
   Craft Evolution — Digital Architects (Folha de Estilos Oficial)
   Cores e Tokens baseados no DESIGN (2).md (Azure Logic)
   Alternância harmônica de seções: Surface, Container e Tertiary
   ============================================================ */

/* --- 1. TOKENS OFICIAIS DE DESIGN (2).md --- */
:root {
  /* Paleta Azure Logic */
  --surface: #f9f9ff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f1f3ff;
  --surface-container-high: #e4e8f7;

  --on-surface: #141b2b; /* Carvão principal para alta legibilidade */
  --on-surface-variant: #434652; /* Ardósia para subtítulos e metadados */

  --outline: #747783;

  /* Primária: Safira (Branding, destaques e estrutura) */
  --primary: #002764;
  --primary-container: #0f52ba;
  --inverse-primary: #b0c6ff;

  /* Secundária: Azul Royal (CTAs e Ações Principais) */
  --secondary: #0051d5;
  --secondary-container: #346cef;
  --on-secondary-fixed: #00174b;

  /* Terciária: Navy Profundo & Ardósia Corporativa */
  /* Tipografia */
  --font-title: "Poppins", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Fira Code", monospace;

  /* ============================================================
     CLAYMORPHISM DESIGN SYSTEM TOKENS
     - Relevo 3D inflado (Clay/Plastilina) com iluminação dupla
     - Destaque interno no topo/esquerda (inset highlight)
     - Sombra interna de profundidade na base/direita (inset shadow)
     - Sombra externa difusa e flutuante
     - Bordas amplas e arredondadas táteis
     ============================================================ */
  --clay-radius-sm: 16px;
  --clay-radius-md: 24px;
  --clay-radius-lg: 32px;
  --clay-radius-full: 9999px;

  /* Cartões Claros (Portfólio, Como Funciona, FAQ) */
  --clay-card-light:
    16px 20px 38px rgba(0, 30, 80, 0.077), inset 3px 3px 6px rgba(255, 255, 255, 0.35), inset -3px -3px 8px rgba(185, 200, 230, 0.248);

  --clay-card-light-hover:
    22px 30px 48px rgba(0, 30, 80, 0.128), inset 4px 4px 8px rgba(255, 255, 255, 0.35), inset -4px -4px 10px rgba(185, 200, 230, 0.33);

  /* Cartões Escuros (Serviços Bento, Quem Faz, Contato) */
  --clay-card-dark:
    16px 20px 40px rgba(0, 5, 20, 0.51), inset 2px 2px 5px rgba(176, 198, 255, 0.121), inset -3px -3px 8px rgba(0, 5, 20, 0.638);

  --clay-card-dark-hover:
    22px 30px 52px rgba(0, 5, 20, 0.638), inset 3px 3px 7px rgba(176, 198, 255, 0.193), inset -4px -4px 12px rgba(0, 5, 20, 0.765);

  /* Botão Primário Azul Royal */
  --clay-btn-primary:
    8px 14px 26px rgba(0, 81, 213, 0.22), inset 2.5px 2.5px 5px rgba(255, 255, 255, 0.18), inset -2.5px -2.5px 5px rgba(0, 25, 75, 0.468);

  --clay-btn-primary-hover:
    10px 20px 32px rgba(0, 81, 213, 0.303), inset 3px 3px 6px rgba(255, 255, 255, 0.24), inset -3px -3px 6px rgba(0, 25, 75, 0.595);

  /* Botão WhatsApp Verde */
  --clay-btn-whatsapp:
    8px 16px 28px rgba(37, 211, 102, 0.248), inset 2.5px 2.5px 5px rgba(255, 255, 255, 0.2),
    inset -2.5px -2.5px 5px rgba(10, 110, 45, 0.303);

  --clay-btn-whatsapp-hover:
    12px 22px 36px rgba(37, 211, 102, 0.358), inset 3px 3px 6px rgba(255, 255, 255, 0.26), inset -3px -3px 6px rgba(10, 110, 45, 0.385);

  /* Pílula / Navbar Flutuante */
  --clay-capsule-dark:
    0 16px 45px rgba(0, 8, 28, 0.553), inset 2px 2px 5px rgba(176, 198, 255, 0.138), inset -3px -3px 8px rgba(0, 8, 28, 0.638);

  --radius-sm: var(--clay-radius-sm);
  --radius-lg: var(--clay-radius-lg);

  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 2. RESET & BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(5.2rem, 9vh, 6.5rem);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--surface);
  color: var(--on-surface);
  overflow-x: clip;
  width: 100%;
}

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
}

.wrap {
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}

.section {
  width: 100%;
  padding-block: clamp(3.2rem, 5.5vh, 4.8rem);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  scroll-margin-top: clamp(5.2rem, 9vh, 6.5rem);
}

@media (min-width: 1024px) {
  .section {
    min-height: calc(100vh - 4.2rem);
  }
}

/* Skip link de acessibilidade */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  z-index: 1000;
  padding: 0.8rem 1.2rem;
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  top: 1rem;
}

/* --- 3. ALTERNÂNCIA RIGOROSA DE SEÇÕES (ESCURO / CLARO) --- */

/* Seção Clara: Fundo suave com texto carvão de alta legibilidade (DESIGN.md) */
.section--light {
  background-color: var(--surface);
  color: var(--on-surface);
}

.section--light .section-title {
  color: var(--on-surface);
}

.section--light .section-desc {
  color: var(--on-surface-variant);
}

/* Variação sutil para seções claras específicas (ex: FAQ e Como Funciona) */
.section--light#faq {
  background-color: var(--surface-container-low);
}

.section--light#processo {
  background-color: var(--surface-container-lowest);
}

/* Seção Escura: Fundo Safira/Navy profundo com cartões em glassmorphism e texto branco */
.section--dark {
  background-color: #021230;
  background-image: radial-gradient(120% 80% at 50% 0%, #001f52 0%, #021230 100%);
  color: #ffffff;
}

.section--dark .section-title {
  color: #ffffff;
}

.section--dark .section-desc {
  color: var(--inverse-primary);
}

/* Customização de Contato em Seção Escura */
.section--dark#contato {
  background: #010d24;
  background-image: radial-gradient(100% 70% at 50% 0%, #001945 0%, #010d24 100%);
}

/* --- 4. TIPOGRAFIA & CABEÇALHOS --- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  line-height: 1.2;
}

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: clamp(1.6rem, 3.2vh, 2.4rem);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-surface);
  margin-bottom: 0.8rem;
  text-align: center;
}

.section-desc {
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  color: var(--on-surface-variant);
  line-height: 1.7;
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 15%, #b0c6ff 65%, #38bdf8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Badges / Chips */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.badge-tag--dark {
  background: transparent;
  box-shadow: none;
  border: 0;
  color: #8fb4ff;
}

.pulse-dot {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--secondary);
  box-shadow: none;
  animation: none;
}

.badge-tag--dark .pulse-dot {
  background: #38bdf8;
  box-shadow: none;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 81, 213, 0.385);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 81, 213, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 81, 213, 0);
  }
}

/* --- 5. BOTÕES CLAYMORPHIC (Táteis, Inflados em 3D) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 0.96rem;
  padding: 0.88rem 1.8rem;
  border-radius: var(--clay-radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.btn:active {
  transform: translateY(2px) scale(0.98);
}

/* Primário: Royal Blue Clay Inflado */
.btn--primary {
  background: linear-gradient(145deg, #1d72fd 0%, #0051d5 100%);
  color: #ffffff;
  box-shadow: var(--clay-btn-primary);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.btn--primary:hover {
  background: linear-gradient(145deg, #2a7bfc 0%, #095de6 100%);
  transform: translateY(-3px);
  box-shadow: var(--clay-btn-primary-hover);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.298),
    inset 2px 2px 4px rgba(255, 255, 255, 0.088),
    inset -2px -2px 5px rgba(0, 0, 0, 0.383);
}
.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.383),
    inset 2px 2px 5px rgba(255, 255, 255, 0.14),
    inset -2px -2px 6px rgba(0, 0, 0, 0.468);
}

.btn--header {
  position: relative;
  overflow: hidden;
  background: #25d366;
  color: #ffffff;
  padding: 0.68rem 1.15rem 0.68rem 0.72rem;
  border-radius: var(--clay-radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow:
    0 8px 20px rgba(37, 211, 102, 0.132),
    inset 0 1px 0 rgba(255, 255, 255, 0.096);
  border: 1px solid #25d366;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--header:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(37, 211, 102, 0.165),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.btn--header__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 92, 38, 0.18);
  box-shadow: 0 4px 10px rgba(0, 25, 75, 0.187);
}

.btn--header__icon .icon-whatsapp-img {
  width: 17px;
  height: 17px;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.04rem;
}

.btn--full {
  width: 100%;
}

/* --- 6. HEADER NAVEGAÇÃO FLUTUANTE EM CÁPSULA (TAMANHO EXPANDIDO & DINÂMICO) --- */
.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  pointer-events: none;
  transition: top 0.3s ease;
}

.header-capsule {
  pointer-events: auto;
  width: min(100% - 2.5rem, 80rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.6rem;
  border-radius: var(--clay-radius-full);

  /* Estado 1: No topo (Dark Hero Clay) */
  background: #021230;
  border: 1.5px solid rgba(176, 198, 255, 0.22);
  box-shadow: var(--clay-capsule-dark);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.3s ease;
}

/* Estado 2: Ao scrolar para baixo (Opacidade quase total / Sólido Branco para não vazar texto) */
.site-header.is-stuck .header-capsule {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: rgba(210, 222, 245, 0.95);
  box-shadow:
    0 12px 35px rgba(0, 30, 80, 0.102),
    inset 2px 2px 4px rgba(255, 255, 255, 0.35),
    inset -2px -2px 5px rgba(185, 200, 230, 0.22);
  padding-block: 0.58rem;
}

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

.brand__logo-lockup {
  display: block;
  width: 7.5rem;
  height: 3.65rem;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 8, 30, 0.18));
  transform: scale(1.55);
  transform-origin: left center;
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.brand:hover .brand__logo-lockup {
  transform: translateY(-1px) scale(1.6);
  filter: drop-shadow(0 6px 14px rgba(0, 81, 213, 0.22));
}

/* A logo ocupa no layout a mesma largura que aparece na tela. */
.site-header .brand {
  width: 10rem;
  flex-shrink: 0;
}
.site-header .brand__logo-lockup,
.site-header .brand:hover .brand__logo-lockup {
  width: 100%;
  height: auto;
  transform: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1200px) {
  .header-capsule {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .nav-desktop {
    display: flex;
    justify-self: center;
    min-width: 0;
  }
}

.nav-link {
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 600;
  color: #d1d5db;
  position: relative;
  padding-block: 0.4rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #38bdf8;
  transition: width 0.2s ease;
  border-radius: 2px;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* Links no estado scrolado (Light) */
.site-header.is-stuck .nav-link {
  color: #1f2a47;
}
.site-header.is-stuck .nav-link:hover,
.site-header.is-stuck .nav-link.is-active {
  color: var(--secondary);
}
.site-header.is-stuck .nav-link::after {
  background: var(--secondary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
  flex-shrink: 0;
}

.btn--header {
  padding: 0.5rem 1.05rem 0.5rem 0.55rem;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: var(--clay-radius-full);
  background: #25d366;
  box-shadow:
    0 8px 20px rgba(37, 211, 102, 0.132),
    inset 0 1px 0 rgba(255, 255, 255, 0.096);
  border: 1px solid #25d366;
}

.site-header.is-stuck .btn--header {
  background: #25d366;
  border-color: #25d366;
  box-shadow: 0 7px 18px rgba(37, 211, 102, 0.121);
}

.site-header.is-stuck .btn--header:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.165);
}

/* Menu Mobile Hambúrguer */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  cursor: pointer;
  padding: 10px;
  transition: all 0.35s ease;
}

@media (min-width: 1200px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.site-header.is-stuck .menu-toggle {
  background: rgba(0, 39, 100, 0.06);
  border-color: rgba(0, 39, 100, 0.15);
}
.site-header.is-stuck .menu-toggle span {
  background: #002764;
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 1rem;
  right: 1rem;
  width: calc(100% - 2rem);
  background: #021230;
  border: 1px solid rgba(176, 198, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem 2rem;
  box-shadow: 0 25px 50px rgba(0, 10, 30, 0.425);
  animation: slideDown 0.25s ease-out;
  pointer-events: auto;
  max-height: calc(100dvh - 8rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-header.is-stuck .mobile-drawer {
  background: #ffffff;
  border-color: var(--surface-container-high);
  box-shadow: 0 25px 40px rgba(0, 39, 100, 0.083);
}
.mobile-drawer.is-open {
  display: block;
}

@media (min-width: 1200px) {
  .mobile-drawer.is-open {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: #cbd5e1;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header.is-stuck .mobile-link {
  color: var(--on-surface);
  border-bottom-color: var(--surface-container-low);
}

.mobile-link:hover {
  color: var(--secondary);
}

/* --- 7. HERO SECTION (Safira #002764) --- */
/* --- 7. HERO SECTION (100vh com todos elementos visíveis) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(6.2rem, 11vh, 8.2rem);
  padding-bottom: clamp(2.5rem, 5vh, 4rem);
  background:
    radial-gradient(120% 80% at 80% 10%, #0f52ba 0%, transparent 60%), radial-gradient(100% 90% at 0% 100%, #001f52 0%, transparent 50%),
    linear-gradient(180deg, #001945 0%, #002764 60%, #031e4e 100%);
  color: #ffffff;
  overflow: hidden;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__flee-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  display: block;
  opacity: 0.28;
}

.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
}

.ambient-glow--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0f52ba 0%, rgba(15, 82, 186, 0) 70%);
  top: -120px;
  right: -60px;
}

.ambient-glow--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #346cef 0%, rgba(52, 108, 239, 0) 70%);
  bottom: -150px;
  left: -80px;
}

.hero__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 74rem);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .hero__wrap {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero__title {
  font-size: clamp(2rem, 3.1vw, 2.95rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.9rem;
  line-height: 1.18;
  text-align: left;
}

.hero__lead {
  font-size: clamp(0.95rem, 1.08vw, 1.05rem);
  color: var(--inverse-primary);
  line-height: 1.6;
  max-width: 36rem;
  margin-bottom: 1.6rem;
  text-align: left;
}

.hero__lead strong {
  color: #ffffff;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

/* --- PILARES DE CONFIANÇA --- */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 44rem;
  padding: 0.5rem 0;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .hero__stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.1rem;
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* Ícone em pastilha líquida translúcida */
.stat-item__icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.24) 0%, rgba(56, 189, 248, 0.14) 100%);
  border: 1px solid rgba(255, 255, 255, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  flex-shrink: 0;
  box-shadow:
    0 4px 10px rgba(0, 15, 50, 0.213),
    inset 1px 1px 2px rgba(255, 255, 255, 0.22);
  transition: transform 0.25s ease;
}

.hero__stats:hover .stat-item__icon {
  transform: scale(1.06);
}

.stat-item__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stat-item strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-title);
  letter-spacing: -0.01em;
  line-height: 1.2;
  white-space: nowrap;
}

.stat-item span {
  font-size: 0.72rem;
  color: #b8ccf8;
  line-height: 1.25;
  white-space: nowrap;
}

/* Divisores de vidro líquido fosco */
.stat-divider {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, rgba(56, 189, 248, 0.2) 50%, rgba(255, 255, 255, 0.05) 100%);
  box-shadow: 1px 0 2px rgba(0, 0, 0, 0.17);
  display: block;
}
@media (max-width: 768px) {
  .stat-divider {
    display: none;
  }
}

/* Showcase Hero */
.hero__visual {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1.15rem;
  border-bottom: 1px solid rgba(0, 39, 100, 0.08);
  background: #f4f7fc;
}

.b-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.b-dot--red {
  background: #ef4444;
}
.b-dot--yellow {
  background: #f59e0b;
}
.b-dot--green {
  background: #10b981;
}

.b-url {
  font-size: 0.72rem;
  color: var(--on-surface-variant);
  font-family: var(--font-mono);
  margin-left: 0.6rem;
  background: #ffffff;
  padding: 3px 10px;
  border-radius: var(--clay-radius-full);
  box-shadow: inset 1px 1px 3px rgba(0, 30, 80, 0.068);
}

/* --- 10. SERVIÇOS BENTO GRID (#f1f3ff) --- */
#servicos {
  isolation: isolate;
  overflow: hidden;
  background-color: #010a20;
  background-image:
    radial-gradient(circle at 8% 46%, rgba(0, 110, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 91% 46%, rgba(76, 42, 255, 0.16), transparent 29rem),
    linear-gradient(rgba(42, 103, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 103, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #020b23 0%, #031234 52%, #01091f 100%);
  background-size:
    auto,
    auto,
    64px 64px,
    64px 64px,
    auto;
}

#servicos::before,
#servicos::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 32rem;
  aspect-ratio: 1;
  border: 1px solid rgba(28, 132, 255, 0.3);
  border-radius: 50%;
  box-shadow:
    0 0 60px rgba(0, 101, 255, 0.044),
    inset 0 0 50px rgba(0, 101, 255, 0.022);
  pointer-events: none;
}

#servicos::before {
  left: -24rem;
  top: 18%;
}
#servicos::after {
  right: -24rem;
  top: 9%;
}
#servicos .wrap {
  position: relative;
  z-index: 1;
}
#servicos .section-head {
  max-width: 55rem;
}

#servicos .section-title {
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

#servicos .section-title span {
  background: linear-gradient(100deg, #1bb8ff 5%, #356dff 55%, #7a5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#servicos .badge-tag::before,
#servicos .badge-tag::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #11c8ff);
}

#servicos .badge-tag::after {
  background: linear-gradient(90deg, #11c8ff, transparent);
}
#servicos .badge-tag .pulse-dot {
  display: none;
}
#servicos .badge-tag {
  color: #1bd5ff;
}

@media (max-width: 640px) {
  #servicos {
    background-size:
      auto,
      auto,
      40px 40px,
      40px 40px,
      auto;
  }
}

/* --- 11. COMO FUNCIONA (#ffffff) --- */
#processo {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.96), transparent 35rem),
    linear-gradient(rgba(0, 81, 213, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 81, 213, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f8faff 0%, #edf3ff 50%, #f7faff 100%);
  background-size:
    auto,
    72px 72px,
    72px 72px,
    auto;
}

#processo::before,
#processo::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 26rem;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 112, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

#processo::before {
  left: -20rem;
  top: 4rem;
}

#processo::after {
  right: -20rem;
  bottom: 3rem;
}

#processo .section-head {
  max-width: 58rem;
}

#processo .section-title {
  color: #031540;
  font-size: clamp(2.2rem, 4.3vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

#processo .section-title span {
  background: linear-gradient(105deg, #049cff, #075bed 62%, #294de2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#processo .badge-tag::before,
#processo .badge-tag::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0ca7ef);
}

#processo .badge-tag::after {
  background: linear-gradient(90deg, #0ca7ef, transparent);
}

#processo .badge-tag .pulse-dot {
  display: none;
}

@media (max-width: 639px) {
  #processo {
    background-size:
      auto,
      44px 44px,
      44px 44px,
      auto;
  }

  #processo .section-title br {
    display: none;
  }
}

/* --- 13. FAQ ACORDEÃO CLAYMORPHIC & FLUID GRID --- */
#faq {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.98), transparent 34rem),
    linear-gradient(rgba(0, 81, 213, 0.032) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 81, 213, 0.032) 1px, transparent 1px),
    linear-gradient(140deg, #f8faff 0%, #edf3ff 52%, #f7faff 100%);
  background-size:
    auto,
    72px 72px,
    72px 72px,
    auto;
}

#faq::before,
#faq::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 28rem;
  aspect-ratio: 1;
  border: 1px solid rgba(28, 116, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

#faq::before {
  left: -21rem;
  top: 7rem;
}

#faq::after {
  right: -22rem;
  bottom: 1rem;
}

#faq .section-head {
  max-width: 56rem;
}

#faq .section-title {
  color: #031540;
  font-size: clamp(2.2rem, 4.3vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

#faq .section-title span {
  background: linear-gradient(105deg, #079eff, #075bea 65%, #2a4de0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

#faq .badge-tag::before,
#faq .badge-tag::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0ca7ef);
}

#faq .badge-tag::after {
  background: linear-gradient(90deg, #0ca7ef, transparent);
}

#faq .badge-tag .pulse-dot {
  display: none;
}

.faq-accordion {
  width: 100%;
  max-width: 62rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  counter-reset: faq-item;
}

.faq-item {
  counter-increment: faq-item;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(242, 247, 255, 0.88));
  border: 1px solid rgba(61, 126, 229, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 14px 32px rgba(24, 73, 148, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow:
    0 20px 40px rgba(19, 73, 161, 0.077),
    0 0 20px rgba(0, 116, 255, 0.033),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.faq-item.is-open {
  border-color: rgba(0, 91, 234, 0.5);
  box-shadow:
    0 22px 44px rgba(0, 65, 160, 0.083),
    0 0 24px rgba(0, 116, 255, 0.044),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--on-surface);
  gap: 1.2rem;
  transition: color 0.25s ease;
}

.faq-question::before {
  content: counter(faq-item, decimal-leading-zero);
  width: 2.8rem;
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #0878ef;
}

.faq-question > span {
  flex: 1;
}

.faq-question span {
  transition: color 0.25s ease;
  line-height: 1.4;
}

.faq-item:hover .faq-question span {
  color: var(--primary);
}

.faq-item.is-open .faq-question span {
  color: var(--secondary);
}

/* Ícone circular Claymorphic com rotação e elevação 3D */
.faq-icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #edf4ff;
  flex-shrink: 0;
  color: var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    2px 4px 8px rgba(0, 30, 80, 0.068),
    inset 1.5px 1.5px 3px rgba(255, 255, 255, 0.35),
    inset -1.5px -1.5px 3px rgba(185, 200, 230, 0.22);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.faq-item:hover .faq-icon {
  transform: scale(1.08);
  box-shadow:
    3px 6px 12px rgba(0, 30, 80, 0.102),
    inset 2px 2px 4px rgba(255, 255, 255, 0.35),
    inset -2px -2px 4px rgba(185, 200, 230, 0.275);
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
  background: linear-gradient(145deg, #1b6ef8 0%, #0051d5 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow:
    4px 8px 18px rgba(0, 81, 213, 0.193),
    inset 2px 2px 4px rgba(255, 255, 255, 0.16),
    inset -2px -2px 4px rgba(0, 25, 75, 0.425);
}

/* Animação fluida via CSS Grid (sem saltos de layout) */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer p {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  padding: 0 1.7rem 0;
  font-size: 0.94rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  transition:
    opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.is-open .faq-answer p {
  opacity: 1;
  transform: translateY(0);
  padding: 0 1.7rem 1.6rem;
}

.faq-support {
  width: 100%;
  max-width: 62rem;
  margin: 1.3rem auto 0;
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(20, 110, 255, 0.45);
  border-radius: 22px;
  background: linear-gradient(110deg, rgba(255, 255, 255, 0.9), rgba(232, 241, 255, 0.9));
  box-shadow:
    0 16px 36px rgba(0, 68, 170, 0.055),
    0 0 22px rgba(0, 128, 255, 0.033),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.faq-support__icon {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(145deg, #19b7ff, #0758e9);
  box-shadow:
    0 9px 22px rgba(0, 81, 213, 0.165),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.faq-support__copy {
  flex: 1;
}

.faq-support__copy h3 {
  margin-bottom: 0.2rem;
  color: #06163e;
  font-size: 1.05rem;
}

.faq-support__copy p {
  color: var(--on-surface-variant);
  font-size: 0.87rem;
}

#faq .faq-support .btn {
  flex-shrink: 0;
  gap: 0.75rem;
  padding-inline: 1.5rem;
  border: 1px solid rgba(89, 220, 255, 0.75);
  box-shadow:
    0 9px 24px rgba(0, 81, 213, 0.154),
    inset 0 1px 0 rgba(255, 255, 255, 0.168);
}

@media (max-width: 700px) {
  #faq {
    background-size:
      auto,
      44px 44px,
      44px 44px,
      auto;
  }

  .faq-question {
    gap: 0.7rem;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .faq-question::before {
    width: 2rem;
    font-size: 1rem;
  }

  .faq-support {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .faq-support__copy {
    min-width: calc(100% - 5rem);
  }

  #faq .faq-support .btn {
    width: 100%;
  }
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.85rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--on-surface);
  margin-bottom: 0.35rem;
}

.form-label span {
  color: #e14b4b;
}

.form-input {
  width: 100%;
  background: #f5f7fb;
  border: 1.5px solid #e1e7f1;
  border-radius: var(--clay-radius-sm);
  padding: 0.72rem 1rem;
  font-size: 0.9rem;
  color: var(--on-surface);
  box-shadow: 0 1px 2px rgba(0, 30, 80, 0.026);
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--secondary);
  box-shadow:
    inset 2.5px 2.5px 5px rgba(0, 81, 213, 0.083),
    0 0 0 3px rgba(0, 81, 213, 0.083);
  background: #ffffff;
}

.form-input::placeholder {
  color: var(--outline);
}
.form-textarea {
  resize: vertical;
  min-height: 75px;
}

.contact-form__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  color: #687890;
  font-size: 0.72rem;
  text-align: center;
}

.contact-form__footer svg {
  flex-shrink: 0;
  color: var(--secondary);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.btn--whatsapp-submit {
  background: linear-gradient(145deg, #32e074 0%, #25d366 100%);
  color: #ffffff;
  box-shadow: var(--clay-btn-whatsapp);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--clay-radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn--whatsapp-submit:hover {
  background: linear-gradient(145deg, #38e67a 0%, #22c55e 100%);
  transform: translateY(-2px);
  box-shadow: var(--clay-btn-whatsapp-hover);
}

.icon-whatsapp-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.form-error {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #b91c1c;
  background: #fef2f2;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid #fecaca;
}

/* --- CONTATO: PAINEL DE CONVERSÃO PREMIUM --- */
.section--dark#contato {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 55%, rgba(0, 91, 234, 0.25), transparent 36rem),
    radial-gradient(circle at 8% 25%, rgba(0, 153, 255, 0.13), transparent 24rem),
    linear-gradient(rgba(40, 108, 240, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 108, 240, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, #010a20 0%, #021b49 62%, #01091d 100%);
  background-size:
    auto,
    auto,
    64px 64px,
    64px 64px,
    auto;
}

#contato::before,
#contato::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid rgba(26, 130, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

#contato::before {
  left: -26rem;
  top: 8rem;
}

#contato::after {
  right: -25rem;
  top: 5rem;
}

#contato .section-head {
  max-width: 60rem;
}

#contato .section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.55rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

#contato .section-title span {
  background: linear-gradient(105deg, #21c7ff, #2695ff 60%, #72d9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 8px 28px rgba(31, 173, 255, 0.11);
}

#contato .badge-tag::before,
#contato .badge-tag::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, #15baff);
}

#contato .badge-tag::after {
  background: linear-gradient(90deg, #15baff, transparent);
}

#contato .badge-tag .pulse-dot {
  display: none;
}

#contato .form-input {
  min-height: 48px;
  border: 1px solid #cbdaf3;
  border-radius: 14px;
  background: rgba(248, 250, 255, 0.86);
  box-shadow: inset 0 1px 3px rgba(20, 61, 125, 0.022);
}

#contato .form-textarea {
  min-height: 116px;
}

#contato .btn--whatsapp-submit {
  min-height: 58px;
  margin-top: 0.3rem;
  font-size: 1.02rem;
  box-shadow:
    0 12px 28px rgba(17, 190, 82, 0.22),
    0 0 22px rgba(35, 211, 102, 0.154),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

@media (max-width: 640px) {
  #contato {
    background-size:
      auto,
      auto,
      42px 42px,
      42px 42px,
      auto;
  }

  #contato .section-title span {
    display: block;
  }
}

/* --- 15. FOOTER (#001233) --- */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(18, 113, 255, 0.18), transparent 24rem),
    linear-gradient(135deg, #010a20 0%, #001233 55%, #021941 100%);
  color: #ffffff;
  border-top: 1px solid rgba(176, 198, 255, 0.15);
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(66, 126, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(66, 126, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
}

.site-footer .wrap {
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.45fr repeat(3, 0.8fr);
  }
}

.brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand__logo-lockup--footer {
  width: min(100%, 14rem);
  height: auto;
  border-radius: 12px;
  background: transparent;
  transform-origin: left center;
}

.brand__avatar--footer {
  display: block;
  width: 5.25rem;
  height: 5.25rem;
  object-fit: cover;
  border: 2px solid rgba(90, 170, 255, 0.65);
  border-radius: 50%;
  box-shadow:
    0 10px 25px rgba(0, 5, 24, 0.383),
    0 0 20px rgba(31, 145, 255, 0.099),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.brand--footer:hover .brand__avatar--footer {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 14px 30px rgba(0, 5, 24, 0.442),
    0 0 25px rgba(31, 145, 255, 0.154);
}

.footer__desc {
  font-size: 0.9rem;
  color: #b0c6ff;
  margin-top: 1rem;
  max-width: 24rem;
  line-height: 1.65;
}

.footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #17bdff, #356bef);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer__links li {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.footer__links a,
.footer__links span {
  font-size: 0.88rem;
  color: #b0c6ff;
}
.footer__links a:hover {
  color: #ffffff;
  padding-left: 0.25rem;
}

.footer__instagram-link {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: 1px solid rgba(136, 171, 255, 0.38);
  border-radius: 50%;
  background: rgba(52, 108, 239, 0.1);
  color: #88abff;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer__instagram-link:hover {
  color: #ffffff;
  background: #346cef;
  border-color: #6f98ff;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(52, 108, 239, 0.176);
}

.footer__instagram-link svg {
  flex: 0 0 auto;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(176, 198, 255, 0.15);
  padding-top: 2rem;
  font-size: 0.82rem;
  color: #88abff;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #b0c6ff;
  font-weight: 500;
}
.back-to-top:hover {
  color: #ffffff;
}

.footer__copyright span {
  display: block;
  margin-top: 0.25rem;
  color: #748fca;
  font-size: 0.74rem;
}

/* --- PÁGINAS JURÍDICAS --- */
.legal-page {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 81, 213, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 81, 213, 0.035) 1px, transparent 1px),
    linear-gradient(140deg, #f8faff, #edf3ff);
  background-size:
    64px 64px,
    64px 64px,
    auto;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: rgba(1, 13, 38, 0.96);
  border-bottom: 1px solid rgba(120, 170, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 8, 30, 0.17);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #b0c6ff;
  font-size: 0.86rem;
  font-weight: 600;
}

.legal-back:hover {
  color: #ffffff;
}

.legal-main {
  width: min(100% - 2.5rem, 58rem);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  scroll-margin-top: 6rem;
}

.legal-hero {
  margin-bottom: 2rem;
  text-align: center;
}

.legal-eyebrow {
  color: #075bea;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-title {
  margin: 0.7rem 0;
  color: #031540;
  font-size: clamp(2.15rem, 6vw, 3.7rem);
  letter-spacing: -0.045em;
}

.legal-updated {
  color: #64748b;
  font-size: 0.88rem;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.legal-nav a {
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(7, 91, 234, 0.2);
  border-radius: 999px;
  color: #075bea;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 700;
}

.legal-nav a:hover {
  color: #ffffff;
  background: #075bea;
}

.legal-card {
  padding: clamp(1.4rem, 4vw, 2.8rem);
  border: 1px solid rgba(47, 112, 218, 0.2);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 22px 52px rgba(20, 65, 140, 0.066),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.legal-card h2 {
  margin: 2rem 0 0.65rem;
  color: #062052;
  font-size: 1.3rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card--spaced {
  margin-top: 2rem;
  scroll-margin-top: 6.5rem;
}

.legal-section-heading {
  margin-bottom: 1.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(47, 112, 218, 0.16);
}

.legal-section-heading span {
  color: #0878ef;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-section-heading h2,
.legal-card .legal-section-heading h2:first-child {
  margin: 0.35rem 0 0;
  color: #031540;
  font-size: clamp(1.6rem, 4vw, 2.15rem);
}

.legal-card p,
.legal-card li {
  color: #43506a;
  font-size: 0.96rem;
  line-height: 1.8;
}

.legal-card p + p {
  margin-top: 0.9rem;
}

.legal-card ul {
  margin: 0.7rem 0 0.7rem 1.25rem;
}

.legal-note {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid #0878ef;
  border-radius: 0 12px 12px 0;
  background: #eef5ff;
}

.legal-note a {
  color: #075bea;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-footer {
  padding: 1.5rem;
  text-align: center;
  color: #8fa8d8;
  background: #010d26;
  font-size: 0.8rem;
}

/* Brilho ambiental suave e calmo sem tremer o botão */
@keyframes whatsappGentleHalo {
  0%,
  100% {
    box-shadow:
      0 10px 25px rgba(37, 211, 102, 0.193),
      inset 2.5px 2.5px 5px rgba(255, 255, 255, 0.24),
      inset -2.5px -2.5px 5px rgba(10, 110, 45, 0.275);
  }
  50% {
    box-shadow:
      0 14px 34px rgba(37, 211, 102, 0.33),
      0 0 0 7px rgba(37, 211, 102, 0.077),
      inset 2.5px 2.5px 5px rgba(255, 255, 255, 0.26),
      inset -2.5px -2.5px 5px rgba(10, 110, 45, 0.275);
  }
}

@keyframes whatsappPulseRing {
  0% {
    opacity: 0.8;
    transform: scale(0.92);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.65);
  }
}

/* --- 17. REVEAL NO SCROLL --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

/* --- 18. HERO & NAVBAR — CAMADA VISUAL PREMIUM --- */
.header-capsule::before {
  content: "";
  position: absolute;
  inset: 1px 12% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}

.header-capsule {
  position: relative;
  isolation: isolate;
  background: linear-gradient(115deg, rgba(2, 18, 48, 0.96), rgba(3, 34, 82, 0.9));
}

.site-header.is-stuck .header-capsule::before {
  background: linear-gradient(90deg, transparent, rgba(52, 108, 239, 0.35), transparent);
}

.nav-desktop {
  padding: 0.28rem;
  gap: 0.15rem;
  border-radius: var(--clay-radius-full);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-link {
  padding: 0.48rem 0.72rem;
  border-radius: var(--clay-radius-full);
}

.nav-link::after {
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 4px;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.site-header.is-stuck .nav-desktop {
  background: #f4f7fc;
  border-color: rgba(0, 39, 100, 0.08);
  box-shadow: inset 1px 1px 3px rgba(0, 39, 100, 0.033);
}

.site-header.is-stuck .nav-link:hover,
.site-header.is-stuck .nav-link.is-active {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 39, 100, 0.044);
}

.ambient-orbit {
  position: absolute;
  border: 1px solid rgba(136, 171, 255, 0.12);
  border-radius: 50%;
}

.ambient-orbit::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

.ambient-orbit--1 {
  width: 540px;
  height: 540px;
  right: -120px;
  top: 12%;
  animation: orbitSpin 24s linear infinite;
}

.ambient-orbit--1::after {
  left: 12%;
  top: 15%;
}

.ambient-orbit--2 {
  width: 300px;
  height: 300px;
  left: -150px;
  bottom: -30px;
  animation: orbitSpin 18s linear infinite reverse;
}

.ambient-orbit--2::after {
  right: 5%;
  bottom: 25%;
}

.ambient-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.495);
  animation: particleFloat 5s ease-in-out infinite;
}

.ambient-particle--1 {
  left: 8%;
  top: 28%;
}
.ambient-particle--2 {
  left: 46%;
  top: 18%;
  animation-delay: -1.5s;
}
.ambient-particle--3 {
  right: 7%;
  bottom: 22%;
  animation-delay: -3s;
}

.badge-tag--dark {
  padding-right: 0;
}

.hero__title {
  text-wrap: balance;
  text-shadow: 0 12px 35px rgba(0, 5, 25, 0.213);
}

.gradient-text {
  background-size: 200% auto;
  animation: gradientFlow 7s ease-in-out infinite;
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2), rgba(52, 108, 239, 0.07) 45%, transparent 70%);
  filter: blur(8px);
  z-index: -1;
  animation: visualPulse 5s ease-in-out infinite;
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes particleFloat {
  50% {
    transform: translateY(-18px) scale(1.7);
    opacity: 0.45;
  }
}
@keyframes gradientFlow {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}
@keyframes visualPulse {
  50% {
    transform: scale(1.08);
    opacity: 0.72;
  }
}
@keyframes labelFloat {
  50% {
    transform: translateY(-7px);
  }
}
@keyframes scrollCue {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 9px);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .btn--header span:last-child {
    display: none;
  }
  .btn--header {
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media (max-width: 1023px) {
  .hero {
    min-height: auto;
    padding-bottom: 4rem;
  }
  .hero__content {
    align-items: center;
    text-align: center;
  }
  .hero__title {
    text-align: center;
  }
  .hero__lead {
    text-align: center;
    margin-inline: auto;
  }
  .hero__cta-group {
    justify-content: center;
  }
  .hero__visual {
    max-width: 36rem;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 10px;
  }
  .header-capsule {
    width: calc(100% - 1rem);
    padding: 0.65rem 0.8rem;
  }
  .brand__logo-lockup {
    width: 7.2rem;
    height: 3.5rem;
    transform: scale(1.5);
  }
  .btn--header {
    display: none;
  }
  .ambient-orbit--1 {
    width: 360px;
    height: 360px;
    right: -220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-orbit,
  .ambient-particle,
  .gradient-text,
  .hero__visual::before {
    animation: none;
  }
}

/* Navbar branca em todos os estados */
.header-capsule,
.site-header.is-stuck .header-capsule {
  background: #ffffff;
  border-color: rgba(210, 222, 245, 0.95);
  box-shadow:
    0 12px 35px rgba(0, 30, 80, 0.119),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.site-header.is-stuck .header-capsule {
  border-color: #d2def5;
}

.site-header.is-past-hero .header-capsule {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(210, 222, 245, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.is-past-hero .nav-desktop {
  background: rgba(244, 247, 252, 0.45);
}

.header-capsule::before,
.site-header.is-stuck .header-capsule::before {
  background: linear-gradient(90deg, transparent, rgba(52, 108, 239, 0.25), transparent);
}

.nav-desktop,
.site-header.is-stuck .nav-desktop {
  background: #f4f7fc;
  border-color: rgba(0, 39, 100, 0.08);
  box-shadow: inset 1px 1px 3px rgba(0, 39, 100, 0.033);
}

.nav-link,
.site-header.is-stuck .nav-link {
  color: #1f2a47;
}

.nav-link:hover,
.nav-link.is-active,
.site-header.is-stuck .nav-link:hover,
.site-header.is-stuck .nav-link.is-active {
  color: var(--secondary);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 39, 100, 0.044);
}

.nav-link::after,
.site-header.is-stuck .nav-link::after {
  background: var(--secondary);
}

.menu-toggle,
.site-header.is-stuck .menu-toggle {
  background: rgba(0, 39, 100, 0.06);
  border-color: rgba(0, 39, 100, 0.15);
}

.menu-toggle span,
.site-header.is-stuck .menu-toggle span {
  background: #002764;
}

.mobile-drawer,
.site-header.is-stuck .mobile-drawer {
  background: #ffffff;
  border-color: var(--surface-container-high);
  box-shadow: 0 25px 40px rgba(0, 39, 100, 0.083);
}

.mobile-link,
.site-header.is-stuck .mobile-link {
  color: var(--on-surface);
  border-bottom-color: var(--surface-container-low);
}
.hero__content,
.hero__visual,
.faq-item,
.footer__grid > *,
.legal-header__inner > * {
  min-width: 0;
}
.section-title,
.hero__title,
.faq-question span,
.footer__links a,
.legal-card p,
.legal-card li {
  overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
  }
}

@media (max-width: 767px) {
  .wrap,
  .hero__wrap {
    width: min(100% - 1.5rem, 74rem);
  }

  .section {
    min-height: auto;
    padding-block: clamp(3rem, 10vw, 4.25rem);
  }

  .section-head {
    margin-bottom: 1.6rem;
  }

  .section-desc {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .hero {
    padding-top: 6.8rem;
  }

  .hero__wrap {
    gap: 2rem;
  }

  .hero__visual {
    display: none;
  }

  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero__cta-group {
    width: 100%;
  }

  .hero__cta-group .btn {
    flex: 1 1 13rem;
    justify-content: center;
  }

  .hero__stats {
    padding: 1rem;
  }

  .stat-item strong,
  .stat-item span {
    white-space: normal;
  }

  .faq-item,
  .faq-support,
  .legal-card {
    border-radius: 18px;
  }

  .faq-support .btn {
    width: 100%;
    justify-content: center;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .site-footer {
    padding: 3rem 0 5.5rem;
  }

  .footer__brand-col,
  .footer__nav-col {
    width: 100%;
    min-width: 0;
  }

  .footer__desc {
    max-width: 100%;
  }

  .footer__links,
  .footer__links li,
  .footer__links a,
  .footer__links span {
    width: 100%;
    max-width: 100%;
  }

  .footer__links a,
  .footer__links span {
    display: block;
    overflow-wrap: anywhere;
  }

  .footer__bottom {
    align-items: flex-start;
    text-align: left;
  }

  .brand__logo-lockup--footer {
    width: 12rem;
    height: auto;
    transform: none;
  }

  .site-footer .brand__logo-lockup--footer {
    width: 11rem;
    height: 5.5rem;
    object-fit: contain;
    object-position: left center;
    transform: none;
  }

  .brand--footer:hover .brand__logo-lockup--footer {
    transform: scale(1.02);
  }

  .legal-main {
    width: min(100% - 1.5rem, 58rem);
  }

  .legal-header__inner {
    width: min(100% - 1rem, 74rem);
  }
}

@media (max-width: 480px) {
  .header-capsule {
    padding: 0.55rem 0.65rem;
  }

  .brand__logo-lockup {
    width: 6.8rem;
    height: 3.3rem;
    transform: scale(1.42);
  }

  .brand:hover .brand__logo-lockup {
    transform: scale(1.45);
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .hero__cta-group .btn {
    flex-basis: 100%;
    width: 100%;
  }

  .section-title,
  #servicos .section-title,
  #processo .section-title,
  #faq .section-title,
  #contato .section-title {
    font-size: clamp(1.85rem, 9.5vw, 2.45rem);
  }

  .faq-question {
    align-items: flex-start;
  }

  .faq-icon {
    width: 34px;
    height: 34px;
    padding: 8px;
  }
  .faq-support__icon {
    width: 52px;
    height: 52px;
  }

  .legal-header__inner {
    align-items: center;
  }

  .legal-header .brand__logo-lockup--footer {
    width: 8.5rem;
  }

  .site-footer .wrap {
    width: calc(100% - 2rem);
  }

  .site-footer .brand__logo-lockup--footer {
    width: 9.5rem;
    height: 4.8rem;
  }

  .footer__bottom {
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .legal-back {
    flex-shrink: 0;
    font-size: 0.72rem;
  }

  .legal-title {
    font-size: clamp(1.85rem, 10vw, 2.5rem);
  }

  .legal-card {
    padding: 1.15rem;
  }
}

@media (max-width: 340px) {
  .brand__logo-lockup {
    width: 6rem;
    height: 2.9rem;
    transform: scale(1.3);
  }

  .brand:hover .brand__logo-lockup {
    transform: scale(1.33);
  }

  .wrap,
  .hero__wrap,
  .legal-main {
    width: calc(100% - 1rem);
  }

  .faq-question::before {
    display: none;
  }

  .legal-header .brand__logo-lockup--footer {
    width: 7.3rem;
  }

  .legal-back span {
    display: none;
  }
}

.hero__title-accent {
  color: #2f7cff;
  text-shadow: 0 0 28px rgba(47, 124, 255, 0.165);
}

@media (min-width: 1024px) {
  .hero__wrap {
    grid-template-columns: minmax(0, 0.92fr) minmax(34rem, 1.08fr);
    gap: clamp(2rem, 4vw, 4.5rem);
    width: min(100% - 3rem, 91rem);
  }

  .hero__title {
    font-size: clamp(2.8rem, 4.1vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero__lead {
    max-width: 39rem;
    font-size: 1rem;
  }

  .hero__visual {
    padding-right: 8.6rem;
  }
}

.hero__metric-card > span:not(.hero__metric-icon) {
  font-size: 0.78rem;
}

@media (max-width: 1180px) {
  .hero__visual {
    padding-right: 0;
  }
}
/* Grupos do rodape: acordeao no mobile. */
.footer__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
}
.footer__toggle:disabled {
  opacity: 1;
  cursor: default;
}
.footer__toggle-icon {
  display: none;
}
.footer__links[hidden] {
  display: none;
}
@media (max-width: 640px) {
  .footer__grid {
    gap: 0;
  }
  .footer__brand-col {
    padding-bottom: 2rem;
  }
  .footer__nav-col {
    border-top: 1px solid #a0bfff26;
  }
  .footer__nav-col:last-child {
    border-bottom: 1px solid #a0bfff26;
  }
  .footer__nav-col .footer__heading {
    margin: 0;
    padding: 0;
  }
  .footer__nav-col .footer__heading::after {
    display: none;
  }
  .footer__toggle {
    min-height: 62px;
    cursor: pointer;
  }
  .footer__toggle:focus-visible {
    outline: 2px solid #69c6ff;
    outline-offset: -2px;
  }
  .footer__toggle-icon {
    display: block;
    position: relative;
    width: 30px;
    height: 30px;
    flex: none;
    color: #b0c5e4;
    border: 1px solid #a0bfff50;
    border-radius: 50%;
    background: #6caaff08;
    transition:
      background 0.3s ease,
      border-color 0.3s ease,
      color 0.3s ease;
  }
  .footer__toggle-icon::before,
  .footer__toggle-icon::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 2px;
  }
  .footer__toggle-icon::before {
    width: 12px;
    height: 1.5px;
    top: calc(50% - 0.75px);
    left: calc(50% - 6px);
  }
  .footer__toggle-icon::after {
    width: 1.5px;
    height: 12px;
    top: calc(50% - 6px);
    left: calc(50% - 0.75px);
    transition: transform 0.35s ease;
  }
  .footer__toggle[aria-expanded="true"] .footer__toggle-icon {
    color: #8fd8ff;
    border-color: #69c6ff80;
    background: #52aaff18;
  }
  .footer__toggle[aria-expanded="true"] .footer__toggle-icon::after {
    transform: rotate(90deg);
  }
  .footer__nav-col .footer__links {
    padding-bottom: 1.4rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer__toggle-icon,
  .footer__toggle-icon::after {
    transition: none;
  }
}
