/* ============================================================
   NUANCE. — Système de design partagé
   Charte 2026 · Paper / Ink / Or · zéro border-radius
   Cormorant Garamond · Josefin Sans · DM Mono
   ============================================================ */

:root {
  /* Fondations */
  --paper:  #faf8f5;
  --ink:    #1a1614;
  --gold:   #c8a882;
  --bronze: #9a7a52;
  --rule:   #d4c9bc;
  --muted:  #9b8e84;
  --cream:  #f0e8dc;
  --cream-2:#f5f0e8;

  /* Saisons — fonds */
  --spring-bg: #fffbf3;
  --summer-bg: #f0f5f8;
  --autumn-bg: #faf2e8;
  --winter-bg: #eeeef5;

  /* Saisons — couleurs foncées (texte/accents) */
  --spring-dk: #b5732a;
  --summer-dk: #3f6f8c;
  --autumn-dk: #7a3a10;
  --winter-dk: #4a4a7a;

  /* Saisons — accents vifs */
  --spring:  #e8b87a;
  --summer:  #7aadcf;
  --autumn:  #c8723a;
  --winter:  #7878b8;

  /* Type scale */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Josefin Sans', sans-serif;
  --mono:  'DM Mono', monospace;

  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─────────────────────────────────────────────
   TYPO UTILITAIRES
   ───────────────────────────────────────────── */
.label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.sans-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}
.serif-it { font-style: italic; }
.gold-word { color: var(--bronze); font-style: italic; }

h1, h2, h3, h4 { font-weight: 300; line-height: 1.12; }

/* ─────────────────────────────────────────────
   NAVIGATION
   ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 0.5px solid var(--rule);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 64px);
}
.nav-logo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
  list-style: none;
}
.nav-links a {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-lang {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.nav-lang a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-lang a:hover,
.nav-lang a.active { color: var(--ink); }
.nav-lang-sep { color: var(--rule); }
.nav-cta {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--ink) !important;
  padding: 13px 24px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: var(--ink); color: var(--paper) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-burger span { width: 24px; height: 1px; background: var(--ink); display: block; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ─────────────────────────────────────────────
   BOUTONS
   ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 18px 38px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--bronze); color: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--bronze); }
.btn-outline { background: transparent; color: var(--ink); border: 0.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 13px 26px; font-size: 10px; }

/* ─────────────────────────────────────────────
   FILETS & SAISONS
   ───────────────────────────────────────────── */
.rule-gold { height: 1px; background: var(--gold); border: none; }
.rule-thin { height: 0.5px; background: var(--rule); border: none; }

/* barre signature : 12 segments = 4 saisons × 3 couleurs */
.season-bar {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 8px;
  width: 100%;
}
.season-bar span { display: block; }
.season-bar .s1 { background: #f0c896; } .season-bar .s2 { background: #e8b87a; } .season-bar .s3 { background: #d99b52; }
.season-bar .e1 { background: #a8cfe0; } .season-bar .e2 { background: #7aadcf; } .season-bar .e3 { background: #5c8fb0; }
.season-bar .a1 { background: #e0a878; } .season-bar .a2 { background: #c8723a; } .season-bar .a3 { background: #9a4f1e; }
.season-bar .h1 { background: #a8a8d0; } .season-bar .h2 { background: #7878b8; } .season-bar .h3 { background: #565690; }

/* ─────────────────────────────────────────────
   SECTION SHELL
   ───────────────────────────────────────────── */
.section { padding: clamp(56px, 9vw, 130px) clamp(20px, 5vw, 64px); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-cream { background: var(--cream); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: 820px; margin: 0 auto; }

.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-title { font-size: clamp(30px, 4vw, 48px); }
.section-sub { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }

/* ─────────────────────────────────────────────
   CARTES SERVICES
   ───────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.card {
  background: var(--paper);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.card-featured { background: var(--ink); color: var(--paper); }
.card-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 8px; }
.card-label::before { content: ''; width: 7px; height: 7px; background: var(--gold); display: inline-block; }
.card-name { font-size: 26px; margin: 22px 0 6px; }
.card-tagline { font-size: 15px; color: var(--muted); font-style: italic; min-height: 48px; }
.card-featured .card-tagline { color: #c9bfb4; }
.card-price { font-family: var(--mono); font-size: 22px; margin: 18px 0; letter-spacing: 0.02em; }
.card-featured .card-price { color: var(--gold); }
.card-list { list-style: none; margin: 8px 0 26px; flex: 1; }
.card-list li { font-size: 14.5px; color: var(--ink); padding: 10px 0; border-top: 0.5px solid var(--rule); display: flex; gap: 9px; line-height: 1.4; }
.card-featured .card-list li { color: #d8cfc4; border-top-color: #353029; }
.card-list li::before { content: '—'; color: var(--gold); flex-shrink: 0; }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ─────────────────────────────────────────────
   PLACEHOLDER IMAGE (zones rayées + légende)
   ───────────────────────────────────────────── */
.ph {
  position: relative;
  background-color: var(--cream);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent, transparent 9px,
    rgba(154,122,82,0.10) 9px, rgba(154,122,82,0.10) 10px
  );
  border: 0.5px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  padding: 8px 12px;
  background: rgba(250,248,245,0.7);
}
.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-4x3 { aspect-ratio: 4 / 3; }
.ph-3x4 { aspect-ratio: 3 / 4; }
.ph-16x9 { aspect-ratio: 16 / 9; }

/* ─────────────────────────────────────────────
   SWATCHES
   ───────────────────────────────────────────── */
.swatch-row { display: flex; flex-wrap: wrap; gap: 6px; }
.swatch { width: 30px; height: 30px; display: block; }
.swatch-lg { width: 38px; height: 38px; }
.swatch-round { border-radius: 50%; }
.swatch-faded { opacity: 0.4; position: relative; }
.swatch-name { font-family: var(--mono); font-size: 8px; letter-spacing: 0.04em; color: var(--muted); margin-top: 5px; text-align: center; }

/* ─────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────── */
.footer { background: var(--ink); color: var(--paper); }
.footer-top { padding: clamp(48px, 7vw, 88px) clamp(20px, 5vw, 64px); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { font-family: var(--serif); font-size: 30px; letter-spacing: 0.1em; margin-bottom: 14px; }
.footer-tag { font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: #c9bfb4; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom { border-top: 0.5px solid #2c2823; padding: 20px clamp(20px, 5vw, 64px); display: flex; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; }
.footer-copy { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: #6a635c; }

@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; gap: 10px; } }

/* ─────────────────────────────────────────────
   RÉASSURANCE (3 lignes ✦)
   ───────────────────────────────────────────── */
.reassure { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.reassure span { display: flex; align-items: center; gap: 9px; }
.reassure span::before { content: '✦'; color: var(--gold); }

/* ─────────────────────────────────────────────
   ÉTAT / SÉLECTEUR (espace client)
   ───────────────────────────────────────────── */
.state-bar {
  position: sticky; top: 72px; z-index: 150;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; gap: 4px;
  padding: 12px clamp(16px, 4vw, 40px);
  flex-wrap: wrap;
}
.state-bar .state-bar-label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-right: 14px; }
.state-btn {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  background: transparent; color: #b8afa4; border: 0.5px solid #3a342d; padding: 9px 18px; cursor: pointer; transition: all 0.2s;
}
.state-btn:hover { color: var(--paper); border-color: var(--gold); }
.state-btn.active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* utilité */
.hidden { display: none !important; }
.center { text-align: center; }
.mono { font-family: var(--mono); }

/* ─────────────────────────────────────────────
   SÉLECTEUR D'ANALYSES (espace client)
   ───────────────────────────────────────────── */
.analyses-switch { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 18px 0; border-bottom: 0.5px solid var(--rule); }
.analyses-switch > span { font-family: var(--mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-right: 8px; }
.analyses-switch a { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 7px 13px; border: 0.5px solid var(--rule); transition: all 0.2s; }
.analyses-switch a:hover { color: var(--ink); border-color: var(--gold); }
.analyses-switch a.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
