/* Lovely Colors v10 — core tokens, topbar, header, hero shell */
:root {
  --brand-purple: #0B3D5C;
  --brand-magenta: #1488CC;
  --brand-pink: #3FB5E6;
  --brand-pink-soft: #BFE6F5;
  --paper: #ffffff;
  --paper-2: #f5f5f5;
  --paper-3: #eeeeee;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --ink-3: #6a6a6a;
  --ink-4: #a0a0a0;
  --line: #111111;
  --hair: rgba(17,17,17,0.10);
  --hair-2: rgba(17,17,17,0.22);
  --accent: #3FB5E6;
  --accent-ink: #111111;
  --gutter: clamp(28px, 5.5vw, 88px);
  --maxw: 1480px;
  --font: 'Montserrat', system-ui, sans-serif;
}

html, body { background: var(--paper); color: var(--ink); font-family: var(--font); }
body { font-size: 15px; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
* { box-sizing: border-box; }

/* type */
.eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; }
.eyebrow.small { font-size: 10px; letter-spacing: 0.2em; }
.display { font-family: var(--font); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; }
.serif-feel { font-weight: 300; font-style: italic; letter-spacing: -0.01em; }

/* layout */
.shell { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.row { display: flex; align-items: center; }
.between { display: flex; align-items: center; justify-content: space-between; }
.col { display: flex; flex-direction: column; }

/* topbar */
.topbar { background: var(--ink); color: var(--paper); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; padding: 9px 0; overflow: hidden; }
.topbar-track { display: flex; gap: 64px; animation: tickerSlide 40s linear infinite; white-space: nowrap; }
@keyframes tickerSlide { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.topbar-track span { display: inline-flex; align-items: center; gap: 12px; }
.topbar-track .dot { width: 4px; height: 4px; background: var(--accent); border-radius: 50%; }

/* header */
header.nav { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--hair); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-top: 18px; padding-bottom: 18px; gap: 24px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav-link { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); position: relative; padding: 4px 0; }
.nav-link:hover { color: var(--ink); }
.nav-link.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); }

.brand-wordmark { font-weight: 800; display: inline-flex; flex-direction: column; align-items: center; gap: 0; line-height: 1; }
.brand-wordmark .word { display: inline-flex; align-items: baseline; gap: 2px; font-size: 28px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.brand-wordmark .word sup { font-size: 10px; font-weight: 600; margin-left: 1px; vertical-align: super; }
.brand-wordmark .sub { font-size: 10px; letter-spacing: 0.45em; font-weight: 500; margin-top: 4px; padding-left: 0.45em; }
.brand-wordmark .dots { display: inline-flex; gap: 6px; margin-top: 6px; }
.brand-wordmark .dots span { width: 7px; height: 7px; border-radius: 50%; }
.brand-wordmark .dots span:nth-child(1) { background: #0B3D5C; }
.brand-wordmark .dots span:nth-child(2) { background: #1488CC; }
.brand-wordmark .dots span:nth-child(3) { background: #3FB5E6; }

.audience-toggle { display: inline-flex; border: 1px solid var(--ink); padding: 2px; }
.audience-toggle button { padding: 7px 14px; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.audience-toggle button.on { background: var(--ink); color: var(--paper); }

.cart-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid var(--ink); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; }
.cart-pill:hover { background: var(--ink); color: var(--paper); }
.cart-pill .count { background: var(--accent); color: var(--ink); padding: 2px 6px; font-weight: 700; min-width: 18px; text-align: center; }

/* hero base */
.hero { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: 0.18s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.btn-ghost { background: transparent; color: var(--ink); }
.btn.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn.btn-arrow::after { content: '→'; }

/* sec-head shared */
.sec-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; padding-top: 80px; }
.sec-head h2 { font-size: clamp(40px, 5.5vw, 96px); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; color: var(--ink); }
.sec-head .right { font-size: 14px; line-height: 1.55; color: var(--ink-3); max-width: 480px; }

/* hero swatches small */
.hero-swatch { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--paper); outline: 1px solid transparent; cursor: pointer; transition: 0.18s; }
.hero-swatch.on { outline-color: var(--ink); transform: scale(1.15); }

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .nav-left { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .brand-wordmark { justify-self: center; }
  .nav-right { gap: 14px; }
}

/* ── Menu mobile (burger) ── */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 42px; height: 42px; padding: 9px; margin-left: -9px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* show burger on mobile — declared AFTER the base rule so it wins the cascade */
@media (max-width: 900px) { .nav-toggle { display: flex; } }

.mobile-menu { display: none; flex-direction: column; background: var(--paper); border-top: 1px solid var(--hair); }
.mobile-menu.is-open { display: flex; }
.mobile-menu .mobile-link { padding: 15px var(--gutter); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--hair); }
.mobile-menu .mobile-link:active { background: rgba(20, 136, 204, 0.08); }
@media (min-width: 901px) { .mobile-menu { display: none !important; } }

@media (max-width: 600px) {
  .audience-toggle { display: none; }
  .cart-pill { padding: 7px 11px; }
}

@media (max-width: 480px) {
  .hero-full .hero-display { font-size: 34px; }
  .sec-head h2 { font-size: 34px; }
  .sec-head { padding-top: 48px; margin-bottom: 28px; }
  .brand-wordmark .word { font-size: 23px; }
  .brand-wordmark .sub { font-size: 9px; letter-spacing: 0.3em; }
  .topbar { font-size: 10px; padding: 8px 0; }
}

/* Défilement fluide + ancrage sous le header sticky (CTA "Découvrir" → produits) */
html { scroll-behavior: smooth; }
#boutique { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
