/* =========================================================
   ELLEMA · sistema visual da vitrine
   Rosa-bege do logotipo + marfim + cacau. Serifa romântica
   (Cormorant) para emoção, Jost geométrica (eco art déco do
   logo) para interface.
   ========================================================= */

:root {
  --ivory: #FFFBF8;
  --paper: #FBF4F0;
  --blush: #F5E6DF;
  --nude: #EAD3C8;
  --rose: #D6968A;
  --rose-deep: #B8766A;
  --rose-ink: #955247;
  --sand: #C4A48E;
  --taupe: #8C7263;
  --cocoa: #4E3B35;
  --ink: #2F2729;
  --graphite: #5A585A;
  --line: rgba(78, 59, 53, .14);
  --line-strong: rgba(78, 59, 53, .28);
  --ok: #4F7A5B;
  --err: #A33A3A;

  --serif: 'Bodoni Moda', 'Didot', 'Times New Roman', serif;
  --serif-opsz: 'opsz' 22;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --r-s: 2px;
  --r-m: 6px;
  --r-pill: 999px;
  --wrap: 1320px;
  --gut: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-optical-sizing: none;
  background: var(--ivory);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--rose-deep); outline-offset: 3px; }
::selection { background: var(--nude); }
[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cocoa); color: var(--ivory); padding: 10px 16px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Tipografia ---------- */
.display { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; margin: 0; }
.display em { font-style: italic; color: var(--rose-deep); }
.h1 { font-size: clamp(40px, 5.6vw, 84px); }
.h2 { font-size: clamp(30px, 3.6vw, 52px); }
.h3 { font-size: clamp(24px, 2.2vw, 32px); }
.eyebrow {
  font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--taupe);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--graphite); max-width: 52ch; font-weight: 300; }
.muted { color: var(--taupe); }
.price { font: 500 16px/1 var(--sans); letter-spacing: .02em; }
.price s { color: var(--taupe); font-weight: 300; margin-right: 8px; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--cocoa); --fg: var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px; border-radius: var(--r-s);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg);
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .2s;
  position: relative; overflow: hidden;
}
.btn:hover { --bg: var(--rose-deep); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); border-color: var(--line-strong); }
.btn--ghost:hover { --bg: var(--cocoa); --fg: var(--ivory); border-color: var(--cocoa); }
.btn--light { --bg: var(--ivory); --fg: var(--cocoa); }
.btn--light:hover { --bg: var(--blush); }
.btn--block { width: 100%; }
.btn .spin { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.link {
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s var(--ease), color .2s;
}
.link:hover { color: var(--rose-deep); background-size: 40% 1px; }

/* ---------- Faixa de anúncio ---------- */
.announce {
  background: var(--cocoa); color: var(--blush); text-align: center;
  font: 400 12px/1 var(--sans); letter-spacing: .14em; padding: 11px var(--gut);
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 251, 248, .92); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__row { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__logo { display: block; color: var(--rose-deep); width: clamp(118px, 12vw, 150px); }
.header__logo svg { width: 100%; height: auto; display: block; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.nav a { font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--cocoa); padding: 10px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 4px; height: 1px; background: var(--rose-deep); transition: right .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--cocoa); position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--blush); }
.icon-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.3; }
.bag-count {
  position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--rose-deep); color: #fff; font: 500 10px/18px var(--sans); text-align: center;
  transform: scale(0); transition: transform .3s var(--ease);
}
.bag-count.has { transform: scale(1); }
.bag-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header__row { grid-template-columns: auto 1fr auto; }
  .header__logo { justify-self: center; }
}

/* Menu mobile */
.drawer-nav a { display: block; font: 300 34px/1.2 var(--serif); padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--cocoa); }
.drawer-nav a small { display: block; font: 400 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-top: 4px; }

/* ---------- Drawers (sacola, menu) ---------- */
.scrim { position: fixed; inset: 0; background: rgba(47, 39, 41, .38); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(440px, 100vw);
  background: var(--ivory); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .45s var(--ease); box-shadow: -20px 0 60px rgba(47,39,41,.12);
}
.drawer--left { right: auto; left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font: 400 28px/1 var(--serif); margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--paper); }

.freeship { padding: 16px 0 12px; font-size: 13px; color: var(--graphite); }
.freeship__bar { height: 3px; background: var(--nude); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.freeship__bar i { display: block; height: 100%; background: var(--rose-deep); transition: width .6s var(--ease); }

.line { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line img { width: 84px; aspect-ratio: 3/4; object-fit: cover; background: var(--blush); }
.line__name { font: 400 20px/1.1 var(--serif); margin: 0 0 4px; }
.line__meta { font-size: 12px; color: var(--taupe); letter-spacing: .06em; }
.line__right { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; }
.line__remove { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); height: 34px; margin-top: 10px; }
.qty button { width: 32px; height: 100%; font-size: 16px; color: var(--cocoa); }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; margin: 6px 0; }
.sum-row--total { font-size: 17px; font-weight: 500; margin-top: 12px; }
.empty { text-align: center; padding: 60px 10px; }
.empty p { font: 300 26px/1.2 var(--serif); margin: 0 0 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--paper); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; min-height: min(86vh, 820px); }
.hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 72px var(--gut) 72px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut))); gap: 28px; position: relative; z-index: 1; }
.hero__copy .lead { margin: 0; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__media { position: relative; }
.hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0, rgba(251,244,240,0) 22%); }
.hero__tag {
  position: absolute; right: 24px; bottom: 24px; z-index: 2; background: rgba(255,251,248,.9); backdrop-filter: blur(8px);
  padding: 14px 18px; display: flex; gap: 14px; align-items: center; max-width: 290px; border-radius: var(--r-s);
  transition: transform .3s var(--ease);
}
.hero__tag:hover { transform: translateY(-3px); }
.hero__tag img { width: 52px; height: 64px; object-fit: cover; }
.hero__tag b { display: block; font: 400 19px/1.1 var(--serif); }
.hero__tag span { font-size: 12px; color: var(--taupe); }
.hero__mark { position: absolute; left: -2vw; bottom: -3vw; width: 44vw; color: var(--rose); opacity: .09; pointer-events: none; }
.hero__proof { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12px; letter-spacing: .08em; color: var(--taupe); }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof svg { width: 16px; height: 16px; stroke: var(--rose-deep); fill: none; stroke-width: 1.5; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4/5; max-height: 72vh; }
  .hero__media::after { background: linear-gradient(0deg, var(--paper) 0, rgba(251,244,240,0) 28%); }
  .hero__copy { padding: 8px var(--gut) 48px; margin-top: -64px; }
  .hero__tag { display: none; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--paper { background: var(--paper); }
.section--blush { background: var(--blush); }
.section--cocoa { background: var(--cocoa); color: var(--blush); }
.section--cocoa .eyebrow, .section--cocoa .muted { color: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head .display { max-width: 18ch; }

/* Humor / "como você quer se sentir" */
.moods { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; }
.mood {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); font-size: 14px; color: var(--cocoa); background: transparent;
  transition: all .3s var(--ease);
}
.mood i { font-style: normal; font-family: var(--serif); font-size: 20px; line-height: 1; }
.mood:hover { border-color: var(--rose-deep); }
.mood[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--ivory); }
.mood-note { font: italic 300 22px/1.35 var(--serif); color: var(--rose-ink); margin: -20px 0 36px; min-height: 1.4em; transition: opacity .3s; }

/* ---------- Cards de produto ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 28px) clamp(12px, 1.6vw, 24px); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); } }

.card { position: relative; display: flex; flex-direction: column; animation: rise .7s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.card__media { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--blush); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card__media img.alt { opacity: 0; }
.card:hover .card__media img.main.has-alt { opacity: 0; }
.card:hover .card__media img.alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.035); }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ivory); color: var(--cocoa); font: 500 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 7px 10px; }
.card__soldout { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(255,251,248,.55); font: 500 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; z-index: 2; }
.card__quick {
  position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 3; background: rgba(255,251,248,.94); backdrop-filter: blur(6px);
  padding: 12px; transform: translateY(calc(100% + 14px)); transition: transform .45s var(--ease);
}
.card:hover .card__quick, .card:focus-within .card__quick { transform: none; }
.card__quick p { margin: 0 0 8px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); text-align: center; }
.card__sizes { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.card__sizes button { min-width: 40px; height: 36px; border: 1px solid var(--line-strong); font-size: 13px; transition: all .2s; }
.card__sizes button:hover { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.card__sizes button:disabled { opacity: .35; text-decoration: line-through; pointer-events: none; }
.card__body { padding: 14px 2px 0; display: grid; gap: 6px; }
.card__name { font: 400 clamp(19px, 1.6vw, 23px)/1.1 var(--serif); margin: 0; }
.card__name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__caption { font-size: 13px; line-height: 1.45; color: var(--graphite); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 2px; }
.card__install { font-size: 12px; color: var(--taupe); }
.swatches { display: flex; gap: 8px; position: relative; z-index: 2; }
.swatch {
  width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--c, #ccc);
  box-shadow: inset 0 0 0 2px var(--ivory); transition: transform .2s, border-color .2s;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { border-color: var(--cocoa); box-shadow: inset 0 0 0 2px var(--ivory), 0 0 0 1px var(--cocoa); }
@media (hover: none) { .card__quick { display: none; } }

/* ---------- Categorias ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.cat { position: relative; aspect-ratio: 4/5; overflow: hidden; display: block; background: var(--blush); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,39,41,0) 38%, rgba(47,39,41,.78)); }
.cat__txt { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; color: var(--ivory); }
.cat__txt b { display: block; font: 300 clamp(28px, 2.8vw, 40px)/1 var(--serif); margin-bottom: 8px; }
.cat__txt span { font-size: 13px; opacity: .9; }
@media (max-width: 760px) { .cats { grid-template-columns: 1fr 1fr; } .cats .cat:first-child { grid-column: span 2; aspect-ratio: 16/11; } }

/* ---------- Manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.manifesto__img { position: relative; }
.manifesto__img img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.manifesto__img figcaption { position: absolute; left: -20px; bottom: 28px; background: var(--ivory); padding: 16px 20px; font: italic 300 20px/1.3 var(--serif); max-width: 250px; color: var(--cocoa); }
.manifesto ol { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: m; display: grid; gap: 26px; }
.manifesto li { counter-increment: m; display: grid; grid-template-columns: 48px 1fr; gap: 6px; }
.manifesto li::before { content: '0' counter(m); font: 300 30px/1 var(--serif); color: var(--rose-deep); }
.manifesto li b { display: block; font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.manifesto li span { font-size: 14px; color: var(--graphite); }
@media (max-width: 900px) { .manifesto { grid-template-columns: 1fr; } .manifesto__img figcaption { left: 12px; } }

/* ---------- Provador (guia de medidas) ---------- */
.fit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.fit__form { background: var(--ivory); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.fit__row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.fit__result { min-height: 104px; border-top: 1px solid var(--line); padding-top: 18px; }
.fit__result b { font: 300 60px/1 var(--serif); color: var(--rose-deep); display: inline-block; margin-right: 14px; vertical-align: middle; }
.fit__result p { display: inline-block; vertical-align: middle; margin: 0; max-width: 30ch; font-size: 14px; color: var(--graphite); }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } .fit__row { grid-template-columns: 1fr 1fr 1fr; } }

/* ---------- Faixa de confiança ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust > div { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.trust svg { width: 30px; height: 30px; stroke: var(--rose-deep); fill: none; stroke-width: 1.2; }
.trust b { display: block; font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.trust span { font-size: 13px; color: var(--graphite); }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Formulários ---------- */
.field { display: grid; gap: 7px; }
.field label, .label { font: 500 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.input {
  width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-s);
  background: var(--ivory); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
textarea.input { height: auto; min-height: 110px; padding: 14px 16px; resize: vertical; }
.input:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(214,150,138,.25); }
.input[aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: 12px; color: var(--taupe); }
.field .err { font-size: 12px; color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--graphite); }
.check input { width: 18px; height: 18px; accent-color: var(--cocoa); margin-top: 1px; flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Newsletter / Instagram ---------- */
.news { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.news form { display: grid; gap: 14px; }
.news__row { display: flex; gap: 10px; }
.news__row .input { flex: 1; }
@media (max-width: 760px) { .news { grid-template-columns: 1fr; } .news__row { flex-direction: column; } }

/* ---------- Rodapé ---------- */
.footer { background: var(--cocoa); color: var(--nude); padding: 72px 0 28px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: 160px; color: var(--rose); margin-bottom: 18px; }
.footer h4 { font: 500 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sand); margin: 0 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--ivory); }
.footer__bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(234,211,200,.16); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--sand); }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid rgba(234,211,200,.25); padding: 5px 9px; font-size: 11px; letter-spacing: .08em; border-radius: 3px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cocoa); color: var(--ivory); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(47,39,41,.25);
  transition: transform .3s var(--ease), background .3s;
}
.wa:hover { transform: translateY(-3px); background: var(--rose-deep); }
.wa svg { width: 26px; height: 26px; fill: currentColor; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%);
  background: var(--ink); color: var(--ivory); padding: 14px 20px; font-size: 14px; border-radius: var(--r-s);
  transition: transform .45s var(--ease); max-width: calc(100vw - 32px); display: flex; gap: 14px; align-items: center;
}
.toast.show { transform: translate(-50%, 0); }
.toast button { color: var(--rose); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Loja ---------- */
.shop-head { padding: clamp(40px, 6vw, 80px) 0 28px; background: var(--paper); }
.crumbs { font-size: 12px; letter-spacing: .1em; color: var(--taupe); margin-bottom: 18px; }
.crumbs a:hover { color: var(--cocoa); }
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--ivory); border-bottom: 1px solid var(--line); }
.toolbar__row { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-block: 14px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: 13px; white-space: nowrap; transition: all .2s; }
.chip:hover { border-color: var(--cocoa); }
.chip[aria-pressed="true"] { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.select { height: 38px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0 34px 0 16px; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234E3B35' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 13px; }
.count { font-size: 13px; color: var(--taupe); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 0; }

/* skeleton */
.sk { background: linear-gradient(90deg, var(--blush) 0, var(--paper) 50%, var(--blush) 100%) 0 0 / 200% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.card--sk .card__media { background: none; }
.card--sk .sk-line { height: 14px; margin-top: 12px; width: 70%; }

/* ---------- Produto ---------- */
.pdp { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); padding: 28px 0 80px; align-items: start; }
.gallery { display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__thumbs { display: grid; gap: 10px; align-content: start; max-height: 80vh; overflow-y: auto; scrollbar-width: none; }
.gallery__thumbs button { aspect-ratio: 3/4; overflow: hidden; opacity: .55; transition: opacity .25s; border: 1px solid transparent; }
.gallery__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--cocoa); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; aspect-ratio: 3/4; background: var(--blush); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .2s; }
.gallery__main.zoom img { transform: scale(1.9); cursor: zoom-out; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,251,248,.85); display: grid; place-items: center; z-index: 2; }
.gallery__nav--prev { left: 12px; } .gallery__nav--next { right: 12px; }
.gallery__dots { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 0; }
  .gallery { grid-template-columns: 1fr; position: static; margin: 0 calc(var(--gut) * -1); }
  .gallery__thumbs { display: none; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .gallery__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--nude); }
  .gallery__dots i.on { background: var(--cocoa); }
}
.info { display: grid; gap: 22px; }
.info__cat { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }
.info__name { font: 300 clamp(40px, 4.4vw, 58px)/1 var(--serif); margin: 0; }
.info__caption { font: italic 300 22px/1.35 var(--serif); color: var(--rose-ink); margin: 0; }
.info__price { display: grid; gap: 6px; }
.info__price .price { font-size: 24px; }
.info__price small { font-size: 13px; color: var(--graphite); }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.opt-head span b { font-weight: 500; color: var(--ink); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 56px; height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); font-size: 14px; transition: all .2s; position: relative; }
.size:hover { border-color: var(--cocoa); }
.size[aria-pressed="true"] { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.size.out { color: var(--taupe); background: linear-gradient(to top left, transparent calc(50% - .5px), var(--line-strong) 50%, transparent calc(50% + .5px)); }
.swatches--lg .swatch { width: 34px; height: 34px; box-shadow: inset 0 0 0 3px var(--ivory); }
.swatches--lg .swatch[aria-pressed="true"] { box-shadow: inset 0 0 0 3px var(--ivory), 0 0 0 1px var(--cocoa); }
.low { font-size: 13px; color: var(--rose-ink); }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.buy .qty { height: 52px; margin: 0; }
.buy .qty button { width: 40px; }
.perks { list-style: none; margin: 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; color: var(--graphite); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; stroke: var(--rose-deep); fill: none; stroke-width: 1.4; flex: none; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; font: 500 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font: 300 22px/10px var(--sans); transition: transform .3s; }
.acc[open] summary::after { transform: rotate(45deg); }
.acc div { padding: 0 0 20px; font-size: 14px; color: var(--graphite); white-space: pre-line; }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: var(--ivory); border-top: 1px solid var(--line);
  padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); display: none; gap: 12px; align-items: center;
  transform: translateY(100%); transition: transform .35s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy b { font: 400 18px/1.1 var(--serif); display: block; }
@media (max-width: 900px) { .sticky-buy { display: flex; } }

/* ---------- Modal ---------- */
.modal { border: 0; padding: 0; max-width: min(640px, calc(100vw - 32px)); width: 100%; background: var(--ivory); color: var(--ink); }
.modal::backdrop { background: rgba(47,39,41,.45); }
.modal__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.modal__body { padding: 24px; }
table.sizes-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sizes-table th, .sizes-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.sizes-table th { font: 500 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }

/* ---------- Checkout ---------- */
.co { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); padding: 32px 0 96px; align-items: start; }
.co__steps { display: grid; gap: 28px; }
.co__box { background: var(--ivory); border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); }
.co__box h2 { font: 400 28px/1 var(--serif); margin: 0 0 20px; display: flex; gap: 12px; align-items: baseline; }
.co__box h2 small { font: 500 11px/1 var(--sans); letter-spacing: .2em; color: var(--rose-deep); }
.grid-form { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; align-items: start; }
.c-6 { grid-column: span 6; } .c-4 { grid-column: span 4; } .c-3 { grid-column: span 3; } .c-2 { grid-column: span 2; }
@media (max-width: 600px) { .c-4, .c-3 { grid-column: span 6; } .c-2 { grid-column: span 3; } }
.radio-card { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-strong); cursor: pointer; transition: border-color .2s, background .2s; }
.radio-card + .radio-card { margin-top: 10px; }
.radio-card input { accent-color: var(--cocoa); width: 18px; height: 18px; }
.radio-card:has(input:checked) { border-color: var(--cocoa); background: var(--paper); }
.radio-card__main { flex: 1; }
.radio-card__main b { display: block; font-weight: 500; font-size: 14px; }
.radio-card__main span { font-size: 12px; color: var(--taupe); }
.co__summary { position: sticky; top: calc(var(--header-h) + 16px); background: var(--paper); padding: clamp(20px, 3vw, 32px); }
.co__summary h2 { font: 400 26px/1 var(--serif); margin: 0 0 12px; }
.coupon { display: flex; gap: 8px; margin: 16px 0; }
.coupon .input { height: 44px; }
.coupon .btn { min-height: 44px; padding: 0 18px; }
.alert { padding: 14px 16px; font-size: 14px; border-left: 3px solid var(--rose-deep); background: var(--blush); }
.alert--err { border-color: var(--err); background: #F8E4E1; color: #6B2020; }
.secure-note { display: flex; gap: 10px; font-size: 12px; color: var(--taupe); margin-top: 16px; align-items: flex-start; }
.secure-note svg { width: 16px; height: 16px; stroke: var(--ok); fill: none; stroke-width: 1.6; flex: none; margin-top: 2px; }
@media (max-width: 900px) { .co { grid-template-columns: 1fr; } .co__summary { position: static; order: -1; } }

/* Pedido */
.status-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px 0; }
.status-steps div { border-top: 3px solid var(--nude); padding-top: 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--taupe); }
.status-steps div.on { border-color: var(--rose-deep); color: var(--cocoa); }

/* Páginas de texto */
.prose { max-width: 760px; }
.prose h2 { font: 400 30px/1.15 var(--serif); margin: 40px 0 12px; }
.prose p, .prose li { color: var(--graphite); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

/* ---------- Logotipo (máscara SVG: herda a cor do texto) ---------- */
.logo {
  display: block; width: 100%; aspect-ratio: 1643 / 711; background: currentColor;
  -webkit-mask: url('/assets/img/brand/logo.svg') center / contain no-repeat;
  mask: url('/assets/img/brand/logo.svg') center / contain no-repeat;
}
.drawer__head .logo { width: 110px; color: var(--rose-deep); }

/* Bodoni: tamanho óptico fixo para hairlines legíveis em telas 1x */
.display, .card__name, .info__name, .info__caption, .drawer__title, .line__name, .mood i, .cat__txt b, .hero__tag b, .manifesto li::before, .manifesto__img figcaption, .fit__result b, .mood-note, .drawer-nav a, .empty p, .co__box h2, .co__summary h2, .prose h2 { font-variation-settings: 'opsz' 22; }

@media (max-width: 600px) {
  .announce { letter-spacing: .04em; font-size: 11px; }
  .moods { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gut) * -1) 32px; padding: 2px var(--gut); }
  .moods::-webkit-scrollbar { display: none; }
  .mood { flex: none; }
  .hero__copy { margin-top: -36px; gap: 22px; }
}
