/* ==========================================================
   OLYA — Preview estático (tokens conforme BRIEFING seção 3)
   ========================================================== */

:root {
  --olive-900: #2F3A26;
  --olive-800: #3C4A30;
  --olive-700: #4A5C3C;
  --olive-600: #556B48;
  --olive-400: #7A8C66;
  --olive-200: #B9C2A5;
  --olive-100: #E3E7D8;
  --gold-700: #7A5626;
  --gold-500: #A88448;
  --gold-400: #C09C60;
  --gold-200: #E0C99A;
  --linen-50: #FAF6EE;
  --linen-100: #F2EADB;
  --sand-200: #E6D9C2;
  --amber-800: #5E3417;
  --ink-900: #23261E;
  --ink-600: #555A4C;
  --danger: #9B3B2E;
  --danger-200: #F0B4A8;   /* erro sobre fundo verde escuro */
  --success: #4F6B3A;

  --gold-gradient: linear-gradient(135deg, #7A5626 0%, #C09C60 35%, #E8D3A0 50%, #A88448 70%, #7A5626 100%);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --font-label: "Cinzel", Georgia, serif;

  --fs-display: clamp(2.75rem, 5vw + 1rem, 5rem);
  --fs-h1: clamp(2.25rem, 3vw + 1rem, 3.5rem);
  --fs-h2: clamp(1.75rem, 2vw + 1rem, 2.5rem);
  --fs-h3: clamp(1.375rem, 1vw + 1rem, 1.75rem);
  --fs-body: 1.0625rem;
  --fs-small: .875rem;
  --fs-label: .75rem;
  --lh-tight: 1.1;
  --lh-body: 1.7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow: 0 10px 30px -12px rgba(47, 58, 38, .25);
  --shadow-lg: 0 24px 50px -20px rgba(47, 58, 38, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen-50);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-tight); margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }

.label {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-700);
}
.on-dark .label, .label--light { color: var(--gold-200); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--fs-h1); margin-top: .75rem; }
.section-head p { margin-top: 1rem; color: var(--ink-600); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.5; }
.on-dark .section-head p { color: var(--olive-200); }

/* divisor dourado com losango */
.divider { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 1.25rem auto 0; color: var(--gold-500); }
.divider::before, .divider::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .7; }
.divider span { width: 7px; height: 7px; transform: rotate(45deg); border: 1px solid currentColor; }

/* ---------- botões ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.9rem;
  font-family: var(--font-body); font-weight: 500; font-size: .8125rem;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.btn::after { /* brilho dourado deslizando */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(232, 211, 160, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn--primary { background: var(--olive-600); color: var(--linen-50); box-shadow: inset 0 0 0 1px transparent; }
.btn--primary:hover { background: var(--olive-800); box-shadow: inset 0 0 0 1px var(--gold-500); }
.btn--secondary { border: 1px solid var(--gold-500); color: var(--gold-700); }
.btn--secondary:hover { border-color: var(--gold-400); }
.on-dark .btn--secondary { color: var(--gold-200); }
.btn--gold { background: var(--gold-gradient); color: var(--olive-900); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-700); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--gold-200); }

.badge {
  display: inline-block; font-family: var(--font-label); font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase;
  padding: .3rem .7rem; border: 1px solid var(--gold-500); border-radius: var(--radius-pill);
  color: var(--gold-700); background: rgba(250, 246, 238, .9);
}
.chip {
  display: inline-block; font-size: .8125rem; font-weight: 400; padding: .35rem .85rem;
  border: 1px solid rgba(224, 201, 154, .55); border-radius: var(--radius-pill); color: var(--gold-200);
}
.illustrative {
  position: absolute; right: .6rem; bottom: .6rem; z-index: 2;
  font-size: .6875rem; letter-spacing: .04em; padding: .2rem .55rem; border-radius: var(--radius-sm);
  background: rgba(35, 38, 30, .55); color: var(--linen-50); backdrop-filter: blur(4px);
}

/* ---------- barra do preview ---------- */
.preview-bar {
  background: var(--ink-900); color: var(--olive-200); font-size: .75rem; letter-spacing: .06em;
  text-align: center; padding: .45rem var(--gutter);
}
.preview-bar strong { color: var(--gold-200); font-weight: 500; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--olive-800);
  border-bottom: 1px solid var(--gold-500);
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease);
}
.header.is-scrolled { background: rgba(60, 74, 48, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.logo__mark { width: 44px; height: 44px; overflow: hidden; border-radius: 50%; flex-shrink: 0; }
.logo__mark img { width: 68px; height: 68px; max-width: none; margin: -5.5px 0 0 -12px; }
.logo__word { font-family: var(--font-label); font-size: 1.5rem; letter-spacing: .22em; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav a, .nav button { position: relative; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--linen-50); font-weight: 400; padding-block: .5rem; display: inline-flex; align-items: center; gap: .3rem; }
.nav a::after, .nav > ul > li > button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-400); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav a:hover::after, .nav button:hover::after { transform: scaleX(1); }
.nav__drop { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 18px); left: -1.25rem; min-width: 220px;
  background: var(--olive-900); border: 1px solid rgba(168, 132, 72, .5); border-radius: var(--radius-md);
  padding: .75rem; list-style: none; margin: 0; display: grid !important; gap: 0 !important;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .35s var(--ease); box-shadow: var(--shadow-lg);
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: .55rem .75rem; border-radius: var(--radius-sm); }
.nav__menu a::after { display: none; }
.nav__menu a:hover { background: rgba(250, 246, 238, .06); color: var(--gold-200); }
.header__actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-200); transition: background .3s; }
.icon-btn:hover { background: rgba(250, 246, 238, .08); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: var(--radius-pill); background: var(--gold-gradient); color: var(--olive-900);
  font-size: .6875rem; font-weight: 500; display: grid; place-items: center; line-height: 1;
  transition: transform .4s var(--ease);
}
.cart-count.bump { transform: scale(1.35); }
.menu-toggle { display: grid; }
.hide-mobile { display: none; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .nav + .header__actions { margin-left: 1.5rem; }
  .menu-toggle { display: none; }
  .hide-mobile { display: grid; }
}
@media (max-width: 479px) {
  .logo__word { display: none; }
}

/* menu mobile */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--olive-900); color: var(--linen-50);
  padding: 1.5rem var(--gutter) 2rem; display: flex; flex-direction: column;
  transform: translateX(-100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.mobile-nav__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; font-family: var(--font-display); font-size: 2rem; padding: .5rem 0; border-bottom: 1px solid rgba(168, 132, 72, .2); }
.mobile-nav .sub a { font-family: var(--font-body); font-size: 1rem; padding-left: 1rem; color: var(--gold-200); letter-spacing: .08em; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 70% 80% at 78% 45%, rgba(192, 156, 96, .28), transparent 60%),
              radial-gradient(ellipse 60% 60% at 10% 100%, rgba(94, 52, 23, .35), transparent 60%),
              var(--olive-900);
  color: var(--linen-50);
}
.hero::before, .texture::before { content: ""; position: absolute; inset: 0; background-image: var(--noise); opacity: .04; pointer-events: none; z-index: -1; mix-blend-mode: overlay; }
.hero__inner { display: grid; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero__content { max-width: 560px; position: relative; z-index: 2; }
.hero h1 { font-size: var(--fs-display); font-weight: 400; margin-top: 1.25rem; }
.hero h1 em { font-style: italic; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.hero__text { margin-top: 1.5rem; color: var(--olive-200); font-size: 1.125rem; max-width: 470px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 220px 220px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: slowzoom 14s var(--ease) infinite alternate; }
.hero__visual::before { /* moldura dourada deslocada */
  content: ""; position: absolute; inset: -14px; border: 1px solid var(--gold-500);
  border-radius: 234px 234px 28px 28px; opacity: .8; pointer-events: none;
}
.hero__glow { position: absolute; width: 60%; aspect-ratio: 1; right: -10%; top: 10%; background: radial-gradient(circle, rgba(232, 211, 160, .35), transparent 65%); filter: blur(20px); z-index: -1; animation: flicker 5s ease-in-out infinite; }
.hero__tag {
  position: absolute; left: -1rem; bottom: 2.5rem; z-index: 3;
  background: rgba(47, 58, 38, .82); backdrop-filter: blur(8px); border: 1px solid rgba(168, 132, 72, .6);
  border-radius: var(--radius-md); padding: .9rem 1.1rem; display: flex; gap: .8rem; align-items: center;
}
.hero__tag strong { display: block; font-family: var(--font-label); font-weight: 500; letter-spacing: .14em; font-size: .875rem; color: var(--gold-200); }
.hero__tag span { font-family: var(--font-display); font-style: italic; font-size: 1rem; color: var(--olive-200); }
.branch { position: absolute; color: var(--gold-500); pointer-events: none; opacity: .75; }
.branch--hero-a { width: 220px; top: -20px; left: -40px; transform: rotate(160deg); opacity: .35; }
.branch--hero-b { width: 260px; bottom: -30px; right: -50px; transform: rotate(-20deg); opacity: .5; }
.scroll-hint { position: absolute; left: 50%; bottom: 1.25rem; transform: translateX(-50%); width: 1px; height: 44px; background: linear-gradient(var(--gold-400), transparent); display: none; }

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.1fr .9fr; min-height: min(calc(100svh - var(--header-h) - 30px), 860px); }
  .hero__visual { justify-self: end; }
  .scroll-hint { display: block; }
}

@keyframes slowzoom { to { transform: scale(1.1); } }
@keyframes flicker { 0%, 100% { opacity: .9; } 50% { opacity: .6; } }

/* ---------- categorias ---------- */
.cats { display: grid; gap: 1.25rem; }
.cat {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3.2; color: var(--linen-50); isolation: isolate;
}
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(35, 38, 30, .92) 0%, rgba(35, 38, 30, .55) 42%, rgba(35, 38, 30, 0) 70%); }
.cat::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(224, 201, 154, .55); border-radius: var(--radius-md); transition: inset .6s var(--ease), border-color .6s; pointer-events: none; }
@media (hover: hover) {
  .cat:hover img { transform: scale(1.06); }
  .cat:hover::after { inset: 18px; border-color: var(--gold-200); }
}
.cat__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.5rem, 3vw, 2.25rem); }
.cat__body h3 { font-family: var(--font-label); font-size: clamp(1.25rem, 1.5vw + .8rem, 1.75rem); letter-spacing: .2em; font-weight: 500; color: var(--gold-200); }
.cat__body p { margin-top: .6rem; font-size: .95rem; line-height: 1.55; color: rgba(250, 246, 238, .88); max-width: 420px; }
.cat__body .link-arrow { margin-top: 1rem; color: var(--gold-200); }

@media (max-width: 767px) {
  /* carrossel: só rola na horizontal, com snap suave e sem "puxar" a página */
  .cats {
    grid-auto-flow: column; grid-auto-columns: 84%; gap: .9rem;
    overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter);
    scrollbar-width: none;
  }
  .cats::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 5; }
  /* animação de entrada no bloco inteiro, não em cada card (evitava o sobe e desce ao arrastar) */
  .cats .cat.reveal { opacity: 1; transform: none; transition: none; }
}
.cats-dots { display: none; }
@media (max-width: 767px) {
  .cats-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
  .cats-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--sand-200); transition: width .35s var(--ease), background .35s var(--ease), border-radius .35s var(--ease); }
  .cats-dots button[aria-current="true"] { width: 22px; border-radius: 4px; background: var(--gold-500); }
}
@media (min-width: 768px) { .cats { grid-template-columns: 1fr 1fr; } }

/* ---------- séruns ---------- */
.serums { position: relative; background: var(--olive-900); color: var(--linen-50); isolation: isolate; overflow: hidden; }
.serums__frame { position: relative; border: 1px solid var(--gold-500); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem); }
.serums__frame::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(168, 132, 72, .3); border-radius: 14px; pointer-events: none; }
.serums__grid { display: grid; gap: 3rem; }
.serum { display: grid; gap: 1.75rem; }
.serum__img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; }
.serum__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.serum:hover .serum__img img { transform: scale(1.05); }
.serum--aura .serum__img img { object-position: 38% center; filter: sepia(.18) saturate(1.15) brightness(1.05); }
.serum h3 { font-family: var(--font-label); font-weight: 500; letter-spacing: .2em; font-size: var(--fs-h3); background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.serum__sub { font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--olive-200); margin-top: .25rem; }
.serum__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.serum__desc { margin-top: 1.25rem; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.45; color: var(--linen-50); }
.serum__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.price { font-weight: 500; font-size: 1.25rem; letter-spacing: .02em; }
.price small { display: block; font-size: .75rem; font-weight: 300; color: var(--olive-200); letter-spacing: .04em; }
.branch--serum-a { width: 200px; top: 30px; right: 20px; opacity: .35; }
.branch--serum-b { width: 200px; bottom: 30px; left: 20px; transform: rotate(180deg); opacity: .35; }
.serum__img { max-width: 420px; width: 100%; margin-inline: auto; }
@media (min-width: 860px) {
  .serums__grid { max-width: 980px; margin-inline: auto; gap: clamp(3rem, 6vw, 5rem); }
  .serum { grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
  .serum__img { max-width: none; }
  .serum--aura { grid-template-columns: 1fr minmax(0, 340px); }
  .serum--aura .serum__img { order: 2; }
}

/* ---------- manifesto ---------- */
.manifesto { position: relative; display: grid; gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 5vw, 5rem); }
.manifesto__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: rgba(168, 132, 72, .55); }
.manifesto__frame rect { fill: none; stroke: currentColor; stroke-width: 1; stroke-dasharray: 4 6; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -200; } }
.manifesto__art { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1; display: grid; place-items: center; }
.manifesto__art::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, var(--linen-100) 0%, var(--linen-50) 70%); }
.manifesto__art img { position: relative; z-index: 1; width: 82%; filter: drop-shadow(0 12px 22px rgba(122, 86, 38, .25)); }
.manifesto blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 1.5vw + 1.1rem, 2.35rem); line-height: 1.35; font-weight: 400; color: var(--olive-900); }
.manifesto blockquote em { color: var(--gold-700); }
.manifesto__text .btn { margin-top: 2.25rem; }
.manifesto__sign { margin-top: 1.5rem; display: flex; align-items: center; gap: .9rem; color: var(--ink-600); font-size: .9rem; }
.manifesto__sign::before { content: ""; width: 40px; height: 1px; background: var(--gold-500); }
@media (min-width: 900px) { .manifesto { grid-template-columns: .9fr 1.1fr; gap: 5rem; } }

/* ---------- produtos ---------- */
.products-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.products-head h2 { font-size: var(--fs-h1); margin-top: .5rem; }
.grid-products { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-products { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .grid-products { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative; background: var(--linen-100); border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-200); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1s var(--ease); }
.card__media img + img { opacity: 0; transform: scale(1.06); }
.card:hover .card__media img:first-child { transform: scale(1.05); }
.card:hover .card__media img + img { opacity: 1; transform: scale(1); }
.card__badges { position: absolute; top: .75rem; left: .75rem; z-index: 2; display: flex; gap: .4rem; }
.card__body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--olive-400); font-weight: 400; }
.card__name { font-family: var(--font-label); font-weight: 500; font-size: 1rem; letter-spacing: .12em; margin-top: .35rem; color: var(--olive-900); }
.card__sub { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--ink-600); }
.card__foot { margin-top: auto; padding-top: 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.card__price { font-weight: 500; font-size: 1.05rem; color: var(--ink-900); }
.card__price small { display: block; font-weight: 300; font-size: .75rem; color: var(--ink-600); }
.add-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--olive-600); color: var(--linen-50); transition: background .35s, transform .35s var(--ease);
}
.add-btn:hover { background: var(--olive-800); transform: rotate(90deg); }
.add-btn svg { width: 18px; height: 18px; }
.card__link { position: absolute; inset: 0; z-index: 1; }
.card .add-btn { position: relative; z-index: 2; }

/* ---------- pilares ---------- */
.pillars { background: var(--olive-100); padding-block: clamp(3rem, 6vw, 4.5rem); }
.pillars ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
.pillars li { text-align: center; display: grid; justify-items: center; gap: .85rem; }
.pillars svg { width: 44px; height: 44px; color: var(--gold-500); }
.pillars span { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; color: var(--olive-900); line-height: 1.2; }
@media (min-width: 768px) {
  .pillars ul { grid-template-columns: repeat(4, 1fr); }
  .pillars li + li { border-left: 1px solid var(--olive-200); }
}

/* ---------- ritual (passos) ---------- */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
.step {
  position: relative; padding: 2.5rem 2rem 2.25rem; border-radius: var(--radius-lg);
  background: var(--linen-100); border: 1px solid var(--sand-200); text-align: center;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.step:hover { border-color: var(--gold-500); transform: translateY(-4px); }
.step__num { font-family: var(--font-display); font-style: italic; font-size: 3.5rem; line-height: 1; background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-family: var(--font-label); font-weight: 500; letter-spacing: .2em; font-size: 1.05rem; margin-top: 1rem; color: var(--olive-800); }
.step p { margin-top: .8rem; color: var(--ink-600); font-size: 1rem; }
.step__todo { display: inline-block; margin-top: 1rem; font-size: .6875rem; letter-spacing: .08em; color: var(--gold-700); opacity: .8; }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; right: -1.2rem; top: 50%; width: .9rem; height: 1px; background: var(--gold-500); }
}

/* ---------- newsletter ---------- */
.newsletter { position: relative; overflow: hidden; isolation: isolate; background: var(--olive-800); color: var(--linen-50); border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 4.5rem); display: grid; gap: 2rem; align-items: center; }
.newsletter::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(168, 132, 72, .45); border-radius: 14px; pointer-events: none; }
.newsletter h2 { font-size: var(--fs-h2); font-weight: 400; margin-top: .75rem; }
.newsletter form { display: grid; gap: .9rem; position: relative; z-index: 1; }
.field-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.input {
  flex: 1 1 220px; min-height: 52px; padding: .8rem 1.3rem; border-radius: var(--radius-pill);
  border: 1px solid rgba(224, 201, 154, .5); background: rgba(250, 246, 238, .06); color: var(--linen-50);
  font: inherit; font-size: 1rem;
}
.input::placeholder { color: rgba(185, 194, 165, .8); }
.input:focus { outline: none; border-color: var(--gold-200); background: rgba(250, 246, 238, .1); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .8125rem; color: var(--olive-200); line-height: 1.5; }
.check input { accent-color: var(--gold-500); margin-top: .2rem; }
.form-msg { font-size: .9rem; color: var(--gold-200); min-height: 1.4em; }
.branch--news { width: 240px; right: -40px; top: -30px; opacity: .3; transform: rotate(200deg); }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* ---------- footer ---------- */
.footer { position: relative; isolation: isolate; background: var(--olive-900); color: var(--olive-200); margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3.5rem, 6vw, 5rem); font-size: .9375rem; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--gold-gradient); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr 1fr; }
.footer__brand { grid-column: 1 / -1; max-width: 340px; }
.footer__brand img { width: 120px; margin-bottom: 1rem; }
.footer__brand p { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--gold-200); }
.footer h4 { font-family: var(--font-label); font-size: var(--fs-label); letter-spacing: .18em; font-weight: 500; color: var(--gold-200); margin-bottom: 1.1rem; text-transform: uppercase; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer a:hover { color: var(--gold-200); }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a { width: 40px; height: 40px; border: 1px solid rgba(168, 132, 72, .5); border-radius: 50%; display: grid; place-items: center; color: var(--gold-200); transition: background .3s; }
.socials a:hover { background: rgba(168, 132, 72, .2); }
.socials svg { width: 18px; height: 18px; }
.pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay span { font-size: .6875rem; letter-spacing: .08em; padding: .3rem .6rem; border: 1px solid rgba(185, 194, 165, .3); border-radius: var(--radius-sm); }
.footer__bottom { margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid rgba(168, 132, 72, .25); display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; font-size: .8125rem; color: var(--olive-400); }
.footer__bottom em { font-family: var(--font-display); font-size: 1rem; color: var(--gold-200); }
@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- drawer carrinho ---------- */
.overlay { position: fixed; inset: 0; z-index: 95; background: rgba(35, 38, 30, .5); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: all .45s var(--ease); }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(100%, 420px);
  background: var(--linen-50); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35);
  transform: translateX(100%); visibility: hidden; transition: transform .55s var(--ease), visibility 0s .55s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .55s var(--ease); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--sand-200); }
.drawer__head h2 { font-size: 1.75rem; }
.drawer__head .icon-btn { color: var(--olive-800); }
.drawer__ship { margin: 1rem 1.5rem 0; font-size: .8125rem; color: var(--ink-600); }
.drawer__ship .bar { height: 4px; background: var(--sand-200); border-radius: 4px; margin-top: .5rem; overflow: hidden; }
.drawer__ship .bar i { display: block; height: 100%; background: var(--gold-gradient); width: 0; transition: width .6s var(--ease); }
.drawer__items { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 1rem 1.5rem; display: grid; align-content: start; gap: 1rem; }
.line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--sand-200); }
.line img { width: 76px; height: 92px; object-fit: cover; border-radius: var(--radius-sm); }
.line__name { font-family: var(--font-label); font-size: .8125rem; letter-spacing: .1em; font-weight: 500; }
.line__sub { font-family: var(--font-display); font-style: italic; color: var(--ink-600); font-size: 1rem; line-height: 1.2; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sand-200); border-radius: var(--radius-pill); margin-top: .5rem; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--olive-700); }
.qty span { min-width: 22px; text-align: center; font-size: .875rem; font-weight: 400; }
.line__right { text-align: right; display: grid; gap: .4rem; justify-items: end; }
.line__price { font-weight: 500; font-size: .95rem; }
.line__rm { font-size: .75rem; color: var(--ink-600); text-decoration: underline; text-underline-offset: 3px; }
.drawer__empty { text-align: center; padding: 3rem 1rem; color: var(--ink-600); }
.drawer__empty img { width: 90px; margin: 0 auto 1rem; opacity: .85; }
.drawer__empty p { font-family: var(--font-display); font-style: italic; font-size: 1.3rem; }
.drawer__foot { padding: 1.25rem 1.5rem 1.5rem; border-top: 1px solid var(--sand-200); background: var(--linen-100); display: grid; gap: .9rem; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-size: 1.25rem; font-weight: 500; }
.drawer__note { font-size: .75rem; color: var(--ink-600); text-align: center; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 120; transform: translate(-50%, 150%);
  background: var(--olive-900); color: var(--linen-50); border: 1px solid var(--gold-500);
  padding: .8rem 1.3rem; border-radius: var(--radius-pill); font-size: .9rem; box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease); display: flex; gap: .6rem; align-items: center; white-space: nowrap;
}
.toast svg { width: 18px; height: 18px; color: var(--gold-200); }
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- página de produto ---------- */
.breadcrumb { font-size: .8125rem; color: var(--ink-600); padding-block: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-700); }
.breadcrumb span[aria-current] { color: var(--olive-800); }
.pdp { display: grid; gap: 2.5rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.gallery { display: grid; gap: .8rem; width: 100%; max-width: 560px; margin-inline: auto; }
.gallery__main { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--sand-200); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.gallery__thumbs button { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid transparent; opacity: .65; transition: all .3s; }
.gallery__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border-color: var(--gold-500); }

.pdp__info h1 { font-family: var(--font-label); font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); letter-spacing: .16em; font-weight: 500; color: var(--olive-900); margin-top: .9rem; }
.pdp__sub { font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--gold-700); margin-top: .25rem; }
.pdp__lead { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.45; margin-top: 1.25rem; color: var(--ink-900); }
.pdp__price { margin-top: 1.75rem; display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.pdp__price strong { font-size: 2rem; font-weight: 400; }
.pdp__price span { font-size: .875rem; color: var(--ink-600); }
.pdp__todo { font-size: .75rem; color: var(--gold-700); margin-top: .35rem; }
.pdp__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.pdp__chips .chip { color: var(--gold-700); border-color: var(--gold-400); background: var(--linen-100); }
.opt-label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--ink-600); margin-top: 1.75rem; display: block; }
.variants { display: flex; gap: .6rem; margin-top: .6rem; flex-wrap: wrap; }
.variants button { padding: .55rem 1.2rem; border-radius: var(--radius-pill); border: 1px solid var(--sand-200); font-size: .9rem; transition: all .3s; }
.variants button[aria-pressed="true"] { border-color: var(--olive-600); background: var(--olive-600); color: var(--linen-50); }
.buy { display: flex; gap: .75rem; margin-top: 1.75rem; flex-wrap: wrap; }
.buy .qty { margin-top: 0; min-height: 50px; }
.buy .qty button { width: 44px; height: 48px; }
.buy .btn { flex: 1 1 220px; }
.ship { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border: 1px solid var(--sand-200); border-radius: var(--radius-md); background: var(--linen-100); }
.ship label { font-size: .8125rem; font-weight: 500; letter-spacing: .06em; display: block; margin-bottom: .6rem; }
.ship__row { display: flex; gap: .5rem; }
.ship input { flex: 1; min-width: 0; min-height: 44px; padding: .6rem 1rem; border: 1px solid var(--sand-200); border-radius: var(--radius-pill); font: inherit; background: var(--linen-50); }
.ship input:focus { outline: none; border-color: var(--gold-500); }
.ship .btn { min-height: 44px; padding: .5rem 1.2rem; }
.ship__out { font-size: .875rem; color: var(--ink-600); margin-top: .6rem; }
.perks { display: grid; gap: .6rem; margin-top: 1.5rem; font-size: .9rem; color: var(--ink-600); }
.perks div { display: flex; gap: .7rem; align-items: center; }
.perks svg { width: 20px; height: 20px; color: var(--gold-500); flex-shrink: 0; }

.acc { margin-top: 2rem; border-top: 1px solid var(--sand-200); }
.acc details { border-bottom: 1px solid var(--sand-200); }
.acc summary { list-style: none; cursor: pointer; padding: 1.15rem 0; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-label); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--olive-800); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-family: var(--font-body); font-size: 1.4rem; font-weight: 300; color: var(--gold-500); transition: transform .35s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc__body { padding-bottom: 1.25rem; color: var(--ink-600); font-size: 1rem; }
.acc__body ul { padding-left: 1.1rem; margin: .5rem 0 0; }
.acc__body p + p { margin-top: .75rem; }
.notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: .5rem; text-align: center; }
.notes div { padding: .9rem .5rem; border: 1px solid var(--sand-200); border-radius: var(--radius-md); background: var(--linen-100); }
.notes small { display: block; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-400); }
.notes strong { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.1rem; color: var(--olive-900); }
@media (min-width: 960px) {
  .pdp { grid-template-columns: minmax(0, 520px) 1fr; gap: 4.5rem; align-items: start; }
  .gallery { grid-template-columns: 72px 1fr; max-width: none; margin: 0; }
  .gallery__thumbs { grid-template-columns: 1fr; order: -1; align-content: start; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

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