/* =================================================================
   BASE BAU — Colchões sob encomenda
   Design tokens
   - Midnight navy + champagne gold  ("noite de descanso de luxo")
   - Display: Fraunces  |  Body: Plus Jakarta Sans
   ================================================================= */

:root {
  /* Color */
  --bg:          #0B1120;
  --bg-2:        #0E1526;
  --surface:     #141D33;
  --surface-2:   #18223C;
  --border:      rgba(235, 211, 172, 0.12);
  --border-soft: rgba(255, 255, 255, 0.07);

  --text:        #F6F4EF;
  --muted:       #9CA6B8;
  --muted-2:     #6F7A8C;

  --gold:        #D9B68C;
  --gold-bright: #EBD3AC;
  --gold-deep:   #C99E6B;
  --whats:       #25D366;

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Spacing / layout */
  --container: 1180px;
  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow:    0 24px 60px -28px rgba(0, 0, 0, 0.75);
  --shadow-gold: 0 18px 50px -20px rgba(217, 182, 140, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Ambient atmosphere — subtle gold/navy glows */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 82% -8%, rgba(217, 182, 140, 0.10), transparent 60%),
    radial-gradient(800px 600px at 8% 12%, rgba(60, 92, 168, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

::selection { background: var(--gold); color: var(--bg); }

/* Focus visibility (quality floor) */
:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------- Typography -------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--text);
  font-optical-sizing: auto;
}

.display {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 540;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.gold { color: var(--gold-bright); }
.serif-italic { font-style: italic; font-family: var(--font-display); color: var(--gold-bright); }

/* --------------------------- Layout ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .display, .section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-top: 16px;
}
.section-head p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }

.divider { height: 1px; background: var(--border-soft); border: 0; }

/* --------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: #1A1206;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 56px -18px rgba(217, 182, 140, 0.55); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--gold); transform: translateY(-2px); }

.btn-whats {
  background: var(--whats);
  color: #06310F;
  box-shadow: 0 16px 40px -18px rgba(37, 211, 102, 0.6);
}
.btn-whats:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -16px rgba(37, 211, 102, 0.75); }

.btn-block { width: 100%; }
.btn-sm { min-height: 46px; font-size: 0.92rem; padding: 0 20px; }

/* ============================ HEADER ============================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(11, 17, 32, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 10px;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu hidden by default (shown only at <=720px when open) */
.mobile-menu { display: none; }

/* ============================= HERO ============================= */
.hero { position: relative; padding-top: 150px; padding-bottom: 90px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { max-width: 620px; }
.hero h1 { margin-top: 22px; }
.hero h1 .line { display: block; }
.hero-sub {
  margin-top: 26px;
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 520px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}
.hero-trust li {
  display: flex; align-items: center; gap: 9px;
  font-size: 0.9rem; color: var(--muted);
}
.hero-trust svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* Hero visual — floating layered mattress */
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.hero-stage .halo {
  position: absolute; inset: 8% 8% 14% 8%;
  background: radial-gradient(circle at 50% 45%, rgba(217, 182, 140, 0.22), transparent 62%);
  filter: blur(14px);
}
.hero-mattress {
  position: relative;
  width: 100%;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5));
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50%      { transform: translateY(-14px) rotate(0.4deg); }
}

.hero-badge {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  background: rgba(20, 29, 51, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.85rem;
}
.hero-badge strong { font-family: var(--font-display); color: var(--gold-bright); font-size: 1.15rem; display: block; line-height: 1; }
.hero-badge span { color: var(--muted); font-size: 0.78rem; }
.hero-badge.one { top: 6%; left: -6%; animation: float 6s ease-in-out infinite; }
.hero-badge.two { bottom: 8%; right: -4%; animation: float 8s ease-in-out infinite 0.6s; }

/* ========================= TRUST STRIP ========================= */
.marquee {
  border-block: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
  padding-block: 26px;
}
.marquee-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 44px;
}
.marquee-item {
  display: flex; align-items: center; gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}
.marquee-item svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

/* ========================== PRODUCTS ========================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }

.card-media {
  position: relative;
  aspect-ratio: 16 / 11;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 182, 140, 0.10), transparent 60%),
    linear-gradient(180deg, #16203a, #0f1729);
  display: grid; place-items: center;
  overflow: hidden;
}
.card-media svg { width: 78%; transition: transform 0.5s var(--ease); }
.card:hover .card-media svg { transform: scale(1.04) rotate(-1deg); }

.card-tag {
  position: absolute; top: 14px; left: 14px;
  z-index: 3;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-bright);
  background: rgba(11, 17, 32, 0.7);
  border: 1px solid var(--border);
  padding: 6px 11px; border-radius: 999px;
  backdrop-filter: blur(6px);
}

/* ---- Galeria de fotos no card ---- */
.gallery { position: absolute; inset: 0; overflow: hidden; }
.gallery-track { display: flex; height: 100%; transition: transform 0.45s var(--ease); }
.gallery-track img {
  min-width: 100%; width: 100%; height: 100%;
  object-fit: cover; display: block; cursor: zoom-in;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(11, 17, 32, 0.55);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover .gallery-nav, .linha-card:hover .gallery-nav, .gallery:focus-within .gallery-nav { opacity: 1; }
.gallery-nav:hover { background: rgba(11, 17, 32, 0.85); border-color: var(--gold); }
.gallery-nav svg { width: 18px; height: 18px; }
.gallery-nav.prev { left: 10px; }
.gallery-nav.next { right: 10px; }
.gallery-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
}
.gallery-dot {
  width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  transition: width 0.3s var(--ease), background 0.3s var(--ease), border-radius 0.3s var(--ease);
}
.gallery-dot.active { width: 18px; border-radius: 4px; background: var(--gold-bright); }
.gallery-expand {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(11, 17, 32, 0.55);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover .gallery-expand, .linha-card:hover .gallery-expand { opacity: 1; }
.gallery-expand:hover { border-color: var(--gold); }
.gallery-expand svg { width: 16px; height: 16px; }
/* Em telas sem hover (celular), mostra controles sempre */
@media (hover: none) {
  .gallery-nav, .gallery-expand { opacity: 1; }
}

/* ---- Lightbox (foto ampliada) ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 24px;
  background: rgba(7, 11, 20, 0.93);
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lb-stage {
  margin: 0; max-width: min(1000px, 92vw); max-height: 86vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lb-img {
  max-width: 100%; max-height: 78vh;
  border-radius: 14px; object-fit: contain;
  background: #0d1729; box-shadow: var(--shadow);
}
.lb-cap { color: var(--muted); font-size: 0.9rem; }
.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border); color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lb-nav {
  flex: none;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border); color: var(--text);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); background: rgba(255, 255, 255, 0.12); }
.lb-close svg, .lb-nav svg { width: 22px; height: 22px; }
@media (max-width: 720px) {
  .lb-nav { position: absolute; bottom: 26px; }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.42rem; }
.card-desc { color: var(--muted); font-size: 0.96rem; margin-top: 10px; flex: 1; }

.card-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.spec {
  font-size: 0.78rem; color: var(--muted);
  border: 1px solid var(--border-soft);
  padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
}

.card-foot {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.price-label { font-size: 0.74rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.1em; }
.price { font-family: var(--font-display); font-size: 1.7rem; color: var(--gold-bright); line-height: 1.1; margin: 2px 0 16px; }
.price small { font-family: var(--font-body); font-size: 0.85rem; color: var(--muted); font-weight: 500; }

/* ===================== LINHAS (Classic / Premium) ===================== */
.linhas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}
.linha-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.linha-card:hover { transform: translateY(-6px); border-color: var(--border); box-shadow: var(--shadow); }
.linha-card.destaque {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
}
.linha-card.destaque:hover { box-shadow: 0 22px 56px -18px rgba(217, 182, 140, 0.5); }

.linha-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(217, 182, 140, 0.10), transparent 60%),
    linear-gradient(180deg, #16203a, #0f1729);
  display: grid; place-items: center;
  overflow: hidden;
}
.linha-media svg { width: 78%; transition: transform 0.5s var(--ease); }
.linha-card:hover .linha-media > svg { transform: scale(1.04) rotate(-1deg); }

.linha-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.linha-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.linha-head h3 { font-size: 1.9rem; }
.linha-material {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--gold-bright);
  background: rgba(217, 182, 140, 0.10);
  border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 999px;
}
.linha-material svg { width: 15px; height: 15px; flex: none; }
.linha-desc { color: var(--muted); font-size: 0.96rem; margin-top: 14px; }

.linha-price {
  margin: 22px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.lp-label {
  display: block;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 10px;
}
.lp-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-soft);
}
.lp-row:last-child { border-bottom: none; }
.lp-size { font-weight: 500; color: var(--text); }
.lp-val {
  font-family: var(--font-display);
  font-size: 1.32rem;
  color: var(--gold-bright);
  white-space: nowrap;
}
.lp-val small {
  font-family: var(--font-body);
  font-size: 0.74rem; font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.02em;
  margin-right: 4px;
}
.linha-body .btn { margin-top: auto; }

/* Bloco "sob medida" */
.sob-medida {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 30px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
  background:
    radial-gradient(500px 200px at 0% 0%, rgba(217, 182, 140, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.015);
}
.sob-medida-icon {
  width: 56px; height: 56px; border-radius: 16px; flex: none;
  display: grid; place-items: center;
  background: rgba(217, 182, 140, 0.10);
  border: 1px solid var(--border);
  color: var(--gold-bright);
}
.sob-medida-icon svg { width: 28px; height: 28px; }
.sob-medida-text { flex: 1; min-width: 240px; }
.sob-medida-text h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.12rem; }
.sob-medida-text p { color: var(--muted); font-size: 0.94rem; margin-top: 6px; }
.sob-medida .btn { flex: none; }

/* ====================== SIGNATURE: LAYERS ====================== */
.layers {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(217, 182, 140, 0.08), transparent 60%),
    var(--bg-2);
  border-block: 1px solid var(--border-soft);
}
.layers-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.layers-stack {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--bg));
  padding: 26px;
  box-shadow: var(--shadow);
}
.layer {
  position: relative;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.02);
  display: flex; align-items: center; gap: 16px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.4s var(--ease);
}
.layers-stack.in .layer { opacity: 1; transform: none; }
.layers-stack.in .layer:nth-child(1) { transition-delay: 0.05s; }
.layers-stack.in .layer:nth-child(2) { transition-delay: 0.18s; }
.layers-stack.in .layer:nth-child(3) { transition-delay: 0.31s; }
.layers-stack.in .layer:nth-child(4) { transition-delay: 0.44s; }
.layer:last-child { margin-bottom: 0; }
.layer:hover { border-color: var(--gold); }
.layer-no {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-bright);
  width: 34px; flex: none;
}
.layer-bar { width: 6px; align-self: stretch; border-radius: 6px; flex: none; }
.layer h4 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; }
.layer p { color: var(--muted); font-size: 0.88rem; margin-top: 2px; }

/* =========================== FEATURES ========================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.feature:hover { transform: translateY(-5px); border-color: var(--border); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(217, 182, 140, 0.10);
  border: 1px solid var(--border);
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }

/* ============================ STEPS =========================== */
.steps { counter-reset: step; }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.step {
  position: relative;
  padding: 28px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.015);
}
.step-no {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  line-height: 1;
  margin-bottom: 14px;
}
.step h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }

/* ======================== TESTIMONIALS ======================== */
.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.quote {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; flex-direction: column;
}
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 16px; }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: 1.04rem; line-height: 1.6; flex: 1; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.1rem; color: var(--bg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
}
.quote-author cite { font-style: normal; font-weight: 600; font-size: 0.95rem; }
.quote-author span { display: block; color: var(--muted); font-size: 0.82rem; }

/* ============================= FAQ ============================ */
.faq-wrap { max-width: 820px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  color: var(--text);
}
.faq-q .icon {
  width: 30px; height: 30px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.faq-q .icon svg { width: 16px; height: 16px; }
.faq-item[aria-expanded="true"] .faq-q .icon { transform: rotate(45deg); background: rgba(217, 182, 140, 0.12); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--muted); padding: 0 4px 24px; max-width: 70ch; }
.faq-item[aria-expanded="true"] .faq-a { grid-template-rows: 1fr; }

/* ============================= CTA ============================ */
.cta {
  position: relative;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(217, 182, 140, 0.16), transparent 65%),
    linear-gradient(180deg, var(--surface-2), var(--bg));
  padding: clamp(48px, 7vw, 90px) 28px;
  overflow: hidden;
}
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 18ch; margin-inline: auto; }
.cta p { color: var(--muted); margin-top: 18px; max-width: 52ch; margin-inline: auto; font-size: 1.08rem; }
.cta .hero-cta { justify-content: center; margin-top: 36px; }

/* =========================== FOOTER =========================== */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding-block: 64px 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
.footer-about p { color: var(--muted); font-size: 0.95rem; margin-top: 18px; max-width: 38ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { color: var(--muted); font-size: 0.95rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.footer-col .with-icon { display: flex; align-items: center; gap: 10px; }
.footer-col .with-icon svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 48px; padding-top: 26px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted-2); font-size: 0.85rem;
}

/* Floating WhatsApp */
.fab {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.3s var(--ease);
  animation: fab-pulse 2.6s ease-in-out infinite;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 32px; height: 32px; }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 14px 34px -10px rgba(37, 211, 102, 0.7), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ===================== Scroll reveal util ===================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ========================= Responsive ========================= */
@media (max-width: 1024px) {
  .products-grid, .quotes-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-stage { max-width: 380px; }
  .layers-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta-desktop { display: none; }

  /* Mobile menu */
  .site-header.menu-open { background: rgba(11, 17, 32, 0.97); backdrop-filter: blur(18px); }
  .mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 10px 24px 26px;
    border-top: 1px solid var(--border-soft);
  }
  .site-header.menu-open .mobile-menu { display: flex; }
  .mobile-menu a { padding: 13px 12px; color: var(--text); font-size: 1.05rem; border-radius: 10px; }
  .mobile-menu a:hover { background: rgba(255,255,255,0.05); }
  .mobile-menu .btn { margin-top: 12px; }

  .products-grid, .quotes-grid, .features-grid, .steps-grid, .linhas-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sob-medida { flex-direction: column; align-items: flex-start; }
  .sob-medida .btn { width: 100%; }
  .hero-badge.one { left: 0; }
  .hero-badge.two { right: 0; }
  .hero-cta .btn { width: 100%; }
}

/* ===================== Reduced motion ===================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .layer { opacity: 1 !important; transform: none !important; }
}
