/* ============================================
   VOGLIO — Design System
   Edite as variáveis abaixo para mudar o tema
   ============================================ */
:root {
  --cream: #f6efdc;
  --cream-deep: #ebe0c3;
  --terracotta: #b56a3c;
  --terracotta-deep: #8a4d29;
  --ink: #2a2118;
  --muted: #6b5e4f;
  --border: #d8cbb0;
  --card: #fbf6e6;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;

  --shadow-soft: 0 30px 60px -30px rgba(138, 77, 41, 0.35);
  --shadow-card: 0 20px 40px -20px rgba(42, 33, 24, 0.25);
}

/* ============ RESET ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ============ UTILITIES ============ */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta-deep);
}
.lead { font-size: 1.125rem; color: var(--muted); max-width: 38rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid rgba(42, 33, 24, 0.25);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 220, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(216, 203, 176, 0.5);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--terracotta); }
.logo-icon { width: 36px; height: 28px; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.35em; color: var(--ink);
}
.main-nav { display: none; gap: 36px; }
.main-nav a {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted); transition: color 0.3s;
}
.main-nav a:hover { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; gap: 4px;
  border: 1px solid var(--border);
  background: rgba(251, 246, 230, 0.6);
  border-radius: 999px; padding: 4px;
}
.lang-toggle button {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--muted); transition: all 0.3s;
}
.lang-toggle button.active {
  background: var(--terracotta); color: var(--cream);
}
.flag { width: 22px; height: 16px; border-radius: 2px; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
}
@media (max-width: 640px) {
  .header-actions .btn { display: none; }
}

/* ============ HERO ============ */
.hero { padding: 64px 0 96px; position: relative; }
.hero-grid {
  display: grid; gap: 48px; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  margin: 24px 0 32px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.hero-image { position: relative; }
.hero-image img {
  width: 100%; height: 460px; object-fit: cover;
  border-radius: 28px; box-shadow: var(--shadow-card);
}
.hero-badge {
  position: absolute; bottom: 24px; left: -20px;
  background: rgba(251, 246, 230, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 18px 22px; border-radius: 18px;
  box-shadow: var(--shadow-card);
}
.badge-number { font-family: var(--font-display); font-size: 1.8rem; color: var(--terracotta); }
.badge-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-top: 4px; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-image img { height: 620px; }
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--terracotta);
  color: var(--cream);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex; gap: 40px; white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.05em;
}
.marquee-track i { font-style: normal; opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ COLLECTION ============ */
.collection { padding: 112px 0; }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin: 20px 0 24px;
}
.product-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.product-card {
  background: var(--card);
  border-radius: 24px; padding: 20px;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s;
}
.product-card:hover { transform: translateY(-6px); }
.product-img {
  border-radius: 18px; overflow: hidden; margin-bottom: 20px;
}
.product-img img { height: 320px; object-fit: cover; width: 100%; }
.product-tag {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--terracotta-deep); margin-bottom: 8px;
}
.product-card h3 { font-size: 1.8rem; margin-bottom: 10px; }
.product-card p { color: var(--muted); margin-bottom: 16px; }
.product-link {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--terracotta); font-weight: 500;
}

/* ============ STORY ============ */
.story {
  background: var(--cream-deep);
  padding: 112px 0;
}
.story-grid {
  display: grid; gap: 56px; align-items: center;
}
.story-image { position: relative; }
.story-image img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 24px; box-shadow: var(--shadow-card);
}
.story-badge {
  position: absolute; top: -18px; right: -18px;
  background: var(--card); border: 1px solid var(--terracotta);
  padding: 14px 20px; border-radius: 16px;
  box-shadow: var(--shadow-soft);
}
.badge-title { font-family: var(--font-display); font-style: italic; color: var(--terracotta); font-size: 1.3rem; }
.badge-sub { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.story-text h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 20px 0 28px; }
.story-points { list-style: none; margin-top: 36px; }
.story-points li {
  padding: 16px 0; border-top: 1px solid var(--border);
  position: relative; padding-left: 24px;
}
.story-points li::before {
  content: ""; position: absolute; left: 0; top: 26px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta);
}
@media (min-width: 900px) {
  .story-grid { grid-template-columns: 5fr 7fr; gap: 80px; }
  .story-image img { height: 640px; }
}

/* ============ MATERIALS ============ */
.materials { padding: 112px 0; }
.materials-grid { display: grid; gap: 56px; align-items: center; }
.materials-grid h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin: 20px 0 24px; }
.swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.swatch {
  aspect-ratio: 4/5;
  border-radius: 22px;
  position: relative;
  box-shadow: var(--shadow-card);
}
.swatch span {
  position: absolute; bottom: 18px; left: 20px;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--cream);
  mix-blend-mode: difference;
}
.swatch i {
  position: absolute; bottom: 22px; right: 20px;
  font-style: normal; font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream); mix-blend-mode: difference;
}
@media (min-width: 900px) {
  .materials-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* ============ CTA ============ */
.cta {
  background: var(--ink); color: var(--cream);
  padding: 112px 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; color: var(--cream); }
.cta p { color: rgba(246, 239, 220, 0.7); margin-bottom: 36px; }
.cta-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.cta-form input {
  flex: 1; min-width: 240px;
  padding: 0.95rem 1.5rem;
  background: rgba(246, 239, 220, 0.08);
  border: 1px solid rgba(246, 239, 220, 0.2);
  color: var(--cream);
  border-radius: 999px; font-size: 0.95rem;
  outline: none;
}
.cta-form input::placeholder { color: rgba(246, 239, 220, 0.5); }
.cta-form input:focus { border-color: var(--terracotta); }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: rgba(246, 239, 220, 0.6); padding: 32px 0; border-top: 1px solid rgba(246, 239, 220, 0.08); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-tag { font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: var(--cream); }
.footer-rights { font-size: 0.8rem; }
