/* ============================ 0. FONTES ================================= */
/* Auto-hospedadas (sem Google Fonts CDN). Arquivos variáveis: um por família
   cobre todos os pesos. Subset latino — cobre 100% do português. */
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('../fonts/hankengrotesk-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =============================================================================
   MILCA COSMÉTICOS — Design System
   Um único arquivo, organizado em seções:
     1. TOKENS      — variáveis de cor, tipografia, espaço, forma, layout
     2. RESET/BASE  — normalização e estilos de elemento
     3. TIPOGRAFIA  — hierarquia (h1..h6, lead, eyebrow, prose)
     4. LAYOUT      — container, section, grids, utilitários
     5. COMPONENTES — header, nav, hero, botões, cards, footer, formulários…
     6. MOVIMENTO   — reveal on scroll + prefers-reduced-motion
   Sem estilos inline. Uma cor de marca. `!important` só nos padrões canônicos
   onde é recomendado: `[hidden]`, `.visually-hidden` e `prefers-reduced-motion`.
   ========================================================================== */

/* ============================ 1. TOKENS ================================== */
:root {
  /* -- Cor -- */
  /* Hierarquia de 6 níveis, claramente perceptíveis:
     CLARO · SUPERFÍCIE · QUENTE · ESCURO · MARCA · ACENTO */
  --ink: #1a1618;          /* ESCURO — tinta quase preta */
  --ink-2: #423a3c;        /* texto secundário */
  --ink-3: #63595c;        /* apoio / legendas / eyebrows — com presença */
  --paper: #f3ece3;        /* CLARO — creme sofisticado */
  --paper-2: #e9dece;      /* QUENTE — areia/taupe, nível nitidamente distinto */
  --paper-3: #ded0bb;      /* QUENTE mais fundo — insets / bordas de seção */
  --surface: #ffffff;      /* SUPERFÍCIE — branco limpo, salta do papel */
  --surface-2: #faf5ed;    /* superfície levemente quente (mídia de card) */
  --wine: #9c2b50;         /* MARCA — vinho profundo */
  --wine-deep: #741d3b;    /* pressed / texto vinho em fundo claro */
  --wine-tint: #efdcdf;    /* preenchimento suave (badge, ícone) */
  --wine-glow: rgba(156, 43, 80, 0.4); /* micro-glow do CTA / luz do hero */
  --gold: #8a6a3e;         /* ACENTO SECUNDÁRIO — muito discreto */
  --line: #dccfba;         /* filetes e bordas */
  --ring: #1e5fd8;         /* anel de foco — alto contraste em qualquer fundo */
  --ink-inverse: #f7f1ee;  /* texto sobre fundos escuros/vinho */

  /* -- Tipografia -- */
  --font-display: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-text: 'Hanken Grotesk', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;

  --fs-caption: 0.78rem;
  --fs-small: 0.875rem;
  --fs-body: 1rem;
  --fs-eyebrow: 0.7rem;
  --fs-h6: 0.95rem;
  --fs-h5: 1.1rem;
  --fs-h4: clamp(1.15rem, 1.05rem + 0.45vw, 1.35rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --fs-h2: clamp(1.5rem, 1.3rem + 0.95vw, 2rem);      /* section-heads */
  --fs-h1: clamp(2rem, 1.55rem + 2.2vw, 3.1rem);
  --fs-display: clamp(2.5rem, 1.8rem + 3.7vw, 4.2rem); /* hero da home */
  --fs-block: 1.2rem;                                  /* títulos de bloco (produto, prose) */

  --lh-tight: 1.07;
  --lh-snug: 1.25;
  --lh-body: 1.65;
  --tracking-eyebrow: 0.14em;

  /* -- Espaço (base 4px) -- */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* -- Forma -- */
  --r-sm: 6px;  --r-btn: 9px;  --r: 12px;  --r-lg: 18px;  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(28, 24, 25, 0.05), 0 10px 24px -14px rgba(28, 24, 25, 0.16);
  --shadow: 0 2px 6px -2px rgba(28, 24, 25, 0.08), 0 26px 50px -24px rgba(28, 24, 25, 0.3);

  /* -- Layout -- */
  --container: 1180px;
  --container-narrow: 720px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header-h: 68px;
  --section-y: clamp(2.75rem, 1.75rem + 4.5vw, 5rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1); /* out-expo — entrada premium */
  --dur: 220ms;
}

/* ============================ 2. RESET / BASE ============================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: middle; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

ul[class], ol[class] { list-style: none; padding: 0; }

[hidden] { display: none !important; }

:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--wine); color: #fff; }

/* ============================ 3. TIPOGRAFIA ============================= */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1, .h1 { font-size: var(--fs-h1); font-weight: 400; }
h2, .h2 { font-size: var(--fs-h2); }
h3, .h3 { font-size: var(--fs-h3); line-height: var(--lh-snug); }
h4, .h4 { font-size: var(--fs-h4); line-height: var(--lh-snug); }
h5, .h5 {
  font-family: var(--font-text);
  font-size: var(--fs-h5);
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: 0;
}
h6, .h6 {
  font-family: var(--font-text);
  font-size: var(--fs-h6);
  font-weight: 600;
}

.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.display em, h1 em, .h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--wine-deep);
}
/* palavra-marca do hero: vinho vívido, com presença por contraste */
.hero h1 em { color: var(--wine); }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--ink-3);
}
/* kicker editorial: um traço vinho curto antes do rótulo (acento sem inundar de vinho) */
.section-head .eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: var(--wine);
  flex: none;
}

small, .small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); color: var(--ink-3); }
.muted { color: var(--ink-2); }

/* Blocos de texto rico (sobre / página de produto) */
.prose { max-width: 68ch; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-block);
  line-height: 1.2;
  color: var(--ink);
  margin-top: 1.8em;
}
.prose h3 {
  font-family: var(--font-text);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-top: 1.6em;
}
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: 0.4em; }
.prose a {
  color: var(--wine-deep);
  text-decoration: underline;
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}

/* Rhythm helper: espaçamento vertical automático entre filhos */
.flow > * + * { margin-top: var(--flow-space, 1rem); }

/* ============================ 4. LAYOUT =============================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: var(--section-y); }
/* QUENTE — não chapado: uma luz difusa muito sutil no topo */
.section--alt {
  background:
    radial-gradient(75% 55% at 18% 0%,
      color-mix(in srgb, var(--surface) 55%, transparent) 0%, transparent 62%),
    var(--paper-2);
}
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--flush-top { padding-top: calc(var(--header-h) + var(--sp-6)); padding-bottom: var(--sp-6); }
/* ESCURO — cena, não bloco: brilho vinho quente num canto */
.section--dark {
  background:
    radial-gradient(85% 65% at 85% -5%,
      color-mix(in srgb, var(--wine) 22%, var(--ink)) 0%, transparent 55%),
    var(--ink);
  color: var(--ink-inverse);
}
/* faixas de transição nas bordas: o encontro com a seção clara/quente
   deixa de ser uma linha dura — a borda "desce" para o preto */
.section--dark::before,
.section--dark::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: clamp(2rem, 5vw, 3.5rem);
  pointer-events: none;
  z-index: 0;
}
.section--dark::before {
  top: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--ink) 74%, var(--paper-3)) 0%, transparent 100%);
}
.section--dark::after {
  bottom: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--ink) 70%, var(--paper-2)) 0%, transparent 100%);
}
.section--dark .eyebrow { color: rgba(247, 241, 238, 0.62); }
.section--dark .eyebrow::before { background: color-mix(in srgb, var(--wine) 70%, #fff); }
.section--dark h2,
.section--dark .section-head h2 { color: #fff; }
.section--dark .section-head p,
.section--dark .prose { color: rgba(247, 241, 238, 0.78); }
.section--dark .prose strong { color: #fff; }
.section--dark .prose a { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.5); }
.section--dark .split__media { box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); background: #14100f; }
.section--dark .link { color: #fff; }

.section-head { max-width: 44rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-head .eyebrow { margin-bottom: var(--sp-3); }
.section-head h1, .section-head h2 { margin-bottom: var(--sp-3); }
.section-head h1 { font-size: var(--fs-h2); }
.section-head p { color: var(--ink-2); font-size: 1rem; max-width: 40rem; }
.section--tight .section-head { margin-bottom: var(--sp-5); }
.section--tight .section-head h2 { font-size: var(--fs-block); margin-bottom: var(--sp-3); }

/* Página legal: H1 solto (fora de .section-head) num tom mais sóbrio */
.page-legal h1 { font-size: var(--fs-h2); margin-bottom: var(--sp-3); }

/* Grade de cards responsiva sem media queries */
.grid-auto {
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
  grid-template-columns: repeat(auto-fill, minmax(min(var(--col-min, 260px), 100%), 1fr));
}
.grid-auto--sm { --col-min: 220px; }
.grid-auto--lg { --col-min: 300px; }
.grid-auto--fit { grid-template-columns: repeat(auto-fit, minmax(min(var(--col-min, 260px), 100%), 1fr)); }
.flow--lg { --flow-space: var(--sp-5); }
.flow--sm { --flow-space: var(--sp-2); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.stack-center { display: grid; justify-items: center; text-align: center; }

/* utilitários pontuais (evitam style="" inline — mantém CSP estrita) */
.u-center { text-align: center; }
.mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); }
.mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-sm);
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ============================ 5. COMPONENTES ========================== */

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.7rem 1.3rem;
  font-family: var(--font-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.015em;
  border-radius: var(--r-btn);
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn--primary {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 7%, var(--wine)) 0%, var(--wine) 55%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(90, 20, 44, 0.35),
    0 14px 30px -12px var(--wine-glow),
    0 0 13px -5px var(--wine-glow); /* halo vinho muito tênue no repouso — chama o olho sem hover */
}
.btn--primary:hover {
  background:
    linear-gradient(180deg, color-mix(in srgb, #fff 5%, var(--wine-deep)) 0%, var(--wine-deep) 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 4px rgba(90, 20, 44, 0.35),
    0 20px 40px -12px var(--wine-glow),
    0 0 26px -4px var(--wine-glow); /* hover claramente mais forte que o repouso */
}

.btn--ghost { border-color: color-mix(in srgb, var(--ink) 42%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn--on-dark { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--lg { padding: 0.9rem 1.7rem; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* Link de ação: sublinhado sempre presente (fino), engrossa no hover */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  color: var(--wine-deep);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link:hover { color: var(--wine); background-size: 100% 2px; }
.link .icon { width: 1em; height: 1em; transition: transform var(--dur) var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* ---- Badges ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  background: var(--wine-tint);
  color: var(--wine-deep);
}
.badge--pro { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink-2); }
.badge--gold { background: color-mix(in srgb, var(--gold) 15%, transparent); color: var(--gold); }

/* ---- Header / navegação ---- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: color-mix(in srgb, var(--paper) 34%, transparent);
  backdrop-filter: blur(4px) saturate(1.05);
  -webkit-backdrop-filter: blur(4px) saturate(1.05);
  border-bottom: 1px solid transparent;
  box-shadow: 0 10px 30px -24px rgba(26, 22, 24, 0);
  transition: height var(--dur) var(--ease), border-color var(--dur) var(--ease),
    background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    backdrop-filter var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 14px 34px -26px rgba(26, 22, 24, 0.6);
}
/* o CTA WhatsApp ganha presença quando o header fica sólido */
.site-header.is-scrolled .nav__cta .btn--primary {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 6px rgba(90, 20, 44, 0.35),
    0 10px 24px -8px var(--wine-glow),
    0 0 18px -4px var(--wine-glow);
}
.site-header .brand img { transition: transform var(--dur) var(--ease); }
@media (min-width: 901px) {
  .site-header.is-scrolled { height: calc(var(--header-h) - 10px); }
  .site-header.is-scrolled .brand img { transform: scale(0.92); }
}
.site-header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-2);
  padding-block: 0.4rem;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link[aria-current='page']::after { transform: scaleX(1); }
.nav__link[aria-current='page'] { color: var(--ink); }

.nav__cta { display: inline-flex; gap: var(--sp-4); align-items: center; }
.nav__cta-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}
.nav__cta-link:hover { color: var(--wine-deep); }

.btn--sm { padding: 0.5rem 0.95rem; font-size: 0.82rem; gap: 0.5em; }
.btn--sm .icon { width: 1em; height: 1em; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-right: -10px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded='true'] .icon-open { display: none; }
.nav-toggle[aria-expanded='true'] .icon-close { display: block; }

.nav-drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 98;
  background: rgba(32, 28, 29, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
body.nav-open .nav-drawer__backdrop { opacity: 1; visibility: visible; }

@media (max-width: 900px) {
  .nav__list { display: none; }
  .nav-toggle { display: inline-flex; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
    z-index: 99;
  }
  body.nav-open .nav { transform: translateY(0); opacity: 1; visibility: visible; }
  body.nav-open .nav__list { display: flex; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link {
    padding: 0.95rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: var(--sp-5); flex-direction: column; width: 100%; align-items: stretch; gap: var(--sp-3); }
  .nav__cta .btn { width: 100%; }
  .nav__cta .btn--sm { padding: 0.85rem 1rem; font-size: 0.9rem; }
  .nav__cta-link {
    order: 1;                     /* "seja um revendedor" abaixo do WhatsApp no drawer */
    text-align: center;
    padding: 0.85rem 1rem;
    border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
    border-radius: var(--r-btn);
    color: var(--ink);
  }
}

/* Trava de scroll quando o menu mobile está aberto */
body.nav-open { overflow: hidden; }

/* ---- Hero ---- */
/* --sp = progresso de scroll dentro do hero (0→1), escrito pelo JS.
   --amp = amplitude do parallax (1 desktop, menor no mobile).
   No repouso (--sp:0) todos os transforms são identidade → sem CLS,
   visual idêntico à Fase 2. */
.hero {
  --sp: 0;
  --amp: 1;
  --hero-ease: cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(1.75rem, 1rem + 4vw, 4rem));
  padding-bottom: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  background: var(--paper);
}

/* Fundo = CENA, não chapado: luz-chave quente atrás do packshot,
   lavagem vinho no topo-direito e vinheta extremamente discreta nos cantos. */
.hero__bg {
  position: absolute;
  inset: -2px;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(150% 130% at 50% 42%, transparent 52%, rgba(26, 22, 24, 0.07) 100%),
    radial-gradient(62% 82% at 78% 34%,
      color-mix(in srgb, #fff 62%, var(--paper)) 0%, transparent 62%),
    radial-gradient(120% 90% at 96% -14%,
      color-mix(in srgb, var(--wine-tint) 68%, transparent) 0%, transparent 44%),
    var(--paper);
  transform: translateY(calc(var(--sp) * -40px * var(--amp))) scale(calc(1 + var(--sp) * 0.05));
  transform-origin: 50% 0;
  will-change: transform;
}
.hero__bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.5;
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
/* glow 1 = luz (quase-branca) derivando atrás dos produtos */
.hero__glow--1 {
  width: min(52vw, 660px); aspect-ratio: 1;
  right: -6vw; top: -10vw;
  opacity: 0.9;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, #fff 60%, var(--paper)) 0%,
    color-mix(in srgb, #fff 18%, transparent) 42%,
    transparent 70%);
  animation: heroGlow1 26s ease-in-out infinite alternate;
}
/* glow 2 = brilho vinho muito contido, canto oposto */
.hero__glow--2 {
  width: min(42vw, 520px); aspect-ratio: 1;
  left: -12vw; bottom: -16vw;
  opacity: 0.8;
  background: radial-gradient(circle at 50% 50%,
    color-mix(in srgb, var(--wine) 13%, transparent) 0%,
    color-mix(in srgb, var(--wine) 4%, transparent) 42%,
    transparent 72%);
  animation: heroGlow2 32s ease-in-out infinite alternate;
}
@keyframes heroGlow1 {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-6%, 8%, 0) scale(1.2); }
}
@keyframes heroGlow2 {
  from { transform: translate3d(0, 0, 0) scale(1.08); }
  to   { transform: translate3d(8%, -6%, 0) scale(0.9); }
}
.hero--offscreen .hero__glow { animation-play-state: paused; }

/* Costura hero → próxima seção (funde com a cor de .section--alt) */
.hero__seam {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(4rem, 11vw, 9.5rem);
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--paper-2));
}

.hero__grid {
  display: grid;
  gap: clamp(1.5rem, 0.5rem + 3.5vw, 3.5rem);
  align-items: center;
  grid-template-columns: 1fr;
}
.hero__eyebrow { margin-bottom: var(--sp-3); }
.hero h1 { margin-bottom: var(--sp-4); line-height: 1.02; letter-spacing: -0.02em; }
.hero__lead { max-width: 33rem; margin-bottom: var(--sp-5); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__actions--center { justify-content: center; }
.hero__trust {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.hero__trust li { display: flex; align-items: center; gap: 0.6em; }
.hero__trust li + li::before {
  content: "";
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--wine);
  margin-left: calc(var(--sp-4) * -0.5 - 1.5px);
}
/* Packshot como peça publicitária: iluminação por trás (halo quente),
   sombra de contato na base, painel translúcido sutil. Sem moldura. */
.hero__media {
  position: relative;
  aspect-ratio: 4 / 3.5;
  border-radius: var(--r-lg);
  /* halo/luz atrás do produto + painel-fantasma que dissolve no --paper */
  background:
    radial-gradient(66% 52% at 52% 40%,
      color-mix(in srgb, #fff 78%, var(--paper)) 0%, transparent 72%),
    linear-gradient(177deg, color-mix(in srgb, #fff 55%, var(--paper)) 0%, var(--paper) 62%);
  box-shadow:
    0 2px 6px rgba(26, 22, 24, 0.06),
    0 40px 70px -38px rgba(26, 22, 24, 0.42);
}
/* sombra de contato — elipse sob os frascos (atrás da imagem) */
.hero__media::after {
  content: "";
  position: absolute;
  left: 16%; right: 16%; bottom: 7%;
  height: 7%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 50%,
    rgba(26, 22, 24, 0.26) 0%, rgba(26, 22, 24, 0.1) 45%, transparent 74%);
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: clamp(0.25rem, 0.05rem + 0.8vw, 0.7rem);
  mix-blend-mode: multiply;
  /* camada interna do produto — deriva em SENTIDO OPOSTO ao quadro (profundidade) */
  transform: translateY(calc(var(--sp) * -26px * var(--amp)));
  will-change: transform;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 0.88fr 1.12fr; align-items: center; }
}
@media (max-width: 720px) {
  .hero { --amp: 0.6; }
  .hero__glow { opacity: 0.55; }
  .hero__media { aspect-ratio: 4 / 3.2; }
}
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ---- Hero: entrada coreografada + reação ao scroll ---------------------- */
/* Estado escondido (só com JS). Sem JS (.no-js), tudo já visível.
   Os pares "escondido" e "visível" têm a MESMA especificidade (.js .hero…);
   o visível vem depois no arquivo, então ganha quando .hero--in está presente. */
.js .hero [data-hero-el] {
  opacity: 0;
  transition: opacity 0.75s var(--hero-ease), transform 0.75s var(--hero-ease);
}
.js .hero [data-hero-el="eyebrow"] { transform: translateY(14px); transition-delay: 60ms; }
.js .hero [data-hero-el="title"]   { transform: translateY(20px); transition-delay: 150ms; }
.js .hero [data-hero-el="lead"]    { transform: translateY(22px); transition-delay: 300ms; }
/* os CTAs entram um a um (não como bloco) — translateY + opacity + scale leve */
.js .hero [data-hero-el="actions"] { opacity: 1; transform: none; }
.js .hero [data-hero-el="actions"] .btn {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition: opacity 0.65s var(--hero-ease), transform 0.65s var(--hero-ease);
}
.js .hero [data-hero-el="actions"] .btn--primary { transition-delay: 430ms; }
.js .hero [data-hero-el="actions"] .btn--ghost   { transition-delay: 545ms; }
.js .hero [data-hero-el="trust"]   { transform: translateY(18px); transition-delay: 620ms; }
/* o packshot é o provável elemento de LCP: NÃO parte de opacity 0 (não atrasa
   a marcação de LCP) — a "fotografia ganhando vida" vem só do transform. */
.js .hero [data-hero-el="media"] {
  opacity: 1;
  transform: translateY(28px) scale(0.94) rotate(1.4deg);
  transition-duration: 1.1s;
  transition-delay: 150ms;
}

/* Estado final: visível. O transform passa a seguir --sp (parallax).
   Amplitudes calibradas p/ o efeito ser percebido dentro do 1º meio viewport
   de scroll (--sp chega a 1 rápido — ver measure() no JS). */
.js .hero--in [data-hero-el] { opacity: 1; }
.js .hero--in [data-hero-el="eyebrow"] {
  transform: translateY(calc(var(--sp) * -18px * var(--amp)));
  opacity: calc(1 - var(--sp) * 0.85);
}
.js .hero--in [data-hero-el="title"] {
  transform: translateY(calc(var(--sp) * -34px * var(--amp)));
  opacity: calc(1 - var(--sp) * 0.5);
}
.js .hero--in [data-hero-el="lead"] {
  transform: translateY(calc(var(--sp) * -46px * var(--amp)));
  opacity: calc(1 - var(--sp) * 0.62);
}
/* grupo dá o deslocamento base; cada botão soma o seu (leituras distintas) */
.js .hero--in [data-hero-el="actions"] {
  transform: translateY(calc(var(--sp) * -16px * var(--amp)));
  opacity: 1;
}
.js .hero--in [data-hero-el="actions"] .btn {
  opacity: 1;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.js .hero--in [data-hero-el="actions"] .btn--primary {
  transform: translateY(calc(var(--sp) * -5px * var(--amp))) scale(1); /* firme: total ~-21px */
  opacity: calc(1 - var(--sp) * 0.2);                                  /* piso 0,8 — segue presente */
}
.js .hero--in [data-hero-el="actions"] .btn--ghost {
  transform: translateY(calc(var(--sp) * -28px * var(--amp))) scale(1); /* anda bem mais: total ~-44px */
  opacity: calc(1 - var(--sp) * 0.55);                                  /* piso 0,45 — recua */
}
.js .hero--in [data-hero-el="trust"] {
  transform: translateY(calc(var(--sp) * -40px * var(--amp)));
  opacity: calc(1 - var(--sp) * 0.85);
}
.js .hero--in [data-hero-el="media"] {
  transform:
    translateY(calc(var(--sp) * 36px * var(--amp)))  /* fica bem para trás → permanece em cena */
    scale(calc(1 - var(--sp) * 0.055))
    rotate(calc(var(--sp) * 0.9deg * var(--amp)));
  opacity: calc(1 - var(--sp) * 0.16);
}

/* Enquanto a coreografia roda: promove p/ compositor. Depois, desliga. */
.js .hero:not(.hero--settled) [data-hero-el] { will-change: transform, opacity; }
.js .hero--settled [data-hero-el] { transition: none; }
/* os CTAs mantêm o fade de cor/sombra no hover; só o transform/opacity de
   scroll vira imediato (1:1 com o parallax) */
.js .hero--settled [data-hero-el="actions"] .btn {
  transition-property: background, color, border-color, box-shadow;
}

/* ---- Bloco "texto + imagem" (fora do hero) ---- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .split { align-items: start; }
  .split > :not(.split__media) { padding-top: clamp(0.5rem, 2vw, 2.5rem); }
}
.split__media {
  position: relative;            /* img absoluta preenche o quadro (aspect-ratio) */
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 28px 56px -34px rgba(32, 28, 29, 0.32);
  aspect-ratio: 1 / 1;
  background: var(--paper-2);
}
.split__media--portrait { aspect-ratio: 4 / 5; }
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* foto de pessoas (recorte transparente) — enquadra pelas cabeças */
.split__media--people {
  aspect-ratio: 4 / 3.6;
  background: linear-gradient(180deg, var(--paper-2) 0%, color-mix(in srgb, var(--wine-tint) 55%, var(--paper-2)) 100%);
}
.split__media--people img { object-fit: contain; object-position: center bottom; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-left .split__media { order: -1; }
}

/* ---- Cards genéricos ---- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

/* ---- Card de produto ---- */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wine) 28%, var(--line)), var(--shadow);
}
.product-card:focus-within {
  box-shadow: 0 0 0 2px var(--wine), var(--shadow-sm);
}
.product-card__media {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(70% 60% at 50% 38%, #fff 0%, transparent 75%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--paper-2) 100%);
  padding: clamp(0.75rem, 0.4rem + 1.4vw, 1.5rem);
  border-bottom: 1px solid var(--line);
}
.product-card__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: clamp(1rem, 0.7rem + 1vw, 1.35rem);
  flex: 1;
}
.product-card__line {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.product-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin-top: 0.15rem;
}
.product-card__benefit {
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin-top: 0.15rem;
  /* mantém alinhamento entre cards com nomes de comprimentos diferentes */
  flex: 1;
}
.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--sp-3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  transition: color var(--dur) var(--ease);
}
.product-card__cta .icon { width: 0.95em; height: 0.95em; transition: transform var(--dur) var(--ease); }
.product-card:hover .product-card__cta { color: var(--wine-deep); }
.product-card:hover .product-card__cta .icon { transform: translateX(3px); }

/* ---- Card de linha / tratamento (painel tipográfico) ---- */
.line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2rem);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.line-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--wine);
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.line-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wine) 34%, var(--line)), var(--shadow);
}
.line-card:hover::before { transform: scaleX(1) scaleY(1.6); }
.line-card:hover .line-card__icon { transform: scale(1.06); }
.line-card__icon {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine-deep);
  margin-bottom: var(--sp-4);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.line-card__icon svg { width: 22px; height: 22px; }
.line-card h3 { margin-bottom: var(--sp-2); }
.line-card p { color: var(--ink-2); font-size: 0.92rem; flex: 1; }
.line-card .link { margin-top: var(--sp-4); }
.line-card--alt::before { background: var(--gold); }
.line-card--alt .line-card__icon { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--gold); }
/* card escuro = âncora da seção: brilho vinho interno + sombra mais funda */
.line-card--dark {
  background:
    radial-gradient(120% 90% at 15% 0%, color-mix(in srgb, var(--wine) 26%, var(--ink)) 0%, transparent 60%),
    var(--ink);
  box-shadow:
    0 0 0 1px var(--ink),
    0 30px 60px -28px rgba(26, 22, 24, 0.55),
    inset 0 0 70px -30px color-mix(in srgb, var(--wine) 55%, transparent);
}
.line-card--dark::before { background: var(--wine); }
.line-card--dark h3 { color: #fff; }
.line-card--dark p { color: rgba(247, 241, 238, 0.74); }
.line-card--dark .link { color: #fff; }
.line-card--dark .line-card__icon { background: rgba(255, 255, 255, 0.12); color: #fff; }
.line-card--dark:hover { box-shadow: 0 0 0 1px color-mix(in srgb, var(--wine) 45%, var(--ink)), 0 40px 70px -28px rgba(26,22,24,0.6), inset 0 0 70px -28px color-mix(in srgb, var(--wine) 60%, transparent); }

/* ---- Card de contato ---- */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.75rem);
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
a.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--wine) 28%, var(--line)), var(--shadow);
}
.contact-card__icon {
  color: var(--wine-deep);
  margin-bottom: var(--sp-1);
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.contact-card__value { font-weight: 600; word-break: break-word; }
.contact-card--static { cursor: default; }

/* ---- Passos numerados (processo real) ---- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  position: relative;
  margin: 0;
  padding: clamp(1.25rem, 1rem + 1.2vw, 1.6rem) 0 0;
  border-top: 1px solid var(--line);
}
.steps__n {
  display: inline-grid;
  place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--wine);
  color: var(--wine-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: var(--sp-3);
}
.steps h3 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; margin: 0 0 var(--sp-2); }
.steps p { font-size: 0.92rem; color: var(--ink-2); margin: 0; }
.section--dark .steps li { border-top-color: rgba(255, 255, 255, 0.16); }
.section--dark .steps__n { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.section--dark .steps h3 { color: #fff; }
.section--dark .steps p { color: rgba(247, 241, 238, 0.72); }

/* ---- Feature (diferenciais) — colunas editoriais, sem cara de card ---- */
.feature {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.feature__icon {
  color: var(--wine-deep);
  margin-bottom: var(--sp-1);
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--font-text); font-size: 0.98rem; font-weight: 700; }
.feature p { font-size: 0.9rem; color: var(--ink-2); }
.section--dark .feature { border-top-color: rgba(255, 255, 255, 0.16); }
.section--dark .feature__icon { color: rgba(255, 255, 255, 0.9); }
.section--dark .feature h3 { color: #fff; }
.section--dark .feature p { color: rgba(247, 241, 238, 0.72); }

/* ---- Faixa de CTA (escura, coerente com o rodapé mas seção própria) ----
   Fundo tinta + um brilho vinho quente no topo (o rodapé é tinta chapada);
   filete vinho no topo marca o início da seção; conteúdo centrado e contido. */
.cta-band {
  position: relative;
  background:
    radial-gradient(110% 150% at 22% -25%,
      color-mix(in srgb, var(--wine) 30%, var(--ink)) 0%, transparent 58%),
    var(--ink);
  color: var(--ink-inverse);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--wine);
}
.cta-band__inner {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(3rem, 2.25rem + 3vw, 4.75rem);
}
.cta-band h2 { color: #fff; margin-inline: auto; }
.cta-band p { color: rgba(247, 241, 238, 0.78); margin: var(--sp-3) auto 0; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: center;
  margin-top: var(--sp-6);
}
.cta-band .btn--on-dark { border-color: rgba(247, 241, 238, 0.5); }
.cta-band .btn--on-dark:hover { background: rgba(247, 241, 238, 0.95); }

/* ---- Prova social / Instagram — nota editorial compacta ---- */
.ig-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  max-width: 40rem;
}
.ig-panel p { color: var(--ink-2); }
.ig-panel .btn { margin-top: var(--sp-1); }

/* ---- Breadcrumb ---- */
.breadcrumb { font-size: 0.82rem; color: var(--ink-3); margin-bottom: var(--sp-5); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.4em; align-items: center; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb a:hover { color: var(--wine-deep); }
.breadcrumb [aria-current] { color: var(--ink); }
.breadcrumb .sep { color: var(--ink-3); margin-right: 0.15em; }

/* ---- Filtros do catálogo ---- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  position: relative;
  padding: 0.35rem 0.1rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  transition: color var(--dur) var(--ease);
}
.filter-btn::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2.5px;
  background: var(--wine);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.filter-btn:hover { color: var(--ink); }
.filter-btn[aria-pressed='true'] { color: var(--ink); font-weight: 700; }
.filter-btn[aria-pressed='true']::after { transform: scaleX(1); }
.catalog-empty { padding: var(--sp-8) 0; text-align: center; color: var(--ink-2); }

/* ---- Página de produto ---- */
.product-hero { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 860px) {
  .product-hero { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: start; }
}
.product-gallery__main {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(165deg, #fff 0%, var(--paper) 55%, var(--paper-2) 100%);
  aspect-ratio: 1 / 1;
}
.product-gallery__main img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: clamp(0.5rem, 2vw, 1.25rem);
  mix-blend-mode: multiply;
}
.product-meta__line { margin-bottom: var(--sp-3); }
.product-meta h1 {
  font-size: clamp(1.5rem, 1.25rem + 1.3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}
.product-meta__benefit { font-size: 1.05rem; color: var(--ink-2); margin-bottom: var(--sp-5); }
.product-meta__sizes { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-bottom: var(--sp-5); }
.size-chip {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.product-meta__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Ficha técnica: lista de fatos sob os CTAs, na coluna da direita do hero */
.spec-list { margin-top: var(--sp-6); border-top: 1px solid var(--line); }
.spec-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  flex: 0 0 7rem;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-top: 0.15rem;
}
.spec-list dd { flex: 1; min-width: 12rem; color: var(--ink-2); font-size: 0.92rem; }

/* Corpo do produto: coluna única, largura de leitura confortável */
.product-detail { margin-top: var(--sp-7); }
.product-detail .prose { max-width: 62ch; }
.product-detail__ask {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  align-items: center;
}

/* ---- Acordeão (FAQ) ---- */
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}
.accordion__trigger .icon { width: 1.1em; height: 1.1em; flex-shrink: 0; transition: transform var(--dur) var(--ease); color: var(--wine-deep); }
.accordion__trigger[aria-expanded='true'] .icon { transform: rotate(45deg); }
.accordion__panel { padding-bottom: var(--sp-4); color: var(--ink-2); font-size: 0.94rem; max-width: 62ch; }
.accordion__panel[hidden] { display: none; }

/* ---- Formulário ---- */
.form { display: grid; gap: var(--sp-4); max-width: 34rem; }
.field { display: grid; gap: var(--sp-2); }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--wine);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field--error input, .field--error textarea { border-color: #c0392b; }
.field__error { font-size: 0.82rem; color: #c0392b; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 0.9rem; }
.form__status[data-state='error'] { color: #c0392b; }
.form__status[data-state='ok'] { color: var(--wine-deep); }

/* ---- Botão flutuante WhatsApp ---- */
.wa-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--r-pill);
  background: #25d366;
  color: #fff;
  box-shadow: var(--shadow);
  /* entra depois de um leve scroll (classe .wa-fab--shown via JS) — não compete com o hero */
  opacity: 0;
  transform: translateY(10px) scale(0.86);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.wa-fab.wa-fab--shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.wa-fab.wa-fab--shown:hover { transform: scale(1.06); }
.wa-fab svg { width: 28px; height: 28px; }

/* ---- Footer ---- */
.site-footer {
  background: var(--ink);
  color: rgba(247, 241, 238, 0.72);
  border-top: 1px solid rgba(247, 241, 238, 0.1); /* costura sutil quando vem logo após a faixa de CTA escura */
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) var(--sp-6);
  font-size: 0.92rem;
}
.footer__grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__brand img { height: 30px; width: auto; margin-bottom: var(--sp-4); filter: brightness(0) invert(1); }
.footer__brand p { max-width: 32ch; }
.footer__col h3 {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.footer__col a { color: rgba(247, 241, 238, 0.72); transition: color var(--dur) var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col li + li { margin-top: var(--sp-2); }
.footer__contact li { margin-bottom: var(--sp-2); }
.footer__contact strong { color: #fff; font-weight: 600; }
.footer__social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.footer__social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  color: #fff;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.footer__social a:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.4); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  font-size: 0.82rem;
  color: rgba(247, 241, 238, 0.55);
}
.footer__bottom nav { display: flex; gap: var(--sp-4); flex-wrap: wrap; }

@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--sp-7); }
}

/* ============================ 6. MOVIMENTO =========================== */
/* Scroll-reveal global e reutilizável. Direções: (padrão) up · left · right ·
   scale. O JS adiciona .is-revealed uma vez (IntersectionObserver) e escreve
   --rv-d (delay de stagger) nos grupos. Sem JS: tudo visível. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s var(--ease-reveal) var(--rv-d, 0ms),
    transform 0.7s var(--ease-reveal) var(--rv-d, 0ms);
}
.js [data-reveal="left"]  { transform: translateX(-26px); }
.js [data-reveal="right"] { transform: translateX(26px); }
.js [data-reveal="scale"] { transform: translateY(22px) scale(0.97); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* stagger explícito (mantido p/ compatibilidade); o JS também auto-indexa grupos */
[data-reveal][data-reveal-delay='1'] { --rv-d: 80ms; }
[data-reveal][data-reveal-delay='2'] { --rv-d: 160ms; }
[data-reveal][data-reveal-delay='3'] { --rv-d: 240ms; }
[data-reveal][data-reveal-delay='4'] { --rv-d: 320ms; }

/* mobile: amplitude do reveal reduzida */
@media (max-width: 720px) {
  .js [data-reveal] { transform: translateY(20px); }
  .js [data-reveal="left"]  { transform: translateX(-16px); }
  .js [data-reveal="right"] { transform: translateX(16px); }
  .js [data-reveal="scale"] { transform: translateY(15px) scale(0.98); }
}

/* Parallax discreto de imagens (fora do hero). --pf (px) escrito pelo JS por
   frame; o scale dá folga p/ o deslocamento não revelar a borda do quadro. */
.js [data-parallax] {
  transform: translate3d(0, calc(var(--pf, 0) * 1px), 0) scale(1.06);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal],
  .js [data-reveal="left"],
  .js [data-reveal="right"],
  .js [data-reveal="scale"],
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .line-card:hover img,
  .product-card:hover,
  .wa-fab:hover { transform: none; }

  /* Hero: sem entrada coreografada, sem parallax, sem fundo em movimento */
  .js .hero [data-hero-el],
  .js .hero [data-hero-el="actions"] .btn,
  .hero--in [data-hero-el],
  .hero--in [data-hero-el="actions"] .btn { opacity: 1 !important; transform: none !important; }
  .hero__bg { transform: none !important; }
  .hero__glow { animation: none !important; }
  .hero__media img { transform: none !important; }
  .js [data-parallax] { transform: none !important; }
  .wa-fab { opacity: 1; transform: none; pointer-events: auto; }
}
