/* ==========================================================
   NutryFio - Landing Page
   ========================================================== */

:root {
  --green-900: #12291f;
  --green-800: #1b3a2c;
  --green-700: #2a5442;
  --gold: #b08d57;
  --gold-light: #e3d3b0;
  --cream: #f5f2ea;
  --cream-rgb: 245, 242, 234;
  --cream-50: #fbf9f4;
  --text: #1b3a2c;
  --text-soft: #4a5e53;
  --line: rgba(27, 58, 44, .12);

  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 12px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
img { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

/* Tipografia: quebras de linha equilibradas, sem palavras órfãs */
h1, h2, h3 { text-wrap: balance; }
p, q, dd { text-wrap: pretty; }

/* Seleção de texto na cor da marca */
::selection { background: var(--gold-light); color: var(--green-900); }

/* Barra de progresso de leitura (abaixo do header) */
.header__progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  pointer-events: none;
  z-index: 1;
}

/* Link de atalho para teclado/leitor de tela */
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--green-800);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: none; }

/* Toque sem atraso de 300 ms e sem flash cinza no iOS/Android */
a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Ícones em traço (padrão Lucide) */
.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  font: 600 15px/1 var(--font);
  letter-spacing: .01em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary {
  background: var(--green-800);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(18, 41, 31, .55);
}
.btn--primary:hover {
  background: var(--green-700);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -12px rgba(18, 41, 31, .6);
}
.btn--ghost {
  background: rgba(var(--cream-rgb), .72);
  color: var(--green-800);
  border-color: rgba(27, 58, 44, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--green-800); background: var(--cream-50); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 16px; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn__arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Brilho que atravessa o CTA principal */
.btn--shine::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg);
  animation: shine 1.1s var(--ease) 1.9s both;
  pointer-events: none;
}
.btn--shine:hover::after { animation: shine .9s var(--ease); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
}
/* Fundo em pseudo-elemento: blur no próprio header prenderia o menu (position: fixed) */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.header.is-scrolled::before {
  background: rgba(var(--cream-rgb), .86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(18, 41, 31, .4);
}

.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--green-800); }
.logo__icon { width: 28px; height: 28px; }
.logo__text { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1; }

.nav { display: flex; align-items: center; gap: clamp(24px, 4vw, 48px); }
.nav__list { display: flex; gap: clamp(18px, 2.6vw, 36px); }
.nav__link {
  position: relative;
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--green-900); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta .icon { width: 18px; height: 18px; }

/* Elementos que só existem na gaveta mobile */
.nav__label, .nav__num, .nav__arrow, .nav__tagline, .nav-backdrop { display: none; }
.nav__foot { display: contents; }

.header__actions { display: none; align-items: center; gap: 6px; position: relative; z-index: 60; }

.menu-toggle {
  width: 44px; height: 44px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  transition: background-color .25s;
}
.menu-toggle:hover { background: rgba(27, 58, 44, .06); }
.menu-toggle span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--green-800);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease), left .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; left: 18px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; left: 30px; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  /* Ocupa exatamente uma tela (a foto se ajusta pela altura, ver abaixo) */
  min-height: max(560px, calc(100vh - var(--header-h)));
  min-height: max(560px, calc(100svh - var(--header-h)));
  overflow: hidden;
  background: var(--cream);
}

.hero__media {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% 40%;
  transform-origin: 75% 50%;
}
/* Fusão suave com o header (sem corte seco) + degradê atrás do texto */
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      var(--cream) 0%,
      rgba(var(--cream-rgb), .7) 5%,
      rgba(var(--cream-rgb), .25) 12%,
      rgba(var(--cream-rgb), 0) 20%),
    /* Rodapé dissolve no creme, emendando com Benefícios */
    linear-gradient(0deg,
      var(--cream) 0%,
      rgba(var(--cream-rgb), .85) 6%,
      rgba(var(--cream-rgb), .4) 14%,
      rgba(var(--cream-rgb), 0) 26%),
    linear-gradient(90deg,
      rgba(var(--cream-rgb), .88) 0%,
      rgba(var(--cream-rgb), .62) 28%,
      rgba(var(--cream-rgb), .15) 46%,
      rgba(var(--cream-rgb), 0) 58%);
  pointer-events: none;
}

.hero__inner { padding-block: clamp(40px, 7vh, 88px); }

.hero__content { max-width: min(540px, 46vw); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-800);
  background: rgba(var(--cream-rgb), .8);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
}
.eyebrow__dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.eyebrow__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: pulse 2.4s var(--ease) 1.4s infinite;
}

.hero__title {
  margin-top: 22px;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--green-900);
}
/* Cada linha é uma "janela" para o texto subir por dentro */
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__line > span { display: block; }
.hero__line--accent { color: var(--green-700); }

.hero__subtitle {
  margin-top: 18px;
  max-width: 36ch;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-soft);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.benefits {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.benefits__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--green-900);
}
.benefits__icon {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  flex: none;
  color: var(--green-800);
  background: var(--cream-50);
  border: 1px solid var(--gold-light);
  border-radius: 12px;
  box-shadow: 0 6px 16px -10px rgba(18, 41, 31, .35);
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
@media (hover: hover) {
  .benefits__item:hover .benefits__icon { transform: translateY(-2px) rotate(-4deg); background: var(--green-800); color: #fff; }
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-soft);
}
.trust__item .icon { width: 18px; height: 18px; color: var(--gold); }

/* ---------- Animação de entrada ---------- */
@keyframes img-reveal {
  from { opacity: 0; transform: scale(1.14); filter: blur(12px); }
  60%  { opacity: 1; filter: blur(0); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes line-up {
  from { transform: translateY(110%); }
  to   { transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shine {
  from { left: -60%; }
  to   { left: 130%; }
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .9; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* Só opacidade no header: transform prenderia o menu (position: fixed) */
.header__inner { animation: fade-in .8s var(--ease) both; }
.hero__media img { animation: img-reveal 2s var(--ease-out) both; }
.eyebrow { animation: rise .8s var(--ease-out) .35s both; }
.hero__line > span { animation: line-up 1s var(--ease-out) .45s both; }
.hero__line + .hero__line > span { animation-delay: .58s; }
.hero__subtitle { animation: rise .8s var(--ease-out) .8s both; }
.hero__actions > .btn { animation: pop .7s var(--ease-out) .95s both; }
.hero__actions > .btn + .btn { animation-delay: 1.05s; }
.benefits__item { animation: slide-in .7s var(--ease-out) 1.15s both; }
.benefits__item:nth-child(2) { animation-delay: 1.25s; }
.benefits__item:nth-child(3) { animation-delay: 1.35s; }
.trust { animation: fade-in .9s var(--ease) 1.5s both; }

/* ---------- Menu em gaveta lateral (abaixo de 1024px) ---------- */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }

  .header__actions { display: flex; }
  .header:has(.nav.is-open) .header__cta { opacity: 0; visibility: hidden; }
  /* barra dourada de progresso não passa por cima do menu aberto */
  .header:has(.nav.is-open) .header__progress { opacity: 0; }
  .header__progress { transition: opacity .25s; }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 54;
    background: rgba(18, 41, 31, .38);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 55;
    width: min(86vw, 380px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--header-h) + 20px) 28px calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(120% 60% at 100% 100%, rgba(176, 141, 87, .14), transparent 60%),
      var(--cream-50);
    border-radius: 24px 0 0 24px;
    box-shadow: -24px 0 60px -24px rgba(18, 41, 31, .45);
    overflow-y: auto;
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .5s var(--ease-out), visibility .5s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .is-resizing .nav, .is-resizing .nav-backdrop { transition: none; }

  .nav__label {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .nav__list { flex-direction: column; gap: 0; }
  .nav__list li {
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .4s var(--ease), transform .5s var(--ease-out);
  }
  .nav.is-open .nav__list li { opacity: 1; transform: none; }
  .nav.is-open .nav__list li:nth-child(1) { transition-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(2) { transition-delay: .18s; }
  .nav.is-open .nav__list li:nth-child(3) { transition-delay: .24s; }
  .nav.is-open .nav__list li:nth-child(4) { transition-delay: .3s; }
  .nav.is-open .nav__list li:nth-child(5) { transition-delay: .36s; }

  .nav__link {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 20px 4px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--green-900);
  }
  .nav__link::after { display: none; }
  .nav__num {
    display: inline-block;
    width: 22px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
  }
  .nav__arrow {
    display: block;
    margin-left: auto;
    color: var(--text-soft);
    opacity: .45;
    transition: transform .3s var(--ease), opacity .3s, color .3s;
  }
  .nav__link:hover .nav__arrow,
  .nav__link.is-active .nav__arrow { transform: translateX(4px); opacity: 1; color: var(--gold); }
  .nav__link.is-active .nav__text { color: var(--green-700); }

  .nav__foot {
    display: grid;
    gap: 14px;
    margin-top: auto;
    padding-top: 32px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .4s var(--ease) .3s, transform .5s var(--ease-out) .3s;
  }
  .nav.is-open .nav__foot { opacity: 1; transform: none; }
  .nav__cta { width: 100%; min-height: 56px; font-size: 16px; }
  .nav__tagline {
    display: block;
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
}

/* ---------- Tablet em pé ---------- */
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait) {
  .hero {
    min-height: max(640px, calc(100vh - var(--header-h)));
    min-height: max(640px, calc(100svh - var(--header-h)));
  }

  /* Fundo: a mesma foto desfocada, para não sobrar um bloco creme chapado */
  .hero::before {
    content: '';
    position: absolute;
    inset: -60px;
    z-index: -3;
    background: url('../assets/nutryfio-hero-mobile.webp') center / cover no-repeat;
    filter: blur(48px) saturate(1.1);
    opacity: .42;
  }

  /* Foto nítida à direita, com a borda esquerda dissolvida */
  .hero__media {
    left: auto;
    aspect-ratio: 9 / 16;
    height: 100%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  }
  .hero__media img { object-position: center bottom; }
  .hero__media::after {
    background:
      linear-gradient(180deg, var(--cream) 0%, rgba(var(--cream-rgb), 0) 12%),
      linear-gradient(0deg, var(--cream) 0%, rgba(var(--cream-rgb), .5) 8%, rgba(var(--cream-rgb), 0) 20%);
  }

  .hero__content { max-width: 50%; }
  .eyebrow { letter-spacing: .1em; font-size: 10.5px; }
  .hero__title { font-size: clamp(2.75rem, 6.4vw, 3.75rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .benefits__item {
    padding: 10px 14px 10px 10px;
    background: rgba(var(--cream-rgb), .7);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .trust { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Mobile: foto em tela cheia atrás do texto ---------- */
@media (max-width: 767px) {
  :root { --header-h: 64px; --gutter: 20px; }

  .logo__text { font-size: 22px; }
  .logo__icon { width: 26px; height: 26px; }

  .hero {
    align-items: stretch;
    min-height: max(600px, calc(100vh - var(--header-h)));
    min-height: max(600px, calc(100svh - var(--header-h)));
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    padding-top: 26px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
  }
  .hero__content { max-width: none; flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }

  .hero__media img { object-position: 72% bottom; transform-origin: 70% 60%; }
  .hero__media::after {
    background:
      linear-gradient(180deg,
        var(--cream) 0%,
        rgba(var(--cream-rgb), .9) 18%,
        rgba(var(--cream-rgb), .7) 38%,
        rgba(var(--cream-rgb), .12) 56%,
        rgba(var(--cream-rgb), 0) 66%),
      linear-gradient(0deg, var(--cream) 0%, rgba(var(--cream-rgb), .6) 8%, rgba(var(--cream-rgb), 0) 22%);
  }

  .eyebrow { font-size: 10px; letter-spacing: .14em; padding: 6px 12px 6px 10px; }
  .hero__title { margin-top: 18px; font-size: clamp(2.25rem, 10.5vw, 3rem); }
  .hero__subtitle { margin-top: 14px; font-size: 16px; }

  .hero__actions { margin-top: 22px; flex-direction: column; gap: 10px; align-self: stretch; }
  .hero__actions .btn { width: 100%; min-height: 54px; }

  /* Benefícios logo abaixo dos botões: um painel de vidro em 3 colunas */
  .benefits {
    align-self: stretch;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 16px;
    padding: 6px;
    background: rgba(var(--cream-rgb), .8);
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 20px;
    backdrop-filter: blur(14px) saturate(130%);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    box-shadow: 0 18px 40px -22px rgba(18, 41, 31, .5);
    animation: pop .7s var(--ease-out) 1.1s both;
  }
  .benefits__item {
    position: relative;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 10px;
    padding: 14px 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.005em;
    animation: rise .6s var(--ease-out) 1.25s both;
  }
  .benefits__item:nth-child(2) { animation-delay: 1.33s; }
  .benefits__item:nth-child(3) { animation-delay: 1.41s; }
  .benefits__item + .benefits__item::before {
    content: '';
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: var(--line);
  }
  .benefits__icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    color: var(--green-800);
    background: linear-gradient(145deg, #fff 0%, #f1e9d8 100%);
    border: 1px solid var(--gold-light);
    box-shadow: 0 6px 14px -8px rgba(176, 141, 87, .7);
  }
  .benefits__icon .icon { width: 19px; height: 19px; }
  .benefits__item:hover .benefits__icon { transform: none; }

  .trust { display: none; }
}

@media (max-width: 359px) {
  .header__cta { display: none; }
  .benefits__item { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================
   Benefícios (frasco interativo)
   ========================================================== */
/* Começa no mesmo creme do fim da Hero e clareia até o branco */
.bnf {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 34% 38% at 50% 60%, rgba(176, 141, 87, .16) 0%, rgba(176, 141, 87, 0) 70%),
    radial-gradient(ellipse 38% 42% at 4% 30%, rgba(42, 84, 66, .09) 0%, rgba(42, 84, 66, 0) 70%),
    radial-gradient(ellipse 38% 42% at 96% 82%, rgba(176, 141, 87, .12) 0%, rgba(176, 141, 87, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, #faf8f3 18%, #ffffff 46%, #fdfcf9 80%, #f7f4ec 100%);
}
/* Trama de pontos bem sutil ao redor do frasco */
.bnf::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(27, 58, 44, .1) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 46% 42% at 50% 62%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 46% 42% at 50% 62%, #000 0%, transparent 78%);
  pointer-events: none;
}

/* Folhas decorativas nos cantos */
.bnf__leaf {
  position: absolute;
  z-index: -1;
  color: var(--green-700);
  pointer-events: none;
  animation: sway 9s ease-in-out infinite;
}
.bnf__leaf--a { top: 9%; left: -40px; width: clamp(140px, 16vw, 240px); opacity: .09; rotate: 18deg; }
.bnf__leaf--b { bottom: 6%; right: -50px; width: clamp(160px, 18vw, 280px); opacity: .08; rotate: -150deg; animation-delay: -3s; }
.bnf__leaf--c { top: 52%; left: 6%; width: 64px; opacity: .1; rotate: -30deg; color: var(--gold); animation-delay: -6s; }
@keyframes sway {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50%      { transform: rotate(4deg) translateY(-8px); }
}

.bnf__inner { padding-block: clamp(72px, 8vw, 112px) clamp(64px, 7vw, 104px); }

/* Cabeçalho */
.bnf__head { max-width: 640px; margin-inline: auto; text-align: center; }
.bnf__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.bnf__eyebrow::before,
.bnf__eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.bnf__title {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--green-900);
}
.bnf__title span { color: var(--green-700); }
.bnf__sub {
  margin-top: 14px;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-soft);
}

/* Palco: 2 cards de cada lado, frasco no centro */
.bnf__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 26vw, 340px) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: clamp(32px, 4vw, 64px);
  row-gap: 28px;
  margin-top: clamp(40px, 5vw, 64px);
}
.bnf__cards { display: contents; }
.bnf-card:nth-child(1) { grid-area: 1 / 1; }
.bnf-card:nth-child(2) { grid-area: 2 / 1; }
.bnf-card:nth-child(3) { grid-area: 1 / 3; }
.bnf-card:nth-child(4) { grid-area: 2 / 3; }
.bnf-card[data-side="left"]  { justify-self: end; }
.bnf-card[data-side="right"] { justify-self: start; }

.bnf__product {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* ---------- Cards ---------- */
.bnf-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 26px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 48px -32px rgba(18, 41, 31, .35), 0 2px 6px -2px rgba(18, 41, 31, .06);
  transition: transform .5s var(--ease-out), border-color .35s;
}
/* Camada de brilho: anima só opacidade (barato e fluido) */
.bnf-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  box-shadow: 0 0 0 6px rgba(176, 141, 87, .14), 0 36px 60px -30px rgba(18, 41, 31, .42);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
  pointer-events: none;
}
@media (hover: hover) {
  .bnf-card:hover { transform: translateY(-6px); border-color: var(--gold-light); }
  .bnf-card:hover::before { opacity: .55; }
  }

/* Conector pontilhado até o frasco (desktop) */
.bnf-card::after {
  content: '';
  position: absolute;
  top: 50%;
  width: clamp(32px, 4vw, 64px);
  height: 2px;
  background-image: radial-gradient(circle, var(--gold) 1px, transparent 1.4px);
  background-size: 7px 2px;
  opacity: .55;
}
.bnf-card[data-side="left"]::after  { left: 100%; }
.bnf-card[data-side="right"]::after { right: 100%; }

.bnf-card__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  color: var(--green-800);
  background: var(--cream-50);
  border: 1px solid var(--gold-light);
  transition: transform .45s var(--ease-out), background-color .35s, color .35s, border-color .35s, box-shadow .35s;
}
.bnf-card__icon .icon { width: 24px; height: 24px; stroke-width: 1.6; }
.bnf-card:hover .bnf-card__icon { transform: rotate(-6deg); }

.bnf-card__num {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
}
.bnf-card__title {
  margin: 18px 0 0;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--green-900);
}
.bnf-card__text {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-soft);
}

/* Card atingido pela gota */
@keyframes card-hit {
  0%   { transform: none; animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
  35%  { transform: translateY(-12px) scale(1.03); animation-timing-function: cubic-bezier(.5, 0, .3, 1); }
  72%  { transform: translateY(1px) scale(.998); animation-timing-function: ease-out; }
  100% { transform: none; }
}
.bnf-card.is-hit {
  animation: card-hit 1s both;
  border-color: var(--gold);
}
.bnf-card.is-hit::before { opacity: 1; }
.bnf-card.is-hit .bnf-card__icon {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
  box-shadow: 0 10px 22px -10px rgba(18, 41, 31, .6);
}
.bnf-card.is-hit::after { opacity: 1; }

/* ---------- Frasco ---------- */
.bnf__bottle {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  width: 100%;
  height: clamp(440px, 40vw, 580px);
  touch-action: manipulation;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 32px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bnf__bottle > * { grid-area: 1 / 1; }

.bnf__glow {
  width: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 141, 87, .2) 0%, rgba(176, 141, 87, .07) 42%, transparent 68%);
  transition: transform .6s var(--ease-out);
}
.bnf__ring {
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, .28);
}
.bnf__ring--outer {
  width: 112%;
  border-style: dashed;
  border-color: rgba(176, 141, 87, .2);
  animation: spin 80s linear infinite;
}
.bnf__pedestal {
  align-self: end;
  width: 62%;
  height: 26px;
  margin-bottom: 2%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(18, 41, 31, .28) 0%, rgba(18, 41, 31, .08) 50%, transparent 72%);
  animation: shadow-breathe 5s ease-in-out infinite;
}
/* Invólucro flutua; a imagem em si fica parada e nítida (sem filtro animado) */
.bnf__float {
  position: relative;
  z-index: 2;
  display: block;
  height: 94%;
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.bnf__img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  transform-origin: 50% 100%;
  user-select: none;
  -webkit-user-drag: none;
}
@media (hover: hover) {
  .bnf__bottle:hover .bnf__glow { transform: scale(1.06); }
}
/* Ponto de saída do spray (topo da válvula) */
.bnf__mist { position: absolute; top: 1.5%; left: 50%; width: 2px; height: 2px; }

/* Apertar a válvula */
@keyframes press {
  0%   { transform: none; animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  28%  { transform: translateY(4px) scale(1.01, .975); animation-timing-function: cubic-bezier(.3, 0, .2, 1); }
  62%  { transform: translateY(-2px) scale(.997, 1.006); animation-timing-function: ease-out; }
  100% { transform: none; }
}
@keyframes glow-pulse {
  0%   { transform: scale(1); opacity: 1; }
  40%  { transform: scale(1.18); opacity: .7; }
  100% { transform: scale(1); opacity: 1; }
}
.bnf__bottle.is-pressing .bnf__img { animation: press .55s both; }
.bnf__bottle.is-pressing .bnf__glow { animation: glow-pulse 1s var(--ease-out); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes shadow-breathe {
  0%, 100% { transform: scaleX(1); opacity: 1; }
  50%      { transform: scaleX(.88); opacity: .75; }
}
@keyframes spin { to { rotate: 360deg; } }

/* Dica "toque no frasco" */
.bnf__hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-800);
  background: var(--cream-50);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 10px 22px -16px rgba(18, 41, 31, .45);
  animation: hint-bob 2.2s ease-in-out infinite;
}
.bnf__hint .icon { width: 18px; height: 18px; color: var(--gold); }
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Gotas, névoa e respingos (criados via JS) */
.bnf__drops {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.bnf-drop,
.bnf-mist,
.bnf-splash {
  position: absolute;
  top: 0; left: 0;
  will-change: transform, opacity;
}
.bnf-drop {
  width: 14px; height: 20px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 36% 34%, #fffbe9 0%, #ecd08d 34%, #b8892f 100%);
  box-shadow: 0 0 12px rgba(227, 194, 122, .7);
}
.bnf-mist {
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 208, 141, .9), rgba(236, 208, 141, 0) 70%);
}
.bnf-splash {
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  border: 2px solid var(--gold);
}


/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .bnf__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 16px;
  }
  .bnf__product { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; }
  .bnf-card:nth-child(n) { grid-area: auto; justify-self: stretch; max-width: none; }
  .bnf-card::after { display: none; }
  .bnf__leaf--c { display: none; }
  .bnf__leaf--a { top: 4%; }
  .bnf__bottle { width: min(100%, 440px); height: clamp(420px, 58vw, 540px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .bnf__stage { grid-template-columns: 1fr; gap: 12px; }
  .bnf__bottle { height: clamp(360px, 104vw, 440px); }
  .bnf__hint { font-size: 12.5px; }

  /* Card horizontal: ícone à esquerda, texto à direita */
  .bnf-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    align-items: center;
    padding: 18px 44px 18px 18px;
    border-radius: 18px;
  }
  .bnf-card__icon { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; }
  .bnf-card__num { top: 16px; right: 18px; font-size: 12px; }
  .bnf-card__title { margin: 0; font-size: 16.5px; }
  .bnf-card__text { margin-top: 3px; font-size: 13.5px; line-height: 1.45; }
  .bnf-card:hover { transform: none; }

}

/* ==========================================================
   Como usar (demonstração guiada)
   ========================================================== */
.how {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 55% at 76% 52%, rgba(176, 141, 87, .13) 0%, rgba(176, 141, 87, 0) 70%),
    radial-gradient(ellipse 35% 45% at 10% 85%, rgba(42, 84, 66, .07) 0%, rgba(42, 84, 66, 0) 70%),
    linear-gradient(180deg, #f7f4ec 0%, var(--cream) 100%);
}
.how__leaf {
  position: absolute;
  z-index: -1;
  left: -60px; bottom: -40px;
  width: clamp(180px, 20vw, 300px);
  color: var(--green-700);
  opacity: .08;
  rotate: -10deg;
  animation: sway 10s ease-in-out infinite;
  pointer-events: none;
}

.how__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  grid-template-areas:
    "head  media"
    "steps media";
  column-gap: clamp(40px, 6vw, 104px);
  row-gap: 32px;
  align-items: center;
  padding-block: clamp(72px, 9vw, 128px);
}

/* ---------- Cabeçalho ---------- */
.how__head { grid-area: head; align-self: end; }
.how__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.how__eyebrow::after {
  content: '';
  display: block;
  width: 34px; height: 2px;
  margin-top: 14px;
  background: var(--gold);
}
.how__title {
  margin: 18px 0 0;
  font-size: clamp(2.6rem, 5.2vw, 4.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.045em;
  color: var(--green-900);
}
.how__sub {
  margin-top: 16px;
  max-width: 34ch;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-soft);
}

/* ---------- Passos (seletor) ---------- */
.how__steps {
  grid-area: steps;
  align-self: start;
  display: grid;
  gap: 10px;
  max-width: 520px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how__steps li { position: relative; }
/* Linha pontilhada ligando os números */
.how__steps li + li::before {
  content: '';
  position: absolute;
  left: 47px;
  bottom: calc(100% - 18px);
  height: 26px;
  border-left: 1.5px dashed var(--gold-light);
  z-index: 0;
}

.how-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  font: inherit;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .5s var(--ease-out), transform .4s var(--ease-out);
}
.how-step.is-active {
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 24px 44px -30px rgba(18, 41, 31, .4);
}
@media (hover: hover) {
  .how-step:not(.is-active):hover { background: rgba(255, 255, 255, .55); transform: translateX(4px); }
}

.how-step__num {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--green-800);
  background: var(--cream-50);
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease-out);
}
.how-step.is-active .how-step__num {
  color: #fff;
  background: var(--green-800);
  border-color: var(--green-800);
  transform: scale(1.04);
}

.how-step__title {
  display: block;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--text-soft);
  transition: color .3s;
}
.how-step.is-active .how-step__title { color: var(--green-900); }

/* Descrição abre como sanfona no passo ativo */
.how-step__more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .5s var(--ease-out), opacity .4s var(--ease);
}
.how-step.is-active .how-step__more { grid-template-rows: 1fr; opacity: 1; }
.how-step__text {
  display: block;
  overflow: hidden;
  padding-top: 4px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-soft);
}

/* Progresso da troca automática */
.how-step__bar {
  position: absolute;
  left: 94px; right: 22px; bottom: 9px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  overflow: hidden;
}
.how-step__bar > span {
  display: block;
  height: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.how.is-auto .how-step.is-active .how-step__bar { background: rgba(176, 141, 87, .18); }
.how.is-auto .how-step.is-active .how-step__bar > span {
  animation: how-progress var(--how-step-ms, 4500ms) linear both;
}
.how.is-paused .how-step.is-active .how-step__bar > span { animation-play-state: paused; }
@keyframes how-progress { to { transform: scaleX(1); } }

/* ---------- Mídia ---------- */
.how__media {
  grid-area: media;
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 560px;
}
.how__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: #e9e4d8;
  box-shadow: 0 40px 80px -48px rgba(18, 41, 31, .55);
}
.how__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .9s var(--ease), transform 1.8s var(--ease-out);
}
.how__img.is-active { opacity: 1; transform: none; }
/* Véu: leve na base; mais forte no passo 3 para destacar o frasco */
.how__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 41, 31, 0) 55%, rgba(18, 41, 31, .2) 100%);
  transition: background-color .6s var(--ease);
  pointer-events: none;
}
.how__media[data-step="2"] .how__frame::after { background-color: rgba(18, 41, 31, .22); }

/* Contador "01 / 03" */
.how__counter {
  position: absolute;
  z-index: 3;
  left: 18px; bottom: 16px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .85);
  background: rgba(18, 41, 31, .35);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.how__counter b { color: #fff; font-weight: 700; }

/* ---------- Marcadores de cada passo ---------- */
.how__marker {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
  pointer-events: none;
}
.how__media[data-step="2"] .how__marker--label,
.how__media[data-step="0"] .how__marker--apply,
.how__media[data-step="1"] .how__marker--massage { opacity: 1; transform: none; }

/* Pontos de cada marcador, conforme a foto exibida */
.how__media[data-person="mulher"] { --apply-x: 46%; --apply-y: 27%; --massage-x: 25%; --massage-y: 31%; --label-x: 76%; --label-y: 56%; }
.how__media[data-person="homem"]  { --apply-x: 49%; --apply-y: 37%; --massage-x: 24%; --massage-y: 38%; --label-x: 78%; --label-y: 65%; }
.how__marker--apply,
.how__marker--label {
  left: auto;
  right: calc(100% - var(--apply-x));
  top: var(--apply-y);
  flex-direction: row-reverse;     /* rótulo à esquerda, ponto exatamente no alvo */
  transition: opacity .5s var(--ease), transform .6s var(--ease-out), right .7s var(--ease-out), top .7s var(--ease-out);
}
.how__marker--label { right: calc(100% - var(--label-x)); top: var(--label-y); flex-direction: row; }
.how__marker--apply .how__dot,
.how__marker--label .how__dot { margin: -7px -7px 0 0; }
.how__dot {
  position: relative;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .9);
}
.how__dot::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid #fff;
  animation: marker-pulse 2.2s var(--ease-out) infinite;
}
@keyframes marker-pulse {
  0%   { transform: scale(.6); opacity: 1; }
  80%, 100% { transform: scale(2); opacity: 0; }
}

.how__marker--massage { left: var(--massage-x); top: var(--massage-y); translate: -40px -40px; transition: opacity .5s var(--ease), transform .6s var(--ease-out), left .7s var(--ease-out), top .7s var(--ease-out); }
.how__swirl {
  display: block;
  width: 80px; height: 80px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25));
  animation: spin 3.2s linear infinite;
}
.how__swirl svg { display: block; width: 100%; height: 100%; }

.how__label {
  padding: 7px 13px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--green-900);
  background: rgba(255, 255, 255, .92);
  border-radius: 999px;
  box-shadow: 0 10px 20px -12px rgba(18, 41, 31, .5);
}
.how__marker--apply .how__label,
.how__marker--label .how__label { margin-top: -7px; }

/* ---------- Frasco sobreposto ---------- */
.how__bottle-wrap {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: -26px;
  height: 48%;
  display: grid;
  grid-template: minmax(0, 1fr) / auto;
  place-items: center;
  pointer-events: none;
}
.how__bottle-wrap > * { grid-area: 1 / 1; }
.how__bottle {
  width: auto;
  height: 100%;
  max-width: none;
  filter: drop-shadow(0 24px 22px rgba(18, 41, 31, .32));
  transition: transform .7s var(--ease-out);
}
.how__bottle-glow {
  width: 220%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 208, 141, .55) 0%, rgba(236, 208, 141, 0) 65%);
  opacity: 0;
  transform: scale(.7);
  transition: opacity .6s var(--ease), transform .8s var(--ease-out);
}
.how__label--bottle {
  align-self: center;
  justify-self: end;
  margin-right: calc(100% + 10px);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.how__media[data-step="2"] .how__bottle { transform: translateY(-8px) scale(1.06); }
.how__media[data-step="2"] .how__bottle-glow { opacity: 1; transform: none; }
.how__media[data-step="2"] .how__label--bottle { opacity: 1; transform: none; }

/* ---------- Seletor Mulher / Homem ---------- */
.how__toggle {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 50%;
  translate: -50% 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 999px;
  box-shadow: 0 14px 30px -18px rgba(18, 41, 31, .55);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.how__toggle-pill {
  position: absolute;
  top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: var(--green-800);
  box-shadow: 0 8px 18px -10px rgba(18, 41, 31, .8);
  transition: transform .5s var(--ease-out);
}
.how__toggle[data-active="homem"] .how__toggle-pill { transform: translateX(100%); }
.how__toggle-btn {
  position: relative;
  z-index: 1;
  min-width: 104px;
  min-height: 42px;
  padding: 0 22px;
  font: 600 14px/1 var(--font);
  color: var(--green-800);
  background: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color .35s;
}
.how__toggle-btn[aria-pressed="true"] { color: #fff; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .how__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "media" "steps";
    row-gap: 36px;
  }
  .how__head { text-align: center; }
  .how__sub { margin-inline: auto; }
  .how__eyebrow::after { margin-inline: auto; }
  .how__media { justify-self: center; max-width: 520px; }
  .how__steps { justify-self: center; width: 100%; }
  .how__bottle-wrap { right: -16px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .how__inner { row-gap: 24px; }
  .how__frame { border-radius: 22px; }
  .how__toggle { top: 12px; }
  .how__toggle-btn { min-width: 92px; min-height: 40px; padding: 0 18px; font-size: 13.5px; }
  .how__label { font-size: 11.5px; padding: 6px 10px; }
  .how__swirl { width: 64px; height: 64px; }
  .how__marker--massage { translate: -32px -32px; }
  .how__counter { left: 12px; bottom: 12px; font-size: 11px; }
  /* Frasco dentro da foto, sem invadir os passos */
  .how__bottle-wrap { right: 12px; bottom: 12px; height: 34%; }
  /* Rótulo da massagem à esquerda do círculo, longe do frasco */
  .how__marker--massage { flex-direction: column; gap: 6px; translate: -50% -32px; }

  .how-step { grid-template-columns: 46px 1fr; column-gap: 14px; padding: 14px 16px; border-radius: 18px; }
  .how-step__num { width: 46px; height: 46px; font-size: 14.5px; }
  .how__steps li + li::before { left: 38px; }
  .how-step__title { font-size: 16.5px; }
  .how-step__text { font-size: 14px; }
  .how-step__bar { left: 76px; right: 18px; bottom: 8px; }
}

/* ==========================================================
   Anvisa Grau 2
   ========================================================== */
.anv {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 40% 50% at 24% 50%, rgba(176, 141, 87, .14) 0%, rgba(176, 141, 87, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, #fbfaf6 45%, var(--cream) 100%);
}
/* Arcos dourados decorativos (eco do aro da foto) */
.anv__ring {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(176, 141, 87, .22);
  pointer-events: none;
}
.anv__ring--a { width: 760px; height: 760px; left: -260px; top: 50%; margin-top: -380px; }
.anv__ring--b {
  width: 980px; height: 980px; left: -370px; top: 50%; margin-top: -490px;
  border-style: dashed;
  border-color: rgba(176, 141, 87, .14);
  animation: spin 120s linear infinite;
}

.anv__inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 112px);
  align-items: center;
  padding-block: clamp(80px, 10vw, 140px);
}

/* ---------- Imagem ---------- */
.anv__media { position: relative; margin: 0; width: 100%; max-width: 540px; justify-self: end; }
.anv__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 28px;
  background: #ece6d9;
  box-shadow: 0 50px 90px -50px rgba(18, 41, 31, .55), 0 0 0 1px rgba(176, 141, 87, .18);
}
.anv__img {
  position: absolute;
  inset: -4% 0;
  width: 100%;
  height: 108%;
  object-fit: cover;
  translate: 0 var(--anv-py, 0px);   /* parallax (JS) */
  will-change: translate;
}
/* Brilho que atravessa a foto uma vez */
.anv__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.anv__media.is-visible .anv__shine { animation: anv-shine 1.6s var(--ease-out) 1.1s both; }
@keyframes anv-shine { to { transform: translateX(120%); } }

/* Selo flutuante */
.anv__badge {
  position: absolute;
  z-index: 2;
  right: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95);
  border-radius: 18px;
  box-shadow: 0 24px 44px -24px rgba(18, 41, 31, .5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.anv__badge-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, #c9a764, #9a7642);
  box-shadow: 0 8px 18px -8px rgba(154, 118, 66, .8);
}
.anv__badge small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.anv__badge strong {
  display: block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--green-900);
}

/* ---------- Texto ---------- */
.anv__content { max-width: 560px; }
.anv__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.anv__eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.anv__title {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--green-900);
}
.anv__title span {
  display: block;
  background: linear-gradient(100deg, #9a7642 0%, #d9bb7c 45%, #9a7642 90%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-flow 6s ease-in-out infinite;
}
@keyframes gold-flow {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.anv__lead {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--green-900);
}
.anv__text { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--text-soft); }

.anv__features { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.anv-feat {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s;
}
@media (hover: hover) {
  .anv-feat:hover { transform: translateX(6px); border-color: var(--gold-light); background: #fff; }
  .anv-feat:hover .anv-feat__icon { background: var(--green-800); color: #fff; border-color: var(--green-800); }
}
.anv-feat__icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  color: var(--green-800);
  background: var(--cream-50);
  border: 1px solid var(--gold-light);
  transition: background-color .35s, color .35s, border-color .35s;
}
.anv-feat__icon .icon { width: 22px; height: 22px; }
.anv-feat__title { margin: 0; font-size: 16.5px; font-weight: 600; color: var(--green-900); }
.anv-feat__text { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text-soft); }

.anv__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-soft);
}
.anv__note .icon { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Motion de entrada (só com JS ativo) ---------- */
.js .anv [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(4px);
  transition:
    opacity .8s var(--ease-out) var(--d, 0ms),
    transform .9s var(--ease-out) var(--d, 0ms),
    filter .8s var(--ease-out) var(--d, 0ms);
}
.js .anv [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
/* Feature: depois de aparecer, volta a ter a transição curta do hover */
.js .anv .anv-feat.is-visible.is-settled { transition: transform .45s var(--ease-out), border-color .3s, background-color .3s; }

/* Imagem: revelada por máscara, com zoom saindo */
.js .anv .anv__media[data-reveal] { opacity: 1; transform: none; filter: none; }
.js .anv .anv__frame {
  clip-path: inset(0 100% 0 0 round 28px);
  transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1);
}
.js .anv .anv__img { scale: 1.15; transition: scale 1.8s var(--ease-out); }
.js .anv .anv__media.is-visible .anv__frame { clip-path: inset(0 0 0 0 round 28px); }
.js .anv .anv__media.is-visible .anv__img { scale: 1; }
.js .anv .anv__badge { opacity: 0; transform: translateY(16px) scale(.94); transition: opacity .7s var(--ease-out) 1s, transform .8s var(--ease-out) 1s; }
.js .anv .anv__media.is-visible .anv__badge { opacity: 1; transform: none; }
.anv__media.is-visible .anv__badge-icon { animation: badge-float 4s ease-in-out 2s infinite; }
@keyframes badge-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(-4deg); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .anv__inner { grid-template-columns: minmax(0, 1fr); row-gap: 56px; }
  .anv__media { justify-self: center; max-width: 480px; }
  .anv__content { justify-self: center; width: 100%; max-width: 600px; }
  .anv__badge { right: -16px; }
  .anv__ring--a { left: 50%; top: 0; margin: -200px 0 0 -380px; }
  .anv__ring--b { left: 50%; top: 0; margin: -310px 0 0 -490px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .anv__inner { row-gap: 44px; }
  .anv__frame { border-radius: 22px; }
  .js .anv .anv__frame { clip-path: inset(0 100% 0 0 round 22px); }
  .js .anv .anv__media.is-visible .anv__frame { clip-path: inset(0 0 0 0 round 22px); }
  .anv__badge { right: 12px; bottom: -22px; padding: 10px 14px 10px 10px; }
  .anv__badge-icon { width: 38px; height: 38px; }
  .anv__badge strong { font-size: 17px; }
  .anv-feat { grid-template-columns: 44px 1fr; padding: 12px 14px; }
  .anv-feat__icon { width: 44px; height: 44px; }
  .anv__text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .anv [data-reveal], .js .anv .anv__badge { opacity: 1; transform: none; filter: none; }
  .js .anv .anv__frame { clip-path: none; }
  .js .anv .anv__img { scale: 1; translate: none; }
}

/* ==========================================================
   Depoimentos (carrossel coverflow)
   ========================================================== */
.tst {
  --w: clamp(260px, 24vw, 340px);   /* largura do card */
  --gap: calc(var(--w) * 1.08);      /* distância entre centros dos cards */
  --pad: 10px;                       /* moldura branca do card */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 45% 40% at 50% 55%, rgba(42, 84, 66, .1) 0%, rgba(42, 84, 66, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, #eef1ea 50%, var(--cream) 100%);
}
.tst::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(27, 58, 44, .08) 1px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 55%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 55%, #000 0%, transparent 75%);
  pointer-events: none;
}

.tst__inner { padding-block: clamp(80px, 9vw, 128px); }

/* Cabeçalho */
.tst__head { max-width: 640px; margin: 0 auto; text-align: center; }
.tst__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.tst__eyebrow::before,
.tst__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.tst__title {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--green-900);
}
.tst__title span { color: var(--green-700); }
.tst__sub { margin-top: 14px; font-size: clamp(1rem, 1.2vw, 1.125rem); font-weight: 500; line-height: 1.6; color: var(--text-soft); }

/* Palco */
.tst__stage {
  position: relative;
  margin-top: clamp(40px, 5vw, 64px);
  border-radius: 24px;
  outline-offset: 8px;
}
.tst__track {
  position: relative;
  height: calc((var(--w) - var(--pad) * 2) * 1.36 + var(--pad) * 2 + 132px);
  perspective: 1400px;
  touch-action: pan-y;          /* deixa a rolagem vertical livre; o arraste horizontal é do carrossel */
  cursor: grab;
  user-select: none;
  transition: opacity .9s var(--ease-out), translate 1s var(--ease-out);
}
.tst__track.is-dragging { cursor: grabbing; }

/* Card: a posição vem de --o (deslocamento em relação ao ativo) */
.tst-card {
  --o: 0;
  --abs: 0;
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--w);
  margin: 0;
  transform:
    translateX(calc(-50% + var(--o) * var(--gap)))
    rotateY(calc(var(--o) * -14deg))
    scale(calc(1 - var(--abs) * .14));
  opacity: calc(1 - var(--abs) * .42);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .6s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
}
.tst-card:not(.is-active) { cursor: pointer; }
.tst__track.is-dragging .tst-card { transition: none; }

.tst-card__phone {
  padding: var(--pad);
  background: #fff;
  border: 1px solid rgba(27, 58, 44, .08);
  border-radius: 30px;
  box-shadow: 0 30px 60px -36px rgba(18, 41, 31, .45);
  transition: box-shadow .6s var(--ease-out);
}
.tst-card.is-active .tst-card__phone {
  box-shadow: 0 50px 90px -40px rgba(18, 41, 31, .55), 0 0 0 1px rgba(176, 141, 87, .25);
}
.tst-card__screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 481 / 650;
  border-radius: 22px;
  background: #ece8e0;
  isolation: isolate;
  transform: translateZ(0);
}
.tst-card__screen img {
  position: absolute;
  top: -2px; left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
@media (hover: hover) {
  .tst-card:not(.is-active):hover .tst-card__phone { box-shadow: 0 40px 70px -36px rgba(18, 41, 31, .5), 0 0 0 1px rgba(176, 141, 87, .3); }
}

/* Legenda do card ativo */
.tst-card__caption {
  margin-top: 22px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.tst-card.is-active .tst-card__caption { opacity: 1; transform: none; transition-delay: .2s; }
.tst-card__tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-800);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
}
.tst-card__caption q {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.5;
  color: var(--green-900);
  quotes: '“' '”';
}

/* Controles */
.tst__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}
.tst__arrow {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  color: var(--green-800);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 10px 22px -16px rgba(18, 41, 31, .5);
  cursor: pointer;
  transition: background-color .25s, color .25s, transform .3s var(--ease-out), border-color .25s;
}
.tst__arrow .icon { width: 20px; height: 20px; }
@media (hover: hover) {
  .tst__arrow:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); transform: scale(1.06); }
}
.tst__arrow:active { transform: scale(.94); }

.tst__dots { display: flex; align-items: center; gap: 8px; }
.tst__dot {
  position: relative;
  width: 10px; height: 10px;
  padding: 0;
  background: rgba(27, 58, 44, .2);
  border: 0;
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  transition: width .45s var(--ease-out), background-color .3s;
}
/* Área de toque maior que a bolinha */
.tst__dot::before { content: ''; position: absolute; inset: -12px -4px; }
.tst__dot[aria-current="true"] { width: 36px; background: rgba(176, 141, 87, .3); }
.tst__dot > span {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}
.tst__dot[aria-current="true"] > span { transform: scaleX(1); }
.tst.is-auto .tst__dot[aria-current="true"] > span { animation: tst-progress var(--tst-ms, 6000ms) linear both; }
.tst.is-paused .tst__dot[aria-current="true"] > span { animation-play-state: paused; }
@keyframes tst-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Entrada da seção */
.js .tst:not(.is-in) .tst__track { opacity: 0; translate: 0 48px; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .tst { --w: clamp(260px, 36vw, 320px); --gap: calc(var(--w) * .98); }
}

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .tst { --w: min(76vw, 300px); --gap: calc(var(--w) * .86); --pad: 8px; }
  .tst-card { transform:
    translateX(calc(-50% + var(--o) * var(--gap)))
    rotateY(calc(var(--o) * -10deg))
    scale(calc(1 - var(--abs) * .16)); }
  .tst-card__phone { border-radius: 26px; }
  .tst-card__screen { border-radius: 19px; }
  .tst-card__caption q { font-size: 14px; }
  .tst__track { height: calc((var(--w) - var(--pad) * 2) * 1.36 + var(--pad) * 2 + 140px); }
  .tst__arrow { width: 44px; height: 44px; }
}

/* ==========================================================
   Comprar (checkout)
   ========================================================== */
.btn--light {
  background: var(--cream);
  color: var(--green-900);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .55);
}
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.buy {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, #fbfaf6 45%, var(--cream) 100%);
  padding-block: clamp(32px, 5vw, 72px) clamp(72px, 9vw, 120px);
}

/* Painel verde */
.buy__panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  color: var(--cream);
  background:
    radial-gradient(ellipse 50% 60% at 22% 60%, rgba(176, 141, 87, .28) 0%, rgba(176, 141, 87, 0) 70%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(42, 84, 66, .9) 0%, rgba(42, 84, 66, 0) 70%),
    linear-gradient(160deg, #1f4434 0%, var(--green-900) 70%);
  border-radius: clamp(28px, 3vw, 40px);
  box-shadow: 0 60px 120px -60px rgba(18, 41, 31, .8);
}
/* Anel, brilho e sombra compartilham o mesmo centro dos frascos */
.buy__ring {
  align-self: center;
  justify-self: center;
  width: auto;
  height: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(227, 211, 176, .22);
  animation: spin 90s linear infinite;
  pointer-events: none;
}

/* ---------- Vitrine ---------- */
.buy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.buy__showcase { text-align: center; }
.buy__eyebrow::before,
.buy__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.buy__title {
  margin: 14px 0 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.035em;
  color: #fff;
}
.buy__title span { color: var(--gold-light); }
.buy__sub { margin-top: 12px; font-size: clamp(1rem, 1.2vw, 1.1rem); font-weight: 500; color: rgba(245, 242, 234, .75); }

.buy__stage {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: end center;
  height: clamp(260px, 26vw, 340px);
  margin-top: 28px;
  isolation: isolate;
}
.buy__stage > .buy__ring, .buy__stage > .buy__glow { z-index: -1; }
.buy__stage > * { grid-area: 1 / 1; }
.buy__glow {
  align-self: center;
  justify-self: center;
  width: auto;
  height: 115%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 208, 141, .35) 0%, rgba(236, 208, 141, 0) 62%);
}
.buy__pedestal {
  justify-self: center;
  width: min(70%, 360px);
  height: 28px;
  margin-bottom: -6px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 70%);
}
.buy__bottles {
  --h: 250px;
  justify-self: center;
  transition: opacity .22s var(--ease), transform .35s var(--ease-out);
}
.buy__bottles.is-swapping { opacity: 0; transform: translateY(10px) scale(.97); }
.buy__bottles {
  --ov: -22px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-bottom: 6px;
}
.buy__bottles img {
  width: auto;
  height: var(--h);
  max-width: 120px;
  margin-left: var(--ov);
  filter: drop-shadow(0 18px 16px rgba(0, 0, 0, .35));
  transition: none;   /* a troca é feita com fade no grupo inteiro (sem frascos "andando") */
}
.buy__bottles img:first-child { margin-left: 0; }
/* Frasco central um pouco maior */
.buy__bottles[data-count="3"] img:nth-child(2) { height: calc(var(--h) + 18px); position: relative; z-index: 2; }
.buy__bottles[data-count="6"] img:nth-child(1),
.buy__bottles[data-count="6"] img:nth-child(6) { height: calc(var(--h) - 14px); }
.buy__bottles[data-count="6"] img:nth-child(2),
.buy__bottles[data-count="6"] img:nth-child(5) { position: relative; z-index: 1; }
.buy__bottles[data-count="6"] img:nth-child(3),
.buy__bottles[data-count="6"] img:nth-child(4) { height: calc(var(--h) + 16px); position: relative; z-index: 2; }
.buy__bottles[data-count="1"] { --h: clamp(220px, 24vw, 300px); }
.buy__bottles[data-count="6"] { --h: clamp(200px, 21vw, 250px); --ov: -34px; }
/* Frascos que não fazem parte do kit somem */
.buy__bottles[data-count="1"] img:nth-child(n+2),
.buy__bottles[data-count="3"] img:nth-child(n+4) {
  max-width: 0;
  margin-left: 0;
  opacity: 0;
}

.buy__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.buy__trust li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: rgba(245, 242, 234, .8); }
.buy__trust .icon { width: 18px; height: 18px; color: var(--gold-light); }

/* ---------- Opções ---------- */
.buy__form { display: grid; gap: 18px; }
.buy__options { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.buy__legend {
  margin-bottom: 4px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, .7);
}

.opt {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
@media (hover: hover) {
  .opt:hover { background: rgba(255, 255, 255, .09); border-color: rgba(227, 211, 176, .45); }
}
.opt:has(input:checked) {
  background: rgba(255, 255, 255, .12);
  border-color: var(--gold-light);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(227, 211, 176, .25);
}
.opt:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }

.opt__radio {
  position: relative;
  width: 24px; height: 24px;
  border: 2px solid rgba(245, 242, 234, .5);
  border-radius: 50%;
  transition: border-color .3s;
}
.opt__radio::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold-light);
  transform: scale(0);
  transition: transform .35s var(--ease-out);
}
.opt input:checked + .opt__radio { border-color: var(--gold-light); }
.opt input:checked + .opt__radio::after { transform: scale(1); }

.opt__info { display: grid; gap: 3px; min-width: 0; }
.opt__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: #fff;
}
.opt__badge {
  padding: 4px 10px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-900);
  background: linear-gradient(100deg, #c9a764, #ecd08d 50%, #c9a764);
  border-radius: 999px;
}
.opt__badge--soft { color: var(--gold-light); background: rgba(227, 211, 176, .14); border: 1px solid rgba(227, 211, 176, .35); }
.opt__sub { font-size: 13.5px; color: rgba(245, 242, 234, .7); }

.opt__price { display: grid; justify-items: end; gap: 2px; text-align: right; }
.opt__price s { font-size: 12.5px; color: rgba(245, 242, 234, .5); }
.opt__price strong { font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.opt__off {
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-900);
  background: #9fd6a8;
  border-radius: 999px;
}

/* Alinhamento das opções: mesma altura, coluna de preço fixa, selo na borda */
.buy__options { gap: 20px; }
.buy__options .opt {
  grid-template-columns: 24px minmax(0, 1fr) 118px;
  min-height: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.opt__badge {
  position: absolute;
  top: 0;
  left: 60px;
  translate: 0 -50%;
  line-height: 1;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .6);
}
.opt__badge--soft { background: #24493a; }
.opt__title { flex-wrap: nowrap; white-space: nowrap; }
.opt__price { grid-template-rows: auto auto auto; align-content: center; }
.opt__price .is-ghost { visibility: hidden; }
@media (max-width: 599px) {
  .buy__options { gap: 18px; }
  .buy__options .opt { grid-template-columns: 22px minmax(0, 1fr) 100px; min-height: 94px; padding-top: 18px; padding-bottom: 18px; }
  .opt__badge { left: 48px; }
}
@media (max-width: 359px) {
  .buy__options .opt { grid-template-columns: 20px minmax(0, 1fr) 90px; column-gap: 10px; padding-inline: 12px; }
  .opt__price strong { font-size: 15.5px; }
  .opt__sub { font-size: 12px; }
}

/* ---------- Resumo ---------- */
.buy__summary {
  padding: 22px 24px 20px;
  color: var(--green-900);
  background: var(--cream-50);
  border-radius: 22px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.buy__rows { display: grid; gap: 8px; margin: 0; }
.buy__rows > div { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.buy__rows dt { color: var(--text-soft); }
.buy__rows dd { margin: 0; font-weight: 600; }
.buy__row-save dd { color: var(--green-700); }
.buy__row-save[hidden] { display: none; }
.buy__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(27, 58, 44, .2);
}
.buy__total span { font-size: 15px; font-weight: 600; color: var(--text-soft); }
.buy__total strong { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; }
.buy__total strong.is-bump { animation: bump .45s var(--ease-out); }
@keyframes bump {
  0%   { transform: translateY(6px); opacity: .3; }
  100% { transform: none; opacity: 1; }
}
.buy__cta { width: 100%; margin-top: 16px; }
.buy__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--text-soft); }
.buy__note .icon { width: 15px; height: 15px; color: var(--gold); }

/* Entrada ao rolar */
.js .buy [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease-out) var(--d, 0ms), translate .9s var(--ease-out) var(--d, 0ms);
}
.js .buy [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* ---------- Barra fixa de compra (celular) ---------- */
.buybar { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .buy__panel { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .buy__showcase { text-align: center; }
  .buy__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
  .buy__trust { justify-content: center; }
  .buy__form { width: 100%; max-width: 560px; justify-self: center; }
}

/* ---------- Celular ---------- */
@media (max-width: 599px) {
  .buy .container { padding-inline: 12px; }
  .buy__panel { padding: 32px 18px 18px; border-radius: 28px; }
  .buy__stage { height: 230px; margin-top: 18px; }
  .buy__bottles { --h: 180px; --ov: -18px; }
  .buy__bottles[data-count="1"] { --h: 210px; }
  .buy__bottles[data-count="6"] { --h: 168px; --ov: -26px; }
  .buy__trust { gap: 8px 16px; }
  .buy__trust li { font-size: 12.5px; }

  .opt { grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 12px; padding: 15px 14px; border-radius: 18px; }
  .opt__radio { width: 22px; height: 22px; }
  .opt__title { font-size: 16px; gap: 6px; }
  .opt__badge { font-size: 9.5px; padding: 3px 8px; }
  .opt__sub { font-size: 12.5px; }
  .opt__price strong { font-size: 17px; }
  .buy__summary { padding: 18px 18px 16px; border-radius: 18px; }

  .buybar {
    position: fixed;
    z-index: 40;
    left: 12px; right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 10px 10px 18px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 999px;
    box-shadow: 0 18px 40px -16px rgba(18, 41, 31, .45);
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    transform: translateY(160%);
    transition: transform .5s var(--ease-out);
  }
  .buybar.is-visible { transform: none; }
  .buybar__info { display: grid; line-height: 1.25; min-width: 0; }
  .buybar__name { font-size: 13px; font-weight: 700; color: var(--green-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar__price { font-size: 12px; color: var(--text-soft); }
  .buybar__price strong { color: var(--green-900); }
  .buybar__cta { flex: none; min-height: 42px; padding: 0 20px; }
  body:has(.nav.is-open) .buybar { transform: translateY(160%); }
}

@media (prefers-reduced-motion: reduce) {
  .js .buy [data-reveal] { opacity: 1; translate: none; }
}

/* ==========================================================
   Garantia de 7 dias
   ========================================================== */
.grt {
  position: relative;
  padding-block: clamp(72px, 8vw, 112px) clamp(24px, 3vw, 40px);
  background: var(--cream);
}
.grt__card {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
  max-width: 1180px;
  margin-inline: auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(176, 141, 87, .28);
  border-radius: clamp(28px, 3vw, 40px);
  box-shadow: 0 50px 100px -60px rgba(18, 41, 31, .55);
}

/* Palco verde do selo */
.grt__media {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: clamp(40px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(227, 191, 112, .38) 0%, rgba(176, 141, 87, .12) 32%, rgba(176, 141, 87, 0) 60%),
    linear-gradient(160deg, #1f4434 0%, var(--green-900) 75%);
}
.grt__media > * { grid-area: 1 / 1; }
.grt__rays {
  position: absolute;
  top: 50%; left: 50%;
  width: max(150%, 640px);
  aspect-ratio: 1;
  translate: -50% -50%;
  z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(227, 211, 176, .1) 0deg 4deg, transparent 4deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 62%);
          mask: radial-gradient(circle, #000 0%, transparent 62%);
  animation: grt-spin 60s linear infinite;
}
.grt__ring {
  width: min(84%, 380px);
  aspect-ratio: 1;
  z-index: -1;
  border: 1px dashed rgba(227, 211, 176, .35);
  border-radius: 50%;
  animation: grt-spin 90s linear infinite reverse;
}
.grt__seal {
  position: relative;
  width: min(80%, 340px);
  aspect-ratio: 1;
  animation: grt-float 6s ease-in-out infinite;
}
.grt__img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45));
}
/* Brilho que atravessa o selo (recortado no formato do selo) */
.grt__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 250, 230, .65) 50%, transparent 62%);
  background-size: 260% 100%;
  background-position: 130% 0;
  -webkit-mask: url("../assets/garantia-7-dias-360.webp") center / contain no-repeat;
          mask: url("../assets/garantia-7-dias-360.webp") center / contain no-repeat;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.grt__media.is-visible .grt__shine { animation: grt-shine 5.5s var(--ease-out) 1s infinite; }

@keyframes grt-spin { to { rotate: 360deg; } }
@keyframes grt-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}
@keyframes grt-shine {
  0% { background-position: 130% 0; }
  40%, 100% { background-position: -30% 0; }
}

/* Conteúdo */
.grt__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px) clamp(28px, 5vw, 72px);
}
.grt__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.grt__eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.grt__title {
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--green-900);
}
.grt__title span {
  background: linear-gradient(100deg, #9a7440 0%, var(--gold) 40%, #d9b978 60%, #9a7440 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.grt__text {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: clamp(1rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text-soft);
}

.grt__steps {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.grt-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px 14px 14px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .35s var(--ease-out), border-color .3s, background-color .3s;
}
.grt-step__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  color: var(--gold);
  background: var(--green-900);
  border-radius: 14px;
  box-shadow: 0 10px 20px -12px rgba(18, 41, 31, .7);
}
.grt-step__icon .icon { width: 21px; height: 21px; }
.grt-step__title { margin: 0; font-size: 15.5px; font-weight: 700; color: var(--green-900); }
.grt-step__text { margin: 2px 0 0; font-size: 13.5px; font-weight: 500; line-height: 1.5; color: var(--text-soft); }
@media (hover: hover) {
  .grt-step:hover { transform: translateX(4px); border-color: rgba(176, 141, 87, .45); background: #fff; }
}

.grt__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
.btn--gold {
  color: var(--green-900);
  background: linear-gradient(100deg, #c9a467 0%, #e6cc8f 50%, #c9a467 100%);
  background-size: 200% 100%;
  box-shadow: 0 14px 28px -14px rgba(154, 116, 64, .8);
  transition: background-position .6s var(--ease-out), transform .25s var(--ease), box-shadow .25s;
}
.btn--gold:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(154, 116, 64, .9); }
.grt__legal {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  margin: 0;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-soft);
}
.grt__legal .icon { width: 18px; height: 18px; color: var(--gold); }

/* Entrada ao rolar */
.js .grt [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms);
}
.js .grt [data-reveal].is-visible { opacity: 1; transform: none; }
.js .grt .grt-step[data-reveal].is-visible.is-settled { transition: transform .35s var(--ease-out), border-color .3s, background-color .3s; }
.js .grt .grt__media[data-reveal] { opacity: 1; transform: none; }
.js .grt .grt__media .grt__seal { scale: .6; rotate: -30deg; opacity: 0; transition: scale 1.2s var(--ease-out) .15s, rotate 1.2s var(--ease-out) .15s, opacity .6s ease .15s; }
.js .grt .grt__media.is-visible .grt__seal { scale: 1; rotate: 0deg; opacity: 1; }

/* ---------- Desktop: faixa compacta (selo à esquerda, passos lado a lado) ---------- */
@media (min-width: 1024px) {
  .grt { padding-block: clamp(56px, 6vw, 80px) 16px; }
  .grt__card { grid-template-columns: clamp(300px, 30%, 360px) minmax(0, 1fr); max-width: 1120px; }
  .grt__media { min-height: 0; padding: 36px; }
  .grt__seal { width: min(84%, 250px); }
  .grt__ring { width: min(92%, 290px); }
  .grt__content { padding: 40px clamp(36px, 4vw, 56px); }
  .grt__title { font-size: clamp(2rem, 2.8vw, 2.6rem); }
  .grt__text { margin-top: 12px; max-width: 62ch; font-size: 1rem; }
  .grt__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
  .grt-step { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .grt-step__icon { width: 38px; height: 38px; border-radius: 12px; }
  .grt-step__icon .icon { width: 19px; height: 19px; }
  .grt-step__title { font-size: 14.5px; }
  .grt-step__text { font-size: 13px; }
  .grt__actions { margin-top: 22px; flex-wrap: nowrap; }
  .grt__cta { flex: none; }
  .grt__legal { flex-basis: auto; max-width: 40ch; }
}
@media (min-width: 1024px) and (hover: hover) {
  .grt-step:hover { transform: translateY(-3px); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  .grt__card { grid-template-columns: minmax(0, 1fr); max-width: 720px; }
  .grt__media { min-height: 0; padding-block: 44px; }
  .grt__seal { width: 260px; }
  .grt__content { text-align: center; align-items: center; }
  .grt__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
  .grt__steps { width: 100%; max-width: 520px; text-align: left; }
  .grt__actions { flex-direction: column; }
  .grt__legal { flex-basis: auto; text-align: left; }
}

/* ---------- Mobile ---------- */
@media (max-width: 599px) {
  .grt { padding-top: 64px; }
  .grt__card { border-radius: 26px; }
  .grt__media { padding-block: 36px; }
  .grt__seal { width: 210px; }
  .grt__content { padding: 30px 20px 32px; }
  .grt-step { gap: 14px; padding: 12px 14px 12px 12px; border-radius: 16px; }
  .grt-step__icon { width: 40px; height: 40px; border-radius: 12px; }
  .grt__actions { width: 100%; }
  .grt__cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .grt__rays, .grt__ring, .grt__seal, .grt__media.is-visible .grt__shine { animation: none; }
  .js .grt [data-reveal], .js .grt .grt__media .grt__seal { opacity: 1; transform: none; scale: 1; rotate: 0deg; transition: none; }
}

/* ==========================================================
   Perguntas frequentes
   ========================================================== */
.faq {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 40% 45% at 85% 30%, rgba(176, 141, 87, .1) 0%, rgba(176, 141, 87, 0) 70%),
    linear-gradient(180deg, var(--cream) 0%, #fbfaf6 40%, #fbfaf6 100%);
}
.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  column-gap: clamp(40px, 7vw, 112px);
  align-items: start;
  padding-block: clamp(80px, 9vw, 128px);
}

/* Lateral fixa enquanto a lista rola (desktop) */
.faq__side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}
.faq__eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.faq__title {
  margin: 16px 0 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--green-900);
}
.faq__title span { display: block; color: var(--green-700); }
.faq__sub { margin-top: 16px; max-width: 34ch; font-size: clamp(1rem, 1.2vw, 1.1rem); font-weight: 500; line-height: 1.6; color: var(--text-soft); }

.faq__card {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 380px;
  margin-top: 36px;
  padding: 18px 22px 18px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 24px 48px -34px rgba(18, 41, 31, .4);
}
.faq__card-img {
  flex: none;
  width: auto;
  height: 96px;
  max-width: none;
  padding: 6px 14px;
  background: radial-gradient(circle, rgba(176, 141, 87, .18), transparent 70%);
  filter: drop-shadow(0 10px 10px rgba(18, 41, 31, .2));
}
.faq__card-title { font-size: 16px; font-weight: 700; color: var(--green-900); }
.faq__card-text { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--text-soft); }

/* ---------- Sanfona ---------- */
.faq__list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 36px -30px rgba(18, 41, 31, .35);
  transition: border-color .35s, box-shadow .45s var(--ease-out);
}
.faq-item[open] {
  border-color: var(--gold-light);
  box-shadow: 0 30px 56px -34px rgba(18, 41, 31, .45);
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.01em;
  color: var(--green-900);
  list-style: none;
  cursor: pointer;
  border-radius: 20px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) {
  .faq-item:not([open]) .faq-item__q:hover { color: var(--green-700); }
  .faq-item:not([open]):hover .faq-item__icon { border-color: var(--gold); }
}

/* Ícone + que vira × */
.faq-item__icon {
  position: relative;
  flex: none;
  width: 36px; height: 36px;
  border: 1.5px solid var(--gold-light);
  border-radius: 50%;
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.8px;
  margin: -.9px 0 0 -6px;
  border-radius: 2px;
  background: var(--green-800);
  transition: background-color .35s, transform .5s var(--ease-out);
}
.faq-item__icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__icon { background: var(--green-800); border-color: var(--green-800); transform: rotate(45deg); }
.faq-item[open] .faq-item__icon::before,
.faq-item[open] .faq-item__icon::after { background: #fff; }

.faq-item__a { padding: 0 24px 24px; overflow: hidden; }
.faq-item__a p {
  max-width: 62ch;
  padding-top: 16px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
}
.faq-item[open] .faq-item__a p { animation: faq-in .5s var(--ease-out) both; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Entrada ao rolar */
.js .faq [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease-out) var(--d, 0ms), transform .9s var(--ease-out) var(--d, 0ms);
}
.js .faq [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Tablet / Mobile ---------- */
@media (max-width: 1023px) {
  .faq__inner { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .faq__side { position: static; text-align: center; }
  .faq__eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; }
  .faq__sub { margin-inline: auto; }
  .faq__card { margin-inline: auto; text-align: left; }
  .faq__list { width: 100%; max-width: 720px; justify-self: center; }
}
@media (max-width: 599px) {
  .faq__card { display: none; }
  .faq-item, .faq-item__q { border-radius: 16px; }
  .faq-item__q { padding: 18px 18px; font-size: 15.5px; gap: 14px; }
  .faq-item__icon { width: 32px; height: 32px; }
  .faq-item__a { padding: 0 18px 20px; }
  .faq-item__a p { font-size: 14.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .faq [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================
   Transições entre seções: sem cortes secos
   Folhas, arcos e brilhos se dissolvem no mesmo creme nas bordas de cada seção,
   então uma seção emenda na outra sem linha visível.
   ========================================================== */
.bnf::after, .how::after, .anv::after, .tst::after, .faq::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    var(--cream) 0,
    rgba(var(--cream-rgb), 0) var(--seam, 120px),
    rgba(var(--cream-rgb), 0) calc(100% - var(--seam, 120px)),
    var(--cream) 100%);
}
@media (max-width: 599px) {
  .bnf, .how, .anv, .tst, .faq { --seam: 72px; }
}

/* ==========================================================
   Rodapé
   ========================================================== */
.footer {
  color: rgba(245, 242, 234, .78);
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(176, 141, 87, .14) 0%, rgba(176, 141, 87, 0) 70%),
    var(--green-900);
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding-block: 48px 36px;
}
.footer__logo { color: #fff; }
.footer__tagline { margin-top: 10px; font-size: 14px; color: rgba(245, 242, 234, .65); }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}
.footer__nav a {
  position: relative;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(245, 242, 234, .82);
  transition: color .25s;
}
.footer__nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease-out);
}
@media (hover: hover) {
  .footer__nav a:hover { color: #fff; }
  .footer__nav a:hover::after { transform: scaleX(1); }
  .footer__top:hover { background: var(--gold-light); color: var(--green-900); transform: translateY(-3px); }
}

.footer__top {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  color: var(--gold-light);
  border: 1px solid rgba(227, 211, 176, .35);
  border-radius: 50%;
  transition: background-color .3s, color .3s, transform .35s var(--ease-out);
}
.footer__top .icon { width: 20px; height: 20px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px calc(24px + env(safe-area-inset-bottom));
  font-size: 12.5px;
  color: rgba(245, 242, 234, .55);
  border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 767px) {
  .footer__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas: "brand top" "nav nav";
    gap: 24px;
    padding-block: 40px 28px;
  }
  .footer__brand { grid-area: brand; }
  .footer__top { grid-area: top; }
  .footer__nav { grid-area: nav; justify-content: flex-start; gap: 4px 22px; }
  .footer__nav a { padding: 10px 0; }   /* área de toque maior */
  .footer__bottom { flex-direction: column; }
}

/* ==========================================================
   Hero no desktop: foto pela altura, ancorada à direita
   (frasco sempre inteiro em qualquer proporção de tela)
   ========================================================== */
@media (min-width: 1024px), (min-width: 768px) and (orientation: landscape) {
  .hero__media img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: initial;
    /* Borda esquerda da foto se dissolve no creme do fundo */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 26%);
  }
}

/* ==========================================================
   Telas muito largas (monitores grandes)
   ========================================================== */
@media (min-width: 1680px) {
  .container { max-width: 1640px; }
  .hero__content { max-width: 680px; }
  .hero__title { font-size: clamp(4.25rem, 3.6vw, 5.6rem); }
  .hero__subtitle { font-size: 1.3rem; }
  .hero__actions .btn--lg { min-height: 60px; padding: 0 34px; font-size: 17px; }
  .benefits__item { font-size: 17px; }
  .benefits__icon { width: 48px; height: 48px; }
  .eyebrow { font-size: 12px; padding: 8px 16px 8px 14px; }
  .trust__item { font-size: 13.5px; }
}

/* Telas baixas (notebooks, monitores largos): Hero mais compacta na vertical */
@media (min-width: 1024px) and (max-height: 860px) {
  .hero__inner { padding-block: 24px; }
  .hero__title { margin-top: 14px; font-size: clamp(2.4rem, 4vw, 3.9rem); }
  .hero__subtitle { margin-top: 12px; }
  .hero__actions { margin-top: 22px; }
  .benefits { margin-top: 22px; gap: 8px; }
  .benefits__icon { width: 38px; height: 38px; }
  .trust { margin-top: 22px; padding-top: 16px; }
}

/* ---------- Telas sem mouse: sem efeitos de hover que "grudam" ---------- */
@media (hover: none) {
  .btn--primary:hover, .btn--ghost:hover, .btn--light:hover { transform: none; }
  .btn:hover .btn__arrow { transform: none; }
  .btn:active { transform: scale(.98); }
  .bnf-card:active { transform: scale(.985); }
}
