:root {
  --bg: oklch(0.15 0.012 55);
  --bg-card: oklch(0.19 0.014 55);
  --text: oklch(0.93 0.01 60);
  --text-soft: oklch(0.85 0.015 60);
  --text-soft2: oklch(0.82 0.015 60);
  --text-soft3: oklch(0.8 0.015 60);
  --text-mut: oklch(0.75 0.02 60);
  --text-mut2: oklch(0.7 0.02 60);
  --text-mut3: oklch(0.6 0.02 60);
  --text-mut4: oklch(0.55 0.02 60);
  --text-mut5: oklch(0.5 0.02 60);
  --gold: oklch(0.72 0.1 80);
  --gold-hover: oklch(0.78 0.1 80);
  --border: oklch(1 0 0 / 0.07);
  --border-soft: oklch(1 0 0 / 0.08);
  --border-soft2: oklch(1 0 0 / 0.1);
  --border-med: oklch(1 0 0 / 0.12);
  --border-strong: oklch(1 0 0 / 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Jost', sans-serif;
  min-height: 100vh;
  width: 100%;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hover); }
::selection { background: oklch(0.72 0.1 80 / 0.3); }
input::placeholder, textarea::placeholder { color: var(--text-mut4); }
img { max-width: 100%; }
button { font-family: 'Jost', sans-serif; }

.serif { font-family: 'Cormorant Garamond', serif; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  padding: clamp(12px,2.6vw,18px) clamp(20px,5vw,48px);
  background: oklch(0.15 0.012 55 / 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.brand img { height: 26px; width: auto; display: block; }
.brand span { font-family: 'Cormorant Garamond', serif; font-size: 21px; letter-spacing: 0.03em; color: var(--text); }
.site-nav { display: flex; gap: clamp(18px,3vw,32px); align-items: center; }
.site-nav a {
  cursor: pointer; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-mut); padding: 10px 0;
}
.site-nav a:hover { color: var(--text); }

.lang-toggle { display: inline-flex; align-items: center; gap: 6px; }
.lang-btn {
  background: none; border: none; cursor: pointer; padding: 10px 0;
  font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-mut);
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { color: var(--gold); }
.lang-sep { color: var(--border-strong); font-size: 11px; }

/* Header fica justo em telas bem estreitas — encolhe marca/nav em vez de
   depender só do flex-shrink, e o flex-wrap acima serve de rede de segurança. */
@media (max-width: 420px) {
  .brand span { font-size: 18px; }
  .site-nav { gap: 10px; }
  .site-nav a { font-size: 11px; }
  .lang-btn { font-size: 10px; }
}

/* Buttons */
.btn-gold {
  background: var(--gold); color: var(--bg); border: none;
  padding: 16px 34px; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; display: inline-block;
}
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline {
  background: transparent; color: var(--text); border: 1px solid var(--border-strong);
  padding: 15px 36px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* Hero */
.hero { position: relative; width: 100%; height: 100svh; min-height: 600px; overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, oklch(0.15 0.012 55 / 0.35) 45%, oklch(0.15 0.012 55 / 0.1) 65%);
}
.hero-copy {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 clamp(20px,6vw,64px) clamp(48px,8vw,90px);
  display: flex; flex-direction: column; gap: 22px; max-width: 900px; z-index: 1;
}
.hero-copy h1 {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(36px,7vw,68px); line-height: 1.12; letter-spacing: 0.005em;
}

/* Manifesto teaser (home) */
.manifesto-teaser { max-width: 640px; margin: 0 auto; padding: clamp(64px,10vw,110px) clamp(24px,6vw,40px); text-align: center; }
.manifesto-teaser p {
  margin: 0; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(20px,3vw,27px); line-height: 1.6; color: var(--text-soft);
}
.manifesto-teaser .link { margin: 16px 0 0; cursor: pointer; display: inline-block; padding: 10px 0; }
.manifesto-teaser .link span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

/* Parágrafo de introdução (SEO) — segue o teaser do manifesto, antes da galeria em destaque. */
.seo-intro { max-width: 640px; margin: 0 auto; padding: 0 clamp(24px,6vw,40px) clamp(56px,8vw,90px); text-align: center; }
.seo-intro p {
  margin: 0; font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px,2vw,19px); line-height: 1.75; color: var(--text-soft);
}

/* Sections / grids */
.section { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px,5vw,48px) clamp(70px,9vw,110px); }
.section-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mut3); margin-bottom: 28px; }
.grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px,3vw,40px);
}
.grid-wide { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(28px,3.5vw,44px); }
.card { cursor: pointer; }
.card-media { width: 100%; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-card); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-title { margin-top: 14px; font-family: 'Cormorant Garamond', serif; font-size: 21px; color: var(--text); }
.center { text-align: center; margin-top: clamp(40px,6vw,64px); }

/* Page sections */
.page { max-width: 1240px; margin: 0 auto; padding: clamp(100px,13vw,130px) clamp(20px,5vw,48px) clamp(80px,10vw,120px); }
.page h1 { margin: 0 0 clamp(40px,6vw,64px); font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(32px,5vw,50px); }

.page-narrow { max-width: 720px; margin: 0 auto; padding: clamp(100px,13vw,130px) clamp(24px,6vw,40px) clamp(100px,12vw,140px); }
.page-narrow h1 { margin: 0 0 40px; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(26px,3.6vw,38px); }
.lead-image { width: 100%; max-width: 340px; margin: 0 auto clamp(44px,6vw,64px); }
.prose { display: flex; flex-direction: column; gap: 22px; font-size: 19px; line-height: 1.8; color: var(--text-soft2); font-family: 'Cormorant Garamond', serif; }
.prose p { margin: 0; }
.prose h2 { margin: 0; font-weight: 500; font-size: clamp(20px,2.6vw,24px); color: var(--text); }

/* Product page */
.product-page { max-width: 1200px; margin: 0 auto; padding: clamp(100px,13vw,130px) clamp(20px,5vw,48px) clamp(60px,8vw,90px); }
.back-link { display: inline-block; cursor: pointer; font-size: 12px; letter-spacing: 0.1em; color: var(--text-mut3); padding: 10px 0; margin: -10px 0 clamp(18px,3vw,34px); }
.back-link:hover { color: var(--text); }
.product-layout { display: flex; flex-wrap: wrap; gap: clamp(28px,4vw,48px); }
.product-image { flex: 1 1 380px; min-width: 280px; }
.product-image img { width: 100%; height: auto; display: block; max-width: 520px; }
.product-info { flex: 1 1 300px; min-width: 280px; display: flex; flex-direction: column; gap: 24px; }
.product-info h1 { margin: 0; font-family: 'Cormorant Garamond', serif; font-weight: 500; font-size: clamp(30px,4.5vw,44px); line-height: 1.15; }
.hr { height: 1px; background: var(--border-soft2); margin: 4px 0; }
.price-block { display: flex; flex-direction: column; gap: 6px; }
.price { font-family: 'Cormorant Garamond', serif; font-size: 28px; color: var(--text); }
.spec { font-size: 13px; color: var(--text-mut3); letter-spacing: 0.02em; }
.spec-note { font-size: 13px; color: var(--text-mut4); letter-spacing: 0.01em; margin-top: 2px; }

.variant-picker { display: flex; gap: 16px; flex-wrap: wrap; }
.variant-picker .form-field { flex: 1 1 160px; min-width: 140px; }

/* Checkout */
.checkout-summary {
  display: flex; gap: 18px; align-items: center; padding-bottom: 28px;
  border-bottom: 1px solid var(--border-soft2); margin-bottom: 32px;
}
.checkout-summary img { width: 72px; height: 90px; object-fit: cover; flex-shrink: 0; }
.checkout-summary .title { font-family: 'Cormorant Garamond', serif; font-size: 22px; }
.checkout-summary .spec { margin-top: 4px; }

.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mut3); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--bg-card); border: 1px solid var(--border-med); color: var(--text);
  padding: 14px 16px; font-family: 'Jost', sans-serif; font-size: 16px; border-radius: 2px; width: 100%;
}
.form-field textarea { resize: vertical; }
.form-field select { cursor: pointer; }
form { display: flex; flex-direction: column; gap: 20px; }
.btn-submit { margin-top: 12px; width: 100%; padding: 18px 30px; }

.cep-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cep-row input { flex: 1 1 160px; }
.cep-row button { flex: 0 0 auto; white-space: nowrap; padding: 14px 20px; }

.frete-option {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
  padding: 14px 16px; border: 1px solid var(--border-med); border-radius: 2px; margin-bottom: 10px;
}
.frete-option:hover { border-color: var(--border-strong); }
.frete-option input[type="radio"] { flex-shrink: 0; accent-color: var(--gold); width: 18px; height: 18px; }
.frete-option-info { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.frete-option-name { font-size: 14px; color: var(--text); }
.frete-option-prazo { font-size: 12px; color: var(--text-mut3); }
.frete-option-price { font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--gold); white-space: nowrap; }

.checkout-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px; border-top: 1px solid var(--border-soft2);
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--text);
}

.form-error {
  display: none; background: oklch(0.3 0.1 25 / 0.5); border: 1px solid oklch(0.6 0.15 25 / 0.6);
  color: oklch(0.9 0.05 25); padding: 14px 16px; border-radius: 2px; font-size: 14px; line-height: 1.5;
}
.form-error.visible { display: block; }

.intl-shipping-notice {
  background: var(--bg-card); border: 1px solid var(--border-med); border-radius: 2px;
  padding: 20px; gap: 16px;
}
.intl-shipping-notice p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--text-mut2); }
.intl-shipping-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.intl-shipping-actions a { flex: 1 1 160px; text-align: center; }

/* Thank you page */
.thanks { text-align: center; padding: clamp(30px,6vw,50px) 0; }
.thanks .headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(28px,4vw,38px); margin-bottom: 20px; }
.thanks p { font-size: 17px; line-height: 1.7; color: var(--text-soft3); max-width: 46ch; margin: 0 auto; }
.thanks .actions { margin-top: 44px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border-soft); max-width: 1240px; margin: 0 auto; }
.site-footer-main {
  padding: clamp(40px,6vw,56px) clamp(20px,5vw,48px) clamp(24px,4vw,32px);
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
}
.site-footer .brand img { height: 20px; opacity: 0.85; }
.site-footer .brand span { font-size: 17px; color: var(--text-mut2); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { display: inline-block; cursor: pointer; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mut3); padding: 10px 0; }
.footer-links a:hover { color: var(--text); }

.footer-social { display: flex; align-items: center; gap: 22px; }
.footer-social-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 0;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mut3);
}
.footer-social-link:hover { color: var(--gold); }
.footer-social-link svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }
.footer-icon-link { display: inline-flex; align-items: center; justify-content: center; padding: 10px; margin: -10px; color: var(--text-mut3); }
.footer-icon-link:hover { color: var(--gold); }
.footer-icon-link svg { width: 18px; height: 18px; fill: currentColor; }

.site-footer-legal {
  border-top: 1px solid var(--border-soft); padding: 16px clamp(20px,5vw,48px);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.01em; color: var(--text-mut5);
}
.footer-copy { font-size: 12px; color: var(--text-mut5); }
.footer-legal-link { display: inline-block; padding: 4px 0; font-size: 11px; letter-spacing: 0.01em; color: var(--text-mut5); }
.footer-legal-link:hover { color: var(--gold); }

[hidden] { display: none !important; }
