/* ============================================================
   LUMIÈRE ATELIER — design system
   creme quente + violeta + lavanda · serif Fraunces + sans Figtree
   ============================================================ */

:root {
  --cream:      #FBF7F2;
  --cream-2:    #F3ECE4;
  --greige:     #E8E1E3;
  --card:       #FFFFFF;

  --ink:        #241E1C;
  --ink-2:      #635850;
  --ink-3:      #9C8F86;

  --violet:     #4A1D8C;
  --violet-2:   #6D47A8;
  --lavender:   #B9A3D6;
  --lavender-b: #EFE9F7;
  --brown:      #6E5A4B;
  --gold:       #C7A46A;

  --line:       #E7DED4;
  --line-2:     rgba(36, 30, 28, .10);

  --shadow-s:   0 10px 26px -14px rgba(60, 45, 40, .30);
  --shadow:     0 26px 66px -30px rgba(60, 45, 40, .42);
  --shadow-l:   0 40px 90px -34px rgba(45, 32, 28, .48);

  --display:    "Fraunces", Georgia, serif;
  --sans:       "Figtree", system-ui, -apple-system, sans-serif;

  --ease:       cubic-bezier(.22, 1, .36, 1);
  --r:          20px;
  --r-s:        12px;
  --wrap:       1180px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink-2);
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(74, 29, 140, .16); }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.018em;
  font-variation-settings: "SOFT" 24, "WONK" 1;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.05rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.4rem; }
p  { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 780px; }

/* ---------- textura de papel ---------- */
.grain {
  position: fixed; inset: 0; z-index: 3; pointer-events: none; opacity: .5;
  background-image: 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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- barra de progresso ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; z-index: 120; width: 0;
  background: linear-gradient(90deg, var(--lavender), var(--violet));
}

/* ---------- tipografia auxiliar ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--violet-2);
}
.eyebrow::before { content: "✦"; font-size: .62rem; color: var(--lavender); }
.eyebrow--light { color: rgba(255,255,255,.82); }
.eyebrow--light::before { color: var(--lavender); }

.lead { font-size: 1.06rem; color: var(--ink-2); }
.tiny { font-size: .8rem; color: var(--ink-3); }
.accent { color: var(--violet); font-style: italic; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .92rem 1.6rem; border-radius: 100px;
  font-size: .88rem; font-weight: 600; letter-spacing: .005em;
  transition: transform .45s var(--ease), background .3s, color .3s, box-shadow .45s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--violet); color: #fff; box-shadow: 0 12px 30px -14px rgba(74,29,140,.7); }
.btn--primary:hover { background: #3a1470; transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(74,29,140,.75); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: var(--violet); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-s); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.btn--glass:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: .68rem 1.15rem; font-size: .8rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; font-size: .9rem; color: var(--violet);
}
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* ============================================================
   HEADER — pílula flutuante
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
}
.header.menu-open { z-index: 138;
  padding: 16px 0; transition: padding .5s var(--ease);
}
.header__inner {
  display: flex; align-items: center; gap: 18px;
  padding: 10px 12px 10px 22px; border-radius: 100px;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  border: 1px solid transparent;
}
.header.solid { padding: 10px 0; }
.header.solid .header__inner {
  background: rgba(251, 247, 242, .82);
  backdrop-filter: blur(18px) saturate(1.3);
  border-color: var(--line);
  box-shadow: var(--shadow-s);
}

.logo { display: flex; flex-direction: column; line-height: 1.05; flex-shrink: 0; }
.logo b {
  font-family: var(--display); font-weight: 400; font-size: 1.42rem;
  letter-spacing: .1em; color: var(--ink); transition: color .45s;
}
.logo i {
  font-style: normal; font-size: .52rem; font-weight: 600; letter-spacing: .34em;
  text-transform: uppercase; color: var(--ink-3); padding-left: .25em; transition: color .45s;
}

.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav a {
  padding: .5rem .9rem; border-radius: 100px; font-size: .88rem; font-weight: 500;
  color: var(--ink-2); transition: color .3s, background .3s;
}
.nav a:hover, .nav a[aria-current] { color: var(--violet); background: var(--lavender-b); }

.tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 100px;
  color: var(--ink); position: relative; transition: background .3s, color .45s;
}
.icon-btn:hover { background: var(--lavender-b); color: var(--violet); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--violet); color: #fff; border-radius: 100px; font-size: .62rem; font-weight: 700;
  display: grid; place-items: center; transform: scale(0);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.on { transform: scale(1); }
.burger { display: none; }

/* header sobre o hero escuro */
.header.over .logo b, .header.over .logo i, .header.over .nav a, .header.over .icon-btn { color: rgba(255,255,255,.9); }
.header.over .nav a:hover { color: #fff; background: rgba(255,255,255,.14); }
.header.over .icon-btn:hover { background: rgba(255,255,255,.14); color: #fff; }
.header.over .btn--ink { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.header.over .btn--ink:hover { background: #fff; color: var(--ink); }

@media (max-width: 980px) {
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px;
    background: var(--cream); padding: 6.5rem 1.6rem 2rem; transform: translateX(102%);
    transition: transform .6s var(--ease); box-shadow: var(--shadow-l); z-index: 136;
  }
  .nav.open { transform: none; }
  .nav a { width: 100%; padding: .95rem 1rem; font-size: 1.05rem; color: var(--ink); }
  .header.over .nav a { color: var(--ink); }
  .burger { display: grid; }
  .tools { margin-left: auto; }
  /* backdrop-filter cria bloco de contenção e quebra o position:fixed do menu */
  .header__inner, .header.solid .header__inner {
    justify-content: space-between; padding: 8px 8px 8px 16px;
    background: rgba(251,247,242,.96); backdrop-filter: none; border-color: var(--line);
  }
  .header.over .header__inner { background: transparent; border-color: transparent; backdrop-filter: none; }
  .hide-sm { display: none !important; }
}

/* ============================================================
   HERO — editorial
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--cream); padding: clamp(7.5rem, 15vh, 10.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; top: 8%; right: -14%; width: 55vw; height: 70vh; z-index: 0;
  background: radial-gradient(closest-side, rgba(185,163,214,.30), rgba(185,163,214,.10) 55%, transparent 72%);
  filter: blur(40px); animation: glow 16s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate3d(-4%, 4%, 0) scale(1.12); opacity: .75; } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin: 1.1rem 0 0; max-width: 13ch; }
.hero h1 em { font-style: italic; color: var(--violet); }
.hero__lead { max-width: 44ch; margin: 1.5rem 0 2.1rem; font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero__meta { display: flex; gap: 2.2rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.hero__meta div b { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); font-weight: 400; }
.hero__meta div span { font-size: .76rem; color: var(--ink-3); }

.hero__media { position: relative; }
.hero__media .frame {
  position: relative; border-radius: 200px 200px var(--r) var(--r); overflow: hidden;
  box-shadow: var(--shadow-l); aspect-ratio: 4/5;
}
.hero__media .frame img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s ease-in-out infinite alternate; will-change: transform;
}
@keyframes kenburns { from { transform: scale(1.02) } to { transform: scale(1.1) translate3d(-1%, -1%, 0) } }
.hero__card {
  position: absolute; left: -56px; bottom: 46px; background: rgba(251,247,242,.96);
  backdrop-filter: blur(12px); border-radius: var(--r); padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,.7);
}
.hero__card b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; color: var(--ink); }
.hero__card span { font-size: .72rem; color: var(--ink-3); }
.hero__seal {
  position: absolute; top: -18px; right: -14px; width: 116px; height: 116px; border-radius: 50%;
  background: var(--violet); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: .84rem; line-height: 1.25; box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 420px; margin-inline: auto; width: 100%; }
  .hero h1 { max-width: none; }
  .hero__card { left: -10px; bottom: 22px; }
  .hero__seal { width: 92px; height: 92px; font-size: .72rem; right: -4px; }
  .hero__meta { gap: 1.4rem; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: rgba(251,247,242,.78); padding: .95rem 0; overflow: hidden; }
.marquee__track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: slide 38s linear infinite; }
.marquee__track em {
  font-style: normal; display: inline-flex; align-items: center; gap: 3rem;
  font-size: .76rem; letter-spacing: .2em; text-transform: uppercase;
}
.marquee__track em::after { content: "✦"; color: var(--lavender); font-size: .6rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   SEÇÕES
   ============================================================ */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--cream2 { background: var(--cream-2); }
.section--greige { background: var(--greige); }
.section--ink { background: var(--ink); color: rgba(251,247,242,.7); }
.section--ink h2, .section--ink h3, .section--ink h4 { color: var(--cream); }

.head { max-width: 660px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { margin: 1rem 0 0; }
.head p { margin-top: 1.1rem; }

/* ---------- cards de produto ---------- */
.grid { display: grid; gap: clamp(1.1rem, 2.2vw, 1.8rem); grid-template-columns: repeat(auto-fill, minmax(238px, 1fr)); }

.card { position: relative; display: flex; flex-direction: column; }
.card__media {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--greige);
  aspect-ratio: 4/5; box-shadow: var(--shadow-s); transition: box-shadow .6s var(--ease), transform .6s var(--ease);
}
.card:hover .card__media { box-shadow: var(--shadow); transform: translateY(-6px); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--violet); border-radius: 100px;
  font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; backdrop-filter: blur(6px);
}
.card__quick { position: absolute; left: .85rem; right: .85rem; bottom: .85rem; z-index: 2; opacity: 0; transform: translateY(10px); transition: .45s var(--ease); }
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: none; }
.card__body { padding: 1rem .2rem 0; }
.card__col { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card__name { font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.2; margin-top: .3rem; }
.card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__price { margin-top: .45rem; font-size: .98rem; font-weight: 600; color: var(--ink); display: flex; gap: .5rem; align-items: baseline; }
.card__price s { color: var(--ink-3); font-weight: 400; font-size: .84rem; }
.section--ink .card__name, .section--ink .card__price { color: var(--cream); }
@media (max-width: 560px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .card__name { font-size: 1.02rem; }
  .card__quick { display: none; }
}

/* ---------- rail de coleções ---------- */
.rail { display: flex; gap: 1.1rem; overflow-x: auto; padding-bottom: 1rem; scroll-snap-type: x mandatory; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.tile {
  position: relative; flex: 0 0 min(78vw, 330px); aspect-ratio: 3/4; border-radius: var(--r);
  overflow: hidden; scroll-snap-align: start; display: flex; align-items: flex-end;
  padding: 1.5rem; color: #fff; box-shadow: var(--shadow-s);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tile:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(28,20,24,.86) 100%); }
.tile__txt { position: relative; z-index: 2; }
.tile__txt h3 { color: #fff; font-size: 1.55rem; }
.tile__txt p { font-size: .85rem; color: rgba(255,255,255,.78); margin-top: .3rem; }

/* ---------- editorial (imagem + texto) ---------- */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.editorial__media { position: relative; }
.editorial__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); will-change: transform; }
.editorial__media--tall img { aspect-ratio: 3/4; }
.stamp {
  position: absolute; right: -16px; bottom: -16px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--cream); color: var(--violet); display: grid; place-items: center; text-align: center;
  font-family: var(--display); font-size: .92rem; line-height: 1.2; box-shadow: var(--shadow); padding: 1rem;
  border: 1px solid var(--line); z-index: 2;
}
@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial--flip .editorial__media { order: -1; }
  .stamp { width: 104px; height: 104px; font-size: .78rem; right: 8px; bottom: -12px; }
}

/* ---------- essências ---------- */
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.note {
  background: var(--card); border-radius: var(--r); padding: 1.7rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-s); transition: transform .55s var(--ease), box-shadow .55s var(--ease);
  border: 1px solid var(--line);
}
.note:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.note b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--ink); }
.note i { font-style: normal; display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin: .5rem 0 .8rem; }
.note p { font-size: .9rem; }
.section--ink .note { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); }
.section--ink .note b { color: var(--cream); }
.section--ink .note i { color: var(--lavender); }

/* ---------- passos ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.8rem; }
.step__n { font-family: var(--display); font-size: 2.6rem; color: var(--lavender); line-height: 1; }
.step h4 { font-size: 1.18rem; margin: .5rem 0 .3rem; }
.step p { font-size: .9rem; }

/* ---------- citação ---------- */
.quote { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.5rem); line-height: 1.28; color: var(--ink); font-style: italic; }
.section--ink .quote { color: var(--cream); }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.pagehead { padding: clamp(8rem, 14vh, 11rem) 0 clamp(2.5rem, 5vw, 4rem); background: var(--cream-2); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2rem; }
.chip {
  padding: .55rem 1.05rem; border-radius: 100px; border: 1px solid var(--line);
  background: var(--card); font-size: .82rem; font-weight: 500; color: var(--ink-2);
  transition: .3s var(--ease);
}
.chip:hover { border-color: var(--violet); color: var(--violet); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.spacer { flex: 1; }
.field-inline {
  border: 1px solid var(--line); border-radius: 100px; padding: .55rem 1.05rem;
  background: var(--card); font-size: .84rem;
}
.field-inline:focus { outline: none; border-color: var(--violet); }
.count { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.4rem; }
@media (max-width: 720px) {
  .spacer { display: none; }
  .field-inline { flex: 1 1 100%; }
}

/* ============================================================
   PRODUTO
   ============================================================ */
.crumbs { padding: clamp(6.5rem, 12vh, 8.5rem) 0 1.2rem; font-size: .8rem; color: var(--ink-3); }
.crumbs a:hover { color: var(--violet); }
.product { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery__main { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); background: var(--greige); aspect-ratio: 4/5; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; animation: fade .7s var(--ease); }
@keyframes fade { from { opacity: 0; transform: scale(1.03) } }
.thumbs { display: flex; gap: .55rem; margin-top: .7rem; }
.thumbs button { width: 72px; aspect-ratio: 1; border-radius: var(--r-s); overflow: hidden; opacity: .55; border: 1px solid transparent; transition: .3s; }
.thumbs button.on, .thumbs button:hover { opacity: 1; border-color: var(--violet); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.price { font-family: var(--display); font-size: 2.3rem; color: var(--ink); margin: 1rem 0 1.2rem; }
.price s { font-size: 1.1rem; color: var(--ink-3); margin-left: .55rem; }
.opt { margin-bottom: 1.3rem; }
.opt__label { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .55rem; }
.opt__values { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt__values button {
  padding: .6rem 1.05rem; border-radius: 100px; border: 1px solid var(--line);
  background: var(--card); font-size: .85rem; transition: .3s var(--ease);
}
.opt__values button:hover { border-color: var(--violet); color: var(--violet); }
.opt__values button.on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.buybar { display: flex; gap: .7rem; margin: 1.5rem 0; }
.buybar .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; background: var(--card); }
.qty button { width: 42px; height: 46px; font-size: 1.05rem; color: var(--ink); border-radius: 100px; }
.qty span { width: 30px; text-align: center; font-size: .95rem; font-weight: 600; }
.specs { width: 100%; border-collapse: collapse; font-size: .88rem; }
.specs td { padding: .72rem 0; border-bottom: 1px solid var(--line); }
.specs td:first-child { color: var(--ink-3); width: 44%; }
.acc { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; font-size: .92rem; font-weight: 600; color: var(--ink); text-align: left; }
.acc__head i { font-style: normal; color: var(--violet); transition: transform .4s var(--ease); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc__body > div { overflow: hidden; }
.acc__item.open .acc__body { grid-template-rows: 1fr; }
.acc__item.open .acc__head i { transform: rotate(45deg); }
.acc__body p { font-size: .89rem; padding-bottom: 1.1rem; }
@media (max-width: 860px) { .product { grid-template-columns: 1fr; } .gallery { position: static; } }

/* ============================================================
   CARRINHO
   ============================================================ */
.overlay { position: fixed; inset: 0; background: rgba(36,30,28,.44); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); z-index: 130; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(100%, 430px); z-index: 140;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .55s var(--ease); box-shadow: var(--shadow-l);
}
.drawer.on { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: .6rem 1.5rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.3rem 1.5rem; background: var(--cream-2); }
.line { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 95px; object-fit: cover; border-radius: var(--r-s); background: var(--greige); }
.line__info { flex: 1; min-width: 0; }
.line__name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.line__opts { font-size: .76rem; color: var(--ink-3); margin: .15rem 0 .5rem; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.line__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 100px; background: var(--card); }
.line__qty button { width: 28px; height: 28px; }
.line__qty span { width: 24px; text-align: center; font-size: .82rem; }
.line__price { font-size: .92rem; font-weight: 600; color: var(--ink); }
.line__del { font-size: .72rem; color: var(--ink-3); text-decoration: underline; }
.line__del:hover { color: var(--violet); }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total strong { font-family: var(--display); font-size: 1.7rem; color: var(--ink); }
.drawer__note { font-size: .74rem; color: var(--ink-3); margin: .45rem 0 1rem; }
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--ink-3); }
.empty h4 { font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-bottom: .4rem; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 2.5rem; align-items: start; }
.form { display: grid; gap: 1rem; }
.field label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .88rem 1.05rem; border: 1px solid var(--line);
  background: var(--card); border-radius: var(--r-s); transition: border-color .3s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); }
.field textarea { min-height: 100px; resize: vertical; }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.resume { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-s); }
.resume__line { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.resume__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1rem; }
.resume__total strong { font-family: var(--display); font-size: 1.75rem; color: var(--ink); }
@media (max-width: 820px) { .checkout { grid-template-columns: 1fr; } .checkout .resume { order: -1; } .field--2 { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(251,247,242,.62); padding: clamp(3.5rem,7vw,5rem) 0 2rem; }
.footer .logo b { color: var(--cream); }
.footer .logo i { color: rgba(251,247,242,.45); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lavender); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; font-size: .9rem; }
.footer a:hover { color: var(--cream); }
.footer__bottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(251,247,242,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .78rem; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%);
  background: var(--ink); color: var(--cream); padding: .9rem 1.5rem; border-radius: 100px;
  font-size: .86rem; z-index: 200; box-shadow: var(--shadow); transition: transform .55s var(--ease);
}
.toast.on { transform: translate(-50%, 0); }

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-blur { opacity: 0; filter: blur(10px); transform: translateY(20px) scale(.985); transition: opacity 1s var(--ease), filter 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal-blur.in { opacity: 1; filter: none; transform: none; }

/* revelação de headline linha a linha */
.split { display: block; overflow: hidden; }
.split > span { display: block; transform: translateY(105%); transition: transform 1.05s var(--ease); transition-delay: var(--d, 0s); }
.split.in > span { transform: none; }

.fade-up { opacity: 0; transform: translateY(16px); animation: fadeUp 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-blur, .split > span, .fade-up { opacity: 1; transform: none; filter: none; }
}

/* menu mobile: itens entram escalonados */
@media (max-width: 980px) {
  .nav a { opacity: 0; transform: translateX(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .nav.open a { opacity: 1; transform: none; }
  .nav.open a:nth-child(1) { transition-delay: .12s }
  .nav.open a:nth-child(2) { transition-delay: .18s }
  .nav.open a:nth-child(3) { transition-delay: .24s }
  .nav.open a:nth-child(4) { transition-delay: .30s }
  .nav.open a:nth-child(5) { transition-delay: .36s }
}
