/* =========================================================
   FEUILLE DE STYLE PARTAGÉE
   Toutes les pages utilisent ce fichier.
   Modifie les couleurs/polices ICI une seule fois
   et tout le site se met à jour.
   ========================================================= */

/* --- 1. TOKENS : change ces valeurs pour reskin le site --- */
:root {
  --sauge:        #4a5d4e;   /* vert profond, couleur principale */
  --sauge-clair:  #6f8472;
  --creme:        #f6f2e9;   /* fond chaud */
  --creme-fonce:  #ece5d6;
  --terracotta:   #c47a5a;   /* accent, boutons */
  --terracotta-f: #a8623f;
  --encre:        #2a2c28;   /* texte principal */
  --gris:         #6b6d66;   /* texte secondaire */
  --blanc:        #fffdf8;

  --font-titre: Georgia, 'Times New Roman', serif;
  --font-corps: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max: 1080px;
  --radius: 10px;
}

/* --- 2. BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-corps);
  color: var(--encre);
  background: var(--creme);
  line-height: 1.7;
  font-size: 18px;
}

h1, h2, h3 { font-family: var(--font-titre); font-weight: 600; line-height: 1.25; color: var(--sauge); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); margin-bottom: .6em; }
h3 { font-size: 1.25rem; margin-bottom: .4em; }

p  { margin-bottom: 1.1em; color: var(--encre); }
a  { color: var(--terracotta-f); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

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

/* --- 3. EN-TÊTE / NAV --- */
.site-header {
  background: var(--blanc);
  border-bottom: 1px solid var(--creme-fonce);
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.logo {
  font-family: var(--font-titre);
  font-size: 1.5rem; font-weight: 600; color: var(--sauge);
  letter-spacing: .3px;
}
.logo span { color: var(--terracotta); }
.nav a {
  color: var(--encre); margin-left: 26px; font-size: .95rem;
  text-decoration: none;
}
.nav a:hover { color: var(--terracotta-f); }

/* menu mobile simple */
.nav { display: flex; flex-wrap: wrap; }
@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; gap: 10px; }
  .nav a { margin: 0 12px; }
}

/* --- 4. HERO --- */
.hero {
  background: linear-gradient(160deg, var(--creme) 0%, var(--creme-fonce) 100%);
  padding: 80px 0 70px;
  text-align: center;
}
.hero .eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: .8rem;
  color: var(--terracotta-f); margin-bottom: 14px; font-weight: 600;
}
.hero p.lead {
  font-size: 1.2rem; color: var(--gris);
  max-width: 620px; margin: 18px auto 30px;
}

/* --- 5. BOUTONS --- */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--blanc);
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover { background: var(--terracotta-f); text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; color: var(--sauge);
  border: 1.5px solid var(--sauge);
}
.btn-ghost:hover { background: var(--sauge); color: var(--blanc); }

/* --- 6. SECTIONS GÉNÉRIQUES --- */
.section { padding: 64px 0; }
.section-creme { background: var(--creme); }
.section-blanc { background: var(--blanc); }
.section h2.center { text-align: center; }
.section .intro { max-width: 640px; margin: 0 auto 40px; text-align: center; color: var(--gris); }

/* grille de cartes */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.card {
  background: var(--blanc);
  border: 1px solid var(--creme-fonce);
  border-radius: var(--radius);
  padding: 28px;
}
.card h3 { color: var(--sauge); }
.card .num {
  font-family: var(--font-titre);
  font-size: 1.6rem; color: var(--terracotta);
  margin-bottom: 8px;
}

/* --- 7. ARTICLE / ADVERTORIAL --- */
.article { background: var(--blanc); padding: 60px 0; }
.article .wrap { max-width: 760px; }
.article h1 { margin-bottom: 12px; }
.article .meta { color: var(--gris); font-size: .9rem; margin-bottom: 30px; }
.article p { font-size: 1.08rem; }
.article h2 { margin-top: 1.6em; }
.article .cta-box {
  background: var(--creme); border-left: 4px solid var(--terracotta);
  padding: 24px 28px; border-radius: var(--radius); margin: 36px 0;
}
.article img.feature { border-radius: var(--radius); margin: 24px 0; }

/* --- 8. PAGE LÉGALE / TEXTE --- */
.legal { background: var(--blanc); padding: 60px 0; }
.legal .wrap { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.4em; }
.legal p, .legal li { color: var(--encre); font-size: 1rem; }
.legal ul { margin: 0 0 1em 1.4em; }

/* --- 9. FORMULAIRE CONTACT --- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.form-field input,
.form-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--creme-fonce); border-radius: var(--radius);
  font-family: var(--font-corps); font-size: 1rem; background: var(--creme);
}
.form-field textarea { min-height: 130px; resize: vertical; }

/* --- 10. PIED DE PAGE --- */
.site-footer {
  background: var(--sauge);
  color: var(--creme);
  padding: 44px 0 30px;
  margin-top: 0;
}
.site-footer a { color: var(--creme); opacity: .85; }
.site-footer a:hover { opacity: 1; }
.site-footer .cols {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between;
  margin-bottom: 28px;
}
.site-footer h4 { font-family: var(--font-titre); margin-bottom: 12px; font-size: 1.1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 7px; font-size: .95rem; }
.site-footer .legal-line {
  border-top: 1px solid var(--sauge-clair);
  padding-top: 18px; font-size: .82rem; opacity: .8;
}

/* --- 11. UTILITAIRES --- */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.disclaimer {
  font-size: .8rem; color: var(--gris); font-style: italic;
  max-width: 720px; margin: 20px auto 0; text-align: center;
}

/* Images d'ambiance : même hauteur, recadrage propre */
.ambiance-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0;
}
.article-image {
  margin: 2rem 0;
}
.article-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.article-image figcaption {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}
