/* ============================================================
   CHARTE GRAPHIQUE GÉNÉRIQUE — duotone or/crème sur noir & clair
   ============================================================
   Système de design réutilisable, extrait du site
   francois-michel.fr. Aucune classe ni contenu spécifique au
   projet d'origine : uniquement la structure visuelle.

   RÈGLES DE SIMPLIFICATION
   - Fond noir : 3 couleurs de texte (crème / or clair / or).
   - Fond clair : 3 couleurs de texte, les 3 plus foncées
     (texte principal / texte secondaire / accent).
   - Aucun texte en dessous de 1em.

   COMMENT L'UTILISER
   1. Inclure ce fichier après un reset CSS (déjà inclus ici).
   2. Alterner les sections en fond noir / fond clair avec les
      classes .theme-dark / .theme-light sur chaque <section>.
   3. Composer vos pages avec les blocs ci-dessous : nav, hero,
      cartes, CTA, footer, contenu d'article. Tout hérite des
      couleurs et tailles définies dans :root.
   4. Pour adapter à une autre identité, ne changer QUE les
      valeurs des variables CSS dans :root — tout le reste suit.
   ============================================================ */

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

:root {
  /* Fonds */
  --bg-dark:        #0e0c0a;
  --bg-dark-soft:   #1c1a16;
  --bg-light:       #f5f0e8;
  --bg-light-soft:  #ede7d8;

  /* Texte sur fond noir — 3 couleurs */
  --text-cream:      #f0ebe0;  /* titres, texte principal */
  --text-gold-light: #ddc599;  /* nav, liens, accents clairs */
  --text-gold:       #c8a96e;  /* labels, emphases, footer */

  /* Texte sur fond clair — les 3 couleurs les plus foncées */
  --text-dark:        #1a1510;  /* titres, texte principal */
  --text-dark-dim:    #2e2820;  /* texte secondaire / corps */
  --text-dark-accent: #7a5828;  /* labels, liens, accents */

  /* Bordures / traits (basés sur la teinte or, faible opacité) */
  --border-on-dark:  rgba(200,169,110,0.12);
  --border-on-light: rgba(100,75,40,0.15);
  --grid-on-dark:    rgba(200,169,110,0.1);
  --grid-on-light:   rgba(100,75,40,0.12);

  /* Typographie */
  --font-serif: 'Cormorant Garamond', Georgia, serif;  /* corps de texte */
  --font-caps:  'Cinzel', serif;                        /* labels petites capitales */
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.7;
}

/* ── THÈMES DE SECTION ── */
.theme-dark  { background: var(--bg-dark);  color: var(--text-cream); }
.theme-dark .eyebrow          { color: var(--text-gold); }
.theme-dark .rule,
.theme-dark .rule-left        { background: var(--text-gold); }
.theme-dark .section-title    { color: var(--text-cream); }
.theme-dark .section-title em { color: var(--text-gold); }

.theme-light { background: var(--bg-light); color: var(--text-dark); }
.theme-light .eyebrow          { color: var(--text-dark-accent); }
.theme-light .rule,
.theme-light .rule-left        { background: var(--text-dark-accent); }
.theme-light .section-title    { color: var(--text-dark); }
.theme-light .section-title em { color: var(--text-dark-accent); }

/* ── UTILITAIRES ── */
.container { max-width: 760px; margin: 0 auto; padding: 0 2rem; }

.eyebrow {
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 1.5rem;
}
.rule       { width: 48px; height: 0.5px; margin: 0 auto 2.5rem; }
.rule-left  { width: 48px; height: 0.5px; margin: 0 0 2.5rem; }

/* ── NAVIGATION (fixe, fond noir) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0.5px solid var(--border-on-dark);
  background: rgba(14,12,10,0.93);
  backdrop-filter: blur(8px);
}
.nav-logo,
.nav-link {
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold-light);
  text-decoration: none;
}
.nav-logo { letter-spacing: 0.15em; text-transform: none; }
.nav-cta {
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold-light);
  text-decoration: none;
  border: 0.5px solid rgba(200,169,110,0.4);
  padding: 0.5rem 1.25rem;
  transition: all 0.25s;
}
.nav-cta:hover { background: rgba(200,169,110,0.08); border-color: var(--text-gold-light); }

/* ── STRUCTURE DE SECTION ── */
section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-title {
  font-size: clamp(1.6em, 3vw, 2.2em);
  font-weight: 300;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* ── APPEL À L'ACTION ── */
.cta-section { text-align: center; padding: 7rem 0; }
.cta-title {
  font-size: clamp(1.5em, 3vw, 2em);
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}
.cta-body {
  font-size: 1em;
  color: var(--text-dark-dim);
  max-width: 420px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.cta-btn {
  display: inline-block;
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-light);
  background: var(--text-dark-accent);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: all 0.25s;
}
.cta-btn:hover { background: #5a3e18; }
.cta-note {
  display: block;
  font-size: 1em;
  color: var(--text-dark-accent);
  font-style: italic;
  margin-top: 1.25rem;
}

/* ── CARTES (témoignages, features, etc. — fond noir) ── */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.card {
  border: 0.5px solid var(--border-on-dark);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card-body {
  font-size: 1em;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-cream);
  font-weight: 300;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.card-label {
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-gold);
  padding-top: 1.25rem;
  border-top: 0.5px solid var(--border-on-dark);
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer {
  background: var(--bg-dark);
  border-top: 0.5px solid var(--grid-on-dark);
  padding: 2.5rem 0;
  text-align: center;
}
footer p {
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.18em;
  color: var(--text-gold);
}

/* ── ANIMATION D'APPARITION AU SCROLL ── */
/* Ajouter la classe .reveal aux éléments, puis basculer .visible
   via un IntersectionObserver en JS. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   CONTENU LONG (articles de blog, pages de contenu)
   ============================================================ */
.content-header {
  background: var(--bg-dark);
  padding: 9rem 0 3.5rem;
  text-align: center;
}
.content-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.9em, 4vw, 2.7em);
  line-height: 1.3;
  color: var(--text-cream);
  max-width: 620px;
  margin: 0 auto 1.25rem;
}
.content-meta {
  font-size: 1em;
  font-style: italic;
  color: var(--text-gold);
}
.content-wrap { padding: 4.5rem 0 6rem; }
.back-link {
  display: inline-block;
  font-family: var(--font-caps);
  font-size: 1em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark-accent);
  text-decoration: none;
  margin-bottom: 3rem;
}
article h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.6em;
  margin: 3rem 0 1.1rem;
  color: var(--text-dark);
}
article p { margin: 0 0 1.4rem; font-size: 1em; }
article strong { font-weight: 500; color: var(--text-dark); }

.closing {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 0.5px solid var(--border-on-light);
  font-size: 1em;
  color: var(--text-dark-dim);
}
.closing a { color: var(--text-dark-accent); }

@media (max-width: 520px) {
  .content-header { padding: 8rem 0 3rem; }
}
