/* ─────────────────────────────────────────────────────────────────────────────
   Deundy Vitrine — Design tokens & styles
   Palette : #0D0E12 fond · #1A1B23 card · #F0EDE8 texte · #A8C4A2 accent vert
   Typo    : Cormorant Garamond 300 (titres) · DM Sans 400 (corps)
───────────────────────────────────────────────────────────────────────────── */

:root {
  --bg:            #0D0E12;
  --bg-card:       #1A1B23;
  --text:          #F0EDE8;
  --text-muted:    rgba(240, 237, 232, 0.55);
  --text-faint:    rgba(240, 237, 232, 0.30);
  --accent:        #A8C4A2;
  --accent-dim:    rgba(168, 196, 162, 0.12);
  --accent-border: rgba(168, 196, 162, 0.22);
  --border:        #2A2B38;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --radius:        16px;
  --radius-sm:     10px;
  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w:         720px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Typographie ─────────────────────────────────────────────────────────── */

h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 8vw, 52px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--text);
}

h2 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(22px, 5vw, 32px);
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text);
}

h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--text);
}

p {
  color: var(--text-muted);
  line-height: 1.7;
}

strong {
  color: var(--text);
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover { opacity: 0.72; }

/* ── Mise en page ────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-logo:hover { opacity: 1; }

.site-logo-badge {
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 4px;
  padding: 2px 6px;
  vertical-align: middle;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0;
}

.site-nav a:hover {
  color: var(--text);
  opacity: 1;
}

/* ── Main ────────────────────────────────────────────────────────────────── */

.site-main {
  flex: 1;
  padding: 64px 0 96px;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0;
  margin-top: auto;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  padding: 2px 0;
  margin-right: 20px;
}

.footer-links a:hover {
  color: var(--text);
  opacity: 1;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-faint);
}

/* ── Composants partagés ─────────────────────────────────────────────────── */

/* Eyebrow label (ex: DEUNDY · BÊTA) */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}

/* Badge pill */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 99px;
  padding: 3px 10px;
}

/* Subtitle */
.page-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 10px;
  line-height: 1.65;
}

/* Séparateur */
hr.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* Card */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

/* Notice placeholder (visible en étape 1 uniquement) */
.placeholder-notice {
  margin-top: 40px;
  padding: 28px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.placeholder-notice p {
  font-size: 14px;
}

/* Liste à puces custom */
.list-clean {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.list-clean li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.list-clean li::before {
  content: '—';
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Store buttons (désactivés en bêta) */
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: default;
  opacity: 0.45;
  font-size: 13px;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 500;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-nav {
    gap: 16px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-main {
    padding: 48px 0 72px;
  }
}

/* ── Extensions : pages légales & privacy ────────────────────────────────── */

.card { margin-bottom: 16px; }

/* h2 inside a card: sans-serif, smaller — section heading */
.card h2 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--text);
  margin-bottom: 16px;
}

/* Uppercase divider label (e.g. IDENTITÉ, PROFIL CORPOREL) */
.sublabel {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 20px;
  margin-bottom: 6px;
  display: block;
}

/* Data rows — label | value */
.data-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.data-row:last-child { border-bottom: none; }
.data-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  width: 130px;
  flex-shrink: 0;
  padding-top: 2px;
}
.data-value { color: var(--text-muted); flex: 1; }

/* Inline accent tag */
.tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: 6px;
  padding: 2px 8px;
  margin-right: 6px;
  margin-bottom: 4px;
}

/* Alert / highlight box */
.highlight-box {
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Third-party partner card */
.partner-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}
.partner-card:last-child { margin-bottom: 0; }
.partner-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.partner-name { font-size: 14px; font-weight: 600; color: var(--text); }
.partner-role { font-size: 12px; color: var(--text-faint); white-space: nowrap; }
.partner-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; line-height: 1.6; }

/* Numbered step list (supprimer-mes-donnees) */
.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 16px;
}
.step-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Tinted contact card */
.contact-card {
  background: rgba(168, 196, 162, 0.07);
  border: 1px solid rgba(168, 196, 162, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 16px;
}
.contact-card p { font-size: 14px; }

/* Inline placeholder for mentions légales — clearly visible, easy to find-replace */
.ph {
  background: rgba(255, 193, 7, 0.08);
  border: 1px dashed rgba(255, 193, 7, 0.35);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12px;
  color: rgba(255, 193, 7, 0.85);
}

/* Legal key/value rows */
.legal-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
}
.legal-row:last-child { border-bottom: none; }
.legal-key {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-faint);
  width: 160px;
  flex-shrink: 0;
  padding-top: 2px;
}
.legal-val { color: var(--text-muted); flex: 1; }

/* ── Responsive 480px — stack data/legal rows ────────────────────────────── */

@media (max-width: 480px) {
  .data-row,
  .legal-row {
    flex-direction: column;
    gap: 4px;
  }

  .data-label,
  .legal-key {
    width: auto;
    padding-top: 0;
  }

  .partner-header {
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
  }

  .partner-role { white-space: normal; }
}
