/* ══════════════════════════════════════════
   dB Aparelhos Auditivos — Premium Styles
   Revisão: Design premium, sem cara de IA
   ══════════════════════════════════════════ */

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

/* ── Previne overflow horizontal em qualquer tela ── */
html { overflow-x: hidden; }
body { overflow-x: hidden; }

/* Elementos que nunca devem exceder o viewport */
img, iframe, video, svg { max-width: 100%; }

/* ── Tokens ── */
:root {
  --ink:        #111111;
  --ink-2:      #2a2a2a;
  --ink-3:      #444;
  --muted:      #6a6a6a;
  --muted-2:    #9a9a9a;
  --border:     #e4e2de;
  --border-2:   #d0cdc8;
  --bg:         #ffffff;
  --bg-warm:    #faf9f7;
  --bg-warm-2:  #f4f2ef;
  --wa:         #25D366;
  --wa-dk:      #1da851;

  --f-head: 'Figtree', system-ui, -apple-system, sans-serif;
  --f-body: 'Noto Sans', system-ui, -apple-system, sans-serif;

  --r:    10px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-xs: 0 1px 3px rgba(0,0,0,.06);
  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh:    0 4px 20px rgba(0,0,0,.09);
  --sh-lg: 0 8px 40px rgba(0,0,0,.12);

  --header-h: 68px;
  --max-w: 1160px;
  --section-py: 88px;
}

/* ── Base ── */
html { scroll-behavior: smooth; font-size: 18px; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,h2,h3,h4 {
  font-family: var(--f-head);
  line-height: 1.22;
  letter-spacing: -.02em;
  font-weight: 700;
  color: var(--ink);
}
h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 2.8vw, 2rem); }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
p  { color: var(--muted); line-height: 1.72; }
a  { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -120px; left: 1rem;
  background: var(--ink); color: #fff;
  padding: .5rem 1.1rem; border-radius: var(--r);
  font-size: .9rem; z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: .75rem; }
*:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ── Container ── */
.container {
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 28px;
}

/* ── Impede overflow em qualquer seção ── */
.section, .site-header, .site-footer,
.hero, .section-cta-final, .section-familia,
.section-dor, .bg-warm, .bg-dark {
  max-width: 100vw;
}

/* ── Section base ── */
.section { padding: var(--section-py) 0; }
.bg-warm { background: var(--bg-warm); }
.bg-dark  { background: var(--ink); }
.bg-dark h2, .bg-dark h3, .bg-dark p, .bg-dark li { color: #fff; }

.section-header {
  text-align: center; max-width: 680px;
  margin: 0 auto 3.5rem;
}
.section-header h2 { margin-bottom: .65rem; }
.section-sub { font-size: 1rem; color: var(--muted); margin-top: .65rem; }

.section-label {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2);
  margin-bottom: .75rem;
}
.section-label-light { color: rgba(255,255,255,.4); }
.section-header-light h2 { color: #fff; }
.section-header-light p { color: rgba(255,255,255,.6); }

.section-cta { text-align: center; margin-top: 3rem; }


/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .88rem 1.8rem;
  border-radius: 50px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap; min-height: 52px;
  text-decoration: none; line-height: 1;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-whatsapp {
  background: var(--wa); color: #fff; border-color: var(--wa);
  box-shadow: 0 4px 16px rgba(37,211,102,.28);
}
.btn-whatsapp:hover {
  background: var(--wa-dk); border-color: var(--wa-dk);
  box-shadow: 0 6px 22px rgba(37,211,102,.38);
}

.btn-whatsapp-light {
  background: #fff; color: var(--wa-dk); border-color: #fff;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .88rem 1.8rem; border-radius: 50px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  cursor: pointer; min-height: 52px; transition: all .2s;
}
.btn-whatsapp-light:hover { background: var(--bg-warm); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border-2);
}
.btn-ghost:hover { background: var(--bg-warm-2); border-color: var(--ink); }

.btn-dark {
  background: var(--ink); color: #fff; border-color: var(--ink);
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .88rem 1.8rem; border-radius: 50px;
  font-family: var(--f-head); font-weight: 600; font-size: 1rem;
  cursor: pointer; min-height: 52px; transition: all .2s;
}
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }

.btn-header {
  background: var(--ink); color: #fff; border-color: var(--ink);
  padding: .6rem 1.35rem; font-size: .88rem; min-height: 44px;
  gap: .45rem;
}
.btn-header:hover { background: var(--ink-2); transform: none; box-shadow: none; }

.btn-sm { padding: .6rem 1.25rem; font-size: .88rem; min-height: 44px; }

.btn-hero-primary { padding: 1rem 2rem; font-size: 1rem; min-height: 56px; }
.btn-hero-secondary {
  background: transparent; color: var(--ink);
  border-color: var(--border-2);
  padding: 1rem 1.75rem; font-size: 1rem; min-height: 56px;
}
.btn-hero-secondary:hover { background: var(--bg-warm-2); border-color: var(--ink); }

.btn-cta-xl { padding: 1.1rem 2.5rem; font-size: 1.1rem; min-height: 60px; }


/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.header-inner {
  display: flex; align-items: center; gap: 1.75rem;
  height: var(--header-h);
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; object-fit: contain; display: block; }
.logo-footer { filter: brightness(0) invert(1); height: 34px; }

.logo-text {
  display: inline-flex; flex-direction: column; gap: 1px; line-height: 1;
}
.logo-db {
  font-family: var(--f-head); font-weight: 800; font-size: 1.3rem;
  letter-spacing: -.06em; color: var(--ink);
}
.logo-med {
  font-family: var(--f-head); font-weight: 500; font-size: .8rem;
  letter-spacing: .06em; text-transform: lowercase; color: var(--muted);
}
.logo-text-footer .logo-db  { color: #fff; }
.logo-text-footer .logo-med { color: rgba(255,255,255,.5); }

.main-nav {
  flex: 1; display: flex; justify-content: center; gap: .1rem;
}
.main-nav a {
  padding: .5rem .9rem; border-radius: 50px;
  font-size: .88rem; font-weight: 500; color: var(--muted);
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-warm); color: var(--ink); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 10px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center; margin-left: auto;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; gap: 0;
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  overflow: hidden; max-height: 0;
  transition: max-height .35s ease;
}
.mobile-nav.open { display: flex; max-height: 500px; }
.mobile-nav a:not(.btn) {
  display: block; padding: .8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem; font-weight: 500; color: var(--ink);
}
.mobile-nav .btn { margin-top: 1rem; border-radius: var(--r); }


/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: 0;
  overflow: hidden; /* impede que rings e SVGs causem scroll horizontal */
  background: var(--bg);
  position: relative; overflow: hidden;
  min-height: calc(100vh - var(--header-h));
  display: flex; flex-direction: column; justify-content: center;
}

/* ── hero-bg-product: OCULTO no desktop (hero-visual já exibe o produto) ── */
/* No mobile é ativado e vira o visual principal                              */
.hero-bg-product {
  display: none; /* desktop: oculto — mobile: ativado via media query */
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Painel off-white (desktop) — fundo da coluna direita */
.hero::after {
  content: '';
  position: absolute; top: 0; right: 0;
  width: 48%; height: 100%;
  background: var(--bg-warm);
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-bg-deco {
  position: absolute; top: 0; right: 0;
  width: 55%; height: 100%; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-bg-waves { width: 100%; height: 100%; }

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 55% 45%;
  align-items: center; gap: 2.5rem;
  padding-bottom: 64px;
}

/* Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--bg-warm-2); border: 1px solid var(--border);
  padding: .42rem 1rem; border-radius: 50px;
  font-size: .78rem; font-weight: 600; color: var(--ink-3);
  margin-bottom: 1.4rem; width: fit-content;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--wa);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: .7; }
}

/* Headline */
.hero h1 {
  margin-bottom: 1rem;
  max-width: 560px;
}

/* Sub */
.hero-sub {
  font-size: 1rem; color: var(--muted); max-width: 500px;
  margin-bottom: 1.5rem;
}

/* Checklist */
.hero-checklist {
  list-style: none; display: flex; flex-direction: column;
  gap: .55rem; margin-bottom: 2rem;
}
.hero-checklist li {
  display: flex; align-items: center; gap: .65rem;
  font-size: .95rem; font-weight: 500; color: var(--ink-2);
}
.hero-checklist svg { flex-shrink: 0; }

/* ── HERO CTAs — fix do bug de botões ── */
.hero-ctas {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}
/* wrap do hero tratado nos breakpoints responsivos abaixo */

.hero-microcopy {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem; color: var(--muted-2);
}

/* Visual do hero */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

.hero-product-frame {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  width: 460px; max-width: 100%;
}

/* Anéis decorativos */
.ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
}
.ring-1 { width: 380px; height: 380px; opacity: .7; }
.ring-2 { width: 290px; height: 290px; opacity: .5; }
.ring-3 { width: 200px; height: 200px; opacity: .4; }

.hero-product-img {
  width: 100%; max-width: 420px;
  height: auto; object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.14));
  position: relative; z-index: 1;
  transition: transform .6s ease;
}
.hero-product-img:hover { transform: translateY(-6px); }

/* Fallback se imagem não carrega */
.no-img {
  width: 400px; height: 340px;
  background: var(--bg-warm-2);
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
}
.no-img::after {
  content: 'Imagem do produto';
  font-size: .85rem; color: var(--muted-2);
}

/* Selos flutuantes */
.hero-seal {
  position: absolute; z-index: 2;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 50px; padding: .5rem .95rem;
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; font-weight: 600; color: var(--ink);
  box-shadow: var(--sh);
  white-space: nowrap;
}
.hero-seal-top    { top: 12%; left: -8px; }
.hero-seal-bottom { bottom: 16%; right: -8px; }

.hero-wave { line-height: 0; margin-top: -1px; z-index: 1; position: relative; }
.hero-wave svg { display: block; width: 100%; }


/* ══════════════════════════════════════════
   DOR — ACORDEÃO HORIZONTAL
   ══════════════════════════════════════════ */

/* Container principal */
.dor-accordion {
  display: flex;
  gap: 12px;
  height: 420px;
  align-items: stretch;
}

/* ── Item base (estado fechado) ── */
.dor-ac-item {
  flex: 0.85;          /* estreito por padrão */
  min-width: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--border);
  position: relative;
  cursor: default;
  /* Transição de largura suave */
  transition:
    flex 480ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

/* ── Item aberto ── */
.dor-ac-item.is-open {
  flex: 2.6;
  box-shadow: 0 6px 28px rgba(0,0,0,.09);
  border-color: var(--border-2);
}

/* ════════════════════════════════════════════
   DOR ACCORDION — dois estados por card
   Fechado  → .dor-ac-closed  (visível)
   Aberto   → .dor-ac-inner   (visível)
   Ambos são absolute, trocam opacity
   ════════════════════════════════════════════ */

/* ── Estado FECHADO (cards brancos) ── */
.dor-ac-closed {
  position: absolute; inset: 0;
  padding: 1.5rem 1.25rem;
  display: flex; flex-direction: column;
  justify-content: space-between;
  pointer-events: none; /* não bloqueia mouseenter do pai */
  transition: opacity 180ms ease;
  opacity: 1;
}
/* Esconde fechado quando card está aberto */
.dor-ac-item.is-open .dor-ac-closed { opacity: 0; }

/* Número grande e discreto */
.dor-ac-num {
  font-family: var(--f-head); font-size: 1.6rem; font-weight: 800;
  color: var(--border); line-height: 1;
}

/* Preview: título + texto curto */
.dor-ac-preview { display: flex; flex-direction: column; gap: .3rem; }

.dor-ac-ctitle {
  font-family: var(--f-head); font-size: .88rem; font-weight: 700;
  color: var(--ink-2); line-height: 1.2;
  letter-spacing: -.01em;
}

.dor-ac-ctext {
  font-size: .75rem; color: var(--muted);
  line-height: 1.35;
}

/* ── Estado ABERTO (cards brancos) ── */
.dor-ac-inner {
  position: absolute; inset: 0;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: .6rem;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.dor-ac-item.is-open .dor-ac-inner {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 260ms 170ms ease; /* surge após o card expandir */
}

/* Topo: aspas + frase */
.dor-ac-top  { display: flex; flex-direction: column; gap: .6rem; flex: 1; }

.dor-ac-quote {
  font-family: Georgia, serif; font-size: 2.8rem;
  line-height: .75; color: var(--border-2); flex-shrink: 0;
}

.dor-ac-phrase {
  font-family: var(--f-head); font-size: .95rem;
  font-style: italic; font-weight: 500;
  color: var(--ink-2); line-height: 1.5;
}

.dor-ac-tag {
  font-size: .65rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted-2); flex-shrink: 0;
}

/* ══ Card CTA (preto) ══ */
.dor-ac-cta {
  background: var(--ink) !important;
  border-color: var(--ink) !important;
}
.dor-ac-cta.is-open {
  flex: 2.8;
  box-shadow: 0 8px 32px rgba(0,0,0,.25) !important;
}

/* ── Estado FECHADO do CTA ── */
.dor-cta-closed {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .5rem;
  color: rgba(255,255,255,.45);
  pointer-events: none;
  transition: opacity 180ms ease;
  opacity: 1;
}
.dor-cta-closed span {
  font-family: var(--f-head); font-size: .72rem;
  font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase;
}
.dor-ac-cta.is-open .dor-cta-closed { opacity: 0; }

/* ── Estado ABERTO do CTA ── */
.dor-cta-inner {
  position: absolute; inset: 0;
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  justify-content: space-between; gap: 1rem;
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}
.dor-ac-cta.is-open .dor-cta-inner {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 260ms 170ms ease;
}

.dor-cta-text {
  font-size: .9rem; color: rgba(255,255,255,.72);
  line-height: 1.6; flex: 1;
}

/* Botão — 100% dentro do card */
.dor-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--wa); color: #fff;
  border-radius: var(--r); border: none;
  padding: .85rem 1.25rem;
  font-family: var(--f-head); font-size: .9rem; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: background .2s, transform .15s;
  width: 100%; flex-shrink: 0;
  white-space: normal; text-align: center; line-height: 1.3; min-height: 48px;
}
.dor-cta-btn:hover { background: var(--wa-dk); transform: translateY(-1px); }
.dor-cta-btn svg   { flex-shrink: 0; }


/* ══════════════════════════════════════════
   TIMELINE (COMO FUNCIONA)
   ══════════════════════════════════════════ */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1rem;
}

.timeline-track {
  position: absolute;
  top: 32px; left: calc(25% / 2);
  right: calc(25% / 2);
  height: 1px; background: var(--border);
  z-index: 0;
}

.timeline-step {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 0 1.5rem;
  position: relative;
}

.timeline-node {
  width: 64px; height: 64px;
  background: var(--bg); border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; position: relative; z-index: 1;
  transition: border-color .25s, box-shadow .25s;
}
.timeline-step:hover .timeline-node {
  border-color: var(--ink); box-shadow: 0 0 0 4px var(--bg-warm-2);
}

.timeline-num {
  font-family: var(--f-head); font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; color: var(--muted-2);
}
.timeline-step:hover .timeline-num { color: var(--ink); }

.timeline-icon {
  width: 52px; height: 52px;
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin: 0 auto .85rem;
}

.timeline-body h3 { font-size: 1rem; margin-bottom: .4rem; }
.timeline-body p  { font-size: .88rem; color: var(--muted); max-width: 200px; margin: 0 auto; }


/* ══════════════════════════════════════════
   SERVIÇOS
   ══════════════════════════════════════════ */
.section-aparelhos { background: var(--bg); }

/* Cards featured */
.servicos-featured {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem; margin-bottom: 1.5rem;
}
.servico-card {
  border-radius: var(--r-lg); padding: 2rem;
  position: relative; overflow: hidden;
}
.servico-featured {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.servico-featured:hover { background: rgba(255,255,255,.1); }
.servico-num {
  font-family: var(--f-head); font-size: .68rem; font-weight: 800;
  letter-spacing: .1em; color: rgba(255,255,255,.25);
  margin-bottom: 1rem;
}
.servico-icon-wrap {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.08); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); margin-bottom: 1rem;
  border: 1px solid rgba(255,255,255,.12);
}
.servico-featured h3 { font-size: 1rem; color: #fff; margin-bottom: .5rem; }
.servico-featured p  { font-size: .88rem; color: rgba(255,255,255,.55); }

/* Lista de serviços complementares */
.servicos-list {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.servico-item {
  display: flex; align-items: flex-start; gap: .75rem;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r); padding: 1.1rem 1rem;
  transition: background .2s;
}
.servico-item:hover { background: rgba(255,255,255,.08); }
.servico-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.3);
  flex-shrink: 0; margin-top: 6px;
}
.servico-item strong { display: block; color: rgba(255,255,255,.85); font-size: .9rem; margin-bottom: .2rem; }
.servico-item span   { font-size: .8rem; color: rgba(255,255,255,.4); }


/* ══════════════════════════════════════════
   APARELHOS — STICKY SCROLL
   ══════════════════════════════════════════ */
.sticky-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start;
}

/* Coluna da imagem — sticky no desktop */
@media (min-width: 900px) {
  .sticky-col-image {
    position: sticky; top: calc(var(--header-h) + 2rem);
  }
}

.sticky-product-wrap {
  position: relative; display: flex;
  flex-direction: column; align-items: center;
  gap: 1.25rem;
}
.product-deco-ring {
  position: absolute; width: 340px; height: 340px;
  border-radius: 50%; border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.product-deco-ring::before {
  content: ''; position: absolute; inset: 40px;
  border-radius: 50%; border: 1px solid var(--border);
}

.sticky-product-img {
  width: 100%; max-width: 420px; height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,.12));
  transition: opacity .35s ease, transform .4s ease;
  position: relative; z-index: 1;
}
.sticky-product-wrap.no-img {
  min-height: 300px; background: var(--bg-warm);
  border-radius: var(--r-xl);
}

.product-eth-note {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: var(--muted-2); text-align: center;
}
.product-eth-note svg { flex-shrink: 0; color: var(--muted-2); }

.brand-chips {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center;
}
.brand-chips span {
  padding: .3rem .85rem;
  border: 1px solid var(--border-2);
  border-radius: 50px;
  font-size: .78rem; font-weight: 600; color: var(--muted);
  background: var(--bg-warm);
}

/* Steps do scroll */
.sticky-col-steps {
  display: flex; flex-direction: column;
  padding: 2rem 0;
}

.aparelho-step {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  opacity: .35; transition: opacity .4s ease;
}
.aparelho-step:first-child { border-top: none; padding-top: 0; }
.aparelho-step.active { opacity: 1; }
.aparelho-step:last-of-type { border-top: 1px solid var(--border); }

.step-label {
  font-family: var(--f-head); font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; color: var(--muted-2);
  margin-bottom: .85rem;
}
.aparelho-step.active .step-label { color: var(--ink); }
.aparelho-step h3 { font-size: 1.35rem; margin-bottom: .65rem; }
.aparelho-step p  { font-size: .95rem; color: var(--muted); max-width: 460px; }

.step-chips {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem;
}
.step-chips span {
  padding: .28rem .8rem; border: 1px solid var(--border);
  border-radius: 50px; font-size: .78rem; font-weight: 500; color: var(--muted);
  background: var(--bg-warm);
}
.aparelho-step.active .step-chips span {
  border-color: var(--ink); color: var(--ink); background: transparent;
}

.aparelhos-cta-wrap { padding-top: 1rem; }

/* ── Aparelhos: card visual no mobile (imagem por CSS var) ── */
/* Aplicado via @media abaixo; aqui definimos apenas a variável padrão */
.aparelho-step { --step-img: none; }

/* Imagem mobile dos steps: oculta no desktop */
.step-product-mobile { display: none; }


/* ══════════════════════════════════════════
   TESTE ASSISTIDO
   ══════════════════════════════════════════ */
.section-teste {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Desktop: detalhe visual discreto */
.section-teste::before {
  content: '';
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: min(420px, 46vw);
  height: 320px;
  background: url('images/aparelho-2-clean-shadow.png') no-repeat right bottom / contain;
  opacity: .34;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 24px 44px rgba(0,0,0,.10));
}
.section-teste > * { position: relative; z-index: 1; }
.section-teste .teste-inner { position: relative; z-index: 1; }
.teste-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
}
.teste-tag {
  display: inline-block;
  background: var(--bg-warm-2); border: 1px solid var(--border);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 1.25rem;
}
.teste-inner h2 { margin-bottom: .85rem; }
.teste-sub { font-size: 1rem; color: var(--muted); margin-bottom: 1.75rem; }
.teste-list {
  list-style: none; display: flex; flex-direction: column;
  gap: .65rem; margin-bottom: 2rem; text-align: left;
  max-width: 520px; margin-left: auto; margin-right: auto;
}
.teste-list li {
  display: flex; align-items: center; gap: .7rem;
  font-weight: 500; font-size: .95rem; color: var(--ink-2);
}
.teste-list svg { flex-shrink: 0; }


/* ══════════════════════════════════════════
   DIFERENCIAIS
   ══════════════════════════════════════════ */
.dif-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}

.dif-hero-block {
  background: var(--ink); border-radius: var(--r-xl);
  padding: 3rem;
  /* overflow: clip não cria scroll-container, então não bloqueia sticky */
  overflow: clip;
  /* Desce junto com a rolagem acompanhando os cards da direita */
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}
.dif-bg-deco {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}
.dif-bg-deco svg { width: 100%; height: 100%; }

.dif-stat {
  font-family: var(--f-head); font-size: 6rem; font-weight: 800;
  color: #fff; line-height: 1; letter-spacing: -.05em;
  position: relative; z-index: 1;
}
.dif-stat-label {
  font-size: .85rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  position: relative; z-index: 1; margin-bottom: 1.5rem;
}
.dif-hero-block h2 {
  color: #fff; font-size: 1.4rem;
  position: relative; z-index: 1; margin-bottom: .85rem;
}
.dif-hero-block p {
  color: rgba(255,255,255,.55); font-size: .9rem;
  position: relative; z-index: 1; line-height: 1.65;
}

.dif-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.dif-card {
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.4rem;
  display: flex; flex-direction: column; gap: .3rem;
  transition: box-shadow .2s, transform .2s;
}
.dif-card:hover { box-shadow: var(--sh-sm); transform: translateY(-2px); }

.dif-card-icon {
  width: 40px; height: 40px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); margin-bottom: .5rem;
}
.dif-card strong { font-size: .92rem; font-weight: 600; color: var(--ink); }
.dif-card span   { font-size: .82rem; color: var(--muted); }


/* ══════════════════════════════════════════
   DEPOIMENTOS
   ══════════════════════════════════════════ */
.dep-pub-note {
  display: flex; align-items: flex-start; gap: .5rem;
  background: #fffbeb; border: 1px solid #f0c040;
  border-radius: var(--r); padding: .75rem 1rem;
  font-size: .82rem; color: #7a5a00;
  margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.dep-pub-note svg { flex-shrink: 0; margin-top: 2px; }

.dep-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.dep-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  display: flex; flex-direction: column; gap: .75rem;
  transition: box-shadow .2s;
}
.dep-card:hover { box-shadow: var(--sh); }
.dep-stars { display: flex; gap: 3px; }
.dep-card blockquote {
  font-size: .92rem; color: var(--ink-3);
  line-height: 1.65; flex: 1; font-style: italic;
}
.dep-author {
  display: flex; align-items: center; gap: .75rem;
  margin-top: auto;
}
.dep-initials {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg-warm-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem;
  color: var(--muted); flex-shrink: 0;
}
.dep-author strong { display: block; font-size: .88rem; color: var(--ink); }
.dep-author span   { font-size: .78rem; color: var(--muted-2); }


/* ══════════════════════════════════════════
   FAMILIARES
   ══════════════════════════════════════════ */
.section-familia {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* Desktop: detalhe muito sutil (fundo preto) */
.section-familia::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: -14%;
  width: min(44vw, 440px);
  height: 380px;
  background: url('images/hero-product-premium-mobile.png') no-repeat right bottom / contain;
  opacity: .18;
  z-index: 0;
  pointer-events: none;
  filter: invert(1) brightness(2.2) saturate(.6);
}
.familia-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
}
.familia-content { max-width: 600px; }
.familia-tag {
  display: inline-block;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 50px; padding: .35rem 1rem;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 1.25rem;
}
.familia-content h2 { color: #fff; margin-bottom: .85rem; font-size: 1.7rem; }
.familia-content p  { color: rgba(255,255,255,.6); margin-bottom: .75rem; font-size: .95rem; }
.familia-visual { flex-shrink: 0; opacity: .6; }
.familia-visual svg { width: 180px; height: 180px; }


/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 3.5rem; align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: .5rem; }
.faq-item {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; padding: 1.15rem 1.5rem;
  background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--f-head);
  font-size: .98rem; font-weight: 600; color: var(--ink);
  min-height: 60px; transition: background .2s;
}
.faq-q:hover { background: var(--bg-warm); }
.faq-arrow { flex-shrink: 0; color: var(--muted-2); transition: transform .25s; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(180deg); }
.faq-a { padding: 0 1.5rem 1.25rem; }
.faq-a p { font-size: .92rem; color: var(--muted); }

.faq-cta-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq-cta-card {
  background: var(--ink); border-radius: var(--r-xl);
  padding: 2rem; text-align: center;
}
.faq-cta-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: rgba(255,255,255,.7);
}
.faq-cta-card h3 { color: #fff; margin-bottom: .65rem; font-size: 1.1rem; }
.faq-cta-card p  { color: rgba(255,255,255,.55); font-size: .88rem; margin-bottom: 1.5rem; }
.faq-cta-card .btn { width: 100%; justify-content: center; border-radius: var(--r); }


/* ══════════════════════════════════════════
   LOCALIZAÇÃO
   ══════════════════════════════════════════ */
.loc-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem; align-items: start;
}
.loc-info-block {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.5rem;
}
.loc-info-row {
  display: flex; gap: 1rem; align-items: flex-start;
}
.loc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--bg-warm); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.loc-info-row strong { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.loc-info-row address, .loc-info-row p { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.loc-ctas { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.5rem; }

.loc-map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh); width: 100%; }
.loc-map iframe { display: block; width: 100%; max-width: 100%; }


/* ══════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════ */
.section-cta-final {
  background: var(--ink);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.section-cta-final::before {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -20%;
  width: min(36vw, 380px);
  height: 380px;
  background: url('images/aparelho-2.png') no-repeat left bottom / contain;
  opacity: .15;
  z-index: 0;
  pointer-events: none;
  filter: invert(1) brightness(2);
}
.cta-final-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.cta-final-bg svg { width: 100%; height: 100%; }
.cta-final-inner {
  position: relative; z-index: 1;
  text-align: center; max-width: 640px; margin: 0 auto;
  padding: var(--section-py) 0;
  position: relative; z-index: 1;
}
.cta-final-inner h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.2rem); margin-bottom: .85rem; }
.cta-final-inner p  { color: rgba(255,255,255,.6); font-size: 1rem; margin-bottom: 2.25rem; }
.cta-final-micro    { font-size: .82rem; color: rgba(255,255,255,.35); margin-top: 1rem; }


/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer { background: var(--ink); padding: 3.5rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: .88rem; color: rgba(255,255,255,.45);
  margin: .75rem 0; line-height: 1.65; max-width: 280px;
}
.footer-ig {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; color: rgba(255,255,255,.4);
  transition: color .2s;
}
.footer-ig:hover { color: #fff; }
.footer-col h3 {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(255,255,255,.3);
  margin-bottom: .85rem;
}
.footer-col address { font-size: .88rem; color: rgba(255,255,255,.55); line-height: 1.7; }
.footer-col p { font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-bottom { padding: 1.25rem 0; background: rgba(0,0,0,.3); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: .5rem;
}
.footer-rt  { font-size: .78rem; color: rgba(255,255,255,.3); }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.25); }
.rt-badge {
  display: inline-block; background: #fbbf24; color: #000;
  border-radius: 4px; padding: .1rem .4rem;
  font-size: .68rem; font-weight: 700; margin-left: .3rem;
}


/* ══════════════════════════════════════════
   WHATSAPP FLUTUANTE
   ══════════════════════════════════════════ */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 90;
  display: flex; align-items: center; gap: .6rem;
  background: var(--wa); color: #fff;
  border-radius: 50px; padding: .8rem 1.3rem;
  box-shadow: 0 6px 28px rgba(37,211,102,.38);
  font-family: var(--f-head); font-weight: 600; font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
  min-height: 52px; text-decoration: none;
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(37,211,102,.48); }
.wa-float-label { white-space: nowrap; }

.mobile-bar { display: none; }


/* ══════════════════════════════════════════
   ANIMAÇÕES DE ENTRADA
   ══════════════════════════════════════════ */
[data-animate] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-animate="fade-left"]  { transform: translateX(24px); }
[data-animate="fade-right"] { transform: translateX(-24px); }
[data-animate].is-visible   { opacity: 1; transform: none; }

/* Delays */
[data-delay="0"]   { transition-delay: 0ms; }
[data-delay="60"]  { transition-delay: 60ms; }
[data-delay="80"]  { transition-delay: 80ms; }
[data-delay="120"] { transition-delay: 120ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="180"] { transition-delay: 180ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="360"] { transition-delay: 360ms; }


/* Responsive section replaced */
/* ══════════════════════════════════════════
   RESPONSIVO — COMPLETO
   1080 desktop médio · 900 tablet landscape
   768 tablet portrait · 640 mobile grande
   480 mobile médio · 375 mobile pequeno
   ══════════════════════════════════════════ */

/* 1080px */
@media (max-width: 1080px) {
  .dor-accordion { height: 360px; }
  .dep-grid      { grid-template-columns: repeat(2, 1fr); }
  .servicos-list { grid-template-columns: repeat(3, 1fr); }
  .dif-layout    { gap: 2.5rem; }
}

/* 900px — tablet landscape */
@media (max-width: 900px) {
  :root { --section-py: 64px; }

  .main-nav    { display: none; }
  .btn-header  { display: none; }
  .menu-toggle { display: flex; }

  .hero               { padding-top: calc(var(--header-h) + 48px); min-height: auto; }
  .hero-inner         { grid-template-columns: 1fr; padding-bottom: 48px; }
  .hero::after        { display: none; }
  .hero-bg-deco       { display: none; }
  .hero-visual        { display: none; }

  /* MOBILE/TABLET: hero-bg-product ativado como visual principal */
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 34px);
    padding-bottom: 0;
    background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: clamp(235px, 62vw, 340px);
  }
  .hero-bg-product {
    display: block !important; /* ativar no mobile */
  }
  .hero-bg-product picture,
  .hero-bg-product img {
    display: block;
  }
  .hero-bg-product img {
    position: absolute;
    width: min(118vw, 560px);
    max-width: none;
    height: auto;
    right: -30%;
    bottom: 4px;
    top: auto;
    transform: none;
    opacity: .95;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(0,0,0,.12));
  }
  .hero-bg-product::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
      to bottom,
      #ffffff 0%,
      #ffffff 54%,
      rgba(255,255,255,.82) 66%,
      rgba(255,255,255,.20) 100%
    );
    pointer-events: none;
  }
  .hero-content {
    position: relative;
    z-index: 3;
  }
  .hero-ctas          { flex-wrap: wrap; gap: .75rem; }
  .hero h1            { max-width: 100%; }
  .hero-sub           { max-width: 100%; }

  .dor-accordion { height: 340px; }

  .timeline       { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .timeline-track { display: none; }
  .timeline-step  { padding: 0 .75rem; }

  .servicos-featured { grid-template-columns: repeat(2, 1fr); }
  .servicos-list     { grid-template-columns: repeat(2, 1fr); }

  .sticky-layout    { grid-template-columns: 1fr; }
  .sticky-col-image { display: none !important; }

  /* Steps viram cards visuais com img real */
  .sticky-col-steps { gap: 1rem; padding: 0; }

  .aparelho-step {
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    min-height: 360px;
    padding: 1.35rem 1.15rem 190px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #fbfaf8 100%);
    box-shadow: 0 14px 34px rgba(0,0,0,.055);
    margin-bottom: 0;
  }
  /* Halo de sombra decorativo no canto */
  .aparelho-step::before {
    content: '';
    position: absolute;
    right: -20%;
    bottom: -30%;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0,0,0,.055), transparent 66%);
    z-index: 0;
    pointer-events: none;
  }
  /* Remover overlay anterior */
  .aparelho-step::after { display: none !important; }

  /* Todo conteúdo acima do halo */
  .aparelho-step > *:not(.step-product-mobile) {
    position: relative;
    z-index: 2;
  }
  /* Imagem real dentro do card */
  .step-product-mobile {
    display: block !important;
    position: absolute;
    z-index: 1;
    width: min(82%, 330px);
    height: auto;
    right: -34px;
    bottom: 8px;
    opacity: .96;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 24px 34px rgba(0,0,0,.13));
  }

  .dif-layout     { grid-template-columns: 1fr; gap: 2rem; }
  .dif-hero-block { position: relative !important; top: auto !important; overflow: hidden; }
  .dif-stat       { font-size: 5rem; }
  .dif-grid       { grid-template-columns: repeat(2, 1fr); }

  .dep-grid { grid-template-columns: repeat(2, 1fr); }

  .faq-layout    { grid-template-columns: 1fr; }
  .faq-cta-aside { position: static; margin-top: 1.5rem; }
  .faq-cta-card  { max-width: 480px; }

  .familia-inner  { grid-template-columns: 1fr; }
  .familia-visual { display: none; }

  .loc-layout     { grid-template-columns: 1fr; }
  .loc-map iframe { height: 320px; }

  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

/* 768px — tablet portrait */
@media (max-width: 768px) {
  :root { --section-py: 56px; }

  .dor-accordion                { height: 300px; }
  .dor-ac-inner, .dor-cta-inner { padding: 1.35rem 1.2rem; }

  .servicos-featured { grid-template-columns: 1fr; }
  .servicos-list     { grid-template-columns: repeat(2, 1fr); }

  .timeline        { grid-template-columns: 1fr; gap: 1.5rem; }
  .timeline-step   { align-items: flex-start; text-align: left; padding: 0; }
  .timeline-node   { margin-bottom: 1rem; }
  .timeline-body p { max-width: 100%; margin: 0; }

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

  .loc-map iframe { height: 280px; }

  .footer-grid  { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { grid-column: auto; }
}

/* 640px — mobile grande */
@media (max-width: 640px) {
  :root      { --section-py: 48px; --header-h: 60px; }
  html       { font-size: 16px; }
  .container { padding: 0 20px; }

  .header-inner { height: 60px; }

  .hero              { padding-top: calc(var(--header-h) + 32px); }
  .hero-ctas         { flex-direction: column; }
  .hero-ctas .btn    { width: 100%; justify-content: center; border-radius: 14px; }
  .hero-badge        { font-size: .72rem; }
  .hero-checklist li { font-size: .9rem; }

  .hero-inner { padding-bottom: 265px; }
  .hero-bg-product img {
    width: 135%;
    right: -42%;
    bottom: 12px;
    opacity: .96;
  }

  .dor-accordion                     { flex-direction: column; height: auto; gap: 10px; }
  .dor-ac-item, .dor-ac-item.is-open {
    flex: none !important; width: 100%;
    height: auto !important; min-height: auto; position: relative;
  }
  .dor-ac-closed, .dor-cta-closed { display: none !important; }
  .dor-ac-inner, .dor-cta-inner   {
    position: relative !important; inset: auto !important;
    opacity: 1 !important; pointer-events: auto !important;
    transition: none !important; padding: 1.5rem 1.25rem;
    width: 100%; /* garante que não vaze além do card */
  }
  /* Botão dentro do card CTA no mobile */
  .dor-cta-btn {
    width: 100%;
    max-width: 100%;
    font-size: .88rem;
    padding: .8rem 1.1rem;
  }

  .timeline        { grid-template-columns: 1fr; gap: 1.25rem; }
  .timeline-step   { align-items: flex-start; text-align: left; padding: 0; }
  .timeline-body p { max-width: 100%; margin: 0; }

  .servicos-featured { grid-template-columns: 1fr; }
  .servicos-list     { grid-template-columns: 1fr; }

  /* Step padding reset — card style é definido no 900px */
  .aparelho-step { padding: 1.35rem 1.15rem 170px !important; min-height: 320px; }
  .step-product-mobile { width: 88%; right: -48px; }
  .step-chips    { flex-wrap: wrap; }

  .dif-grid { grid-template-columns: 1fr; }
  .dif-stat { font-size: 4rem; }

  .teste-list li { font-size: .9rem; }

  /* Teste Assistido: imagem bem visível no mobile */
  .section-teste {
    padding-bottom: calc(var(--section-py) + 150px);
  }
  .section-teste::before {
    width: 118%;
    height: 300px;
    right: -48%;
    bottom: -26px;
    opacity: .58;
  }

  .familia-content h2 { font-size: 1.45rem; }

  /* Família: decorativo no mobile (usa radial + imagem premium) */
  .section-familia {
    padding-bottom: calc(var(--section-py) + 170px);
  }
  .section-familia::after {
    content: '';
    position: absolute;
    right: -38%;
    bottom: 12px;
    width: 120%;
    height: 260px;
    background:
      radial-gradient(circle at center, rgba(255,255,255,.10), transparent 68%),
      url('images/hero-product-premium-mobile.png') no-repeat right bottom / contain;
    opacity: .52;
    filter: invert(1) brightness(2) saturate(.5);
    z-index: 0;
    pointer-events: none;
  }

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

  .faq-q        { font-size: .92rem; padding: 1rem 1.25rem; }
  .faq-a        { padding: 0 1.25rem 1rem; }
  .faq-cta-card { max-width: 100%; }

  /* ── Botões mobile: tamanho controlado e centralizados ── */

  /* Botões em seções (não são full-width, são centralizados) */
  .section-cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  .section-cta .btn,
  .section-cta a {
    width: auto !important;
    max-width: calc(100vw - 40px);
    padding: .85rem 1.5rem;
    font-size: .92rem;
    justify-content: center;
  }

  /* Botão da seção de teste assistido */
  .teste-inner .btn-dark {
    display: inline-flex;
    width: auto;
    max-width: calc(100vw - 40px);
    padding: .85rem 1.5rem;
    font-size: .92rem;
  }

  /* Botão da seção de família */
  .familia-content .btn-whatsapp-light {
    display: inline-flex;
    width: auto;
    max-width: calc(100vw - 40px);
    padding: .85rem 1.5rem;
    font-size: .92rem;
  }

  /* Botão da seção de aparelhos */
  .aparelhos-cta-wrap .btn {
    width: auto;
    max-width: calc(100vw - 40px);
  }

  /* Botão CTA final — largura controlada */
  .btn-cta-xl {
    max-width: calc(100vw - 40px);
    width: auto;
    padding: .95rem 1.5rem;
    font-size: .95rem;
  }

  /* CTA final centralizado */
  .cta-final-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Localização */
  .loc-ctas       { flex-direction: column; align-items: stretch; }
  .loc-ctas .btn  { width: 100%; justify-content: center; }
  .loc-map iframe { height: 240px; }
  .loc-info-block { padding: 1.5rem; }

  .cta-final-inner h2 { font-size: 1.5rem; }
  .btn-cta-xl         { padding: .95rem 1.75rem; font-size: 1rem; }

  .footer-grid         { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-brand        { grid-column: auto; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; }
  .rt-badge            { display: block; margin: .3rem 0 0; }

  .mobile-bar {
    display: block;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 89;
    padding: .75rem 1rem;
    padding-bottom: max(.75rem, env(safe-area-inset-bottom, .75rem));
    background: var(--bg); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,.09);
  }
  .wa-float    { display: none; }
  .site-footer { padding-bottom: 80px; }
}

/* 430px */
@media (max-width: 430px) {
  .hero-inner { padding-bottom: 250px; }
  .hero-bg-product img {
    width: 142%;
    right: -48%;
    bottom: 8px;
  }
}

/* 375px */
@media (max-width: 375px) {
  .hero-inner { padding-bottom: 225px; }
  .hero-bg-product img {
    width: 146%;
    right: -52%;
    bottom: 2px;
  }
}

/* 480px — mobile médio */
@media (max-width: 480px) {
  :root      { --section-py: 40px; }
  html       { font-size: 15.5px; }
  .container { padding: 0 16px; }

  h1 { font-size: clamp(1.45rem, 7.5vw, 1.85rem); }
  h2 { font-size: clamp(1.25rem, 6vw, 1.6rem); }

  .section-header { margin-bottom: 2rem; }

  .hero-badge { display: none; }
  .hero-inner { padding-bottom: 250px; }
  .hero-bg-product img {
    width: 142%;
    right: -48%;
    bottom: 8px;
    opacity: .96;
  }
  .hero-sub          { font-size: .92rem; }
  .hero-checklist li { font-size: .88rem; gap: .5rem; }
  .btn-hero-primary  { padding: .9rem 1.4rem; font-size: .95rem; }

  .timeline-icon { width: 44px; height: 44px; }
  .timeline-node { width: 52px; height: 52px; }

  .servico-card { padding: 1.5rem; }
  .servico-num  { font-size: .6rem; }

  .dif-hero-block { padding: 2rem 1.5rem; }
  .dif-stat       { font-size: 3.5rem; }

  .dep-card     { padding: 1.35rem; }
  .dep-initials { width: 36px; height: 36px; font-size: .9rem; }

  .faq-q { min-height: 52px; font-size: .9rem; }

  .loc-info-block { padding: 1.25rem; gap: 1.25rem; }
  .loc-icon       { width: 38px; height: 38px; }

  .aparelho-step h3 { font-size: 1.15rem; }
  .step-chips span  { font-size: .72rem; }

  .cta-final-inner p { font-size: .9rem; }
  .cta-final-inner   { padding: 3rem 0; }

  .footer-col h3 { margin-bottom: .65rem; }
  .site-footer   { padding-top: 2.5rem; }
}

/* Steps aparelhos 375px */
@media (max-width: 375px) {
  .aparelho-step {
    min-height: 320px;
    padding-bottom: 155px !important;
  }
  .step-product-mobile {
    width: 92%;
    right: -54px;
    bottom: 4px;
  }
}

/* 375px — mobile pequeno (iPhone SE) */
@media (max-width: 375px) {
  html       { font-size: 15px; }
  .container { padding: 0 14px; }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }

  .hero-ctas .btn { font-size: .9rem; padding: .85rem 1rem; }
  .hero-microcopy { font-size: .78rem; }
  .btn-cta-xl     { font-size: .9rem; padding: .9rem 1.25rem; }

  .dor-ac-inner, .dor-cta-inner { padding: 1.25rem 1rem; }
  .dor-ac-phrase                { font-size: .88rem; }
  .dor-cta-text                 { font-size: .82rem; }
  .dor-cta-btn                  { font-size: .82rem; padding: .75rem 1rem; }

  .servico-card { padding: 1.25rem 1rem; }
  .servico-item { padding: .85rem .75rem; }

  .faq-q { padding: .85rem 1rem; font-size: .85rem; }
  .faq-a { padding: 0 1rem .9rem; }

  .mobile-bar { padding: .65rem .75rem; padding-bottom: max(.65rem, env(safe-area-inset-bottom, .65rem)); }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  [data-animate]  { opacity: 1 !important; transform: none !important; }
  .hero-badge-dot { animation: none; }
  .dor-ac-inner, .dor-ac-closed,
  .dor-cta-inner, .dor-cta-closed { transition: none !important; }
}


/* ══════════════════════════════════════════
   HOTFIX — restaurar sticky desktop sem perder mobile visual
   Motivo: as imagens/cards novos são apenas para mobile. No desktop, a lógica
   antiga precisa voltar: coluna esquerda sticky + cards rolando na direita.
   ══════════════════════════════════════════ */
@media (min-width: 901px) {
  /* A seção de aparelhos não pode virar scroll-container, senão o sticky para. */
  .section-aparelhos,
  .section-aparelhos .container,
  .section-aparelhos .sticky-layout,
  .section-aparelhos .sticky-col-image,
  .section-aparelhos .sticky-col-steps {
    overflow: visible !important;
  }

  .section-aparelhos {
    position: relative;
  }

  .sticky-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 5rem !important;
    align-items: start !important;
  }

  .sticky-col-image {
    display: block !important;
    position: sticky !important;
    top: calc(var(--header-h) + 2rem) !important;
    align-self: start !important;
    height: max-content !important;
    z-index: 2;
  }

  .sticky-product-wrap {
    position: relative;
    overflow: visible !important;
  }

  .sticky-col-steps {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 2rem 0 !important;
  }

  .aparelho-step {
    position: relative !important;
    overflow: visible !important;
    min-height: auto !important;
    margin-bottom: 0 !important;
    padding: 2.5rem 0 3rem !important;
    border: 0 !important;
    border-top: 1px solid var(--border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: .35;
    transition: opacity .4s ease;
  }

  .aparelho-step:first-child {
    border-top: none !important;
    padding-top: 0 !important;
  }

  .aparelho-step.active {
    opacity: 1 !important;
  }

  .aparelho-step::before,
  .aparelho-step::after {
    display: none !important;
    content: none !important;
  }

  .step-product-mobile {
    display: none !important;
  }

  /* A seção de diferenciais também precisa preservar sticky no desktop. */
  .dif-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 4rem !important;
    align-items: start !important;
    overflow: visible !important;
  }

  .dif-hero-block {
    position: sticky !important;
    top: calc(var(--header-h) + 1.5rem) !important;
    align-self: start !important;
    height: max-content !important;
    overflow: clip;
  }

  /* Evita que o transform da animação de entrada atrapalhe o sticky do card preto. */
  .dif-hero-block[data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ══════════════════════════════════════════
   HOTFIX FINAL — sticky desktop por JS
   Motivo: em alguns navegadores o position: sticky parou de acompanhar
   por causa de pais/overflows/transform. Então no desktop o script controla
   o estado: normal -> fixed -> absolute final.
   Não altera mobile.
   ══════════════════════════════════════════ */
@media (min-width: 901px) {
  html,
  body {
    overflow-x: clip;
  }

  .section-aparelhos,
  .section-aparelhos .container,
  .section-aparelhos .sticky-layout,
  .section-aparelhos .sticky-col-image,
  .section-aparelhos .sticky-col-steps,
  .dif-layout,
  .manual-sticky-slot,
  .dif-sticky-slot {
    overflow: visible !important;
  }

  .section-aparelhos .sticky-layout,
  .dif-layout {
    position: relative !important;
    align-items: start !important;
  }

  .sticky-col-image,
  .manual-sticky-slot,
  .dif-sticky-slot {
    position: relative !important;
    align-self: start !important;
    z-index: 2;
  }

  /* Desativa o sticky nativo. O JS assume o controle no desktop. */
  .sticky-col-image,
  .dif-hero-block {
    position: relative !important;
    top: auto !important;
  }

  .sticky-product-wrap,
  .dif-hero-block {
    will-change: auto;
  }

  .sticky-product-wrap.manual-sticky-fixed,
  .dif-hero-block.manual-sticky-fixed {
    position: fixed !important;
    z-index: 5 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .sticky-product-wrap.manual-sticky-ended,
  .dif-hero-block.manual-sticky-ended {
    position: absolute !important;
    z-index: 5 !important;
    margin: 0 !important;
    transform: none !important;
  }

  .sticky-product-wrap.manual-sticky-normal,
  .dif-hero-block.manual-sticky-normal {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
    transform: none !important;
  }

  .dif-hero-block[data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════
   FIX — Diferenciais sticky nativo no desktop
   Mantém o JS manual apenas para a seção Aparelhos.
   O card preto não deve ser controlado por JS.
   ══════════════════════════════════════════ */
@media (min-width: 901px) {
  .dif-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 4rem !important;
    align-items: start !important;
    position: relative !important;
    overflow: visible !important;
  }

  .dif-hero-block {
    position: sticky !important;
    top: calc(var(--header-h) + 1.5rem) !important;
    align-self: start !important;
    height: max-content !important;
    overflow: clip !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 2;
  }

  .dif-hero-block.manual-sticky-fixed,
  .dif-hero-block.manual-sticky-ended,
  .dif-hero-block.manual-sticky-normal {
    position: sticky !important;
    top: calc(var(--header-h) + 1.5rem) !important;
    left: auto !important;
    width: auto !important;
    transform: none !important;
  }

  .dif-sticky-slot {
    display: contents !important;
  }
}

/* ══════════════════════════════════════════
   AJUSTE VISUAL FINAL — HERO MOBILE + CARDS APARELHOS MOBILE
   Não mexe no sticky desktop e não altera JS.
   ══════════════════════════════════════════ */

/* HERO MOBILE — modelo: texto em cima + imagem grande embaixo */
@media (max-width: 900px) {
  .hero {
    position: relative;
    display: block !important;
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 18px) !important;
    padding-bottom: 0 !important;
    overflow: hidden;
    background:
      radial-gradient(circle at 68% 70%, rgba(37, 211, 102, .10), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #fbfaf8 52%, #f1efeb 100%) !important;
  }

  .hero::after,
  .hero-bg-deco,
  .hero-visual,
  .hero-wave {
    display: none !important;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    display: block !important;
    min-height: calc(100svh - var(--header-h));
    padding-top: 1.1rem !important;
    padding-bottom: clamp(330px, 76vw, 430px) !important;
  }

  .hero-content {
    position: relative;
    z-index: 5;
    max-width: 100%;
  }

  .hero-badge {
    display: none !important;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.72rem, 7.2vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -.045em;
    margin-bottom: .95rem;
  }

  .hero-sub {
    max-width: 100%;
    font-size: .92rem;
    line-height: 1.58;
    margin-bottom: 1.15rem;
  }

  .hero-checklist {
    gap: .42rem;
    margin-bottom: 1.25rem;
  }

  .hero-checklist li {
    font-size: .82rem;
    line-height: 1.32;
  }

  .hero-checklist svg {
    width: 16px;
    height: 16px;
  }

  .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: .65rem;
    width: 100%;
    margin-bottom: .75rem;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    border-radius: 14px;
    font-size: .92rem;
  }

  .hero-microcopy {
    position: relative;
    z-index: 6;
    font-size: .76rem;
  }

  .hero-bg-product {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }

  .hero-bg-product picture {
    display: block;
    position: absolute;
    inset: 0;
  }

  .hero-bg-product img {
    position: absolute;
    display: block;
    width: min(136vw, 620px);
    max-width: none;
    height: auto;
    left: 50%;
    right: auto !important;
    top: auto !important;
    bottom: -22px;
    transform: translateX(-39%) !important;
    opacity: 1 !important;
    object-fit: contain;
    filter: drop-shadow(0 26px 42px rgba(0,0,0,.15));
  }

  .hero-bg-product::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 48%,
        rgba(255,255,255,.92) 57%,
        rgba(255,255,255,.42) 72%,
        rgba(255,255,255,0) 100%
      );
  }

  .hero-bg-product::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    width: 78%;
    height: 30%;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0,0,0,.12), transparent 66%);
    filter: blur(12px);
  }
}

/* MOBILE GRANDE */
@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 12px) !important;
  }

  .hero-inner {
    padding-top: .85rem !important;
    padding-bottom: 310px !important;
  }

  .hero h1 {
    font-size: 1.68rem;
  }

  .hero-sub {
    font-size: .86rem;
  }

  .hero-checklist li {
    font-size: .78rem;
  }

  .hero-bg-product img {
    width: 145%;
    bottom: -12px;
    transform: translateX(-40%) !important;
  }
}

/* IPHONE 14 / 15 PRO MAX E SIMILARES */
@media (max-width: 430px) {
  .hero-inner {
    padding-bottom: 285px !important;
  }

  .hero h1 {
    font-size: 1.55rem;
    line-height: 1.1;
  }

  .hero-sub {
    font-size: .82rem;
    line-height: 1.55;
  }

  .hero-checklist {
    margin-bottom: 1rem;
  }

  .hero-checklist li {
    font-size: .74rem;
  }

  .hero-ctas .btn {
    min-height: 50px;
    font-size: .86rem;
  }

  .hero-microcopy {
    font-size: .72rem;
  }

  .hero-bg-product img {
    width: 154%;
    bottom: -8px;
    transform: translateX(-39%) !important;
  }

  .hero-bg-product::before {
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 51%,
        rgba(255,255,255,.92) 60%,
        rgba(255,255,255,.34) 77%,
        rgba(255,255,255,0) 100%
      );
  }
}

/* IPHONES MENORES */
@media (max-width: 375px) {
  .hero-inner {
    padding-bottom: 250px !important;
  }

  .hero h1 {
    font-size: 1.42rem;
  }

  .hero-sub {
    font-size: .78rem;
  }

  .hero-checklist li {
    font-size: .7rem;
  }

  .hero-bg-product img {
    width: 158%;
    bottom: -6px;
    transform: translateX(-38%) !important;
  }
}


/* ══════════════════════════════════════════
   CARDS DE APARELHOS MOBILE — melhorar leitura
   Mantém imagem, mas tira de cima do texto.
   ══════════════════════════════════════════ */

@media (max-width: 900px) {
  .aparelho-step {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 390px !important;
    padding: 1.35rem 1.15rem 185px !important;
    background:
      linear-gradient(135deg, #ffffff 0%, #fbfaf8 100%) !important;
  }

  .aparelho-step::before {
    content: '';
    position: absolute;
    right: -26%;
    bottom: -34%;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0,0,0,.06), transparent 66%);
    z-index: 0;
    pointer-events: none;
  }

  .aparelho-step::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 48%,
        rgba(255,255,255,.94) 60%,
        rgba(255,255,255,.58) 76%,
        rgba(255,255,255,.10) 100%
      );
  }

  .aparelho-step > *:not(.step-product-mobile) {
    position: relative;
    z-index: 3;
  }

  .step-product-mobile {
    display: block !important;
    position: absolute;
    z-index: 1;
    width: min(88%, 360px);
    height: auto;
    right: -58px;
    bottom: 2px;
    opacity: .82;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 24px 34px rgba(0,0,0,.12));
  }
}

@media (max-width: 640px) {
  .aparelho-step {
    min-height: 355px !important;
    padding: 1.25rem 1rem 165px !important;
  }

  .step-product-mobile {
    width: 92%;
    right: -64px;
    bottom: -2px;
    opacity: .78;
  }
}

@media (max-width: 430px) {
  .aparelho-step {
    min-height: 342px !important;
    padding-bottom: 155px !important;
  }

  .aparelho-step h3 {
    font-size: 1.05rem;
  }

  .aparelho-step p {
    font-size: .86rem;
    line-height: 1.62;
  }

  .step-chips {
    gap: .38rem;
  }

  .step-chips span {
    font-size: .66rem;
    padding: .26rem .62rem;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(4px);
  }

  .step-product-mobile {
    width: 96%;
    right: -72px;
    bottom: -4px;
    opacity: .76;
  }
}

@media (max-width: 375px) {
  .aparelho-step {
    min-height: 330px !important;
    padding-bottom: 145px !important;
  }

  .step-product-mobile {
    width: 100%;
    right: -76px;
    bottom: -6px;
    opacity: .74;
  }
}

/* ══════════════════════════════════════════
   AJUSTE FINO — HERO MOBILE + CARDS APARELHOS
   Colar no final do styles.css
   ══════════════════════════════════════════ */


/* HERO MOBILE — diminuir imagem e mostrar melhor o produto inteiro */
@media (max-width: 900px) {
  .hero-inner {
    padding-bottom: clamp(285px, 68vw, 380px) !important;
  }

  .hero-bg-product img {
    width: min(118vw, 540px) !important;
    bottom: 10px !important;
    transform: translateX(-46%) !important;
    opacity: .96 !important;
  }

  .hero-bg-product::before {
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 50%,
        rgba(255,255,255,.92) 60%,
        rgba(255,255,255,.32) 76%,
        rgba(255,255,255,0) 100%
      ) !important;
  }
}

@media (max-width: 640px) {
  .hero-inner {
    padding-bottom: 270px !important;
  }

  .hero-bg-product img {
    width: 122% !important;
    bottom: 12px !important;
    transform: translateX(-47%) !important;
  }
}

@media (max-width: 430px) {
  .hero-inner {
    padding-bottom: 255px !important;
  }

  .hero-bg-product img {
    width: 126% !important;
    bottom: 14px !important;
    transform: translateX(-47%) !important;
  }
}

@media (max-width: 375px) {
  .hero-inner {
    padding-bottom: 235px !important;
  }

  .hero-bg-product img {
    width: 130% !important;
    bottom: 10px !important;
    transform: translateX(-47%) !important;
  }
}


/* CARDS APARELHOS MOBILE — imagem mais visível sem atrapalhar texto */
@media (max-width: 900px) {
  .aparelho-step {
    min-height: 390px !important;
    padding: 1.35rem 1.15rem 175px !important;
    background: #ffffff !important;
  }

  .aparelho-step::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 52%,
        rgba(255,255,255,.84) 64%,
        rgba(255,255,255,.34) 82%,
        rgba(255,255,255,0) 100%
      ) !important;
  }

  .step-product-mobile {
    width: min(72%, 300px) !important;
    right: -18px !important;
    bottom: 12px !important;
    opacity: .95 !important;
    filter: drop-shadow(0 22px 30px rgba(0,0,0,.13)) !important;
  }
}

@media (max-width: 640px) {
  .aparelho-step {
    min-height: 360px !important;
    padding: 1.25rem 1rem 155px !important;
  }

  .step-product-mobile {
    width: 74% !important;
    right: -20px !important;
    bottom: 12px !important;
    opacity: .95 !important;
  }
}

@media (max-width: 430px) {
  .aparelho-step {
    min-height: 345px !important;
    padding-bottom: 145px !important;
  }

  .step-product-mobile {
    width: 76% !important;
    right: -22px !important;
    bottom: 10px !important;
    opacity: .95 !important;
  }

  .aparelho-step::after {
    background:
      linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 54%,
        rgba(255,255,255,.84) 66%,
        rgba(255,255,255,.28) 84%,
        rgba(255,255,255,0) 100%
      ) !important;
  }
}

@media (max-width: 375px) {
  .aparelho-step {
    min-height: 330px !important;
    padding-bottom: 135px !important;
  }

  .step-product-mobile {
    width: 78% !important;
    right: -24px !important;
    bottom: 8px !important;
  }
}

/* ══════════════════════════════════════════
   AJUSTE DEFINITIVO — CARDS APARELHOS MOBILE
   Texto em cima + imagem visível embaixo
   Não mexe no sticky desktop
   ══════════════════════════════════════════ */

@media (max-width: 900px) {
  .aparelho-step {
    position: relative !important;
    isolation: isolate;
    overflow: hidden !important;

    min-height: 430px !important;
    padding: 1.35rem 1.15rem 210px !important;

    border-radius: 24px !important;
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.045) !important;
  }

  .aparelho-step::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);

    width: 78%;
    height: 170px;
    border-radius: 999px;

    background: radial-gradient(circle, rgba(0,0,0,.08), transparent 68%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
  }

  .aparelho-step::after {
    display: none !important;
    content: none !important;
  }

  .aparelho-step > *:not(.step-product-mobile) {
    position: relative;
    z-index: 3;
  }

  .step-product-mobile {
    display: block !important;
    position: absolute !important;

    z-index: 1;
    width: auto !important;
    max-width: none !important;
    height: 185px !important;

    left: 50% !important;
    right: auto !important;
    bottom: 18px !important;

    transform: translateX(-50%) !important;
    opacity: 1 !important;

    object-fit: contain !important;
    object-position: center bottom !important;
    pointer-events: none;

    filter: drop-shadow(0 22px 30px rgba(0,0,0,.16)) !important;
  }
}

@media (max-width: 640px) {
  .aparelho-step {
    min-height: 410px !important;
    padding: 1.25rem 1rem 200px !important;
  }

  .step-product-mobile {
    height: 178px !important;
    bottom: 18px !important;
  }
}

@media (max-width: 430px) {
  .aparelho-step {
    min-height: 395px !important;
    padding: 1.2rem .95rem 188px !important;
  }

  .aparelho-step h3 {
    font-size: 1.05rem;
    margin-bottom: .55rem;
  }

  .aparelho-step p {
    font-size: .86rem;
    line-height: 1.58;
  }

  .step-chips {
    position: relative;
    z-index: 4;
    gap: .38rem;
    margin-top: .8rem;
  }

  .step-chips span {
    font-size: .65rem;
    padding: .26rem .58rem;
    background: rgba(255,255,255,.92);
    border-color: rgba(0,0,0,.18);
    backdrop-filter: blur(5px);
  }

  .step-product-mobile {
    height: 172px !important;
    bottom: 16px !important;
  }
}

@media (max-width: 375px) {
  .aparelho-step {
    min-height: 375px !important;
    padding-bottom: 174px !important;
  }

  .step-product-mobile {
    height: 158px !important;
    bottom: 14px !important;
  }
}

/* ══════════════════════════════════════════
   AJUSTE — COMO FUNCIONA + TESTE + FAMÍLIA
   Sem mexer no HTML e sem alterar JS
   ══════════════════════════════════════════ */


/* =========================================
   1) COMO FUNCIONA — background com aparelho
   desktop: parallax/fixed
   mobile: fallback seguro
   ========================================= */

#como-funciona {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f7 100%);
}

#como-funciona .container,
#como-funciona .section-header,
#como-funciona .timeline,
#como-funciona .section-cta {
  position: relative;
  z-index: 2;
}

/* fallback padrão */
#como-funciona::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .18;
  background:
    radial-gradient(circle at 78% 58%, rgba(0,0,0,.06), transparent 22%),
    url('images/aparelho-2-clean-shadow.png') no-repeat 86% 72% / 380px auto;
}

/* desktop = efeito fixed */
@media (min-width: 901px) {
  #como-funciona {
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(250,249,247,.96) 100%),
      url('images/aparelho-2-clean-shadow.png') no-repeat 86% 68% / 400px auto;
    background-attachment: scroll, fixed;
  }

  #como-funciona::before {
    display: none;
  }
}

/* tablet/mobile = imagem visível, sem quebrar iPhone */
@media (max-width: 900px) {
  #como-funciona {
    padding-bottom: calc(var(--section-py) + 140px);
  }

  #como-funciona::before {
    opacity: .22;
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,.94) 0%,
        rgba(255,255,255,.88) 46%,
        rgba(255,255,255,.42) 78%,
        rgba(255,255,255,0) 100%
      ),
      url('images/aparelho-2-clean-shadow.png') no-repeat center calc(100% - 22px) / 280px auto;
  }
}

@media (max-width: 430px) {
  #como-funciona {
    padding-bottom: calc(var(--section-py) + 120px);
  }

  #como-funciona::before {
    background:
      linear-gradient(
        to bottom,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.89) 48%,
        rgba(255,255,255,.42) 80%,
        rgba(255,255,255,0) 100%
      ),
      url('images/aparelho-2-clean-shadow.png') no-repeat center calc(100% - 14px) / 240px auto;
    opacity: .24;
  }
}


/* =========================================
   2) TESTE ASSISTIDO — trazer a imagem para dentro
   ========================================= */

.section-teste {
  overflow: hidden;
}

@media (min-width: 901px) {
  .section-teste::before {
    right: 3% !important;
    bottom: 18px !important;
    width: min(30vw, 360px) !important;
    height: 300px !important;
    opacity: .40 !important;
    background-size: contain !important;
    background-position: right bottom !important;
  }
}

@media (max-width: 900px) {
  .section-teste {
    padding-bottom: calc(var(--section-py) + 120px) !important;
  }

  .section-teste::before {
    right: -14% !important;
    bottom: -6px !important;
    width: 74% !important;
    height: 220px !important;
    opacity: .36 !important;
    background-size: contain !important;
    background-position: right bottom !important;
  }
}

@media (max-width: 430px) {
  .section-teste {
    padding-bottom: calc(var(--section-py) + 105px) !important;
  }

  .section-teste::before {
    right: -10% !important;
    bottom: 0 !important;
    width: 68% !important;
    height: 190px !important;
    opacity: .34 !important;
  }
}


/* =========================================
   3) FAMÍLIA — trazer a imagem mais para dentro
   ========================================= */

.section-familia {
  overflow: hidden;
}

@media (min-width: 901px) {
  .section-familia::after {
    right: 1.5% !important;
    bottom: -4px !important;
    width: min(28vw, 340px) !important;
    height: 290px !important;
    opacity: .22 !important;
    background-size: contain !important;
    background-position: right bottom !important;
    filter: invert(1) brightness(2.15) saturate(.55) !important;
  }
}

@media (max-width: 900px) {
  .section-familia {
    padding-bottom: calc(var(--section-py) + 120px) !important;
  }

  .section-familia::after {
    right: -16% !important;
    bottom: -4px !important;
    width: 72% !important;
    height: 210px !important;
    opacity: .34 !important;
    background:
      radial-gradient(circle at center, rgba(255,255,255,.08), transparent 68%),
      url('images/hero-product-premium-mobile.png') no-repeat right bottom / contain !important;
    filter: invert(1) brightness(2.05) saturate(.5) !important;
  }
}

@media (max-width: 430px) {
  .section-familia {
    padding-bottom: calc(var(--section-py) + 100px) !important;
  }

  .section-familia::after {
    right: -12% !important;
    bottom: 0 !important;
    width: 66% !important;
    height: 180px !important;
    opacity: .30 !important;
  }
}

/* ══════════════════════════════════════════
   AJUSTE REAL — BACKGROUND FULL SECTION COM PARALLAX
   Seção: "Um atendimento pensado..."
   Não mexe em HTML/JS e não interfere no sticky dos aparelhos
   ══════════════════════════════════════════ */

#como-funciona {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background-image:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92) 0%,
      rgba(255,255,255,.88) 42%,
      rgba(250,249,247,.86) 100%
    ),
    url('images/hero-product-premium-mobile.png');

  background-repeat: no-repeat, no-repeat;
  background-position: center center, center center;
  background-size: cover, min(86vw, 1050px) auto;
  background-attachment: scroll, fixed;
}

#como-funciona::before {
  display: none !important;
}

#como-funciona .container,
#como-funciona .section-header,
#como-funciona .timeline,
#como-funciona .section-cta {
  position: relative;
  z-index: 2;
}

/* reforça legibilidade sem esconder totalmente o fundo */
#como-funciona .section-header,
#como-funciona .timeline,
#como-funciona .section-cta {
  isolation: isolate;
}

/* DESKTOP: imagem grande ocupando a sessão inteira */
@media (min-width: 901px) {
  #como-funciona {
    background-image:
      linear-gradient(
        180deg,
        rgba(255,255,255,.90) 0%,
        rgba(255,255,255,.86) 42%,
        rgba(250,249,247,.82) 100%
      ),
      url('images/hero-product-premium-mobile.png');

    background-position: center center, center center;
    background-size: cover, min(82vw, 1120px) auto;
    background-attachment: scroll, fixed;
  }
}

/* TABLET/MOBILE: background grande pegando a seção inteira */
@media (max-width: 900px) {
  #como-funciona {
    background-image:
      linear-gradient(
        180deg,
        rgba(255,255,255,.92) 0%,
        rgba(255,255,255,.88) 45%,
        rgba(250,249,247,.80) 100%
      ),
      url('images/hero-product-premium-mobile.png');

    background-repeat: no-repeat, no-repeat;
    background-position: center center, center 55%;
    background-size: cover, 135vw auto;
    background-attachment: scroll, fixed;

    padding-bottom: var(--section-py) !important;
  }
}

/* iPhone/mobile menor: imagem maior e centralizada */
@media (max-width: 430px) {
  #como-funciona {
    background-image:
      linear-gradient(
        180deg,
        rgba(255,255,255,.93) 0%,
        rgba(255,255,255,.88) 42%,
        rgba(250,249,247,.78) 100%
      ),
      url('images/hero-product-premium-mobile.png');

    background-position: center center, center 58%;
    background-size: cover, 155vw auto;
    background-attachment: scroll, fixed;
  }
}

/* ══════════════════════════════════════════
   AJUSTE — IMAGEM SEÇÃO TESTE ASSISTIDO
   "Mais segurança antes de escolher..."
   ══════════════════════════════════════════ */

@media (min-width: 901px) {
  .section-teste::before {
    right: 6% !important;
    bottom: 0 !important;
    width: min(38vw, 460px) !important;
    height: 420px !important;
    opacity: .42 !important;
    background-size: contain !important;
    background-position: center bottom !important;
  }
}

@media (max-width: 900px) {
  .section-teste {
    padding-bottom: calc(var(--section-py) + 160px) !important;
  }

  .section-teste::before {
    right: 50% !important;
    transform: translateX(50%) !important;
    bottom: -18px !important;
    width: 92% !important;
    height: 260px !important;
    opacity: .38 !important;
    background-size: contain !important;
    background-position: center bottom !important;
  }
}

@media (max-width: 430px) {
  .section-teste::before {
    width: 100% !important;
    height: 240px !important;
    bottom: -12px !important;
    opacity: .36 !important;
  }
}


/* ══════════════════════════════════════════
   AJUSTE — IMAGEM SEÇÃO FAMÍLIA
   "Está procurando ajuda..."
   ══════════════════════════════════════════ */

@media (min-width: 901px) {
  .section-familia::after {
    right: 3% !important;
    bottom: -6px !important;
    width: min(36vw, 460px) !important;
    height: 380px !important;
    opacity: .26 !important;
    background-size: contain !important;
    background-position: center bottom !important;
    filter: invert(1) brightness(2.15) saturate(.55) !important;
  }
}

@media (max-width: 900px) {
  .section-familia {
    padding-bottom: calc(var(--section-py) + 150px) !important;
  }

  .section-familia::after {
    right: 50% !important;
    transform: translateX(50%) !important;
    bottom: -10px !important;
    width: 92% !important;
    height: 250px !important;
    opacity: .36 !important;

    background:
      radial-gradient(circle at center, rgba(255,255,255,.10), transparent 68%),
      url('images/hero-product-premium-mobile.png') no-repeat center bottom / contain !important;

    filter: invert(1) brightness(2.05) saturate(.5) !important;
  }
}

@media (max-width: 430px) {
  .section-familia::after {
    width: 100% !important;
    height: 230px !important;
    bottom: -8px !important;
    opacity: .34 !important;
  }
}