/* ============================================================
   ESTILO BOUTIQUE — Emerald Opulence
   Moda feminina de luxo · Paleta: esmeralda + champanhe + marfim
   ============================================================ */

:root {
  /* Paleta — Emerald Opulence */
  --emerald-deep: #0d3b33;
  --emerald: #147d64;
  --emerald-soft: #1f6e5c;
  --emerald-mist: rgba(20, 125, 100, 0.10);
  --gold: #c9a24b;
  --gold-soft: rgba(201, 162, 75, 0.45);
  --gold-faint: rgba(201, 162, 75, 0.18);
  --ivory: #f8f4ec;
  --ivory-deep: #efe9dc;
  --ivory-card: #fcfaf5;
  --ink: #16181d;
  --ink-soft: #565a63;
  --ink-faint: #7d8189;

  /* Tipografia */
  --serif: "Marcellus", "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;

  /* Métricas */
  --radius: 4px;
  --radius-lg: 14px;
  --maxw: 1200px;
  --shadow-card: 0 18px 40px -22px rgba(13, 59, 51, 0.35);
  --shadow-lift: 0 26px 48px -22px rgba(13, 59, 51, 0.45);
  --header-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--ivory);
  /* Mármore: gradientes suaves + veios sutis */
  background-image:
    radial-gradient(ellipse 55% 38% at 12% 4%, rgba(201, 162, 75, 0.10), transparent 62%),
    radial-gradient(ellipse 48% 34% at 90% 12%, rgba(20, 125, 100, 0.09), transparent 60%),
    radial-gradient(ellipse 60% 40% at 78% 92%, rgba(201, 162, 75, 0.07), transparent 64%),
    linear-gradient(158deg, #fcfaf4 0%, var(--ivory) 38%, #f2eddf 78%, #efe9da 100%),
    repeating-linear-gradient(118deg, rgba(22, 24, 29, 0.022) 0 2px, transparent 2px 11px, rgba(22, 24, 29, 0.016) 11px 13px, transparent 13px 34px);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--emerald-deep);
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.22;
  color: var(--ink);
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

ul {
  padding-left: 1.2em;
}

.hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 2000;
  background: var(--emerald-deep);
  color: var(--ivory);
  border: 1px solid var(--gold);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  left: 0;
  color: var(--gold);
}

/* ---------- Utilidades ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-title {
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  letter-spacing: 0.09em;
  color: var(--emerald-deep);
}

.section-sub {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.hairline {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft) 22%, var(--gold) 50%, var(--gold-soft) 78%, transparent);
  margin: 0;
}

.ornament {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
  margin: 1rem 0;
}

.ornament::before,
.ornament::after {
  content: "";
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold-soft), transparent);
}

/* Selo circular — carimbo da casa */
.stamp {
  position: relative;
  width: 92px;
  height: 92px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--gold);
  padding: 0 0.4rem;
  background: rgba(248, 244, 236, 0.35);
}

.stamp::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 50%;
}

.stamp strong {
  display: block;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  background: linear-gradient(135deg, #d8b46a, var(--gold) 55%, #b58f3f);
  border: 1px solid #b58f3f;
  border-radius: 999px;
  padding: 0.9rem 1.9rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), filter 0.25s var(--ease);
  box-shadow: 0 10px 22px -12px rgba(181, 143, 63, 0.55);
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 16px 28px -12px rgba(181, 143, 63, 0.65);
  color: var(--emerald-deep);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-soft);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(201, 162, 75, 0.12);
  color: var(--gold);
  box-shadow: none;
}

.btn-emerald {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-deep));
  border-color: var(--emerald-deep);
  color: var(--ivory);
  box-shadow: 0 10px 22px -12px rgba(13, 59, 51, 0.6);
}

.btn-emerald:hover {
  color: var(--ivory);
  filter: brightness(1.08);
}

.btn-block {
  width: 100%;
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
}

.topbar {
  background: var(--emerald-deep);
  color: rgba(248, 244, 236, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-soft);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 34px;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.topbar a {
  color: var(--gold);
}

.topbar a:hover {
  color: var(--ivory);
}

.header-main {
  background: rgba(248, 244, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-soft);
}

.header-main .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--gold);
  position: relative;
  flex: none;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(201, 162, 75, 0.5);
  border-radius: 50%;
}

.brand-text {
  display: block;
  line-height: 1.05;
}

.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
  color: var(--emerald-deep);
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  font-size: 0.56rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.3rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--emerald-deep);
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--emerald-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  position: relative;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.cart-btn:hover {
  background: var(--emerald);
  color: var(--ivory);
  transform: translateY(-1px);
}

.cart-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--emerald-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  color: var(--emerald-deep);
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background:
    radial-gradient(ellipse 60% 45% at 85% 0%, rgba(201, 162, 75, 0.14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 8% 100%, rgba(20, 125, 100, 0.22), transparent 60%),
    var(--emerald-deep);
  color: rgba(248, 244, 236, 0.78);
  border-top: 1px solid var(--gold-soft);
  margin-top: 4rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 1.35fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.75rem;
}

.footer-title {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gold-soft);
}

.footer-brand .brand-text strong {
  color: var(--ivory);
}

.footer-about {
  font-size: 0.9rem;
  margin: 1rem 0 0;
  max-width: 30ch;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a {
  color: rgba(248, 244, 236, 0.78);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact a {
  color: var(--gold);
}

.footer-contact a:hover {
  color: var(--ivory);
}

.footer-contact .label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.5);
  margin-bottom: 0.1rem;
}

/* Newsletter — formulário fixo da casa */
.newsletter-note {
  font-size: 0.88rem;
  margin: 0 0 1rem;
}

.newsletter-form .field {
  background: rgba(248, 244, 236, 0.06);
  border-color: var(--gold-soft);
  color: var(--ivory);
  width: 100%;
  margin-bottom: 0.9rem;
}

.newsletter-form .field::placeholder {
  color: rgba(248, 244, 236, 0.45);
}

.newsletter-form .field:focus {
  background: rgba(248, 244, 236, 0.1);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.18);
}

.newsletter-form .btn {
  width: 100%;
  margin-bottom: 0.9rem;
}

.newsletter-form .checkbox-line {
  color: rgba(248, 244, 236, 0.75);
}

.newsletter-form .checkbox-line a {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--gold-faint);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.footer-bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 2rem;
}

.footer-bottom a {
  color: rgba(248, 244, 236, 0.72);
}

.footer-bottom a:hover {
  color: var(--gold);
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
}

/* ---------- Formulários ---------- */
.field {
  width: 100%;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.field::placeholder {
  color: var(--ink-faint);
}

.field:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
  background: #fffefb;
}

select.field {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--emerald) 50%), linear-gradient(135deg, var(--emerald) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

textarea.field {
  min-height: 130px;
  resize: vertical;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 0.45rem;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}

.checkbox-line input {
  margin-top: 0.22rem;
  accent-color: var(--emerald);
  width: 17px;
  height: 17px;
  flex: none;
}

.checkbox-line a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-line.full {
  width: 100%;
}

.form-success {
  border: 1px solid var(--gold-soft);
  background: linear-gradient(135deg, rgba(20, 125, 100, 0.08), rgba(201, 162, 75, 0.1));
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--emerald-deep);
}

.form-success small {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0;
  color: var(--ink-soft);
  margin-top: 0.7rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 85% 15%, rgba(201, 162, 75, 0.2), transparent 58%),
    radial-gradient(ellipse 55% 50% at 10% 90%, rgba(20, 125, 100, 0.4), transparent 60%),
    var(--emerald-deep);
  color: var(--ivory);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(248, 244, 236, 0.028) 0 1px, transparent 1px 9px, rgba(248, 244, 236, 0.02) 9px 11px, transparent 11px 30px);
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  letter-spacing: 0.1em;
  line-height: 1.12;
  color: var(--ivory);
  margin-bottom: 1.1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 1.02rem;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.82);
  max-width: 46ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.65);
}

.hero-trust strong {
  color: var(--gold);
  font-weight: 500;
}

.hero-figure {
  position: relative;
  justify-self: end;
  width: min(440px, 100%);
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  z-index: 0;
}

.hero-figure img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  bottom: -26px;
  left: -26px;
  background: var(--ivory);
}

/* ---------- Cartões / Produtos ---------- */
.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.75rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ivory-deep);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  background: var(--emerald-deep);
  color: var(--gold);
  border: 1px solid var(--gold-soft);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

.product-info {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-cat {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.product-name {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin: 0;
}

.product-name a {
  color: inherit;
}

.product-name a:hover {
  color: var(--emerald);
}

.product-desc {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.product-price {
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  color: var(--emerald);
  margin-top: 0.4rem;
}

.product-price .cents {
  font-size: 0.85rem;
}

/* ---------- Categorias ---------- */
.grid-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.cat-card {
  display: block;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow-card);
}

.cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  background: rgba(201, 162, 75, 0.08);
}

.cat-card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald-deep);
}

.cat-card small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--ink-faint);
  margin-top: 0.25rem;
}

/* ---------- Faixa editorial / banner ---------- */
.editorial {
  position: relative;
  background:
    linear-gradient(100deg, rgba(13, 59, 51, 0.96) 0%, rgba(13, 59, 51, 0.82) 55%, rgba(13, 59, 51, 0.55) 100%),
    var(--emerald-deep);
  color: var(--ivory);
  overflow: hidden;
}

.editorial .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3rem;
}

.editorial-media {
  position: relative;
  order: 2;
}

.editorial-media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
}

.editorial-media img {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-lift);
}

.editorial h2 {
  color: var(--ivory);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: 0.08em;
}

.editorial p {
  color: rgba(248, 244, 236, 0.8);
  font-weight: 300;
}

.editorial .btn-ghost {
  color: var(--gold);
}

/* ---------- Valores ---------- */
.grid-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.value-item {
  padding: 1.5rem 1rem;
  background: rgba(248, 244, 236, 0.6);
  border: 1px solid var(--gold-faint);
  border-radius: var(--radius-lg);
}

.value-item .stamp {
  width: 76px;
  height: 76px;
  font-size: 0.5rem;
  margin-bottom: 1rem;
}

.value-item strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.92rem;
  color: var(--emerald-deep);
  margin-bottom: 0.35rem;
}

.value-item p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Filtros do catálogo ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  background: transparent;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-btn.active {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  color: var(--ivory);
}

/* ---------- Página de produto ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: start;
}

.product-detail-media {
  position: relative;
}

.product-detail-media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
}

.product-detail-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-card);
}

.product-detail-info .product-cat {
  font-size: 0.7rem;
}

.product-detail-info h1 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  letter-spacing: 0.08em;
  color: var(--emerald-deep);
}

.detail-price {
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  color: var(--emerald);
  margin: 0.6rem 0 1.2rem;
}

.detail-price .cents {
  font-size: 1.15rem;
}

.detail-desc {
  color: var(--ink-soft);
  font-size: 0.96rem;
  border-top: 1px solid var(--gold-faint);
  padding-top: 1.2rem;
}

.detail-meta {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--gold-faint);
  border-bottom: 1px solid var(--gold-faint);
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.detail-meta strong {
  color: var(--emerald-deep);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.sizes-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 0.6rem;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.4rem;
}

.size-btn {
  min-width: 48px;
  height: 46px;
  padding: 0 0.6rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.size-btn:hover {
  border-color: var(--gold);
}

.size-btn.selected {
  background: var(--emerald-deep);
  border-color: var(--emerald-deep);
  color: var(--ivory);
}

.size-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.breadcrumbs {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}

.breadcrumbs a {
  color: var(--emerald);
}

.breadcrumbs .sep {
  color: var(--gold);
  margin: 0 0.5rem;
}

/* ---------- Sacola (carrinho) ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cart-items {
  display: grid;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 104px 1fr auto;
  gap: 1.1rem;
  align-items: center;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 0.9rem;
}

.cart-item img {
  width: 104px;
  height: 128px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gold-faint);
}

.cart-item-name {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  margin: 0 0 0.2rem;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 0.7rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  overflow: hidden;
}

.qty-stepper button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--emerald-deep);
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease);
}

.qty-stepper button:hover {
  background: var(--emerald-mist);
}

.qty-stepper .qty-val {
  min-width: 34px;
  text-align: center;
  font-weight: 500;
  font-size: 0.92rem;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.cart-item-price {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--emerald);
  letter-spacing: 0.04em;
}

.remove-btn {
  background: none;
  border: 0;
  color: var(--ink-faint);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.2rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.remove-btn:hover {
  color: #a33c2e;
  border-color: #a33c2e;
}

.summary-card {
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.summary-title {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--gold-soft);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
}

.summary-line.total {
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--emerald-deep);
  border-top: 1px solid var(--gold-soft);
  margin-top: 0.8rem;
  padding-top: 0.9rem;
}

.summary-line .free {
  color: var(--emerald);
  font-weight: 500;
}

.summary-note {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0.9rem 0 0;
}

.cart-empty {
  text-align: center;
  max-width: 520px;
  margin: 3rem auto;
  padding: 3rem 1.6rem;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
}

.cart-empty .stamp {
  width: 110px;
  height: 110px;
  font-size: 0.6rem;
  margin-bottom: 1.4rem;
}

.cart-empty h2 {
  color: var(--emerald-deep);
  letter-spacing: 0.1em;
}

/* ---------- Páginas internas ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 70% at 15% 0%, rgba(201, 162, 75, 0.16), transparent 60%),
    var(--emerald-deep);
  color: var(--ivory);
  border-bottom: 1px solid var(--gold-soft);
  padding: 3.4rem 0 3.2rem;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(115deg, rgba(248, 244, 236, 0.026) 0 1px, transparent 1px 10px, rgba(248, 244, 236, 0.018) 10px 12px, transparent 12px 32px);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
}

.page-hero h1 {
  color: var(--ivory);
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  letter-spacing: 0.12em;
  margin: 0.2rem 0 0;
}

.page-hero p {
  color: rgba(248, 244, 236, 0.75);
  font-weight: 300;
  max-width: 52ch;
  margin: 0.9rem auto 0;
  font-size: 0.98rem;
}

.prose {
  max-width: 780px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  color: var(--emerald-deep);
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--gold-faint);
}

.prose h3 {
  font-size: 1.05rem;
  color: var(--emerald);
  letter-spacing: 0.06em;
  margin-top: 1.6rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose .updated {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--gold-faint);
  border-radius: 999px;
  display: inline-block;
  padding: 0.3rem 1rem;
  margin-bottom: 1.6rem;
}

.info-box {
  margin-top: 2.6rem;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
}

.info-box h3 {
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.info-box ul {
  margin: 0;
  padding-left: 1.2em;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.info-box li {
  margin-bottom: 0.5rem;
}

.info-box a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.25rem;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
}

.about-media img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gold);
  box-shadow: var(--shadow-card);
}

.about-media .stamp {
  position: absolute;
  bottom: -24px;
  right: -18px;
  background: var(--ivory);
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--ivory-card);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex: none;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.15rem;
  background: rgba(201, 162, 75, 0.08);
}

.contact-card strong {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-deep);
  margin-bottom: 0.25rem;
}

.contact-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  word-break: break-word;
}

.contact-card a {
  color: var(--emerald);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Toast ---------- */
.toast-region {
  position: fixed;
  z-index: 1200;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 0.6rem;
  width: min(92vw, 400px);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--emerald-deep);
  color: var(--ivory);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.25rem;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lift);
  animation: toast-in 0.35s var(--ease);
  pointer-events: auto;
}

.toast.out {
  animation: toast-out 0.3s var(--ease) forwards;
}

.toast .tick {
  color: var(--gold);
  font-size: 1.05rem;
  line-height: 1;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes toast-out {
  to { opacity: 0; transform: translateY(10px); }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .hero .wrap,
  .editorial .wrap {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .hero-figure {
    justify-self: center;
    width: min(420px, 88%);
  }

  .editorial-media {
    order: 0;
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .product-detail-media {
    max-width: 560px;
  }

  .cart-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory-card);
    border-bottom: 1px solid var(--gold-soft);
    box-shadow: var(--shadow-card);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.25rem 1.1rem;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gold-faint);
  }

  .nav .cart-btn {
    margin-top: 1rem;
    justify-content: center;
  }

  .header-main .wrap {
    min-height: var(--header-h);
  }
}

@media (max-width: 620px) {
  .section {
    padding: 3rem 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.75rem 0 2.25rem;
  }

  .footer-bottom .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-stamp {
    bottom: -20px;
    left: 8px;
  }

  .cart-item {
    grid-template-columns: 84px 1fr;
  }

  .cart-item img {
    width: 84px;
    height: 106px;
  }

  .cart-item-right {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .grid-products {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
  }

  .product-info {
    padding: 0.9rem 0.95rem 1.05rem;
  }

  .product-name {
    font-size: 1rem;
  }

  .toast-region {
    bottom: 0.8rem;
  }
}
