/* ==========================================================
   AUDIOFLEXX · LP CAPTURA · MOBILE-FIRST
   Estética: editorial acolhedor · cream + laranja quente + azul profundo
   ========================================================== */

:root {
  /* Paleta Baseada no Site Oficial */
  --cream: #FFFFFF;
  --cream-deep: #F7F7F7;
  --ink: #333333;            /* Títulos e textos escuros */
  --ink-soft: #8B8D94;       /* Corpo de texto */
  --ink-muted: #B1B4B8;      /* Textos auxiliares */
  --border: #E0E0E0;
  --border-soft: #F0F0F0;
  --accent: #EF6A00;         /* Laranja oficial Audioflexx */
  --accent-hover: #D65F00;
  --accent-soft: #FFF3E0;
  --deep-blue: #2C4A6B;      
  --deep-blue-soft: #E4EAF1;
  --success: #3CA533;        /* Verde WhatsApp oficial */
  --success-hover: #2D8A26;
  --check: #3CA533;

  /* Tipografia */
  --font-display: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Espaçamentos (mobile-first) */
  --container: 100%;
  --pad-x: 20px;
  --section-y: 64px;

  /* Sombras Modernas (mais leves) */
  --shadow-card: 0 4px 12px rgba(0,0,0,0.05);
  --shadow-form: 0 10px 40px rgba(0,0,0,0.1);
}

/* Breakpoints ------------------------------------------------ */
@media (min-width: 768px) {
  :root {
    --pad-x: 40px;
    --section-y: 96px;
  }
}
@media (min-width: 1024px) {
  :root {
    --pad-x: 64px;
    --section-y: 120px;
  }
}

/* Reset + Base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Personalizada */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f0f0f;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 5px;
  border: 2px solid #0f0f0f;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 16px; }
a { color: inherit; text-decoration: none; }

/* Container ------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Tipografia editorial -------------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
h2.display {
  color: var(--accent); /* H2 laranja como no site */
}
.body-lg { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.serif-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-style: normal;
}

/* Botões base ----------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  text-align: center;
  width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 20px -8px rgba(214,106,44,.5);
}
.btn-primary:hover { background: var(--accent-hover); }
.btn-whatsapp {
  background: var(--success);
  color: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 8px 20px -8px rgba(37,211,102,.45);
}
.btn-whatsapp:hover { background: var(--success-hover); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--cream); }

/* ==========================================================
   TOP BAR — selo superior (cidades + ano)
   ========================================================== */
.topbar {
  background: var(--ink);
  color: var(--cream-deep);
  padding: 10px 0;
  font-size: 12px;
  letter-spacing: 0.03em;
}
.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
  flex-wrap: wrap;
}
.topbar-dot {
  opacity: 0.4;
  font-size: 10px;
}
@media (min-width: 768px) {
  .topbar-inner { justify-content: space-between; }
}

/* Header (logo) --------------------------------------------- */
.header {
  padding: 16px 0;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  flex-shrink: 0;
}
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}

/* Navegação */
.header-nav {
  display: none;
  gap: 24px;
}
.header-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: all 0.3s ease;
}
.header-nav a:hover {
  color: var(--accent);
}

/* Menu Toggle (Hamburguer) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  border-radius: 2px;
}

/* Animação do X */
.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}
.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .header-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0f0f0f;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    display: flex; /* Agora ele é flex mas está fora da tela */
    padding: 40px;
  }

  .header-nav.is-active {
    right: 0;
  }

  .header-nav a {
    font-size: 20px;
    width: 100%;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  /* Overlay para fechar o menu */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 998;
  }

  .menu-overlay.is-active {
    opacity: 1;
    visibility: visible;
  }
}

@media (min-width: 1024px) {
  .header-nav { display: flex; align-items: center; }
  .menu-toggle { display: none; }
}

/* ==========================================================
   HERO — 1ª DOBRA
   ========================================================== */
.hero {
  background-color: var(--cream);
  background-image: 
    linear-gradient(rgba(250, 246, 238, 0.92), rgba(250, 246, 238, 0.96)),
    url('../assets/img/hero-audioflexx.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-h1 {
  font-size: clamp(36px, 8vw, 54px);
  margin-bottom: 20px;
  line-height: 1.1;
}
.hero-h1 strong {
  font-weight: 900;
  font-style: italic;
  color: var(--accent);
}
.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero-cards {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}
.hero-card:hover {
  background: #fff;
  border-color: var(--accent);
  transform: translateX(4px);
}
.hero-card .card-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}
.hero-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .hero-cards {
    grid-template-columns: repeat(1, 1fr);
    max-width: 450px;
  }
}

/* Form card -------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(26, 31, 46, 0.12);
  position: relative;
  border: 1px solid var(--border-soft);
}
.form-header {
  margin-bottom: 24px;
  text-align: center;
}
.form-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.form-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
  transition: all 0.3s ease;
}
.form-input:focus, .form-select:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 106, 0, 0.1);
  outline: none;
}

/* Chips selection */
.form-chips {
  display: flex;
  gap: 10px;
}
.chip {
  flex: 1;
  cursor: pointer;
}
.chip input {
  display: none;
}
.chip span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 12px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.3s ease;
  text-align: center;
}
.chip input:checked + span {
  background: #fff9f5;
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
}

.form-submit {
  width: 100%;
  height: 60px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 12px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Hero image removida — substituída por background na .hero
   (Form card agora ocupa a coluna direita do grid) */

/* Desktop hero ----------------------------------------------- */
@media (min-width: 768px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .hero { padding: 96px 0 112px; }
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
  }
  .hero-h1 { font-size: 64px; line-height: 1; }
  .form-card { padding: 36px 32px; }
}

/* ==========================================================
   SECTION — DIAGNÓSTICO (checklist)
   ========================================================== */
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section-rule {
  height: 1px;
  background: var(--border);
  margin: 0 auto;
  max-width: 1200px;
}
.section-header {
  margin-bottom: 40px;
  max-width: 640px;
}
.section-header .eyebrow { margin-bottom: 14px; }
.section-title {
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.diagnostico { background: var(--cream); }
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 12px rgba(26, 31, 46, 0.03);
  user-select: none;
}
.checklist-item:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(239, 106, 0, 0.08);
}
.checklist-item.selected {
  background: #fff9f5;
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(239, 106, 0, 0.12);
}

.check-box {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}
.checklist-item.selected .check-box {
  background: var(--accent);
  border-color: var(--accent);
}
.checklist-item.selected .check-box::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .checklist {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .checklist-item {
    font-size: 17px;
    padding: 28px;
  }
}

/* Marcador de Contagem */
.counter-badge {
  display: inline-flex;
  align-items: center;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 12px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.counter-badge.active {
  opacity: 1;
  transform: scale(1);
}

@media (min-width: 768px) {
  .checklist {
    grid-template-columns: 1fr 1fr;
  }
}
.diagnostico-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 28px 24px;
  border-radius: 2px;
  font-size: 17px;
  line-height: 1.5;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.diagnostico-footer strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  font-style: italic;
}
@media (min-width: 768px) {
  .diagnostico-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 32px 40px;
  }
  .diagnostico-footer > div { flex: 1; }
  .diagnostico-footer .btn { width: auto; white-space: nowrap; }
}

/* ==========================================================
   SECTION — MECANISMO ÚNICO (destaque editorial)
   ========================================================== */
.mecanismo {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #000;
  color: #fff;
}
.video-bg-container {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
}
.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  background-image: 
    radial-gradient(rgba(0, 0, 0, 0.45) 1px, transparent 0),
    linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.50) 100%);
  background-size: 4px 4px, 100% 100%;
  z-index: 2;
}
.mecanismo-content {
  position: relative;
  z-index: 3;
}
.mecanismo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 992px) {
  .mecanismo-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.mecanismo-text {
  font-size: 18px;
  line-height: 1.7;
}
.mecanismo-text p + p {
  margin-top: 24px;
}

.autoridade-box {
  margin-top: 56px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 640px;
}
.autoridade-num {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.autoridade-text {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}
.autoridade-text strong {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
  color: #fff;
}


/* ==========================================================
   SECTION — COMO FUNCIONA (3 passos)
   ========================================================== */
.passos { background: var(--cream); }
.passos-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.passo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.passo:last-child { border-bottom: 1px solid var(--border); }
.passo-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 40;
  min-width: 60px;
}
.passo-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}
.passo-text {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 15.5px;
}
@media (min-width: 768px) {
  .passo { grid-template-columns: 120px 1fr; gap: 40px; padding: 48px 0; }
  .passo-num { font-size: 88px; }
  .passo-title { font-size: 28px; }
  .passo-text { font-size: 17px; max-width: 620px; }
}

.passos-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.passos-cta .btn { max-width: 360px; }

/* ==========================================================
   SECTION — PHONAK (modelos)
   ========================================================== */
.phonak {
  background: linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), var(--cream-deep) url('../assets/img/phonak-texture.png') repeat;
  background-size: auto, 400px;
  position: relative;
}
.phonak-intro {
  margin-bottom: 64px;
}
.phonak-intro-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.phonak-intro-text {
  color: var(--ink-soft);
  line-height: 1.75;
  font-size: 17px;
  max-width: 720px;
}
.phonak-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 0;
  width: fit-content;
  border-bottom: 2px solid var(--accent); /* Um detalhe de marca */
  transition: transform 0.3s ease;
}
.phonak-logo-img {
  height: 40px;
  width: auto;
}

@media (min-width: 768px) {
  .phonak-intro-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 64px;
  }
}

.modelos-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
.modelo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow .3s ease, border-color .3s ease;
  display: flex;
  flex-direction: column;
}
.modelo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(26, 31, 46, 0.15);
  border-color: var(--accent);
}
.modelo-img-wrapper {
  aspect-ratio: 4/3;
  width: 100%;
  position: relative;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.modelo-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.modelo-card:hover .modelo-img-wrapper img {
  transform: scale(1.03);
}
.modelo-body { 
  padding: 32px 28px; 
  flex: 1; 
}
.modelo-tipo {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}
.modelo-nome {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
  color: var(--ink);
}
.modelo-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
@media (min-width: 768px) {
  .modelos-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================
   SECTION — FAQ
   ========================================================== */
.faq { background: var(--cream-deep); }
.faq-list { max-width: 1100px; display: grid; gap: 16px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: hidden;
  height: fit-content;
}
.faq-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.faq-item.open {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.faq-question {
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}
.faq-question > span:first-child {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.faq-item.open .faq-question > span:first-child {
  white-space: normal;
}
.faq-item.open .faq-question {
  color: var(--accent);
}
.faq-toggle {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  background-color: var(--ink-soft);
  transition: all 0.3s ease;
}
/* Linha horizontal */
.faq-toggle::before {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
/* Linha vertical */
.faq-toggle::after {
  width: 2px;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.open .faq-toggle {
  transform: rotate(135deg);
}
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background-color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 14.5px;
}

@media (min-width: 768px) {
  .faq-question { font-size: 18px; padding: 24px; }
  .faq-answer-inner { font-size: 15.5px; padding: 0 24px 24px; }
}

@media (min-width: 992px) {
  .faq-list { 
    grid-template-columns: repeat(2, 1fr); 
    align-items: start;
    gap: 24px;
  }
  .faq-question {
    font-size: 17px;
    padding: 20px 24px;
  }
}

/* ==========================================================
   SECTION — CTA FINAL + UNIDADES
   ========================================================== */
.cta-final {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cta-final-grid {
  display: grid;
  gap: 48px;
  position: relative;
  z-index: 3;
}
.cta-final-heading .eyebrow { color: var(--accent); margin-bottom: 16px; }
.cta-final-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--cream);
}
.cta-final-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.cta-final-sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(250,246,238,.82);
  margin-bottom: 32px;
}

.cta-final-form {
  background: var(--cream);
  color: var(--ink);
}

/* Unidades ---------------------------------------------------- */
.unidades {
  background: var(--cream-deep);
  padding: var(--section-y) 0;
}
.unidades-header { margin-bottom: 40px; max-width: 640px; }
.unidades-grid {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 24px;
}
.unidades-grid::-webkit-scrollbar {
  height: 6px;
}
.unidades-grid::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 4px;
}
.unidades-grid::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.unidade {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow .3s ease, border-color .3s ease;
  flex-shrink: 0;
  width: 85vw;
  max-width: 380px;
  scroll-snap-align: start;
}
.unidade:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px -12px rgba(26, 31, 46, 0.15);
  border-color: var(--accent);
}
.unidade-map {
  width: 100%;
  height: 220px;
  background: var(--deep-blue-soft);
  position: relative;
  border-bottom: 1px solid var(--border);
}
.unidade-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(0.98) sepia(0.05); /* Traz uma leve harmonia com o tema */
}
.unidade-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}
.unidade-cidade {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.unidade-cidade small {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  font-style: normal;
  margin-bottom: 4px;
}
.unidade-info {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  flex: 1;
}
.unidade-info strong { color: var(--ink); font-weight: 500; }
.unidade-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.unidade-actions .btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  font-size: 13px;
}
.unidades-horario {
  margin-top: 36px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.unidades-horario strong { color: var(--ink); font-weight: 500; }
@media (min-width: 1024px) {
  .unidades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }
  .unidade {
    width: 100%;
    max-width: none;
  }
}
@media (min-width: 1024px) {
  .cta-final-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1f2e 100%);
  color: rgba(250, 246, 238, 0.7);
  padding: 80px 0 40px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
  margin-bottom: 48px;
}
.footer-logo-img {
  height: 38px;
  width: auto;
  margin: 0 auto 12px;
}
.footer-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}
.footer-revenda {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.revenda-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1;
}
.footer-phonak-img {
  height: 15px;
  width: auto;
  opacity: 0.7;
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}
.asthros-credit {
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  font-size: 13px;
}
.asthros-credit strong {
  color: var(--accent);
  font-weight: 700;
}
.asthros-credit:hover {
  color: #fff;
  opacity: 1;
}

@media (min-width: 768px) {
  .footer-inner {
    justify-content: center;
    align-items: center;
  }
}



/* ==========================================================
   UTILITY
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Scroll reveal (sutil) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

.no-scroll {
  overflow: hidden;
}

/* Exibição premium e integrada dos logos das marcas parceiras (sem efeito de hover) */
.modelo-logo-mask {
  width: 80%;
  background-color: var(--ink-soft);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.logo-argosy {
  -webkit-mask-image: url('../images/logo_argosy.png');
  mask-image: url('../images/logo_argosy.png');
  height: 34px;
}
.logo-rexton {
  -webkit-mask-image: url('../images/logo_rexton.png');
  mask-image: url('../images/logo_rexton.png');
  height: 38px;
}
.logo-sonic {
  -webkit-mask-image: url('../images/logo_sonic.png');
  mask-image: url('../images/logo_sonic.png');
  height: 65px;
}

/* Cards da seção Custo Invisível - Marcas d'água robustas via pseudo-elementos ::before */
.card-custo-1, .card-custo-2, .card-custo-3 {
  position: relative;
  overflow: hidden;
}

.card-custo-1::before {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 170px;
  height: 170px;
  background-image: url('../images/fundo_privacao_sensorial.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.35; /* Aumentado para 35% e combinado com multiply para destacar linhas finas */
  mix-blend-mode: multiply; /* Remove o fundo branco sólido da imagem JPEG */
  pointer-events: none;
  z-index: 1;
}

.card-custo-2::before {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 170px;
  height: 170px;
  background-image: url('../images/fundo_declinio_cognitivo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.35; /* Aumentado para 35% e combinado com multiply para destacar linhas finas */
  mix-blend-mode: multiply; /* Remove o fundo branco sólido da imagem JPEG */
  pointer-events: none;
  z-index: 1;
}

.card-custo-3::before {
  content: '';
  position: absolute;
  right: -15px;
  bottom: -15px;
  width: 170px;
  height: 170px;
  background-image: url('../images/fundo_protecao_investimento.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom right;
  opacity: 0.25; /* Aumentado para 25% para visual premium com multiply */
  mix-blend-mode: multiply; /* Remove o fundo branco sólido da imagem JPEG */
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================
   SECTION — DEPOIMENTOS (textura sutil)
   ========================================================== */
.section-depoimentos {
  background-color: var(--cream-deep);
  background-image: url('../assets/img/textura-depoimentos.png');
  background-repeat: repeat;
  background-size: 400px;
  position: relative;
}

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


/* ==========================================================
   SECTION — CUSTO (textura sutil geométrica)
   ========================================================== */
.section-custo {
  background-color: var(--cream-deep);
  background-image: 
    linear-gradient(rgba(247, 247, 247, 0.70), rgba(247, 247, 247, 0.70)),
    url('../assets/img/texture-custo-2.png');
  background-repeat: repeat;
  background-size: auto, 300px;
  position: relative;
}

/* ==========================================================
   CARROSSEL DE LOGOS
   ========================================================== */
.section-logos {
  padding: 40px 0;
  background-color: var(--ink); /* Fundo escuro */
}
.logos-title {
  text-align: center;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  margin-bottom: 24px;
}
.logos-carousel-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.logos-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-logos 25s linear infinite;
  align-items: center;
}
.logos-track.single-logo {
  width: 100%;
  animation: none;
  justify-content: center;
}
.logos-track img {
  height: 36px;
  width: auto;
  object-fit: contain;
  opacity: 0.5;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}
.logos-track img:hover {
  opacity: 1;
  filter: brightness(0) invert(1);
}
@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 30px)); }
}

/* ==========================================================
   SECTION — MODELOS POR FORMATO (RIC, BTE, ITE, CIC, IIC)
   ========================================================== */
.modelos-formato {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(250,246,238,0.93), rgba(243,236,221,0.96)),
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(214,106,44,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(44,74,107,0.12) 0%, transparent 55%),
    radial-gradient(circle at center, var(--deep-blue) 1px, transparent 1px);
  background-size: cover, cover, cover, 22px 22px;
  background-position: center, center, center, center;
}
.modelos-formato::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(250,246,238,0.6) 0%, transparent 100%);
  pointer-events: none;
}
.modelos-formato .container { position: relative; z-index: 1; }
.formato-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
.formato-card {
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 1px 0 rgba(26,31,46,.03), 0 10px 30px -18px rgba(26,31,46,.18);
}
.formato-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.formato-img {
  aspect-ratio: 16/11;
  background: radial-gradient(ellipse at center, #fff 0%, var(--deep-blue-soft) 130%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.formato-img img { width: 100%; height: 100%; object-fit: contain; }
.formato-img-placeholder {
  padding: 14px 18px;
  border: 2px dashed var(--deep-blue);
  opacity: 0.6;
  font-size: 11px;
  line-height: 1.4;
  color: var(--deep-blue);
  background: rgba(255,255,255,.4);
  font-family: var(--font-body);
}
.formato-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.formato-sigla {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.formato-nome {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--ink);
}
.formato-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.formato-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.formato-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--check);
  border-radius: 50%;
}
@media (min-width: 768px) { .formato-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .formato-grid { grid-template-columns: repeat(3, 1fr); } }

.formato-cta { margin-top: 40px; display: flex; justify-content: center; }
.formato-cta .btn { max-width: 380px; width: 100%; }

/* Botão Flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  text-decoration: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  color: var(--ink, #111111);
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font-body), sans-serif;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  pointer-events: auto;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #ffffff;
  display: block;
  width: 0;
  height: 0;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.3;
  z-index: -1;
  animation: wa-pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 8px rgba(0, 0, 0, 0.15);
}

.whatsapp-float:active {
  transform: translateY(-2px) scale(0.98);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-tooltip {
    right: 66px;
    font-size: 13px;
    padding: 8px 14px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}
