/* ============================================================
   TERRA VIVA — sistema visual
   Barro quente × gelo glacial · feito à mão · sustentável
   ============================================================ */

:root {
  /* núcleo da marca (logo) */
  --sage:        #90A07C;
  --sage-deep:   #3D5640;
  --terracotta:  #B95C38;
  --cream:       #EFE3D2;

  /* suporte (argila / hero) */
  --clay-brown:  #7A5F4B;
  --clay-light:  #A89180;
  --near-black:  #2B2521;

  /* atmosfera (gelo — uso pontual) */
  --petrol:      #2F4A52;
  --ice:         #9DBCC0;

  /* derivados */
  --cream-deep:  #E5D6C0;
  --cream-soft:  #F4EBDD;
  --sage-soft:   #A7B493;
  --terracotta-deep: #9E4A2B;

  /* mapeamento semântico (sobrescrito por tweaks) */
  --accent:      var(--terracotta);
  --accent-deep: var(--terracotta-deep);

  /* tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Work Sans", system-ui, sans-serif;
  --font-hand:    "Caveat", cursive;

  /* textura de argila — intensidade controlada por tweak */
  --grain: 0.12;
  --mold:  1;            /* profundidade do relevo modelado */

  --topbar-h: 78px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- ruído de argila reutilizável (feTurbulence monocromático) ---- */
:root {
  --clay-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--near-black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

/* grão global suave sobre o creme — sensação de papel/barro */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: var(--clay-noise);
  background-size: 200px;
  opacity: calc(var(--grain) * 0.5);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 9000;
}

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  color: var(--sage-deep); margin: 0; letter-spacing: -0.01em; font-optical-sizing: auto; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.hand { font-family: var(--font-hand); color: var(--accent); font-weight: 600;
  font-size: 1.18em; line-height: 0.8; }

.eyebrow { font-family: var(--font-body); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--clay-brown); }

/* ============================================================
   TEXTURA DE ARGILA — utilitário aplicado aos componentes
   relevo modelado (sombras em camadas) + grão por cima
   ============================================================ */
.clay {
  position: relative;
  background: var(--cream-soft);
  border-radius: 22px 20px 24px 18px;        /* irregular = modelado à mão */
  box-shadow:
    calc(2px * var(--mold)) calc(3px * var(--mold)) 0 rgba(122,95,75,.06),
    0 calc(10px * var(--mold)) calc(26px * var(--mold)) rgba(122,95,75,.14),
    inset 1px 2px 2px rgba(255,255,255,.55),
    inset -2px -3px 5px rgba(122,95,75,.16);
  isolation: isolate;
}
.clay::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background-image: var(--clay-noise);
  background-size: 150px;
  opacity: var(--grain);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}
.clay > * { position: relative; z-index: 2; }

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px;
  border: none; cursor: pointer;
  border-radius: 16px 14px 17px 13px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  position: relative; isolation: isolate;
}
.btn::after {
  content:""; position:absolute; inset:0; border-radius:inherit;
  background-image: var(--clay-noise); background-size:120px;
  opacity: calc(var(--grain) * 1.1); mix-blend-mode: multiply; z-index:1; pointer-events:none;
}
.btn > * { position: relative; z-index: 2; }

.btn-primary {
  background: linear-gradient(155deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--cream-soft);
  box-shadow:
    0 calc(8px*var(--mold)) calc(18px*var(--mold)) rgba(158,74,43,.32),
    inset 1px 2px 2px rgba(255,255,255,.28),
    inset -2px -3px 6px rgba(120,50,28,.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow:
    0 calc(12px*var(--mold)) calc(24px*var(--mold)) rgba(158,74,43,.4),
    inset 1px 2px 2px rgba(255,255,255,.3),
    inset -2px -3px 6px rgba(120,50,28,.45); }
.btn-primary:active { transform: translateY(1px); box-shadow:
    0 2px 6px rgba(158,74,43,.3),
    inset 2px 3px 7px rgba(120,50,28,.55),
    inset -1px -1px 2px rgba(255,255,255,.2); }

.btn-ghost {
  background: transparent; color: var(--sage-deep);
  box-shadow: inset 0 0 0 2px rgba(61,86,64,.35);
}
.btn-ghost:hover { background: rgba(61,86,64,.07); transform: translateY(-2px); }

.btn-soft {
  background: var(--cream-soft); color: var(--sage-deep);
  box-shadow:
    0 calc(6px*var(--mold)) calc(14px*var(--mold)) rgba(122,95,75,.16),
    inset 1px 2px 2px rgba(255,255,255,.6),
    inset -2px -3px 5px rgba(122,95,75,.16);
}
.btn-soft:hover { transform: translateY(-2px); }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; height: var(--topbar-h);
  z-index: 100;
  display: flex; align-items: center; gap: 24px;
  padding: 0 clamp(20px, 4vw, 60px);
  background: linear-gradient(180deg, var(--cream-soft), var(--cream-deep));
  box-shadow: 0 3px 26px rgba(122,95,75,.14), inset 0 -2px 5px rgba(122,95,75,.07);
  isolation: isolate;
}
.topbar::after {
  content:""; position:absolute; inset:0;
  background-image: var(--clay-noise); background-size:200px;
  opacity: calc(var(--grain)*0.85); mix-blend-mode: multiply; pointer-events:none; z-index:0;
}
.topbar > * { position: relative; z-index: 1; }

.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 46px; width: auto; max-width: none; flex: none; filter: drop-shadow(0 4px 10px rgba(122,95,75,.2)); }

.nav { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav a {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 16px; border-radius: 12px 10px 13px 9px;
  color: var(--clay-brown); font-weight: 500; font-size: 15px;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.nav a .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay-light);
  transition: background .2s, transform .25s var(--ease); flex: none; }
.nav a:hover { background: rgba(144,160,124,.16); color: var(--sage-deep); }
.nav a:hover .dot { background: var(--sage); }
.nav a.active { color: var(--sage-deep); font-weight: 600; }
.nav a.active .dot { background: var(--accent); transform: scale(1.35); }

.cart-btn { padding: 11px 20px; }
.cart-btn .count {
  background: var(--cream-soft); color: var(--accent-deep);
  font-size: 12px; font-weight: 700; min-width: 21px; height: 21px;
  border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 6px;
}

.menu-toggle { display: none; }

/* ============================================================
   LAYOUT PRINCIPAL
   ============================================================ */
.main { padding-top: var(--topbar-h); }
.section { padding: clamp(70px, 9vw, 130px) clamp(24px, 6vw, 92px); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head .eyebrow { display: inline-flex; align-items:center; gap:10px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 58px); }
.section-head p { margin-top: 18px; color: var(--clay-brown); font-size: 19px; max-width: 56ch; }

.bg-sage { background:
    radial-gradient(120% 120% at 80% -10%, var(--sage-soft) 0%, var(--sage) 55%, #7d8e6a 100%); }
.bg-sage h2, .bg-sage h3 { color: var(--cream-soft); }
.bg-cream-deep { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }

/* divisor botânico */
.leaf-divider { display: flex; align-items: center; gap: 16px; color: var(--sage); }
.leaf-divider .line { height: 1px; flex: 1; background: currentColor; opacity: .4; }
.leaf-divider svg { flex: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero-parallax { position: absolute; inset: 0; will-change: transform; }
.hero-parallax img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.hero {
  position: relative; min-height: calc(100vh - var(--topbar-h));
  display: flex; align-items: center;
  overflow: hidden;
  padding: clamp(40px,7vw,90px) clamp(24px,6vw,92px);
}
.hero-media { position: absolute; inset: -6% -2%; z-index: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* véu creme à esquerda (foto clara) + leve fade no rodapé p/ transição */
.hero-veil { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(244,235,221,.97) 0%, rgba(244,235,221,.86) 26%, rgba(244,235,221,.45) 50%, rgba(244,235,221,.05) 72%, rgba(244,235,221,0) 100%),
    linear-gradient(0deg, rgba(229,214,192,.55) 0%, rgba(229,214,192,0) 26%); }
/* brilho quente pulsante sobre o coração */
.hero-glow { position: absolute; z-index: 1; right: 16%; top: 50%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  transform: translate(20%,-50%);
  background: radial-gradient(circle, rgba(185,92,56,.42) 0%, rgba(185,92,56,.12) 38%, transparent 66%);
  mix-blend-mode: screen; pointer-events: none; filter: blur(8px); }
.hero-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: var(--clay-noise); background-size: 240px;
  opacity: calc(var(--grain) * 1.5); mix-blend-mode: overlay; }

.hero-content { position: relative; z-index: 3; max-width: 600px; color: var(--clay-brown); }
.hero .eyebrow { color: var(--terracotta); }
.hero h1 { color: var(--sage-deep); font-size: clamp(46px, 7vw, 96px); line-height: 0.98;
  text-shadow: 0 1px 22px rgba(244,235,221,.7); margin: 20px 0; }
.hero h1 .hand { font-size: 1.05em; display: inline-block; transform: rotate(-4deg); }
.hero-sub { font-size: clamp(18px,2vw,22px); color: var(--clay-brown); max-width: 44ch;
  text-shadow: 0 1px 14px rgba(244,235,221,.65); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.hero .btn-ghost { color: var(--sage-deep); box-shadow: inset 0 0 0 2px rgba(61,86,64,.4); }
.hero .btn-ghost:hover { background: rgba(61,86,64,.08); }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: var(--clay-brown); display: flex; flex-direction: column; align-items: center;
  gap: 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid currentColor; border-radius: 12px;
  position: relative; }
.scroll-cue .mouse::after { content:""; position:absolute; top:7px; left:50%; width:3px; height:7px;
  border-radius:2px; background: currentColor; transform: translateX(-50%);
  animation: scrollwheel 1.8s var(--ease) infinite; }
@keyframes scrollwheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 80%{opacity:0;transform:translate(-50%,10px)} }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { text-align: center; }
.manifesto-inner { max-width: 820px; margin: 0 auto; }
.manifesto p.lead { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.3; color: var(--cream-soft); font-weight: 400; }
.manifesto p.lead em { font-family: var(--font-hand); font-style: normal; color: var(--cream);
  font-size: 1.2em; }
.manifesto .sig { margin-top: 30px; font-family: var(--font-hand); font-size: 32px;
  color: var(--cream); }

/* ============================================================
   PRODUTOS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product { padding: 16px 16px 20px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease); }
.product:hover { transform: translateY(-6px); }
.product .ph { aspect-ratio: 4/5; border-radius: 16px 14px 17px 13px; overflow: hidden;
  position: relative; }
.product .ph .tag { position: absolute; top: 12px; left: 12px; z-index: 3;
  background: var(--accent); color: var(--cream-soft); font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 9px 7px 10px 6px; }
.prod-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product:hover .prod-img { transform: scale(1.04); }
.product .body { padding: 16px 6px 4px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product h3 { font-size: 21px; color: var(--sage-deep); }
.product .desc { font-size: 14px; color: var(--clay-brown); }
.product .row { display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; }
.product .price { font-family: var(--font-display); font-weight: 600; font-size: 22px;
  color: var(--accent-deep); }
.product .add { width: 44px; height: 44px; border-radius: 13px 11px 14px 10px; flex: none;
  padding: 0; justify-content: center; }
.product .add svg { width: 20px; height: 20px; }

/* placeholder texturizado de imagem */
.imgph { width:100%; height:100%; position: relative; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, var(--ph-a, #cbb89f) 0 14px, var(--ph-b, #c0ab90) 14px 28px);
  display: grid; place-items: center; }
.imgph::after { content:""; position:absolute; inset:0; background-image: var(--clay-noise);
  background-size:160px; opacity:.16; mix-blend-mode:multiply; }
.imgph span { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11.5px;
  letter-spacing: .06em; color: rgba(43,37,33,.55); background: rgba(244,235,221,.7);
  padding: 5px 10px; border-radius: 7px; position: relative; z-index: 2; }

/* ============================================================
   PROCESSO
   ============================================================ */
.process-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.process-photo { aspect-ratio: 1/1; border-radius: 28px 24px 30px 22px; overflow: hidden; }
.process-photo img { width:100%; height:100%; object-fit: cover; }
.steps { display: flex; flex-direction: column; gap: 6px; }
.step { display: flex; gap: 20px; padding: 20px; border-radius: 18px;
  transition: background .25s; }
.step:hover { background: rgba(239,227,210,.6); }
.step .num { font-family: var(--font-display); font-size: 30px; color: var(--accent);
  flex: none; width: 56px; height: 56px; border-radius: 16px 14px 17px 13px;
  display: grid; place-items: center; }
.step h3 { font-size: 22px; margin-bottom: 5px; }
.step p { font-size: 15px; color: var(--clay-brown); }

/* ============================================================
   NEWSLETTER + INSTAGRAM
   ============================================================ */
.news-card { padding: clamp(36px,5vw,64px); text-align: center; }
.news-card h2 { color: var(--sage-deep); font-size: clamp(30px,4vw,46px); }
.news-card p { color: var(--clay-brown); margin: 16px auto 32px; max-width: 48ch; font-size: 18px; }
.news-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.news-form input { flex: 1; min-width: 220px; font-family: var(--font-body); font-size: 16px;
  padding: 15px 20px; border: none; border-radius: 15px 13px 16px 12px; color: var(--near-black);
  background: var(--cream); box-shadow: inset 2px 3px 6px rgba(122,95,75,.2),
    inset -1px -1px 2px rgba(255,255,255,.5); }
.news-form input:focus { outline: 2px solid var(--sage); outline-offset: 1px; }
.news-msg { margin-top: 16px; font-family: var(--font-hand); font-size: 22px; color: var(--sage-deep);
  min-height: 26px; }

.insta-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 54px; }
.insta-grid .ph { aspect-ratio: 1/1; border-radius: 16px 14px 17px 13px; overflow: hidden;
  cursor: pointer; transition: transform .3s var(--ease); }
.insta-grid .ph:hover { transform: scale(1.03) rotate(-1deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: linear-gradient(180deg, var(--sage-deep), #2f4231);
  color: var(--cream); padding: 70px clamp(24px,6vw,92px) 36px; position: relative; isolation:isolate; }
.footer::after { content:""; position:absolute; inset:0; background-image: var(--clay-noise);
  background-size:220px; opacity: calc(var(--grain)*0.8); mix-blend-mode:overlay; pointer-events:none; z-index:0;}
.footer > * { position: relative; z-index:1; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; max-width: var(--maxw);
  margin: 0 auto; padding-bottom: 44px; border-bottom: 1px solid rgba(239,227,210,.18); }
.footer h4 { color: var(--cream-soft); font-family: var(--font-body); font-size: 13px;
  letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.footer .brand-line { font-family: var(--font-hand); font-size: 38px; color: var(--cream-soft);
  margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: rgba(239,227,210,.82); font-size: 15px; transition: color .2s, padding .2s; }
.footer ul a:hover { color: var(--cream-soft); padding-left: 5px; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding-top: 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(239,227,210,.6); }

/* ============================================================
   CARRINHO (drawer)
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(43,37,33,.42);
  backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 201;
  background: linear-gradient(180deg, var(--cream-soft), var(--cream-deep));
  box-shadow: -10px 0 40px rgba(43,37,33,.3); transform: translateX(102%);
  transition: transform .42s var(--ease); display: flex; flex-direction: column; isolation:isolate; }
.cart-drawer::after { content:""; position:absolute; inset:0; background-image:var(--clay-noise);
  background-size:200px; opacity:calc(var(--grain)*0.8); mix-blend-mode:multiply; pointer-events:none; z-index:0;}
.cart-drawer > * { position: relative; z-index: 1; }
.cart-drawer.open { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between;
  padding: 26px 26px 18px; }
.cart-header h3 { font-size: 26px; }
.cart-close { background: none; border: none; cursor: pointer; width: 40px; height: 40px;
  border-radius: 12px; color: var(--clay-brown); display: grid; place-items: center;
  transition: background .2s; }
.cart-close:hover { background: rgba(122,95,75,.12); }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-empty { text-align: center; color: var(--clay-brown); padding: 60px 20px;
  font-family: var(--font-hand); font-size: 24px; }
.cart-item { display: flex; gap: 14px; padding: 12px; align-items: center; }
.cart-item .thumb { width: 64px; height: 72px; border-radius: 12px; overflow: hidden; flex: none; }
.cart-item .ci-body { flex: 1; min-width: 0; }
.cart-item .ci-body h4 { font-family: var(--font-display); font-size: 16px; color: var(--sage-deep);
  margin-bottom: 3px; }
.cart-item .ci-price { font-size: 14px; color: var(--accent-deep); font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 2px; margin-top: 8px;
  background: var(--cream); border-radius: 10px; padding: 3px; box-shadow: inset 1px 1px 3px rgba(122,95,75,.18); }
.qty button { width: 26px; height: 26px; border: none; background: transparent; cursor: pointer;
  font-size: 18px; color: var(--clay-brown); border-radius: 8px; line-height: 1; }
.qty button:hover { background: rgba(144,160,124,.25); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.ci-remove { background: none; border: none; cursor: pointer; color: var(--clay-light);
  font-size: 12px; margin-top: 6px; padding: 0; text-decoration: underline; }
.ci-remove:hover { color: var(--terracotta); }
.cart-foot { padding: 20px 26px 26px; border-top: 1px solid rgba(122,95,75,.2); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total .t-label { color: var(--clay-brown); font-size: 14px; }
.cart-total .t-val { font-family: var(--font-display); font-size: 30px; color: var(--sage-deep); }
.cart-foot .btn-primary { width: 100%; justify-content: center; }
.cart-note { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--clay-brown); text-align: center; }

/* toast */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  z-index: 250; background: var(--sage-deep); color: var(--cream-soft);
  padding: 13px 22px; border-radius: 14px; font-size: 14px; font-weight: 500;
  box-shadow: 0 12px 30px rgba(43,37,33,.3); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease); display:flex; align-items:center; gap:9px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   REVELAÇÃO NO SCROLL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }
body.no-anim .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .insta-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 980px) {
  :root { --topbar-h: 64px; }
  .topbar { gap: 12px; }
  .brand img { height: 38px; }
  .menu-toggle { display: inline-flex; order: 3; width: 46px; height: 46px; border: none;
    cursor: pointer; align-items: center; justify-content: center;
    background: var(--cream); color: var(--sage-deep); border-radius: 13px;
    box-shadow: inset 1px 2px 3px rgba(255,255,255,.5), inset -1px -2px 4px rgba(122,95,75,.18); }
  .cart-btn { margin-left: auto; }
  .nav { position: fixed; top: var(--topbar-h); left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px;
    background: var(--cream-soft); box-shadow: 0 14px 28px rgba(122,95,75,.2);
    transform: translateY(-14px); opacity: 0; visibility: hidden; transition: .26s var(--ease); z-index: 120; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .menu-backdrop { position: fixed; inset: 0; background: rgba(43,37,33,.4); z-index: 99;
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .menu-backdrop.open { opacity: 1; visibility: visible; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .insta-grid { grid-template-columns: repeat(2,1fr); }
  .hero-content { color: var(--cream-soft); }
  .section { padding-left: 22px; padding-right: 22px; }
}
