/* ============================================================
   VITA VERDE — Design System
   Art Direction: Mara (Vilna Gaon)
   Source: VitaVerde_Delhaize_26052023.pptx.pdf
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600&family=DM+Sans:wght@300;400;500&family=Sacramento&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --teal:       #4A8A87;
  --teal-dark:  #2D6B68;
  --cobalt:     #1B3A68;
  --cream:      #F5F0E8;
  --ink:        #1C1C1A;
  --ink-light:  #4A4A48;
  --white:      #FFFFFF;

  --gamme-natural:   #C2D9CF;
  --gamme-zerowaste: #CCAB8D;
  --gamme-diy:       #DDD3BF;

  --font-head:   'Josefin Sans', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-script: 'Sacramento', cursive;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  48px;
  --space-xl:  80px;
  --space-2xl: 120px;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;

  --max-width: 1200px;
  --gutter:    24px;

  --transition: 0.25s ease;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  letter-spacing: 0.05em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 300; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 300; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
h4 { font-size: 1rem; font-weight: 400; }
p { font-size: 1rem; font-weight: 300; color: var(--ink-light); line-height: 1.7; }
.script { font-family: var(--font-script); font-size: 1.75rem; color: var(--teal); line-height: 1.3; }
.label { font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; }
.inci { font-size: 0.75rem; color: var(--ink-light); font-weight: 300; line-height: 1.6; font-style: italic; }

/* ── Header / Nav ───────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(74,138,135,0.15);
  padding: var(--space-sm) 0;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.site-logo {
  display: flex; align-items: center; gap: var(--space-sm);
  text-decoration: none;
}
.site-logo svg { width: 80px; height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-md); }
.site-nav a {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}
.site-nav a:hover, .site-nav a.active { color: var(--teal); border-color: var(--teal); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--ink); transition: var(--transition); }
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: var(--space-md) var(--gutter);
    border-bottom: 1px solid rgba(74,138,135,0.15);
    gap: var(--space-sm);
  }
  .site-nav.open { display: flex; }
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  background: var(--gamme-natural);
  padding: var(--space-2xl) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 70vh;
}
.hero .container { display: contents; }
.hero-text {
  padding: var(--space-xl) var(--gutter) var(--space-xl) max(var(--gutter), calc((100vw - var(--max-width)) / 2 + var(--gutter)));
}
.hero-text .label { color: var(--teal); margin-bottom: var(--space-sm); }
.hero-text h1 { color: var(--ink); margin-bottom: var(--space-md); }
.hero-text p { max-width: 42ch; margin-bottom: var(--space-lg); }
.hero-image {
  background: var(--teal);
  height: 100%;
  min-height: 70vh;
  overflow: hidden;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 45vw; }
  .hero-text { padding: var(--space-xl) var(--gutter); }
}

/* ── Sections ────────────────────────────────────────────────── */
section { padding: var(--space-xl) 0; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}
.section-title { margin-bottom: var(--space-md); }
.section-intro { max-width: 55ch; margin-bottom: var(--space-lg); font-weight: 300; }

/* ── Gamme Bands ─────────────────────────────────────────────── */
.gamme-band {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(74,138,135,0.12);
}
.gamme-band--natural  { background: var(--gamme-natural); }
.gamme-band--zerowaste { background: var(--gamme-zerowaste); }
.gamme-band--diy       { background: var(--gamme-diy); }
.gamme-band .container { display: flex; align-items: center; gap: var(--space-md); }
.gamme-band h3 { color: var(--ink); }
.gamme-band p  { margin: 0; color: var(--ink-light); max-width: 50ch; }
.gamme-dot {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal);
}
.gamme-band--zerowaste .gamme-dot { background: var(--ink-light); }

/* ── Product Cards ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-md);
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  display: block;
  color: var(--ink);
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(74,138,135,0.12); }
.product-card__image {
  aspect-ratio: 4/5;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.product-card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-card__image img { transform: scale(1.04); }
.product-card__image .placeholder-img {
  width: 60%; height: 60%; opacity: 0.2;
}
.product-card__gamme-tag {
  position: absolute; top: var(--space-sm); left: var(--space-sm);
  font-family: var(--font-head); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px;
  background: rgba(255,255,255,0.85); color: var(--ink);
}
.product-card__body { padding: var(--space-md); }
.product-card__script { font-family: var(--font-script); font-size: 1.4rem; color: var(--teal); line-height: 1.2; margin-bottom: 4px; }
.product-card__name { font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-light); margin-bottom: var(--space-xs); }
.product-card__skin { font-size: 0.8rem; font-weight: 300; color: var(--ink-light); }
.product-card__size { font-size: 0.75rem; font-weight: 400; color: var(--teal); margin-top: var(--space-xs); }

/* ── Product Page ────────────────────────────────────────────── */
.product-page { padding: var(--space-xl) 0; }
.product-page .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: start; }
.product-visual {
  position: sticky; top: 100px;
  background: var(--white);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-visual img { width: 100%; height: 100%; object-fit: contain; padding: var(--space-lg); }
.product-info {}
.product-info .gamme-label { display: inline-block; margin-bottom: var(--space-md); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; padding: 5px 14px; border-radius: 20px; }
.gamme-label--natural   { background: var(--gamme-natural); color: var(--ink); }
.gamme-label--zerowaste { background: var(--gamme-zerowaste); color: var(--ink); }
.gamme-label--diy       { background: var(--gamme-diy); color: var(--ink); }
.product-info .script { margin-bottom: var(--space-xs); }
.product-info h1 { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.product-info .skin-type { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: var(--space-md); }
.product-info .description { margin-bottom: var(--space-lg); font-size: 1rem; line-height: 1.75; }
.product-divider { border: none; border-top: 1px solid rgba(74,138,135,0.15); margin: var(--space-lg) 0; }
.product-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); margin-bottom: var(--space-lg); }
.product-cols h4 { font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: var(--space-sm); }
.property-list { list-style: none; }
.property-list li { font-size: 0.9rem; font-weight: 300; color: var(--ink-light); padding: 4px 0; padding-left: 16px; position: relative; }
.property-list li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-size: 0.75rem; }
.product-meta { background: var(--white); border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-md); }
.product-meta table { width: 100%; border-collapse: collapse; }
.product-meta td { padding: 6px 0; font-size: 0.85rem; vertical-align: top; }
.product-meta td:first-child { font-weight: 600; font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); width: 40%; }
.badges { display: flex; gap: var(--space-xs); flex-wrap: wrap; margin-top: var(--space-md); }
.badge { font-family: var(--font-head); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(74,138,135,0.3); color: var(--teal); }
@media (max-width: 800px) {
  .product-page .container { grid-template-columns: 1fr; }
  .product-visual { position: static; }
  .product-cols { grid-template-columns: 1fr; }
}

/* ── Contact / About ─────────────────────────────────────────── */
.about-section { padding: var(--space-2xl) 0; }
.about-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); align-items: center; }
.about-text h2 { margin-bottom: var(--space-md); }
.about-text p + p { margin-top: var(--space-md); }
.about-image { background: var(--gamme-natural); border-radius: var(--radius-lg); aspect-ratio: 4/5; overflow: hidden; }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .about-section .container { grid-template-columns: 1fr; }
}

/* ── Contact Form ────────────────────────────────────────────── */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: var(--space-md); }
label { display: block; font-family: var(--font-head); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
input, textarea, select {
  width: 100%; padding: 12px 16px;
  background: var(--white); border: 1px solid rgba(74,138,135,0.25);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  transition: border-color var(--transition);
  appearance: none;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--teal); }
textarea { min-height: 140px; resize: vertical; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 14px 32px; border-radius: 40px;
  transition: var(--transition); text-decoration: none;
}
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline { border: 1px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-cobalt { background: var(--cobalt); color: var(--white); }
.btn-cobalt:hover { background: #142d52; }

/* ── Breadcrumb ──────────────────────────────────────────────── */
.breadcrumb {
  padding: var(--space-sm) 0;
  font-family: var(--font-head); font-size: 0.7rem;
  font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-light);
}
.breadcrumb a { color: var(--teal); }
.breadcrumb span { margin: 0 8px; opacity: 0.4; }

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}
.footer-brand .script { color: var(--gamme-natural); font-size: 2rem; }
.footer-brand p { font-size: 0.85rem; margin-top: var(--space-sm); max-width: 30ch; }
.footer-col h4 {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: var(--space-md);
}
.footer-col a {
  display: block; font-size: 0.85rem; font-weight: 300;
  padding: 4px 0; color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }
}

/* ── Shop Page Header ────────────────────────────────────────── */
.shop-header {
  background: var(--gamme-natural);
  padding: var(--space-xl) 0 var(--space-lg);
}
.shop-header h1 { margin-bottom: var(--space-sm); }
.shop-header p { max-width: 55ch; }
.shop-filters {
  display: flex; gap: var(--space-sm); flex-wrap: wrap;
  margin-top: var(--space-lg);
}
.filter-btn {
  font-family: var(--font-head); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 24px;
  border: 1px solid rgba(74,138,135,0.35);
  background: transparent; color: var(--ink);
  cursor: pointer; transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ── Utility ─────────────────────────────────────────────────── */
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-md { margin-bottom: var(--space-md); }
.text-teal { color: var(--teal); }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
