/* ════════════════════════════════════════════════════
   LIGNE DE FOND — Feuille de style partagée
   Importer dans toutes les pages du site.
════════════════════════════════════════════════════ */

/* ── Cormorant Garamond 500 italic (complément aux
      poids 300/400/600 chargés dans le HTML) ─────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;1,500&display=swap');

/* ── Tokens ──────────────────────────────────────── */
:root {
  --cream:      #F7F4EE;
  --navy:       #1E2D3D;
  --blue:       #456A83;
  --gray:       #6B7B88;
  --border:     rgba(30,45,61,0.10);
  --card-bg:    #FCFBF8;
  --header-h:   58px;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ──────────────────────────────────────── */
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wrap--narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.site-header .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo {
  height: 37px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.header-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.18s;
}

.header-nav a:hover { color: var(--navy); }

.header-nav a.active {
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 0.15rem;
}

.header-nav .nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 0.35rem 0.9rem;
  transition: background 0.18s, color 0.18s;
}

.header-nav .nav-cta:hover {
  background: var(--blue);
  color: var(--cream);
}

/* ── Section typographie ─────────────────────────── */
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  color: var(--blue);
  opacity: 0.85;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
}

.section-title em { font-style: italic; color: var(--blue); }

/* Cormorant italic — lisibilité renforcée */
.page-hero h1 em { font-weight: 600; font-style: italic; }

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--blue) 0%, transparent 100%);
  opacity: 0.2;
  margin: 1.6rem 0 2rem;
}

/* ── Statut badges ───────────────────────────────── */
.ep-tag {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(247,244,238,0.25);
  color: rgba(247,244,238,0.6);
}

/* Sur fond clair (carnet, épisode) */
.ep-tag--light {
  border-color: var(--border);
  color: var(--gray);
}

.ep-tag--open   { border-color: rgba(155,189,208,0.6); color: #9bbdd0; }
.ep-tag--publie { border-color: rgba(100,180,120,0.6); color: #64b478; }
.ep-tag--tournage { border-color: rgba(210,160,80,0.5); color: #d2a050; }

/* light variant */
.ep-tag--light.ep-tag--open     { border-color: var(--blue); color: var(--blue); }
.ep-tag--light.ep-tag--publie   { border-color: #3a8f52; color: #3a8f52; }
.ep-tag--light.ep-tag--tournage { border-color: #a07030; color: #a07030; }

/* ── Bouton texte ────────────────────────────────── */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-text:hover { color: var(--blue); border-color: var(--blue); }
.btn-text svg { transition: transform 0.2s; }
.btn-text:hover svg { transform: translateX(3px); }

/* ── Footer ──────────────────────────────────────── */
.site-footer {
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.68rem;
  color: var(--gray);
  border-top: 1px solid var(--border);
}

.site-footer a { color: inherit; text-decoration: none; transition: color 0.18s; }
.site-footer a:hover { color: var(--navy); }

.footer-cookie {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--gray);
  opacity: 0.5;
  margin: 0;
  padding: 1rem 2rem;
}

.footer-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-social {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  transition: color 0.18s;
}

.footer-social a:hover { color: var(--navy); }
.footer-social svg { flex-shrink: 0; }

/* ── Page intérieure : hero compact ──────────────── */
.page-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { margin-bottom: 0.5rem; }

.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.page-hero h1 em { font-style: italic; color: var(--blue); }

/* ── Prose ────────────────────────────────────────── */
.prose p {
  font-size: 0.94rem;
  color: var(--gray);
  line-height: 1.9;
  margin-bottom: 1.4rem;
  max-width: 620px;
}

.prose p:last-child { margin-bottom: 0; }

.prose h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  margin: 2.5rem 0 0.8rem;
}

/* ── Formulaire partagé ──────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
}

.form-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-input,
.form-textarea,
.form-select {
  border: 1px solid var(--border);
  background: var(--card-bg);
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(107,123,136,0.45); }

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--blue); }

.form-textarea { resize: vertical; min-height: 140px; }

.form-submit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  background: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.form-submit:hover { background: var(--blue); border-color: var(--blue); }

.form-note {
  font-size: 0.72rem;
  color: var(--gray);
  opacity: 0.6;
  margin-top: 0.8rem;
}

.form-success {
  display: none;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(69,106,131,0.3);
  background: rgba(69,106,131,0.06);
  font-size: 0.88rem;
  color: var(--blue);
  margin-top: 1rem;
}

.form-error {
  display: none;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(180,60,60,0.3);
  background: rgba(180,60,60,0.05);
  font-size: 0.85rem;
  color: #b43c3c;
  margin-top: 1rem;
}

/* ── Interview — questions exploratoires ─────────── */
/* Spécificité 0,1,2 > 0,1,1 (inline) → override sans !important */
body .iv-questions li {
  font-size: 1.1rem;
  font-weight: 500;        /* 300 hérité → renforcement éditorial */
  line-height: 1.62;       /* 1.72 → rythme plus resserré */
  letter-spacing: 0.015em;
}

/* ── Responsive commun ───────────────────────────── */
@media (max-width: 720px) {
  .wrap, .wrap--narrow { padding: 0 1.2rem; }
  .header-nav li:not(:last-child) { display: none; }
  .site-footer { justify-content: center; text-align: center; }
  .page-hero { padding: 2.5rem 0 2rem; }
}
