/* ============================================================
   Repassa Brasil — Compras · site styles
   Layout + interactive/3D layer. Tokens live in tokens.css.
   ============================================================ */

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-page);
  color: var(--fg-default);
  font-family: var(--font-body);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }

/* Warm paper grain — brand-approved optional texture */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { position: relative; z-index: 2; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--rb-orange-300), var(--rb-orange-500));
  z-index: 200; transition: width .1s linear;
  box-shadow: 0 0 12px rgba(243,146,32,.5);
}

/* ============== REVEAL (scroll-in) ============== */
.reveal { transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
/* Only hide when JS is present to reveal them again — content stays visible
   if scripting fails, so the page never degrades to a blank fold. */
html.js .reveal { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay:.06s } .reveal[data-delay="2"]{ transition-delay:.12s }
.reveal[data-delay="3"]{ transition-delay:.18s } .reveal[data-delay="4"]{ transition-delay:.24s }

/* ============== BUTTONS ============== */
.btn {
  font-family: var(--font-sans); font-weight: 700; font-size: 15px;
  border: 0; border-radius: var(--radius-md); padding: 14px 22px;
  cursor: pointer; transition: background var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap; position: relative; overflow: hidden;
}
.btn:focus-visible { outline: 2px solid var(--rb-orange-400); outline-offset: 2px; }
.btn:active { transform: translateY(1px) scale(.995); }
.btn i, .btn svg { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover i[data-lucide="arrow-right"] { transform: translateX(3px); }
.btn-primary { background: var(--rb-orange-400); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--rb-orange-500); transform: translateY(-2px); box-shadow: 0 16px 32px rgba(243,146,32,.38); }
/* shine sweep */
.btn-primary::after {
  content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-out);
}
.btn-primary:hover::after { left: 140%; }
.btn-secondary { background: transparent; color: var(--rb-brown-600); border: 1.5px solid var(--rb-brown-600); }
.btn-secondary:hover { background: var(--rb-brown-600); color: var(--rb-cream-50); }
.btn-dark { background: var(--rb-brown-600); color: var(--rb-cream-50); }
.btn-dark:hover { background: var(--rb-brown-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--rb-brown-600); }
.btn-ghost:hover { background: var(--rb-cream-100); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,240,0.72); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; height: 72px; display: flex; align-items: center;
  transition: background var(--dur-base), border-color var(--dur-base), box-shadow var(--dur-base);
}
.nav.scrolled { background: rgba(251,247,240,0.92); border-bottom-color: var(--border-default); box-shadow: var(--shadow-xs); }
/* A nav é sticky e tem 72px. Sem scroll-margin, clicar em qualquer item do menu
   para o scroll com o topo da seção em y=0 — e o título fica ATRÁS da barra.
   Medido no celular (390px), com a rolagem assentada: como-funciona -13px,
   sobre -13px, faq -2px, unidades -20px. 84px = 72 da barra + 12 de respiro.
   O #top fica de fora de propósito: ele deve voltar ao topo do documento. */
#como-funciona, #unidades, #faq, #sobre { scroll-margin-top: 84px; }
.nav-inner { display: flex; align-items: center; gap: 32px; width: 100%; }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; width: auto; filter: drop-shadow(0 4px 8px rgba(42,28,18,.18)); transition: transform var(--dur-base) var(--ease-snap); }
.nav-logo:hover img { transform: rotate(-6deg) scale(1.06); }
.nav-logo-text { font-family: var(--font-display); font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; }
.nav-logo-text .o { color: var(--rb-orange-400); }
.nav-logo-text .b { color: var(--rb-brown-600); }
.nav-links { display: flex; gap: 28px; flex: 1; }
.nav-link { font-family: var(--font-sans); font-weight: 600; font-size: 14px; color: var(--rb-brown-600); cursor: pointer; padding: 6px 0; position: relative; background: none; border: 0; white-space: nowrap; text-decoration: none; }
.nav-link::after { content:""; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--rb-orange-400); transition: width var(--dur-base) var(--ease-out); }
.nav-link:hover { color: var(--rb-orange-500); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--rb-orange-500); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -6px; background: none; border: 0; cursor: pointer; color: var(--rb-brown-600); padding: 6px; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer-scrim { position:absolute; inset:0; background: rgba(42,28,18,.5); opacity:0; transition: opacity var(--dur-base); }
.drawer-panel { position:absolute; top:0; right:0; height:100%; width: min(84vw, 340px); background: var(--rb-brown-600); color: var(--rb-cream-50); padding: 24px; transform: translateX(100%); transition: transform var(--dur-slow) var(--ease-out); display:flex; flex-direction:column; gap: 8px; }
.drawer.open { visibility: visible; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: none; }
.drawer-panel a { color: var(--rb-cream-50); text-decoration: none; font-family: var(--font-sans); font-weight: 700; font-size: 18px; padding: 14px 8px; border-bottom: 1px solid rgba(246,241,235,.1); text-transform: uppercase; letter-spacing: .02em; }
.drawer-panel a:hover { color: var(--rb-orange-300); }
.drawer-close { align-self: flex-end; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -4px -8px 4px 0; background:none; border:0; color: var(--rb-cream-200); cursor:pointer; padding: 4px; }
.drawer-panel .btn { margin-top: 12px; }

/* ============== PROMO BANNER ============== */
.promo { background: var(--rb-green-500); color: #fff; padding: 12px 0; text-align: center; font-family: var(--font-sans); font-size: 14px; font-weight: 600; position: relative; z-index: 3; }
.promo .container { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.promo strong { font-family: var(--font-display); font-size: 18px; letter-spacing: -0.01em; }
.promo .tag { background: rgba(0,0,0,0.18); padding: 3px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ============== HERO ============== */
.hero { position: relative; padding: 72px 0 104px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 82% 26%, rgba(243,146,32,0.20), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 82%, rgba(42,28,18,0.06), transparent 55%),
    var(--bg-page);
}
/* floating depth orbs (mouse parallax) */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(30px); z-index: 0; pointer-events: none; will-change: transform; }
.hero-orb.o1 { width: 320px; height: 320px; top: 4%; right: 6%; background: radial-gradient(circle, rgba(243,146,32,.30), transparent 70%); }
.hero-orb.o2 { width: 220px; height: 220px; bottom: 8%; left: 4%; background: radial-gradient(circle, rgba(30,136,72,.14), transparent 70%); }
.hero-orb.o3 { width: 160px; height: 160px; top: 44%; left: 40%; background: radial-gradient(circle, rgba(247,172,63,.18), transparent 70%); }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--rb-orange-600); background: var(--rb-orange-50); padding: 8px 14px; border-radius: var(--radius-pill); margin-bottom: 20px; border: 1px solid var(--rb-orange-100); }
.hero-eyebrow .pip { width: 8px; height: 8px; border-radius: 50%; background: var(--rb-green-500); box-shadow: 0 0 0 0 rgba(30,136,72,.5); animation: livepip 2s infinite; }
@keyframes livepip { 0%,100%{ box-shadow: 0 0 0 0 rgba(30,136,72,.5);} 50%{ box-shadow: 0 0 0 6px rgba(30,136,72,0);} }
.hero-title { font-family: var(--font-display); font-size: clamp(2.75rem, 5.5vw, 4.5rem); line-height: 0.95; text-transform: uppercase; letter-spacing: -0.02em; color: var(--rb-brown-600); margin: 0 0 20px; }
.hero-title .accent { color: var(--rb-orange-400); position: relative; }
.hero-title .accent::after { content:""; position:absolute; left:0; right:0; bottom:-.06em; height:.09em; background: var(--rb-orange-300); border-radius: 999px; transform: scaleX(0); transform-origin: left; animation: underline 1s var(--ease-out) .5s forwards; }
@keyframes underline { to { transform: scaleX(1);} }
.hero-word { display: inline-block; transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.hero-title.reveal-ready .hero-word { opacity: 0; transform: translateY(14px); }
.hero-title.reveal-ready .hero-word.in { opacity: 1; transform: none; }
@keyframes wordin { to { opacity: 1; transform: none; } }
.hero-sub { font-size: 18px; color: var(--rb-brown-400); max-width: 480px; margin: 0 0 28px; line-height: 1.5; }
.hero-cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-rating { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border-default); max-width: 480px; }
.hero-rating .stars { color: var(--rb-orange-400); letter-spacing: 1px; font-size: 16px; }
.hero-rating .label { font-size: 13px; color: var(--rb-brown-500); }
.hero-rating strong { font-weight: 800; color: var(--rb-brown-600); }
.google-G { width: 20px; height: 20px; border-radius: 50%; background:#fff; box-shadow: 0 0 0 1px var(--border-default); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 12px; }
.google-G span { background: conic-gradient(from -45deg,#ea4335,#fbbc05,#34a853,#4285f4,#ea4335); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero form card — the 3D signature */
.tilt-wrap { perspective: 1200px; }
.form-card {
  background: linear-gradient(180deg, var(--rb-brown-500), var(--rb-brown-600));
  border-radius: var(--radius-xl); padding: 30px; box-shadow: var(--shadow-lg);
  color: var(--rb-cream-50); position: relative;
  transform-style: preserve-3d; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
  border: 1px solid rgba(246,241,235,.06);
}
.form-card .glare { position:absolute; inset:0; border-radius: inherit; pointer-events:none; opacity:0; background: radial-gradient(600px circle at var(--gx,50%) var(--gy,0%), rgba(255,255,255,.14), transparent 45%); transition: opacity .25s; z-index: 3; }
.form-card.tilting .glare { opacity: 1; }
.form-card .depth { transform: translateZ(40px); }
.form-card h3 { font-family: var(--font-display); font-size: 22px; line-height: 1.15; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 4px; color: #fff; }
.form-card .sub { font-size: 13px; color: var(--rb-cream-200); margin-bottom: 22px; display: flex; align-items: center; gap: 6px; }
.form-card .sub .dot { width:6px; height:6px; border-radius:50%; background: var(--rb-green-400); }
.form-card .stack { display: flex; flex-direction: column; gap: 12px; }
.form-card .field { display: flex; flex-direction: column; gap: 4px; }
.form-card .field-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rb-cream-100); }
.form-card select, .form-card input {
  font-family: var(--font-body); font-size: 16px; padding: 13px 16px;
  border: 1px solid rgba(246,241,235,0.18); border-radius: var(--radius-md);
  background: var(--rb-brown-700); color: #fff; height: 48px; appearance: none; width: 100%;
  transition: border-color var(--dur-base), box-shadow var(--dur-base);
}
.form-card select { background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23F4ECDD" d="M6 8 0 0h12z"/></svg>'); background-repeat: no-repeat; background-position: right 16px center; cursor: pointer; }
.form-card select:focus, .form-card input:focus { outline: none; border-color: var(--rb-orange-400); box-shadow: 0 0 0 3px rgba(243,146,32,0.25); }
.form-card input::placeholder { color: var(--rb-cream-100); opacity: 0.4; }
.form-card .submit { margin-top: 8px; padding: 15px 22px; font-size: 16px; }
.form-card .fineprint { font-size: 11px; color: var(--rb-cream-200); text-align: center; margin-top: 4px; opacity: .8; }
/* estimate popover after "submit" */
.form-estimate { display:none; text-align:center; padding: 8px 0 2px; }
.form-card.done .form-estimate { display:block; animation: wordin .4s var(--ease-out); }
.form-card.done .stack .field, .form-card.done .stack .submit, .form-card.done .fineprint { display:none; }
.form-estimate .lbl { font-size: 11px; text-transform: uppercase; letter-spacing:.08em; color: var(--rb-cream-200); }
.form-estimate .val { font-family: var(--font-display); font-size: 40px; color: var(--rb-orange-400); line-height: 1; margin: 6px 0 4px; }
.form-estimate .val .cur { font-size: .5em; margin-right: 4px; color: var(--rb-cream-200); }

/* floating badge on card */
.card-badge { position: absolute; top: -16px; left: -14px; z-index: 4; background: var(--rb-green-500); color:#fff; font-family: var(--font-sans); font-weight: 800; font-size: 12px; padding: 8px 12px; border-radius: var(--radius-pill); box-shadow: var(--shadow-md); display:flex; align-items:center; gap:6px; transform: translateZ(60px); }
.card-badge i { width:14px; height:14px; }

/* ============== ANY-STATE ============== */
.anystate { padding: 84px 0; background: var(--bg-page); }
.anystate h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 14px; max-width: 720px; }
.anystate .lead { font-size: 16px; color: var(--rb-brown-400); max-width: 580px; margin: 0 0 28px; }
.chip-rail { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.chip { background: #fff; border: 1.5px solid var(--rb-cream-200); color: var(--rb-brown-600); padding: 13px 18px; border-radius: var(--radius-pill); font-family: var(--font-sans); font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; transition: all var(--dur-base) var(--ease-out); cursor: pointer; white-space: nowrap; }
.chip:hover { border-color: var(--rb-orange-400); color: var(--rb-orange-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.chip .ic { width:18px; height:18px; color: var(--rb-orange-400); transition: color var(--dur-base); }
.chip.active { background: var(--rb-orange-400); border-color: var(--rb-orange-400); color: #fff; box-shadow: var(--shadow-accent); }
.chip.active .ic { color: #fff; }
/* dynamic reassurance panel */
.anystate-panel { background: linear-gradient(120deg, var(--rb-brown-600), var(--rb-brown-500)); color: var(--rb-cream-50); border-radius: var(--radius-lg); padding: 26px 28px; display: flex; align-items: center; gap: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.anystate-panel .p-ic { flex: none; width: 56px; height: 56px; border-radius: var(--radius-md); background: rgba(243,146,32,.16); color: var(--rb-orange-300); display: flex; align-items: center; justify-content: center; }
.anystate-panel .p-ic i { width: 28px; height: 28px; }
.anystate-panel .p-title { font-family: var(--font-sans); font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; color: #fff; margin: 0 0 4px; }
.anystate-panel .p-body { font-size: 15px; color: var(--rb-cream-100); margin: 0; line-height: 1.55; }
.anystate-panel .p-yes { margin-left: auto; flex: none; font-family: var(--font-display); text-transform: uppercase; font-size: 13px; color: var(--rb-green-400); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.anystate-panel.swap { animation: panelswap .35s var(--ease-out); }
@keyframes panelswap { from { opacity:.2; transform: translateY(8px);} to { opacity:1; transform:none;} }

/* ============== COMO FUNCIONA ============== */
.steps { padding: 88px 0; background: var(--rb-cream-100); }
.steps h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; margin: 8px 0 6px; }
.steps .lead { font-size: 16px; color: var(--rb-brown-400); margin: 0 0 44px; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tilt-card { perspective: 900px; }
.step { background: #fff; border-radius: var(--radius-lg); padding: 26px 24px; box-shadow: var(--shadow-sm); position: relative; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); transform-style: preserve-3d; }
.step:hover { box-shadow: var(--shadow-md); }
.step .num { position: absolute; top: -14px; left: 20px; background: var(--rb-orange-400); color: #fff; font-family: var(--font-display); font-size: 14px; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-accent); transform: translateZ(30px); }
.step .ic-box { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--rb-orange-50); color: var(--rb-orange-500); display: flex; align-items: center; justify-content: center; margin: 10px 0 16px; transition: transform var(--dur-base) var(--ease-snap); }
.step:hover .ic-box { transform: translateZ(24px) scale(1.08) rotate(-4deg); }
.step h4 { font-family: var(--font-sans); font-weight: 800; font-size: 16px; margin: 0 0 6px; color: var(--rb-brown-600); text-transform: uppercase; letter-spacing: 0.01em; }
.step p { font-size: 15px; color: var(--rb-brown-500); margin: 0; line-height: 1.55; }

/* ============== STATS ============== */
.stats { background: var(--rb-brown-600); color: var(--rb-cream-50); padding: 80px 0; position: relative; overflow: hidden; }
.stats::before { content:''; position: absolute; top: -50%; right: -10%; width: 640px; height: 640px; background: radial-gradient(circle, rgba(243,146,32,0.14), transparent 70%); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.stats h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin: 10px 0 18px; }
.stats h2 .accent { color: var(--rb-orange-400); }
.stats p { font-size: 16px; color: var(--rb-cream-200); line-height: 1.55; margin: 0 0 26px; }
.gauge-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.gauge { position: relative; width: 220px; height: 140px; flex: none; }
.gauge svg { width: 100%; height: 100%; overflow: visible; }
.gauge .g-track { fill: none; stroke: rgba(246,241,235,.12); stroke-width: 14; stroke-linecap: round; }
.gauge .g-fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; }
.gauge .g-needle { transform-origin: 110px 118px; transition: transform 1.4s var(--ease-snap); }
.gauge-center { position: absolute; left: 0; right: 0; bottom: 2px; text-align: center; }
.gauge-center .num { font-family: var(--font-display); font-size: 40px; color: var(--rb-orange-400); line-height: 1; }
.gauge-center .lab { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--rb-cream-100); }
.stats-nums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
.stats-nums .num { font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 2.75rem); line-height: 0.95; letter-spacing: -0.02em; color: #fff; white-space: nowrap; }
.stats-nums .num .unit { font-size: 0.45em; margin-left: 6px; color: var(--rb-cream-200); }
.stats-nums .num.orange { color: var(--rb-orange-400); }
.stats-nums .num.green { color: var(--rb-green-400); }
.stats-nums .label { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rb-cream-100); margin-top: 8px; }

/* ============== REASONS ============== */
.reasons { background: var(--rb-orange-400); color: #fff; padding: 88px 0; position: relative; overflow: hidden; }
.reasons::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.12), transparent 40%); pointer-events:none; }
.reasons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.reasons h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 24px; color: #fff; }
.reasons-list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.reason .ord { font-family: var(--font-display); font-size: 46px; line-height: 0.9; color: var(--rb-brown-600); letter-spacing: -0.04em; }
.reason h4 { font-family: var(--font-display); font-size: 21px; text-transform: uppercase; line-height: 1.0; letter-spacing: -0.01em; color: #fff; margin: 8px 0 6px; }
.reason p { font-size: 15px; color: rgba(255,255,255,0.95); margin: 0; line-height: 1.55; }
.photo-frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 9/16; max-width: 340px; margin: 0 auto; background: #1a110a; box-shadow: var(--shadow-lg); position: relative; border: 5px solid #fff; transform: rotate(-2deg); transition: transform .3s var(--ease-out); }
.photo-frame:hover { transform: rotate(0deg) scale(1.01); }
.photo-frame.is-playing { transform: rotate(0deg); }
.photo-frame .pf-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.photo-frame .pf-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; border: none; cursor: pointer; background: var(--rb-orange-400); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(42,28,18,.35); transition: transform .2s var(--ease-out), opacity .2s var(--ease-out), background .2s var(--ease-out); z-index: 2; }
.photo-frame .pf-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.photo-frame .pf-play svg { width: 30px; height: 30px; margin-left: 3px; fill: currentColor; }
.photo-frame.is-playing .pf-play { opacity: 0; visibility: hidden; }
.photo-frame.is-playing .pf-badge { opacity: 0; }
.photo-frame .pf-badge { position: absolute; top: 16px; left: 16px; background: rgba(42,28,18,.7); color:#fff; font-family: var(--font-sans); font-size: 11px; font-weight: 700; padding: 6px 12px; border-radius: var(--radius-pill); backdrop-filter: blur(4px); z-index: 2; transition: opacity .25s var(--ease-out); }
.photo-frame .pf-cap { position: absolute; bottom: 16px; left: 18px; right: 18px; font-family: var(--font-display); text-transform: uppercase; font-size: 18px; letter-spacing: -.01em; color: #fff; line-height: 1.05; }
.photo-frame .pf-note { position:absolute; bottom: 16px; left: 18px; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: rgba(255,255,255,.5); text-transform: uppercase; display:none; }
.pf-caption { max-width: 340px; margin: 18px auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.94); }
.pf-caption strong { color: #fff; font-weight: 800; }
/* interactive end-card overlay (shown when the video ends) */
.photo-frame .pf-end { position: absolute; inset: 0; z-index: 5; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px 22px; background: linear-gradient(160deg, var(--rb-orange-400) 0%, #b3560f 56%, var(--rb-brown-600) 100%); color: #fff; }
.photo-frame .pf-end[hidden] { display: none; }
.photo-frame .pf-end:not([hidden]) { animation: pfEndIn .45s var(--ease-out) both; }
@keyframes pfEndIn { from { opacity: 0; transform: scale(1.045); } to { opacity: 1; transform: scale(1); } }
.pf-end-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 280px; }
.pf-end-kicker { font-family: var(--font-sans); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.82); }
.pf-end-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(22px, 6vw, 28px); line-height: 1.06; letter-spacing: -.01em; margin: 0; }
.pf-end-cta { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--rb-brown-600); font-family: var(--font-sans); font-weight: 800; font-size: 15px; padding: 14px 22px; border-radius: var(--radius-pill); text-decoration: none; box-shadow: 0 12px 30px rgba(0,0,0,.28); transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out); }
.pf-end-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.34); }
.pf-end-cta svg { width: 18px; height: 18px; }
.pf-end-replay { display: inline-flex; align-items: center; gap: 7px; background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 13px; padding: 12px 18px; border-radius: var(--radius-pill); cursor: pointer; transition: background .18s var(--ease-out), border-color .18s var(--ease-out); }
.pf-end-replay:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.pf-end-replay svg { width: 15px; height: 15px; }
.photo-frame.is-ended { transform: rotate(0deg); }
.photo-frame.is-ended .pf-play, .photo-frame.is-ended .pf-badge { opacity: 0; visibility: hidden; }
.reasons-lead { max-width: 46ch; margin: 0 0 30px; font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; color: rgba(255,255,255,.95); }
.reasons-cta { margin-top: 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.reasons-cta-note { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.82); }

/* ============== TESTIMONIALS ============== */
.testi { padding: 88px 0; background: var(--bg-page); }
.testi .ey { display:block; text-align:center; margin-bottom: 6px; }
.testi h2 { font-family: var(--font-display); text-align: center; text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; margin: 0 0 40px; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--rb-orange-300), var(--rb-orange-500)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-size: 15px; }
.review-name { font-weight: 700; font-size: 14px; color: var(--rb-brown-600); }
.review-meta { font-size: 11px; color: var(--fg-muted); }
.review-stars { color: var(--rb-orange-400); font-size: 14px; letter-spacing: 1px; }
.review-text { font-size: 15px; line-height: 1.6; color: var(--rb-brown-500); }
.google-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--fg-muted); margin-top: auto; }

/* ============== UNIDADES ============== */
.units { padding: 88px 0; background: var(--rb-cream-100); }
.units .ey { margin-bottom: 6px; }
.units h2 { font-family: var(--font-display); text-align: center; text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; margin: 0 0 12px; }
.units .lead { font-size: 16px; color: var(--rb-brown-400); max-width: 560px; margin: 0 auto 26px; text-align: center; line-height: 1.55; }
.chip-rail-center { justify-content: center; margin-bottom: 32px; }
.chip .chip-n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--radius-pill); background: var(--rb-cream-100); color: var(--rb-brown-500); font-size: 12px; font-weight: 800; transition: all var(--dur-base) var(--ease-out); }
.chip.active .chip-n { background: rgba(255,255,255,0.28); color: #fff; }
/* Flex, não grid: os filtros mudam a quantidade de cartões (7, 3, 2, 1) e uma
   grade de 4 colunas fixas deixa o resultado de 1 unidade sozinho e encolhido
   na ponta esquerda. Com flex + justify-content:center, qualquer quantidade
   fica centrada e com a mesma largura de cartão. */
.unit-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; align-items: stretch; }
.unit-grid.swap { animation: panelswap .35s var(--ease-out); }
.unit { flex: 0 1 calc(25% - 13.5px); background: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); border: 1px solid transparent; display: flex; flex-direction: column; gap: 10px; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), border-color var(--dur-base); }
.unit:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--rb-orange-100); }
.unit-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.unit-top h4 { font-family: var(--font-sans); font-weight: 800; font-size: 17px; color: var(--rb-brown-600); margin: 0; }
.unit-tag { display: inline-flex; align-items: center; background: var(--rb-orange-400); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; padding: 4px 9px; border-radius: var(--radius-pill); }
.unit-addr { font-size: 15px; line-height: 1.55; color: var(--rb-brown-500); margin: 0; }
.unit-note { display: flex; align-items: flex-start; gap: 7px; font-size: 13.5px; line-height: 1.45; color: var(--rb-brown-400); background: var(--rb-cream-100); border-radius: var(--radius-sm); padding: 9px 11px; margin: 0; }
.unit-note svg { width: 15px; height: 15px; flex: 0 0 15px; margin-top: 1px; color: var(--rb-orange-500); }
.unit-link { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; margin-top: auto; padding: 10px 14px; border-radius: var(--radius-pill); border: 1.5px solid var(--rb-cream-200); color: var(--rb-brown-600); font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; text-decoration: none; transition: all var(--dur-base) var(--ease-out); }
.unit-link svg { width: 17px; height: 17px; color: var(--rb-orange-400); transition: color var(--dur-base); }
.unit-link:hover { background: var(--rb-orange-400); border-color: var(--rb-orange-400); color: #fff; box-shadow: var(--shadow-accent); }
.unit-link:hover svg { color: #fff; }

/* ============== FAQ ============== */
.faq { padding: 88px 0; background: var(--rb-cream-100); }
.faq h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.75rem, 3.2vw, 2.5rem); letter-spacing: -0.02em; margin: 6px 0 32px; text-align: center; }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs); border: 1px solid transparent; transition: border-color var(--dur-base); }
.faq-item.open { border-color: var(--rb-orange-100); }
.faq-q { width: 100%; text-align: left; padding: 18px 22px; background: transparent; border: 0; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-sans); font-weight: 700; font-size: 15px; color: var(--rb-brown-600); }
.faq-q:hover { color: var(--rb-orange-600); }
.faq-q .chev { width:18px; height:18px; flex:none; transition: transform var(--dur-base) var(--ease-out); color: var(--rb-orange-400); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-slow) var(--ease-out); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 22px 20px; font-size: 15px; color: var(--rb-brown-500); line-height: 1.6; margin: 0; }

/* ============== CTA BANNER ============== */
.cta-banner { padding: 60px 0; background: linear-gradient(120deg, var(--rb-orange-500), var(--rb-orange-400)); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content:""; position:absolute; top:-40%; left:-5%; width:400px; height:400px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 65%); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-inner h3 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; margin: 0; color: #fff; }
.cta-inner p { font-size: 15px; color: rgba(255,255,255,0.92); margin: 6px 0 0; }

/* ============== FOOTER ============== */
.footer { background: var(--rb-brown-700); color: var(--rb-cream-200); padding: 64px 0 32px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo img { height: 40px; width:auto; }
.footer-brand .logo .nav-logo-text .b { color:#fff; }
.footer-brand p { font-size: 13px; line-height: 1.6; color: var(--rb-cream-200); margin: 0 0 18px; max-width: 320px; }
.footer h5 { font-family: var(--font-sans); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--rb-cream-200); text-decoration: none; font-size: 14px; transition: color var(--dur-base); }
.footer ul a:hover { color: var(--rb-orange-300); }
.footer-units { margin-top: 44px; padding-top: 32px; border-top: 1px solid rgba(246,241,235,0.12); }
.footer-units ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.footer-units a { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: var(--radius-md); background: rgba(255,255,255,0.04); border: 1px solid rgba(246,241,235,0.09); font-size: 13px; line-height: 1.45; color: var(--rb-cream-200); text-decoration: none; transition: all var(--dur-base) var(--ease-out); }
.footer-units a:hover { background: rgba(255,255,255,0.08); border-color: var(--rb-orange-400); color: #fff; }
.footer-units strong { display: flex; align-items: center; gap: 7px; font-family: var(--font-sans); font-weight: 800; font-size: 14px; color: #fff; }
.footer-units .fu-tag { background: var(--rb-orange-400); color: #fff; font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 2px 7px; border-radius: var(--radius-pill); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(246,241,235,0.12); font-size: 12px; color: var(--rb-cream-300); flex-wrap: wrap; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(246,241,235,0.06); display: flex; align-items: center; justify-content: center; color: var(--rb-cream-200); transition: all var(--dur-base) var(--ease-out); }
.footer-socials a:hover { background: var(--rb-orange-400); color: #fff; transform: translateY(-2px); }
.footer-socials i, .footer-socials svg { width: 16px; height: 16px; }

/* ============== WHATSAPP FAB ============== */
@keyframes pulse { 0%,100% { box-shadow: 0 8px 20px rgba(42,28,18,.2), 0 0 0 0 rgba(30,136,72,0.5); } 50% { box-shadow: 0 8px 20px rgba(42,28,18,.2), 0 0 0 14px rgba(30,136,72,0); } }
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 120; width: 56px; height: 56px; border-radius: 50%; background: var(--rb-green-500); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; animation: pulse 2.4s infinite; text-decoration: none; transition: transform var(--dur-base) var(--ease-snap); }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab .wa-tip { position: absolute; right: 70px; background: var(--rb-brown-600); color:#fff; font-family: var(--font-sans); font-weight:700; font-size: 13px; padding: 8px 14px; border-radius: var(--radius-pill); white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: all var(--dur-base) var(--ease-out); box-shadow: var(--shadow-md); }
.wa-fab:hover .wa-tip { opacity: 1; transform: none; }

/* ============== RESPONSIVE ============== */
@media (max-width: 940px) {
  .nav-links { display: none; }
  .nav-right .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid, .stats-grid, .reasons-grid { grid-template-columns: 1fr; gap: 36px; }
  .step-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .unit { flex-basis: calc(50% - 9px); }
  .footer-grid, .footer-units ul { grid-template-columns: 1fr 1fr; }
  .anystate-panel .p-yes { display: none; }
  /* Tablet/large-phone: desktop section rhythm (80-88px) is oversized once the
     grids collapse to one column — trim the vertical padding so the page reads
     as one continuous flow instead of tall empty bands. */
  .anystate, .steps, .stats, .reasons, .testi, .units, .faq { padding-top: 64px; padding-bottom: 64px; }
  .cta-banner { padding: 48px 0; }
  /* The persistent nav CTA is a 37px-tall btn-sm on desktop; give it a real
     44px touch target once the burger appears. */
  .nav-right .btn { min-height: 44px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero { padding: 36px 0 52px; }
  /* Hero title: scale down so it breaks into clean lines instead of a ragged
     5-line wrap. The base clamp min (2.75rem) is locked in below ~800px, so we
     override it here with a viewport-driven size that fits small screens. */
  .hero-title { font-size: clamp(1.5rem, 7.1vw, 2.5rem); line-height: 1.05; letter-spacing: -0.03em; }
  .hero-sub { font-size: 16px; }
  /* The animated underline is authored for a single-line accent; on mobile the
     accent wraps across lines and the pseudo-element lands in the wrong place. */
  .hero-title .accent::after { display: none; }
  /* Kill the 3D pop on touch — it only pushes the badge past the clipped edge. */
  .card-badge { transform: none; left: -6px; }
  /* Let the single hero column shrink to the viewport and allow the CTA buttons
     to wrap, instead of their nowrap width forcing the grid wider than the screen
     (the horizontal-overflow culprit on ~320px phones). */
  .hero-grid > * { min-width: 0; }
  .hero .btn { white-space: normal; text-align: center; }
  .step-grid, .testi-grid, .footer-grid, .reasons-list, .stats-nums, .footer-units ul { grid-template-columns: 1fr; }
  .unit { flex-basis: 100%; }
  .anystate-panel { flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-inner .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  /* Phones: tighten the section rhythm further. 88px top+bottom on a 390px
     screen is ~170px of dead scroll between every block; 52px keeps clear
     separation while cutting ~500px of empty scrolling across the page. */
  .anystate, .steps, .stats, .reasons, .testi, .units, .faq { padding-top: 52px; padding-bottom: 52px; }
  .cta-banner { padding: 44px 0; }
  .footer { padding-top: 48px; }
  /* Oversized intro-to-content gaps collapse on mobile too. */
  .steps .lead { margin-bottom: 28px; }
  .testi h2 { margin-bottom: 24px; }
  .faq h2 { margin-bottom: 20px; }
  .stats-grid { gap: 32px; }
}
/* Very small phones (e.g. 320px iPhone SE): shrink the hero title a touch more
   so the longest line ("carro em qualquer") never overflows its column. */
@media (max-width: 340px) {
  .hero-title { font-size: 1.4rem; }
  .promo strong { font-size: 15px; }
  /* Logo + burger already fill the bar at this width; the inline CTA is
     redundant (the drawer and hero form both carry it). Drop it to avoid
     the nav overflowing. */
  .nav-right .btn-dark { display: none; }
}

/* ============== REDUCED MOTION ============== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-word { opacity: 1 !important; transform: none !important; }
  .form-card, .step { transform: none !important; }
}
