/* =========================================================
   MIO SOMNUS — Site Oficial
   Design system claro · estética Apple · acento dourado
   ========================================================= */

:root {
  /* Luz (padrão) */
  --bg: #f3f1ec;
  --surface: #ffffff;
  --surface-2: #ece9e2;
  --ink: #14181e;
  --ink-2: #2f353d;
  --muted: #666c74;
  --muted-2: #9a9ea4;

  /* Dourado */
  --gold: #a07829;        /* dourado legível sobre claro (texto/ícones) */
  --gold-bright: #c7a15b; /* acento / seções escuras */
  --gold-soft: #e2bf73;
  --gold-deep: #856936;

  /* Escuro (hero, faixas dramáticas) */
  --night: #0b1017;
  --night-2: #10161f;
  --night-text: #fff8ee;
  --night-muted: #a9b0ba;

  /* Linhas */
  --line: rgba(20, 24, 30, 0.10);
  --line-strong: rgba(20, 24, 30, 0.16);
  --line-ondark: rgba(255, 248, 238, 0.14);

  /* Tipografia — estilo Apple (SF Pro no Apple, Inter no resto) */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Escala fluida */
  --step--1: clamp(0.83rem, 0.79rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.22vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.08rem + 0.6vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --step-3: clamp(2.1rem, 1.55rem + 2.6vw, 3.6rem);
  --step-4: clamp(2.7rem, 1.9rem + 4.2vw, 5.4rem);

  /* Layout */
  --wrap: 1200px;
  --wrap-narrow: 820px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; width: 100%; max-width: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
@supports not (overflow: clip) { html { overflow-x: hidden; } }

body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%; max-width: 100%; overflow-x: clip;
}
@supports not (overflow: clip) { body { overflow-x: hidden; } }

::selection { background: var(--gold-bright); color: #1a140a; }

img, picture, svg, video { max-width: 100%; }
img { display: block; }
a { color: inherit; text-decoration: none; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-2); }
::-webkit-scrollbar-thumb { background: #cbb98f; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* Tipografia ------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
}
h1 { letter-spacing: -0.04em; }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-block;
}

.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); font-weight: 400; }

.gold { color: var(--gold); }
em, .italic { font-style: normal; color: var(--gold); }

/* Layout ----------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); margin-inline: auto; }
section { position: relative; }
.section-pad { padding-block: clamp(3.5rem, 7vw, 6.25rem); }

/* Faixas de cor ---------------------------------------- */
.band { background: var(--surface); }
.band-alt { background: var(--surface-2); }
.band-dark { background: var(--night); color: var(--night-text); }

/* Contexto escuro: hero, page-hero e faixas escuras ----- */
.on-dark, .hero, .page-hero, .band-dark { color: var(--night-text); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4,
.hero h1, .page-hero h1, .band-dark h2, .band-dark h3 { color: var(--night-text); }
.on-dark .lead, .hero .lead, .page-hero .lead, .band-dark .lead { color: rgba(255, 248, 238, 0.72); }
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .band-dark .eyebrow { color: var(--gold-bright); }
.on-dark .gold, .hero .gold, .page-hero .gold, .band-dark .gold,
.on-dark em, .hero em, .page-hero em, .band-dark em { color: var(--gold-bright); }

/* Botões ----------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 600; font-size: var(--step--1);
  letter-spacing: 0.01em;
  padding: 1em 2em; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
  max-width: 100%; text-align: center;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-bright));
  color: #1c1508;
  box-shadow: 0 12px 34px -14px rgba(160, 120, 41, 0.6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -14px rgba(160, 120, 41, 0.7); }
/* brilho que varre no hover (só onde há mouse) */
@media (hover: hover) and (pointer: fine) {
  .btn-gold::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform 0.7s var(--ease);
  }
  .btn-gold:hover::after { transform: translateX(120%); }
}
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.on-dark .btn-ghost, .hero .btn-ghost, .page-hero .btn-ghost, .band-dark .btn-ghost { border-color: var(--line-ondark); color: var(--night-text); }
.on-dark .btn-ghost:hover, .hero .btn-ghost:hover, .page-hero .btn-ghost:hover, .band-dark .btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); background: rgba(199, 161, 91, 0.08); }
.btn-lg { padding: 1.15em 2.5em; font-size: var(--step-0); }

/* Logotipo (ícone + wordmark) --------------------------- */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; line-height: 1; }
.logo__icon { width: 1.35rem; height: 1.35rem; flex: none; color: var(--gold-bright); }
.logo__text {
  font-size: 1.1rem; font-weight: 700; letter-spacing: 0.03em;
  text-transform: uppercase; color: inherit; white-space: nowrap;
}

/* Nav -------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05rem var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
  border-bottom: 1px solid transparent;
}
/* Sobre o hero escuro, a nav começa clara; ao rolar vira vidro claro */
.nav__logo { color: rgba(255, 248, 238, 0.96); transition: color 0.4s var(--ease); }
.nav__links a { color: rgba(255, 248, 238, 0.82); }
.nav.scrolled {
  background: rgba(247, 245, 241, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  padding-block: 0.65rem;
  box-shadow: 0 6px 24px -18px rgba(0, 0, 0, 0.4);
}
.nav.scrolled .nav__logo { color: var(--ink); }
.nav.scrolled .nav__links a { color: var(--muted); }

/* Nav para páginas com hero claro (produto): texto/logo escuros desde o topo */
.nav--light .nav__logo { color: var(--ink); }
.nav--light .nav__links a { color: var(--muted); }
.nav--light .nav__links a:not(.btn):hover { color: var(--ink); }
.nav--light .nav__toggle span { background: var(--ink); }
.nav--light.open .nav__toggle span { background: #fff; }
@media (max-width: 860px) {
  .nav--light .nav__links a, .nav--light.scrolled .nav__links a { color: var(--night-text); }
}
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.nav__links a { font-size: var(--step--1); font-weight: 500; letter-spacing: 0.01em; transition: color 0.3s; position: relative; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; border-radius: 2px; background: var(--gold-bright); transition: width 0.4s var(--ease);
}
.nav.scrolled .nav__links a:not(.btn):hover { color: var(--ink); }
.nav__links a:not(.btn):hover { color: #fff; }
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__links .btn { color: #1c1508; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 0.4rem; z-index: 110; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s, background 0.4s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav.open .nav__toggle span { background: #fff; }
.nav.open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 0; width: 100%; height: 100dvh; flex-direction: column; justify-content: center; gap: 2rem;
    background: rgba(9, 12, 17, 0.98); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform 0.55s var(--ease); opacity: 0; pointer-events: none;
    overflow-y: auto; overscroll-behavior: contain;
  }
  .nav.open .nav__links { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .nav__links a, .nav.scrolled .nav__links a { font-size: var(--step-1); color: var(--night-text); }
}

/* Hero ------------------------------------------------- */
.hero { min-height: 100svh; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: var(--night); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture, .page-hero__bg picture { display: block; width: 100%; height: 100%; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,10,14,0.45) 0%, rgba(7,10,14,0.05) 32%, rgba(7,10,14,0.88) 100%),
    radial-gradient(120% 80% at 72% 18%, transparent, rgba(7,10,14,0.55));
}
.hero__inner { padding-bottom: clamp(4rem, 9vw, 7.5rem); padding-top: 8rem; position: relative; z-index: 1; max-width: 900px; }
.hero h1 { font-size: var(--step-4); margin: 1.1rem 0; }
.hero .lead { max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.scroll-cue {
  position: absolute; left: 50%; bottom: clamp(1.4rem, 3vw, 2.2rem); z-index: 1;
  transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(255, 248, 238, 0.7); opacity: 1; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.scroll-cue span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.scroll-cue svg { width: 16px; height: 16px; animation: scrollcue-bounce 2s ease-in-out infinite; }
.scroll-cue.is-hidden { opacity: 0; }
@keyframes scrollcue-bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 620px), (max-height: 680px) { .scroll-cue { display: none; } }

.img-ph { background: radial-gradient(90% 120% at 30% 10%, rgba(199,161,91,0.15), transparent 60%), linear-gradient(160deg, var(--night-2), var(--night)); }

/* Manifesto -------------------------------------------- */
.manifesto { text-align: center; }
.manifesto p { font-size: var(--step-2); line-height: 1.28; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); }
.manifesto p .muted-line { color: var(--muted-2); }
.manifesto .sig { margin-top: 2.4rem; font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

/* Grid de produtos ------------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.product-card {
  --spotlight-x: 50%;
  --spotlight-y: 20%;
  --rx: 0deg; --ry: 0deg; --lift: 0px; --sc: 1;
  position: relative; display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift)) scale(var(--sc));
  transition: transform 0.35s var(--ease), border-color 0.45s, box-shadow 0.45s;
  min-height: 440px; isolation: isolate;
  box-shadow: 0 1px 2px rgba(20, 24, 30, 0.04);
}
.product-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(480px circle at var(--spotlight-x) var(--spotlight-y), rgba(199, 161, 91, 0.16), transparent 60%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.product-card:hover::after, .product-card:focus-within::after { opacity: 1; }
.product-card:hover { --lift: -8px; border-color: var(--line-strong); box-shadow: 0 38px 64px -34px rgba(20, 24, 30, 0.34); }
@media (hover: hover) and (pointer: fine) { .product-card:active { --lift: -4px; --sc: 0.992; transition-duration: 0.12s; } }
/* link que cobre o card inteiro — só em telas com mouse (evita toque acidental no mobile) */
.product-card__stretch { position: absolute; inset: 0; z-index: 4; border-radius: inherit; display: none; }
@media (hover: hover) and (pointer: fine) { .product-card__stretch { display: block; } .product-card { cursor: pointer; } }
.product-card__media {
  aspect-ratio: 4/5; overflow: hidden; position: relative;
  background: radial-gradient(120% 95% at 50% 12%, rgba(199,161,91,0.10), transparent 62%), var(--surface);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(0.75rem, 2.5vw, 1.5rem);
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); filter: drop-shadow(0 26px 34px rgba(20,24,30,0.22)); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { position: relative; z-index: 2; padding: 0.6rem 1.7rem 2rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-card__body h3 { font-size: var(--step-1); }
.product-card__body p { font-size: var(--step--1); color: var(--muted); flex: 1; }
.product-card__cta { position: relative; z-index: 5; margin-top: 1.2rem; font-weight: 600; font-size: var(--step--1); letter-spacing: 0.01em; color: var(--gold); display: inline-flex; align-items: center; gap: 0.5em; transition: gap 0.3s, color 0.3s; }
.product-card__cta:hover { color: var(--gold-deep); }
.product-card:hover .product-card__cta { gap: 0.9em; }
.product-card.featured { border-color: rgba(199, 161, 91, 0.5); box-shadow: 0 20px 50px -34px rgba(160, 120, 41, 0.5); }
.product-card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 6; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #1c1508; background: linear-gradient(135deg, var(--gold-soft), var(--gold-bright)); padding: 0.42em 0.9em; border-radius: 100px; }

@media (max-width: 860px) { .products { grid-template-columns: 1fr; } .product-card { min-height: auto; } }

/* Split (mecanismo / detalhe) -------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split__media { order: -1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--surface-2); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media.contain { background: #ffffff; display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 4vw, 3rem); }
.split__media.contain img { object-fit: contain; filter: drop-shadow(0 24px 34px rgba(20,24,30,0.2)); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split__media { order: 0; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.stat { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; }
.on-dark .stat, .band-dark .stat { border-top-color: var(--line-ondark); }
.stat__num { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.03em; color: var(--gold); line-height: 1; }
.on-dark .stat__num, .band-dark .stat__num { color: var(--gold-bright); }
.stat__label { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
.on-dark .stat__label, .band-dark .stat__label { color: var(--night-muted); }
@media (max-width: 620px) { .stat-row { grid-template-columns: 1fr; gap: 1rem; } }

/* Features --------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); }
.feature { transition: transform 0.4s var(--ease); }
.feature__icon { width: 42px; height: 42px; color: var(--gold); margin-bottom: 1rem; transition: transform 0.4s var(--ease), color 0.3s; }
.feature:hover { transform: translateY(-4px); }
.feature:hover .feature__icon { transform: scale(1.08); color: var(--gold-deep); }
.feature h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.feature p { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* Passos ----------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2.4rem); counter-reset: step; }
.step { position: relative; padding-top: 3.6rem; border-top: 1px solid var(--line-strong); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 1.1rem; left: 0; line-height: 1; font-weight: 700; font-size: var(--step-1); color: var(--gold); letter-spacing: -0.02em; }
.step h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.step p { font-size: var(--step--1); color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Prova social ----------------------------------------- */
.rating-hero { text-align: center; }
.stars { color: var(--gold-bright); font-size: var(--step-2); letter-spacing: 0.1em; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 3rem; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; box-shadow: 0 1px 2px rgba(20,24,30,0.04); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.quote:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -30px rgba(20,24,30,0.28); border-color: var(--line-strong); }
.quote p { font-size: var(--step-1); line-height: 1.4; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.quote .stars { font-size: var(--step-0); display: block; margin-bottom: 0.8rem; }
.quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: var(--step--1); color: var(--muted-2); letter-spacing: 0.01em; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* FAQ -------------------------------------------------- */
.faq { max-width: var(--wrap-narrow); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-family: var(--sans); font-weight: 600; font-size: var(--step-1); letter-spacing: -0.02em; transition: color 0.3s; }
.faq__q:hover { color: var(--gold); }
.faq__q::after { content: "+"; color: var(--gold); font-weight: 300; font-size: 1.6rem; transition: transform 0.4s var(--ease); flex: none; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq__a p { padding-bottom: 1.4rem; color: var(--muted); font-size: var(--step-0); }

/* CTA final -------------------------------------------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(80% 120% at 50% 0%, rgba(199,161,91,0.16), transparent 60%); }
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final h2 { font-size: var(--step-3); margin-bottom: 1.4rem; }

/* Footer ----------------------------------------------- */
.footer { border-top: 1px solid var(--line-ondark); padding-block: 3.6rem 2.4rem; background: var(--night); color: var(--night-text); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer__logo { color: var(--night-text); margin-bottom: 1.2rem; }
.footer__logo .logo__text { font-size: 1.2rem; }
.footer__tag { color: var(--night-muted); font-size: var(--step--1); max-width: 34ch; }
.footer h4 { font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1rem; font-weight: 600; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer ul a { color: var(--night-muted); font-size: var(--step--1); transition: color 0.3s; }
.footer ul a:hover { color: var(--night-text); }
.footer__bottom { margin-top: 2.8rem; padding-top: 1.7rem; border-top: 1px solid var(--line-ondark); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; }
.footer__bottom p { color: var(--night-muted); font-size: 0.8rem; }
.footer__disclaimer { color: rgba(169,176,186,0.7); font-size: 0.78rem; line-height: 1.6; margin-top: 1.3rem; max-width: 90ch; }
@media (max-width: 720px) { .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

/* Badges ----------------------------------------------- */
.badge-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 0.5em; max-width: 100%; font-size: var(--step--1); line-height: 1.35; color: var(--ink-2); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.5em 1.1em; overflow-wrap: anywhere; }
.badge svg { width: 1.1em; height: 1.1em; flex: 0 0 1.1em; color: var(--gold); }
.on-dark .badge, .band-dark .badge { color: var(--night-muted); border-color: var(--line-ondark); }
.on-dark .badge svg, .band-dark .badge svg { color: var(--gold-bright); }

/* Page hero (imagem cheia — usado por A Ciência) ------- */
.page-hero { min-height: 84svh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 6rem; background: var(--night); }
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,14,0.9) 0%, rgba(7,10,14,0.5) 60%, rgba(7,10,14,0.3) 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: var(--step-4); margin: 1rem 0 1.3rem; }
.page-hero .lead { max-width: 540px; }
.page-hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Product hero (claro — caixa em fundo branco) --------- */
.prod-hero { padding-top: clamp(7rem, 14vw, 9rem); padding-bottom: clamp(3rem, 8vw, 6rem); background: var(--bg); overflow: hidden; }
.prod-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.prod-hero__text h1 { font-size: clamp(2.4rem, 1.7rem + 3.5vw, 4.4rem); margin: 1rem 0 1.3rem; }
.prod-hero__text .lead { max-width: 46ch; }
.prod-hero__media {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 15%, rgba(199,161,91,0.10), transparent 60%), #ffffff;
  display: flex; align-items: center; justify-content: center; padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--line);
  transform: perspective(1400px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.prod-hero__media:hover { box-shadow: 0 40px 70px -40px rgba(20, 24, 30, 0.28); }
.prod-hero__media img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 44px rgba(20,24,30,0.22)); transform: translateZ(20px); }
@media (prefers-reduced-motion: reduce) { .prod-hero__media { transform: none !important; } }
@media (max-width: 860px) {
  .prod-hero__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .prod-hero__media { order: -1; aspect-ratio: 4/3; max-height: 46svh; }
  .prod-hero__text .lead { max-width: none; }
}

/* Gallery ---------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.gallery figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; border: 1px solid var(--line); background: var(--surface-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery figure.contain { background: #ffffff; display: flex; align-items: center; justify-content: center; padding: 1.4rem; }
.gallery figure.contain img { object-fit: contain; filter: drop-shadow(0 18px 24px rgba(20,24,30,0.16)); }
.gallery figure:hover img { transform: scale(1.04); }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* Reveal ----------------------------------------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s 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; }

/* Divider ---------------------------------------------- */
.rule { width: 56px; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); border: 0; margin: 1.5rem 0; }
.rule.center { margin-inline: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* utils ------------------------------------------------ */
.center { text-align: center; }
.mt-sm { margin-top: 1rem; } .mt-md { margin-top: 2rem; } .mt-lg { margin-top: 3rem; }
.maxch { max-width: 60ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4.5vw, 3.25rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--step-3); margin: 1rem 0; }

.scroll-progress {
  position: fixed; inset: 0 auto auto 0; z-index: 130;
  width: 100%; height: 2px; pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0)); transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  box-shadow: 0 0 16px rgba(199, 161, 91, 0.4);
}

/* estabilidade de imagem (evita reflow) ---------------- */
.hero__bg img, .page-hero__bg img { background: var(--night-2); }

/* =========================================================
   MOBILE — leve e impecável
   ========================================================= */
@media (max-width: 860px) {
  .btn { padding: 1em 1.7em; min-height: 52px; }
  .hero__cta, .page-hero__cta { width: 100%; gap: 0.8rem; }
  .hero__cta .btn, .page-hero__cta .btn { flex: 1 1 100%; }

  .nav { padding: 0.85rem var(--gutter); }
  .nav.scrolled { padding-block: 0.65rem; }
  .logo__icon { width: 1.2rem; height: 1.2rem; }
  .logo__text { font-size: 0.98rem; }
  .nav__toggle { width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

  .hero { min-height: 92svh; }
  .hero__bg img { object-position: 50% 30%; }
  .hero__inner { padding-top: 6.5rem; padding-bottom: 3.2rem; }
  .hero h1 { font-size: clamp(2.5rem, 10vw, 3.4rem); }
  .hero .lead { font-size: var(--step-0); }

  .page-hero { min-height: 80svh; align-items: flex-end; padding-top: 5rem; padding-bottom: 3rem; }
  .page-hero__bg img { object-position: 50% 22%; }
  .page-hero__bg::after { background: linear-gradient(180deg, rgba(7,10,14,0.7) 0%, rgba(7,10,14,0.25) 34%, rgba(7,10,14,0.55) 64%, rgba(7,10,14,0.96) 100%); }
  .page-hero h1 { font-size: clamp(2.3rem, 9.5vw, 3.2rem); }

  .section-pad { padding-block: clamp(2.75rem, 10vw, 3.75rem); }

  .manifesto p { font-size: clamp(1.35rem, 6vw, 1.9rem); }
  .cta-final h2, .section-head h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .stat__num { font-size: clamp(2.3rem, 12vw, 3.2rem); }

  .product-card__media { aspect-ratio: 5/4; }
  .product-card__cta { padding-block: 0.35rem; }
  .split__media { aspect-ratio: 3/2; }

  .badge { width: 100%; align-items: flex-start; border-radius: 14px; padding: 0.7em 0.9em; }
  .badge svg { margin-top: 0.13em; }
}

@media (max-width: 480px) {
  :root { --gutter: 1.2rem; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .page-hero h1, .prod-hero__text h1 { font-size: clamp(2rem, 10vw, 2.7rem); }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.1em; }
  .quote p { font-size: var(--step-0); }
  .faq__q { font-size: var(--step-0); padding: 1.15rem 0; }
  .footer__grid { text-align: left; }
}

@media (max-height: 560px) and (max-width: 860px) {
  .hero, .page-hero { min-height: 620px; }
}
