/* =============================================================
   AYDNER MALTEZ — LANDING PAGE v2
   ============================================================= */

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

/* === THEME VARIABLES === */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f6f8fb;
  --bg-card:      #ffffff;
  --bg-card-2:    #fafbfd;
  --bg-soft:      #eef2f6;
  --text:         #0e1626;
  --text-strong:  #06080d;
  --text-muted:   #5a6578;
  --text-subtle:  #7a8597;
  --border:       rgba(11, 29, 46, 0.10);
  --border-soft:  rgba(11, 29, 46, 0.06);
  --shadow-sm:    0 1px 2px rgba(11,29,46,0.06), 0 1px 3px rgba(11,29,46,0.04);
  --shadow-md:    0 8px 24px rgba(11,29,46,0.08), 0 2px 8px rgba(11,29,46,0.04);
  --shadow-lg:    0 20px 50px rgba(11,29,46,0.10), 0 6px 20px rgba(11,29,46,0.06);
  --shadow-blue:  0 12px 40px rgba(0, 169, 155, 0.22);
  --blue:         #00a99b;
  --blue-strong:  #0b1d2e;
  --blue-light:   #00d4f0;
  --blue-bg:      rgba(0, 169, 155, 0.10);
  --blue-glow:    rgba(0, 212, 240, 0.22);
  --blue-border:  rgba(0, 169, 155, 0.32);
  --gold:         #7d9415;
  --gold-light:   #b5d220;
  --gold-bg:      rgba(181, 210, 32, 0.16);
  --gold-border:  rgba(181, 210, 32, 0.48);
  --brand-gradient: linear-gradient(90deg, #00d4f0 0%, #00a99b 45%, #b5d220 100%);
  --hero-glow:    radial-gradient(ellipse at center, rgba(0, 212, 240, 0.18) 0%, transparent 70%);
  --grid-pattern: rgba(11, 29, 46, 0.06);

  --wpp:          #25D366;
  --wpp-dark:     #1ebe5b;
  --wpp-shadow:   0 6px 20px rgba(37, 211, 102, 0.30);
  --wpp-shadow-h: 0 10px 30px rgba(37, 211, 102, 0.45);
  --radius:       14px;
  --radius-lg:    20px;
  --radius-pill:  999px;
  --easing:       cubic-bezier(0.4, 0, 0.2, 1);
  --easing-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast:       0.18s var(--easing);
  --t-base:       0.32s var(--easing);
  --t-slow:       0.55s var(--easing-out);
  --container:    1200px;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--t-base), color var(--t-base);
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', system-ui, sans-serif;
  line-height: 1.15;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a { text-decoration: none; color: inherit; transition: color var(--t-fast); }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--blue-glow); color: var(--text-strong); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  border-radius: var(--radius-pill);
  padding: 15px 30px;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-base), background var(--t-base), border-color var(--t-base);
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

.btn-whatsapp {
  background: var(--wpp);
  color: #fff;
  border-color: var(--wpp);
  box-shadow: var(--wpp-shadow);
  animation: ctaGlow 2.6s ease-in-out infinite, ctaZoom 3.2s ease-in-out infinite;
}
.btn-whatsapp:hover {
  background: var(--wpp-dark);
  border-color: var(--wpp-dark);
  box-shadow: var(--wpp-shadow-h);
  transform: translateY(-2px);
  animation-play-state: paused;
  scale: 1;
}

.btn-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 50%, transparent 80%);
  animation: ctaShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: var(--wpp-shadow); }
  50%      { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55); }
}

@keyframes ctaShine {
  0%, 65%, 100% { left: -100%; }
  85%           { left: 100%; }
}

@keyframes ctaZoom {
  0%, 100% { scale: 1; }
  50%      { scale: 1.04; }
}

.btn-lg { padding: 18px 36px; font-size: 1rem; }

/* === HEADER === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: var(--bg);
  box-shadow: 0 1px 0 var(--border-soft);
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base), backdrop-filter var(--t-base);
}

.header::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--brand-gradient);
  opacity: 0.85;
  pointer-events: none;
}

.header.scrolled {
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 1px 0 var(--border-soft), 0 8px 24px rgba(15,30,60,0.06);
  padding: 8px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* === LOGO (PNG) === */
.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: transform var(--t-base);
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 56px;
  width: auto;
  display: block;
}

.footer-brand .logo img { height: 52px; }

/* Nav */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: width var(--t-base);
}

.nav-link:hover { color: var(--text-strong); }
.nav-link:hover::after { width: 22px; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-header {
  font-size: 0.84rem;
  padding: 10px 22px;
  background: var(--wpp);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 2px solid var(--wpp);
  box-shadow: var(--wpp-shadow);
  transition: all var(--t-base);
}
.btn-header:hover {
  background: var(--wpp-dark);
  border-color: var(--wpp-dark);
  box-shadow: var(--wpp-shadow-h);
  transform: translateY(-2px);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}

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

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: 100px 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--t-slow);
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }

.mobile-menu .nav-link {
  font-size: 1.4rem;
  font-weight: 600;
  padding: 16px 4px;
  border-radius: 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-menu .nav-link::after { display: none; }
.mobile-menu .nav-link:hover { background: transparent; color: var(--blue); }

.mobile-menu .btn-whatsapp { margin-top: 24px; padding: 16px; font-size: 1rem; }

/* === SECTION === */
section { position: relative; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--gold-bg);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--gold-bg); }
  50%      { box-shadow: 0 0 0 6px var(--gold-bg); }
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}

.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

/* === CTA MICROCOPY === */
.cta-microcopy {
  margin-top: 14px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 420px;
}

.hero-cta-wrap .cta-microcopy {
  margin-top: 16px;
  text-align: left;
  max-width: 460px;
}

@media (max-width: 900px) {
  .hero-cta-wrap .cta-microcopy { text-align: center; margin-left: auto; margin-right: auto; }
}

.section-divider {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 10%, var(--blue-border) 50%, transparent 90%);
  pointer-events: none;
}

/* === HERO === */
.section-hero {
  position: relative;
  display: flex;
  align-items: center;
  padding: 110px 0 70px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* INVERTED grid: transparent center, visible edges */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-pattern) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 70% at center, transparent 30%, black 85%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at center, transparent 30%, black 85%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 700px;
  background: var(--hero-glow);
  border-radius: 50%;
  animation: heroGlowFloat 14s ease-in-out infinite;
}

@keyframes heroGlowFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.9; }
  50%      { transform: translate(-48%, -52%) scale(1.08); opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.4;
  animation: particleFloat 18s linear infinite;
}

.particle:nth-child(1) { top: 12%; left: 8%;  animation-duration: 20s; animation-delay: 0s; }
.particle:nth-child(2) { top: 22%; left: 92%; animation-duration: 24s; animation-delay: 4s; background: var(--gold-light); }
.particle:nth-child(3) { top: 70%; left: 12%; animation-duration: 22s; animation-delay: 7s; }
.particle:nth-child(4) { top: 80%; left: 88%; animation-duration: 26s; animation-delay: 2s; }
.particle:nth-child(5) { top: 35%; left: 50%; animation-duration: 28s; animation-delay: 9s; background: var(--gold-light); width: 3px; height: 3px; }
.particle:nth-child(6) { top: 55%; left: 85%; animation-duration: 19s; animation-delay: 11s; }

@keyframes particleFloat {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 0.6; }
  50%  { transform: translate(30px, -40px); opacity: 0.3; }
  90%  { opacity: 0.4; }
  100% { transform: translate(60px, -80px); opacity: 0; }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
}

.hero-content {
  text-align: left;
  max-width: none;
}

.hero-aside {
  width: 100%;
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 25%, var(--blue-bg), transparent 55%),
    radial-gradient(circle at 75% 80%, var(--gold-bg), transparent 55%),
    linear-gradient(135deg, var(--bg-soft) 0%, var(--bg-card-2) 100%);
  border-radius: 22px;
  border: 1px solid var(--blue-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 169, 155, 0.08);
  max-height: 600px;
}

.hero-photo-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
  display: block;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(10, 18, 35, 0) 0%, rgba(10, 18, 35, 0.55) 60%, rgba(10, 18, 35, 0.85) 100%);
  pointer-events: none;
  z-index: 1;
}

/* === Desktop: foto full-width como fundo, faixa branca central com o texto === */
@media (min-width: 901px) {
  .section-hero { overflow: hidden; min-height: 640px; }

  /* Remove o brilho azul/ciano do hero */
  .section-hero .hero-glow { display: none; }
  /* Remove as bolinhas decorativas */
  .section-hero .hero-particles { display: none; }
  /* Pattern (grid) sobe pra cima da foto e do degradê */
  .section-hero .hero-bg { z-index: 4; }

  .hero-layout {
    position: static;
    grid-template-columns: 1fr;
  }

  /* Conteúdo (texto/CTA) flutua acima da foto e do pattern */
  .hero-content {
    max-width: 620px;
    position: relative;
    z-index: 10;
  }

  /* Aside agora ocupa toda a largura — a foto vira plano de fundo */
  .hero-aside {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    z-index: 1;
  }

  .hero-photo-frame {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    max-height: none;
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
  }

  /* Overlay branco em faixa central — transição suave, mais branca no lado esquerdo */
  .hero-photo-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.04) 2%,
      rgba(255, 255, 255, 0.12) 4%,
      rgba(255, 255, 255, 0.25) 6%,
      rgba(255, 255, 255, 0.42) 8%,
      rgba(255, 255, 255, 0.58) 10%,
      rgba(255, 255, 255, 0.72) 12%,
      rgba(255, 255, 255, 0.83) 14%,
      rgba(255, 255, 255, 0.91) 16%,
      rgba(255, 255, 255, 0.96) 18%,
      rgba(255, 255, 255, 0.99) 21%,
      rgba(255, 255, 255, 1) 24%,
      rgba(255, 255, 255, 1) 46%,
      rgba(255, 255, 255, 0.96) 49%,
      rgba(255, 255, 255, 0.85) 52%,
      rgba(255, 255, 255, 0.65) 55%,
      rgba(255, 255, 255, 0.42) 58%,
      rgba(255, 255, 255, 0.22) 61%,
      rgba(255, 255, 255, 0.08) 65%,
      rgba(255, 255, 255, 0.02) 69%,
      rgba(255, 255, 255, 0) 73%);
    z-index: 3;
    pointer-events: none;
  }

  .hero-photo-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 28%;
  }

  .hero-photo-frame::after { display: none; }

  /* OAB seal — topo direito, próximo ao doutor */
  .hero-photo-frame .hero-photo-top {
    top: 24px;
    right: 12%;
    left: auto;
    width: auto;
    display: inline-flex;
    justify-content: flex-end;
    z-index: 5;
  }
  .hero-photo-frame .hero-photo-top .badge-credential,
  .hero-photo-frame .hero-photo-top .oab-seal {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 18px rgba(11, 29, 46, 0.22);
  }

  /* Trust pills — direita meio-baixo da foto, próximo ao doutor */
  .hero-photo-frame .hero-photo-bottom {
    bottom: 80px;
    right: 12%;
    left: auto;
    width: auto;
    max-width: none;
    z-index: 5;
  }
  .hero-photo-frame .hero-trust-list {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }
  .hero-photo-frame .trust-pill {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(11, 29, 46, 0.08);
    box-shadow: 0 4px 14px rgba(11, 29, 46, 0.18);
    font-size: 0.74rem;
    padding: 8px 13px;
    text-align: left;
  }
  .hero-photo-frame .trust-pill:hover { transform: translateX(-3px); }
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-subtle);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
}

.hero-photo-placeholder svg {
  color: var(--text-muted);
  opacity: 0.35;
}

/* Top overlay — credential badge */
.hero-photo-top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.hero-photo-top .badge-credential {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border-color: rgba(209, 211, 86, 0.55);
  box-shadow: 0 4px 14px rgba(15, 30, 60, 0.10);
}

/* Bottom overlay — trust pills */
.hero-photo-bottom {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 2;
}

.hero-trust-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  padding: 6px 11px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 2px 6px rgba(15, 30, 60, 0.05);
  transition: transform var(--t-base);
}

.trust-pill:hover {
  transform: translateX(4px);
}

.trust-pill svg {
  color: var(--gold);
  flex-shrink: 0;
}

.trust-pill strong {
  color: var(--text-strong);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.badge-credential {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin-bottom: 32px;
  animation: fadeInDown 0.7s var(--easing-out) both;
}

.badge-credential svg { color: var(--gold-light); flex-shrink: 0; }

/* === OAB SEAL === */
.oab-seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  border: 1.5px solid var(--gold-border);
  border-radius: 999px;
  padding: 3px 10px 3px 4px;
  box-shadow: 0 3px 10px rgba(15, 30, 60, 0.10);
  font-family: 'Montserrat', sans-serif;
  position: relative;
}

.oab-seal::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold-bg), transparent 60%);
  pointer-events: none;
}

.oab-seal-mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--gold-light));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0, 169, 155, 0.40);
  position: relative;
  z-index: 1;
}

.oab-seal-mark svg {
  width: 12px;
  height: 12px;
}

.oab-seal-text {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.oab-seal-text strong {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: 0.04em;
}

.oab-seal-text span {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-top: 0;
}

.hero-headline {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero-headline .line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: lineReveal 0.85s var(--easing-out) forwards;
}
.hero-headline .line:nth-child(1) { animation-delay: 0.1s; }
.hero-headline .line:nth-child(2) { animation-delay: 0.25s; }
.hero-headline .line:nth-child(3) { animation-delay: 0.4s; }

@keyframes lineReveal { to { opacity: 1; transform: translateY(0); } }

.hero-headline .highlight-blue {
  color: var(--blue);
  font-style: normal;
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 0 38px;
  line-height: 1.7;
  animation: fadeInUp 0.7s var(--easing-out) 0.5s both;
}

.hero-sub strong {
  color: var(--text-strong);
  font-weight: 700;
}

.hero-sub .upcase {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--blue);
}

.hero-cta-wrap {
  margin-bottom: 0;
  animation: fadeInUp 0.7s var(--easing-out) 0.65s both;
}


.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  animation: fadeInUp 0.7s var(--easing-out) 0.8s both;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}

.trust-item svg { color: var(--gold-light); flex-shrink: 0; }
.trust-item strong { color: var(--text-strong); font-weight: 700; }

.trust-divider { width: 1px; height: 14px; background: var(--border); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* === DOBRA 2: DIREITOS (cinza) === */
.section-rights {
  padding: 70px 0 80px;
  background: var(--bg-alt);
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rights-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.rights-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--easing-out);
}

.rights-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

.rights-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-lg);
}
.rights-card:hover::before { transform: scaleX(1); }
.rights-card:hover::after  { opacity: 0.7; }

.card-icon {
  width: 54px;
  height: 54px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: transform var(--t-base), background var(--t-base);
  position: relative;
  z-index: 1;
}

.rights-card:hover .card-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(-6deg) scale(1.06);
}

.rights-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.012em;
  position: relative;
  z-index: 1;
}

.rights-card p {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* === DOBRA 3: DEPOIMENTOS (branco — recebe grid pattern nas laterais) === */
.section-testimonials {
  padding: 70px 0 80px;
  background: var(--bg);
}

.section-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-pattern) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 70% at center, transparent 30%, black 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at center, transparent 30%, black 85%);
  pointer-events: none;
  z-index: 0;
}

.section-testimonials > .container {
  position: relative;
  z-index: 1;
}

.carousel { position: relative; }

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 4px 14px;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track { display: flex; gap: 22px; }

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 44px) / 3);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 22px;
  font-size: 4.5rem;
  font-family: 'Montserrat', serif;
  font-weight: 900;
  color: var(--blue);
  opacity: 0.1;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: var(--gold-light);
  font-size: 0.95rem;
  letter-spacing: 3px;
  filter: drop-shadow(0 1px 2px var(--gold-bg));
}

.testimonial-card blockquote {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px var(--blue-glow);
}

.author-info { display: flex; flex-direction: column; gap: 2px; }

/* Bento (masonry) — depoimentos em imagem no tamanho natural */
.testimonials-bento {
  column-count: 3;
  column-gap: 22px;
  margin-bottom: 8px;
}
.testimonial-bento-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.testimonial-bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}
.testimonial-bento-card img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .testimonials-bento { column-count: 2; column-gap: 16px; }
  .testimonial-bento-card { margin-bottom: 16px; }
}
@media (max-width: 560px) {
  .testimonials-bento { column-count: 1; }
}

.author-info strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}

.author-info span { font-size: 0.72rem; color: var(--text-muted); }

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: scale(1.08);
  box-shadow: var(--shadow-blue);
}

.carousel-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.carousel-dots { display: flex; gap: 8px; align-items: center; }

.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none; padding: 0;
  cursor: pointer;
  transition: all var(--t-base);
}

.carousel-dot:hover { background: var(--blue-border); }

.carousel-dot.active {
  background: var(--blue);
  width: 28px;
  border-radius: 4px;
  box-shadow: 0 0 0 3px var(--blue-glow);
}

/* === DOBRA 4: COMO FUNCIONA (cinza) === */
.section-how {
  padding: 70px 0 80px;
  background: var(--bg-alt);
}

.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  position: relative;
}

.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, var(--blue-bg));
  opacity: 0;
  transition: opacity var(--t-base);
  pointer-events: none;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}
.step:hover::before { opacity: 1; }

.step-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue-light), var(--blue) 55%, var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.55;
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: -0.04em;
  transition: opacity var(--t-base), transform var(--t-base);
  position: relative;
  z-index: 1;
}

.step:hover .step-number {
  opacity: 0.85;
  transform: scale(1.08);
}

.step-content { position: relative; z-index: 1; }

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === DOBRA 5: CTA CONTATO (branco — recebe grid) === */
.section-contact-cta {
  padding: 70px 0 80px;
  background: var(--bg);
  overflow: hidden;
}

.section-contact-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-pattern) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-pattern) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 65% 70% at center, transparent 30%, black 85%);
  -webkit-mask-image: radial-gradient(ellipse 65% 70% at center, transparent 30%, black 85%);
  pointer-events: none;
  z-index: 0;
}


.section-contact-cta > .container {
  position: relative;
  z-index: 1;
}

.cta-wrapper {
  position: relative;
  background:
    var(--brand-gradient) top / 100% 4px no-repeat,
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(ellipse, var(--blue-glow) 0%, transparent 60%);
  pointer-events: none;
}

.cta-wrapper::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 50%; height: 200%;
  background: radial-gradient(ellipse, var(--gold-bg) 0%, transparent 60%);
  pointer-events: none;
}

/* Corner accents */
.cta-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 2px solid var(--gold-border);
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}
.cta-corner-tl { top: 18px; left: 18px;    border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.cta-corner-tr { top: 18px; right: 18px;   border-left: none;  border-bottom: none; border-radius: 0 8px 0 0; }
.cta-corner-bl { bottom: 18px; left: 18px; border-right: none; border-top: none;    border-radius: 0 0 0 8px; }
.cta-corner-br { bottom: 18px; right: 18px; border-left: none; border-top: none;    border-radius: 0 0 8px 0; }

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(37, 211, 102, 0.10);
  border: 1px solid rgba(37, 211, 102, 0.30);
  color: var(--wpp-dark);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.cta-status-dot {
  width: 8px;
  height: 8px;
  background: var(--wpp);
  border-radius: 50%;
  animation: dotBlink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
}

.cta-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto 26px;
}

.cta-divider span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.cta-divider em {
  font-style: normal;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.cta-trust-line {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.cta-trust-line svg {
  color: var(--gold);
}

.cta-content h2 {
  font-size: clamp(1.85rem, 3.8vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.cta-content > p {
  color: var(--text-muted);
  font-size: 1.08rem;
  margin-bottom: 48px;
}

.mini-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.mini-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all var(--t-base);
}

.mini-card:hover {
  border-color: var(--blue-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.mini-card-icon {
  width: 38px; height: 38px;
  background: var(--gold-bg);
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 8px;
  transition: transform var(--t-base);
}

.mini-card:hover .mini-card-icon { transform: rotate(-8deg) scale(1.08); }

.mini-card strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.005em;
}

.mini-card span {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === DOBRA 6: FAQ (cinza) === */
.section-faq {
  padding: 70px 0 80px;
  background: var(--bg-alt);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover { border-color: var(--blue-border); }

.faq-item.open {
  border-color: var(--blue-border);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-strong);
  transition: color var(--t-fast);
  letter-spacing: -0.005em;
}

.faq-q-text { flex: 1; min-width: 0; }

.faq-topic-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: background var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-base);
}

.faq-question:hover .faq-topic-icon {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(-4deg) scale(1.05);
}

.faq-item.open .faq-topic-icon {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  border-color: var(--blue);
}

.faq-question:hover { color: var(--blue); }

.faq-icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-base);
  color: var(--text-muted);
}

.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
  box-shadow: 0 4px 12px var(--blue-glow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--easing);
}

.faq-answer-inner {
  padding: 4px 26px 22px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Extra FAQ items hidden until toggle */
.faq-list .faq-extra { display: none; }

.faq-list.show-all .faq-extra {
  display: block;
  animation: faqReveal 0.5s var(--easing-out) both;
}

.faq-list.show-all .faq-extra:nth-of-type(5) { animation-delay: 0s; }
.faq-list.show-all .faq-extra:nth-of-type(6) { animation-delay: 0.08s; }
.faq-list.show-all .faq-extra:nth-of-type(7) { animation-delay: 0.16s; }

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Toggle button */
.faq-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.faq-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1.5px solid var(--blue-border);
  color: var(--blue);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.faq-toggle:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.faq-toggle-arrow {
  transition: transform var(--t-base);
}

.faq-toggle[aria-expanded="true"] .faq-toggle-arrow {
  transform: rotate(180deg);
}

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 70px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-gradient);
}


.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.7;
}

.footer-contact, .footer-location { display: flex; flex-direction: column; gap: 12px; }

.footer-contact h4, .footer-location h4 {
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-strong);
  margin-bottom: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-contact h4::after, .footer-location h4::after {
  content: '';
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-gradient);
  opacity: 0.6;
  max-width: 32px;
}

.footer-contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: var(--bg-card);
  color: var(--text);
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
}

.footer-contact-card:hover {
  border-color: var(--blue-border);
  transform: translateX(3px);
  box-shadow: var(--shadow-md);
}

.footer-contact-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--blue-bg);
  border: 1px solid var(--blue-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all var(--t-base);
}

.footer-contact-card:hover .footer-contact-icon {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff;
  border-color: var(--blue);
  transform: rotate(-5deg) scale(1.05);
}

.footer-contact-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }

.footer-contact-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.footer-contact-text > span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-map-frame {
  position: relative;
  display: block;
  height: 170px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--blue-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--t-base);
}

.footer-map-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 29, 46, 0.55) 100%);
  z-index: 2;
  pointer-events: none;
  transition: opacity var(--t-base);
}

.footer-map-frame:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-md), 0 0 0 3px var(--blue-glow);
  transform: translateY(-2px);
}

.footer-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  pointer-events: none;
}

.footer-map-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-strong));
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(11, 29, 46, 0.35);
  letter-spacing: 0.02em;
  transition: all var(--t-base);
}

.footer-map-frame:hover .footer-map-overlay {
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  transform: translateX(3px);
}

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 4px 2px;
}

.footer-address svg {
  color: var(--blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.76rem; color: var(--text-subtle); }

/* === READING PROGRESS BAR === */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: var(--border-soft);
}

.reading-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.08s linear;
  box-shadow: 0 0 12px rgba(0, 212, 240, 0.5);
}

/* === GLOSSARY === */
.glossary {
  font-weight: inherit;
  color: inherit;
  font-style: inherit;
  white-space: nowrap;
}

.glossary-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-bg);
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  cursor: help;
  border: 1px solid var(--gold-border);
  margin-left: 3px;
  vertical-align: super;
  line-height: 1;
  padding: 0;
  transition: all var(--t-fast);
  font-family: inherit;
  font-style: normal;
}

.glossary-trigger:hover,
.glossary-trigger:focus,
.glossary-trigger.active {
  background: var(--gold-light);
  color: var(--text-strong);
  transform: scale(1.2);
  outline: none;
}

/* Shared popup (rendered at body level, position fixed) */
.glossary-pop {
  position: fixed;
  width: 280px;
  background: var(--bg-card);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-muted);
  line-height: 1.55;
  letter-spacing: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.22s ease;
  z-index: 250;
  text-align: left;
  white-space: normal;
  font-style: normal;
  transform: translateY(8px);
  top: 0;
  left: 0;
}

.glossary-pop.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.glossary-pop strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  color: var(--text-strong);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* === FLOATING CTA (single expanding pill) === */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
}

.floating-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  background: var(--wpp);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: white;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  transition:
    width 0.55s var(--easing-out),
    padding 0.55s var(--easing-out),
    box-shadow 0.3s ease,
    transform var(--t-base);
}

.floating-whatsapp:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp.expanded {
  width: 350px;
  padding-left: 14px;
  justify-content: flex-start;
}

.floating-avatar {
  position: relative;
  width: 0;
  height: 48px;
  flex: 0 1 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.4s ease 0.2s, width 0.45s ease 0.1s, margin 0.45s ease 0.1s;
  margin: 0;
}

.floating-whatsapp.expanded .floating-avatar {
  flex: 0 0 48px;
  width: 48px;
  opacity: 1;
  overflow: visible;
  margin-right: 12px;
}

.floating-avatar-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.floating-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.floating-online-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  background: #4cd964;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 1;
}

.floating-online-dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #4cd964;
  opacity: 0.4;
  z-index: -1;
  animation: onlinePulse 2s ease-in-out infinite;
}

@keyframes onlinePulse {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50%      { transform: scale(1.4); opacity: 0; }
}

.floating-whatsapp.expanded:hover { transform: none; }

.floating-msg-text {
  flex: 0 1 0;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease 0.18s, transform 0.4s ease 0.18s;
  pointer-events: none;
  padding-right: 14px;
}

.floating-whatsapp.expanded .floating-msg-text {
  flex: 1 1 auto;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.floating-msg-text strong {
  font-size: 0.84rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.005em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-msg-text span {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.floating-icon {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-icon svg {
  display: block;
}

/* When collapsed, force the icon to absolute-center inside the round button
   so the (zero-width) avatar/text siblings can't nudge it off-axis */
.floating-whatsapp:not(.expanded) .floating-icon {
  position: absolute;
  inset: 0;
}

.floating-close {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-fast);
  font-family: inherit;
  padding: 0;
  z-index: 1;
}

.floating-whatsapp.expanded ~ .floating-close {
  display: flex;
  animation: ftClose 0.3s ease 0.45s both;
}

.floating-close:hover {
  background: var(--bg-soft);
  color: var(--text-strong);
  transform: scale(1.1);
}

@keyframes ftClose {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}


/* === EXIT POPUP === */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}

.exit-popup.show { visibility: visible; opacity: 1; }

.exit-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.exit-popup-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 40px 36px 32px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.4s var(--easing-out);
  overflow: hidden;
}

.exit-popup.show .exit-popup-card { transform: translateY(0) scale(1); }

.exit-popup-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, var(--gold-bg) 0%, transparent 70%);
  pointer-events: none;
}

.exit-popup-card > * { position: relative; z-index: 1; }

.exit-popup-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--gold);
  animation: exitIconBounce 1.2s var(--easing-out);
}

@keyframes exitIconBounce {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

.exit-popup-card h3 {
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.exit-popup-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 26px;
}

.exit-popup-card .btn { width: 100%; margin-bottom: 12px; }

.exit-popup-no {
  background: none;
  border: none;
  color: var(--text-subtle);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}

.exit-popup-no:hover { color: var(--text); }

.exit-popup-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  z-index: 2;
  font-size: 18px;
  line-height: 1;
}

.exit-popup-close:hover { background: var(--bg-soft); color: var(--text-strong); }

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--easing-out), transform 0.7s var(--easing-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.rights-grid .rights-card:nth-child(1) { transition-delay: 0s; }
.rights-grid .rights-card:nth-child(2) { transition-delay: 0.08s; }
.rights-grid .rights-card:nth-child(3) { transition-delay: 0.16s; }
.rights-grid .rights-card:nth-child(4) { transition-delay: 0.24s; }
.rights-grid .rights-card:nth-child(5) { transition-delay: 0.32s; }
.rights-grid .rights-card:nth-child(6) { transition-delay: 0.4s; }

.steps-wrapper .step:nth-child(1) { transition-delay: 0s; }
.steps-wrapper .step:nth-child(2) { transition-delay: 0.1s; }
.steps-wrapper .step:nth-child(3) { transition-delay: 0.2s; }
.steps-wrapper .step:nth-child(4) { transition-delay: 0.3s; }

.faq-list .faq-item { transition-delay: 0s; }
.faq-list .faq-item:nth-child(2) { transition-delay: 0.06s; }
.faq-list .faq-item:nth-child(3) { transition-delay: 0.12s; }
.faq-list .faq-item:nth-child(4) { transition-delay: 0.18s; }

.count-up { display: inline-block; font-variant-numeric: tabular-nums; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-content { text-align: center; }
  .hero-content .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-aside {
    max-width: 380px;
    margin: 0 auto;
  }
  .hero-photo-frame { max-height: 460px; }

  .rights-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { flex: 0 0 calc((100% - 22px) / 2); }
  .mini-cards-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto 44px;
  }
  .steps-wrapper { grid-template-columns: 1fr; max-width: 540px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .cta-wrapper { padding: 50px 28px; }
}

@media (max-width: 768px) {
  .btn-header { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  .section-hero { padding: 120px 0 80px; min-height: auto; }
  .hero-trust { flex-direction: column; align-items: center; gap: 10px; }
  .trust-divider { display: none; }
  .rights-grid { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 86%; }
  .logo img { height: 48px; }
  .section-rights, .section-testimonials, .section-how, .section-contact-cta, .section-faq {
    padding: 60px 0 70px;
  }
  .section-header { margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .floating-cta { bottom: 22px; right: 22px; }
  .floating-whatsapp { width: 54px; height: 54px; }
  .floating-whatsapp.expanded {
    width: calc(100vw - 80px);
    max-width: 320px;
  }
  .floating-icon { width: 54px; height: 54px; }
  .btn-lg { padding: 16px 30px; font-size: 0.96rem; }
  .carousel-controls { gap: 20px; }
  .carousel-btn { width: 44px; height: 44px; }
  .cta-wrapper { padding: 44px 22px; }
  .exit-popup-card { padding: 32px 24px 24px; }
  .exit-popup-card h3 { font-size: 1.3rem; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-map-frame { height: 200px; }
}

@media (max-width: 380px) {
  .hero-headline { font-size: 1.85rem; }
  .badge-credential { font-size: 0.7rem; padding: 6px 14px; }
  .container { padding: 0 18px; }
  .logo img { height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-headline .line { opacity: 1; transform: none; }
  .particle { display: none; }
}
