/* ============================================================
   Yael Makeup — Identidade visual
   Paleta "beauty counter": blush, vinho profundo, dourado
   ============================================================ */

:root {
  /* ============================================================
     PALETA OFICIAL — Yael Makeup
     ============================================================ */
  --noir-soft:  #1D1D1F;   /* Preto Soft      — texto principal          */
  --offwhite:   #F6F1EB;   /* Off White       — fundo principal          */
  --nude:       #D8B7A6;   /* Nude Rosé       — cor principal da marca   */
  --rose:       #B7847A;   /* Rosé Queimado   — profundidade e destaque  */
  --taupe:      #B8A08C;   /* Taupe Nude      — apoio neutro             */
  --champagne:  #D9C2A7;   /* Champagne Glow  — detalhes premium         */

  /* Tons derivados da própria paleta (para textos pequenos ficarem legíveis) */
  --nude-soft:  #EFE2D8;   /* nude clareado, para fundos suaves */
  --nude-tile:  #EFDFD2;   /* nude das vitrines/imagens */
  --nude-mid:   #E3CDBD;   /* nude mais presente, cria profundidade */
  --rose-deep:  #9A6459;   /* rosé aprofundado, para textos e links */
  --taupe-text: #7C6D61;   /* taupe aprofundado, para texto secundário */

  /* ---- Mapeamento usado no site ---- */
  --cream:       var(--offwhite);
  --blush:       var(--nude-soft);
  --blush-deep:  var(--nude);
  --plum:        var(--rose);
  --plum-soft:   var(--rose-deep);
  --gold:        var(--champagne);
  --ink:         var(--noir-soft);
  --muted:       var(--taupe-text);
  --line:        #E5D5C6;
  --white:       #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(29, 29, 31, .05);
  --shadow-md: 0 12px 34px rgba(29, 29, 31, .10);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --wrap: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------------- Topbar ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .90);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--gold);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  flex: none;
}
.brand__name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--plum);
}
.nav { display: flex; gap: 22px; }
.nav a {
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1.5px;
  background: var(--rose);
  transition: width .25s ease;
}
.nav a:hover, .nav a.is-active { color: var(--plum); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: var(--plum);
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s, box-shadow .2s;
  flex: none;
}
.cart-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cart-count {
  position: absolute;
  top: -6px; right: -6px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: var(--rose-deep);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* ---------------- Layout base ---------------- */
.page { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section-eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 500;
  color: var(--plum);
  margin: 0;
  line-height: 1.1;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  margin: 32px 0 12px;
  padding: 72px 48px;
  border-radius: 24px;
  background:
    radial-gradient(120% 140% at 85% 0%, var(--blush) 0%, transparent 55%),
    linear-gradient(135deg, #fff 0%, var(--nude-tile) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -60px; top: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blush-deep) 0%, transparent 68%);
  opacity: .55;
}
.hero__inner { position: relative; max-width: 620px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 500;
  line-height: 1.02;
  color: var(--noir-soft);
  margin: 12px 0 18px;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 460px;
  margin: 0 0 28px;
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { background: var(--plum); color: var(--white); }
.btn--primary:hover { background: var(--plum-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn--outline:hover { background: var(--plum); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wide { width: 100%; }
.btn--wa { background: #25D366; color: var(--white); }
.btn--wa:hover { background: #1fbe5a; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------------- Catálogo ---------------- */
.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin: 56px 0 28px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 64px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--nude-tile) 0%, var(--nude-mid) 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid #EADCCF;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__placeholder {
  font-family: var(--serif);
  font-size: 64px;
  color: var(--blush-deep);
  opacity: .8;
}
.card__badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}
.card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__cat {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.card__name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--plum);
  line-height: 1.2;
}
.card__name a:hover { color: var(--plum-soft); }
.card__price { font-size: 20px; font-weight: 500; color: var(--ink); margin-top: auto; }
.card__price small { font-size: 13px; color: var(--muted); font-weight: 300; }
.card__actions { margin-top: 12px; }

/* ---------------- Filtro / chips ---------------- */
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--muted);
  transition: all .2s;
}
.chip:hover { border-color: var(--blush-deep); color: var(--plum); }
.chip.is-active { background: var(--plum); border-color: var(--plum); color: var(--white); }

/* ---------------- Página de produto ---------------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 48px 0 72px;
  align-items: start;
}
.product__media {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--nude-tile) 0%, var(--nude-mid) 100%);
  display: grid;
  place-items: center;
  border: 1px solid #E0CEBE;
  box-shadow: 0 14px 40px rgba(29,29,31,.06);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; }
.product__cat {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.product__name {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 500;
  color: var(--plum);
  line-height: 1.05;
  margin: 8px 0 16px;
}
.product__price { font-size: 32px; font-weight: 500; margin: 0 0 20px; }
.product__desc { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.product__stock { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.product__stock strong { color: var(--plum); }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.qty button {
  width: 44px; height: 44px;
  border: none; background: var(--white);
  font-size: 20px; color: var(--plum);
  cursor: pointer;
  transition: background .15s;
}
.qty button:hover { background: var(--blush); }
.qty input {
  width: 52px; height: 44px;
  border: none; text-align: center;
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 14px; margin: 32px 0 0;
}
.back-link:hover { color: var(--plum); }

/* ---------------- Carrinho ---------------- */
.cart-wrap { margin: 48px 0 80px; }
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 40px;
  align-items: start;
}
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(29,29,31,.04);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-item__thumb {
  width: 84px; height: 84px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--nude-tile) 0%, var(--nude-mid) 100%);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 32px; color: var(--rose);
  flex: none;
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__name { font-family: var(--serif); font-size: 20px; color: var(--plum); }
.cart-item__unit { font-size: 13px; color: var(--muted); }
.cart-item__end { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-item__sub { font-size: 18px; font-weight: 500; }
.cart-item .qty { margin: 0; }
.cart-item .qty button { width: 34px; height: 34px; font-size: 16px; }
.cart-item .qty input { width: 40px; height: 34px; font-size: 14px; }
.cart-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; padding: 0;
}
.cart-remove:hover { color: #b23b3b; }

.summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  position: sticky;
  top: 96px;
  box-shadow: 0 10px 30px rgba(29,29,31,.06);
}
.summary h2 {
  font-family: var(--serif); font-size: 26px; font-weight: 500;
  color: var(--plum); margin: 0 0 20px;
}
.summary__row { display: flex; justify-content: space-between; padding: 10px 0; color: var(--muted); font-size: 15px; }
.summary__total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px;
}
.summary__total span:first-child { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.summary__total span:last-child { font-family: var(--serif); font-size: 32px; font-weight: 600; color: var(--plum); }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E0CEBE;
  border-radius: 10px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(183,132,122,.14);
}
.summary__note { font-size: 13px; color: var(--muted); margin: 16px 0 0; text-align: center; }

.empty-cart { text-align: center; padding: 90px 20px; }
.empty-cart .emoji { font-size: 56px; }
.empty-cart h2 { font-family: var(--serif); font-size: 32px; color: var(--plum); margin: 16px 0 8px; }
.empty-cart p { color: var(--muted); margin-bottom: 28px; }

/* ---------------- Utilidades ---------------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding: 48px 26px; }
  .topbar__inner { padding: 14px 18px; }
  .page { padding: 0 18px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cart-item { grid-template-columns: 64px 1fr; }
  .cart-item__thumb { width: 64px; height: 64px; }
  .cart-item__end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
}

/* ---------------- Acessibilidade ---------------- */
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
}

/* ---------------- Footer ---------------- */
.footer { background: var(--plum); color: var(--blush); margin-top: 40px; }
.footer__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer .brand__mark { background: var(--gold); color: var(--plum); }
.footer__name { font-family: var(--serif); font-size: 22px; margin: 0; color: var(--white); }
.footer__tag { margin: 2px 0 0; font-size: 13px; color: var(--blush-deep); }
.footer__copy { font-size: 13px; color: var(--blush-deep); margin: 0; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--plum);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- Logomarca ---------------- */
.brand__logo { height: 42px; width: auto; display: block; }
.footer__logo {
  background: var(--white);
  border-radius: 12px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
}
.footer__logo img { height: 38px; width: auto; display: block; }

/* ---------------- Carregando produtos (troca de aba via AJAX) ---------------- */
[data-catalogo] { transition: opacity .18s ease; }
[data-catalogo].is-loading { opacity: .45; pointer-events: none; }

@media (max-width: 720px) {
  .brand__logo { height: 34px; }
  .footer__logo img { height: 62px; }
}

/* ---------------- Confirmação de pedido ---------------- */
.pedido-ok {
  text-align: center;
  max-width: 560px;
  margin: 40px auto 80px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
}
.pedido-ok .emoji { font-size: 52px; }
.pedido-ok .section-eyebrow { margin-top: 8px; }
.pedido-numero {
  font-family: var(--serif);
  font-size: clamp(40px, 8vw, 60px);
  font-weight: 600;
  color: var(--plum);
  letter-spacing: .02em;
  margin: 4px 0 18px;
}
.pedido-ok__msg { font-size: 15px; max-width: 420px; margin: 0 auto 12px; }
.pedido-ok__acoes {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ---------------- Conta do cliente ---------------- */
.acct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--plum);
  font-size: 13px;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s;
  flex: none;
}
.acct-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.acct-btn svg { width: 18px; height: 18px; }

.auth { max-width: 440px; margin: 48px auto 80px; }
.auth-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px 34px;
  box-shadow: var(--shadow-sm);
}
.auth-card h1 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 500;
  color: var(--plum);
  margin: 0 0 6px;
}
.auth-sub { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.auth-card .field { margin-bottom: 16px; }
.auth-links { margin-top: 20px; text-align: center; font-size: 14px; color: var(--muted); }
.auth-links a { color: var(--plum); text-decoration: underline; }
.auth-links p { margin: 6px 0; }

.alert {
  padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px;
}
.alert--ok  { background: #E7F6EC; color: #1c6b3a; border: 1px solid #bfe6cd; }
.alert--erro{ background: #FBE9E9; color: #a02929; border: 1px solid #f0c9c9; }

.codigo-input input {
  text-align: center;
  font-size: 30px !important;
  letter-spacing: 12px;
  font-weight: 600;
  padding: 14px !important;
}

/* Bloco "minha conta" */
.conta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 48px 0 24px; flex-wrap: wrap; }
.pedido-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; margin-bottom: 14px;
}
.pedido-card__topo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pedido-card__num { font-family: var(--serif); font-size: 22px; color: var(--plum); font-weight: 600; }
.pedido-card__data { font-size: 13px; color: var(--muted); }
.pedido-card__itens { white-space: pre-line; font-size: 14px; color: var(--muted); margin: 10px 0; }
.pedido-card__total { font-weight: 600; color: var(--ink); }

/* ============================================================
   ✦ CAMADA ALTO PADRÃO — refinamentos premium
   ============================================================ */
:root {
  --noir:      #1D1D1F;              /* Preto Soft — contraste e elegância */
  --noir-2:    #2B2426;
  --gold-soft: var(--champagne);     /* champagne para texto em fundo escuro */
  --plum-deep: #2E2729;              /* topo do degradê do rodapé */
  --ease: cubic-bezier(.22,.61,.36,1);
}

body { letter-spacing: .002em; }

/* ---------- Faixa de anúncio ---------- */
.announce {
  background: var(--noir);
  color: var(--gold-soft);
}
.announce__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.announce__dot { color: var(--gold); opacity: .7; }

/* ---------- Topbar refinada ---------- */
.topbar { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.topbar.is-scrolled { box-shadow: 0 6px 30px rgba(29,29,31,.08); background: rgba(255,255,255,.98); }
.topbar__inner { padding-top: 18px; padding-bottom: 18px; }
.nav a { font-size: 12.5px; letter-spacing: .16em; }
.brand__logo { height: 52px; max-width: 340px; object-fit: contain; }

/* ---------- Hero editorial ---------- */
.hero {
  margin: 40px 0 20px;
  padding: 96px 64px;
  border-radius: 28px;
  border: 1px solid #E0CEBE;
  background:
    radial-gradient(120% 150% at 88% -10%, var(--nude) 0%, transparent 58%),
    radial-gradient(90% 120% at 2% 120%, var(--nude-mid) 0%, transparent 50%),
    linear-gradient(115deg, #FFFFFF 0%, #FDFAF7 42%, #F2E5D9 100%);
  box-shadow: 0 20px 54px rgba(29,29,31,.07);
}
.hero::before {
  width: 380px; height: 380px; right: -80px; top: -90px; opacity: .5;
}
.hero__kicker {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--rose-deep);
  padding-bottom: 14px;
  position: relative;
}
.hero__kicker::after {
  content: ""; position: absolute; left: 0; bottom: 4px;
  width: 46px; height: 1px; background: var(--rose);
}
.hero h1 {
  font-size: clamp(44px, 7.5vw, 82px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 22px 0 20px;
}
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p { font-size: 19px; max-width: 480px; line-height: 1.65; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

.btn--ghost {
  background: transparent;
  color: var(--rose-deep);
  border-color: rgba(183,132,122,.45);
}
.btn--ghost:hover { border-color: var(--plum); background: var(--plum); color: #fff; transform: translateY(-2px); }

/* ---------- Faixa de diferenciais ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin: 28px 0 8px;
  box-shadow: 0 8px 24px rgba(29,29,31,.05);
}
.feature {
  background: var(--white);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.feature__ico {
  width: 40px; height: 40px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--nude-tile);
  color: var(--plum);
}
.feature__ico svg { width: 20px; height: 20px; }
.feature__t { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.feature__s { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Cards premium ---------- */
.catalog-head { margin-top: 68px; }
.section-title { letter-spacing: -.01em; }
.card {
  border-radius: 16px;
  border-color: #E4D3C4;
  box-shadow: 0 2px 4px rgba(29,29,31,.04), 0 10px 26px rgba(29,29,31,.06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { border-color: var(--nude); }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(29,29,31,.14); }
.card__media { aspect-ratio: 3 / 4; }
.card__media img { transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
  content: "Ver produto";
  position: absolute; left: 50%; bottom: 16px;
  transform: translateX(-50%) translateY(10px);
  background: rgba(29,29,31,.85);
  color: #fff;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 100px;
  opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease);
  pointer-events: none;
}
.card:hover .card__media::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.card__badge {
  background: rgba(29,29,31,.85);
  backdrop-filter: blur(4px);
  letter-spacing: .14em;
}
.card__body { padding: 16px 16px 18px; gap: 6px; }
.card__cat { font-size: 10px; letter-spacing: .2em; }
.card__name { font-size: 18px; line-height: 1.18; color: var(--noir-soft); }
.card__price { font-size: 17px; color: var(--rose-deep); font-weight: 600; }
.card__actions { margin-top: 10px; }
.card__actions .btn { border-color: rgba(183,132,122,.5); color: var(--rose-deep); font-size: 11.5px; padding: 11px 18px; letter-spacing: .06em; }
.card__actions .btn:hover { background: var(--plum); color: #fff; border-color: var(--plum); }

/* ---------- Animações reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes cardIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.grid .card { animation: cardIn .55s var(--ease) both; }
.grid .card:nth-child(2) { animation-delay: .05s; }
.grid .card:nth-child(3) { animation-delay: .1s; }
.grid .card:nth-child(4) { animation-delay: .15s; }
.grid .card:nth-child(5) { animation-delay: .2s; }
.grid .card:nth-child(6) { animation-delay: .25s; }
.grid .card:nth-child(n+7) { animation-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .grid .card { animation: none; }
  .card:hover .card__media img { transform: none; }
}

/* ============================================================
   ✦ RODAPÉ PREMIUM
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--plum-deep) 0%, var(--noir) 100%);
  color: rgba(255,255,255,.72);
  margin-top: 90px;
}
.footer__top {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 64px 24px 44px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 44px;
}
.footer__col--brand { max-width: 320px; }
.footer__logo {
  background: #fff; border-radius: 12px; padding: 10px 16px;
  display: inline-flex; align-items: center; margin-bottom: 18px;
}
.footer__logo img { height: 74px; width: auto; display: block; }
.footer__tag { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.66); margin: 0 0 22px; }
.footer__wa {
  display: inline-flex; align-items: center; gap: 9px;
  background: #25D366; color: #fff;
  padding: 11px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.footer__wa:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.3); }
.footer__title {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-soft); margin: 4px 0 18px; font-weight: 500;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 14.5px; color: rgba(255,255,255,.72); transition: color .2s, padding-left .2s; }
.footer__links a:hover { color: #fff; padding-left: 4px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
}
.footer__bottom {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
.footer__bottom-links { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.footer__bottom-links a { color: rgba(255,255,255,.66); transition: color .2s; }
.footer__bottom-links a:hover { color: #fff; }
.footer__sep { color: rgba(255,255,255,.28); }
.footer__restrito {
  color: var(--gold-soft) !important;
  border: 1px solid rgba(217,194,167,.45);
  padding: 5px 14px; border-radius: 100px; letter-spacing: .04em;
}
.footer__restrito:hover { background: var(--gold); border-color: var(--gold); color: var(--noir) !important; }

/* ============================================================
   ✦ PÁGINA DE POLÍTICAS
   ============================================================ */
.legal { max-width: 780px; margin: 56px auto 90px; }
.legal__head { text-align: center; margin-bottom: 48px; }
.legal__head h1 { font-family: var(--serif); font-size: clamp(38px,6vw,56px); color: var(--plum); font-weight: 500; margin: 10px 0 0; }
.legal__block {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 36px; margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(29,29,31,.04);
}
.legal__block h2 { font-family: var(--serif); font-size: 26px; color: var(--plum); font-weight: 500; margin: 0 0 14px; }
.legal__block p { font-size: 15.5px; color: var(--taupe-text); line-height: 1.8; margin: 0 0 12px; }
.legal__block p:last-child { margin-bottom: 0; }

/* ---------- Responsivo premium ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col--brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 720px) {
  .hero { padding: 60px 30px; }
  .announce__inner { letter-spacing: .14em; gap: 10px; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ============================================================
   ✦ ESCOLHA DA ENTREGA (retirada x correios)
   ============================================================ */
.entrega-titulo {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--rose-deep);
  margin: 34px 0 14px;
}
.entrega-opcoes { display: grid; gap: 12px; }
.entrega-op {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr 24px;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1.5px solid #E4D3C4;
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .2s var(--ease);
}
.entrega-op:hover { border-color: var(--nude); transform: translateY(-1px); }
.entrega-op input { position: absolute; opacity: 0; pointer-events: none; }
.entrega-op.is-active {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(183,132,122,.14), 0 10px 26px rgba(29,29,31,.06);
}
.entrega-op__ico {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--nude-tile);
  color: var(--rose-deep);
}
.entrega-op.is-active .entrega-op__ico { background: var(--rose); color: #fff; }
.entrega-op__ico svg { width: 22px; height: 22px; }
.entrega-op__txt { display: flex; flex-direction: column; gap: 3px; }
.entrega-op__t { font-size: 16px; font-weight: 500; color: var(--noir-soft); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.entrega-op__s { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.entrega-op__check {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid #DCC8B8; position: relative;
}
.entrega-op.is-active .entrega-op__check { border-color: var(--rose); background: var(--rose); }
.entrega-op.is-active .entrega-op__check::after {
  content: ""; position: absolute; left: 7px; top: 3px;
  width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tag-free {
  background: #E7F6EC; color: #1c6b3a;
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; font-weight: 600;
}

/* ---- Endereço ---- */
.endereco-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  margin-top: 16px;
  box-shadow: 0 6px 20px rgba(29,29,31,.04);
}
.end-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cep-msg { font-size: 12.5px; margin: 6px 0 0; color: var(--muted); min-height: 16px; }
.cep-msg--ok { color: #1c6b3a; }
.cep-msg--erro { color: #a02929; }

/* ---- Resumo: frete ---- */
.frete-gratis { color: #1c6b3a; font-weight: 600; }

/* ---- Botão Mercado Pago ---- */
.btn--mp { background: #009EE3; color: #fff; }
.btn--mp:hover { background: #0089c7; transform: translateY(-2px); box-shadow: var(--shadow-md); }

@media (max-width: 640px) {
  .end-grid { grid-template-columns: repeat(2, 1fr); }
  .end-grid .field { grid-column: span 2 !important; }
  .entrega-op { grid-template-columns: 40px 1fr 20px; padding: 14px 16px; gap: 12px; }
}

/* ---- Selos do pedido (área do cliente) ---- */
.selo {
  font-size: 11.5px; letter-spacing: .04em;
  padding: 4px 11px; border-radius: 100px; font-weight: 500;
}
.selo--ok   { background: #E7F6EC; color: #1c6b3a; }
.selo--pend { background: #FDF3E3; color: #8a5a12; }
.selo--erro { background: #FBE9E9; color: #a02929; }
.selo--info { background: #E3F0FA; color: #14608f; }
.selo--nude { background: var(--nude-tile); color: var(--rose-deep); }

/* Opção de entrega indisponível (ex.: Mercado Pago ainda não configurado) */
.entrega-op.is-off { opacity: .6; cursor: not-allowed; }
.entrega-op.is-off:hover { transform: none; border-color: #E4D3C4; }
.tag-em-breve {
  background: var(--nude-tile); color: var(--rose-deep);
  font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 100px; font-weight: 600;
}

/* ============================================================
   ✦ VARIAÇÕES (página de produto)
   ============================================================ */
.var-select { margin: 22px 0 8px; }
.var-select__label {
  font-size: 13px; letter-spacing: .04em; color: var(--muted);
  margin: 0 0 10px; text-transform: uppercase;
}
.var-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.var-chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white);
  border: 1.5px solid #E0CEBE;
  border-radius: 100px;
  padding: 9px 16px 9px 12px;
  font-family: var(--sans); font-size: 14px; color: var(--noir-soft);
  cursor: pointer;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .15s var(--ease);
}
.var-chip:hover { border-color: var(--nude); transform: translateY(-1px); }
.var-chip.is-active {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(183,132,122,.16);
}
.var-chip__cor {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: inset 0 0 0 2px #fff;
  flex: none;
}
.var-chip.is-off {
  opacity: .5; cursor: not-allowed; text-decoration: line-through;
}
.var-chip.is-off:hover { transform: none; border-color: #E0CEBE; }
.var-chip__esg { font-size: 11px; color: var(--muted); text-decoration: none; }
.var-select__erro { color: #a02929; font-size: 13px; margin: 10px 0 0; }

/* nome da variação no carrinho */
.cart-item__var {
  display: inline-block;
  background: var(--nude-tile); color: var(--rose-deep);
  font-size: 12px; padding: 1px 9px; border-radius: 100px; margin-left: 6px;
  vertical-align: middle;
}
