/* ==========================================================================
   GREEN DÉCLIC — styles.css
   Feuille de style unique du site. Aucune dépendance externe.
   Sommaire :
     1. Polices (auto-hébergées)      7. Cartes de parcours
     2. Variables                      8. Sections et blocs de l'accueil
     3. Base et typographie            9. Tableaux
     4. En-tête (ancré) et navigation 10. Formulaires
     5. Boutons                       11. Pied de page
     6. Pastilles                     12. Pages de ressources de capsules
                                      13. Accessibilité et divers
   ========================================================================== */

/* 1. POLICES — Source Sans Pro, servie par le site (contrainte souveraineté) */
@font-face { font-family:"Source Sans Pro"; src:url("../fonts/source-sans-pro-latin-400-normal.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Source Sans Pro"; src:url("../fonts/source-sans-pro-latin-400-italic.woff2") format("woff2"); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:"Source Sans Pro"; src:url("../fonts/source-sans-pro-latin-600-normal.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Source Sans Pro"; src:url("../fonts/source-sans-pro-latin-700-normal.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Source Sans Pro"; src:url("../fonts/source-sans-pro-latin-900-normal.woff2") format("woff2"); font-weight:900; font-style:normal; font-display:swap; }

/* 2. VARIABLES — la charte Green Déclic */
:root {
  --vert:         #008D7F;   /* teal marque : titres, décors, fond du bloc démo */
  --vert-lien:    #00705F;   /* teal foncé : liens texte (AA sur blanc) */
  --vert-nuit:    #00564E;
  --corail:       #FF4D4A;   /* corail marque : boutons, couleur d'interaction */
  --corail-survol:#CC3D3B;   /* survol des boutons */
  --corail-fonce: #D93B38;   /* corail utilisable en petit texte (AA sur blanc) */
  --ocre:         #C08126;

  --encre:   #303D4A;
  --encre-2: #55606C;

  --fond:      #FFFFFF;
  --fond-doux: #EFF6F5;
  --fond-nuit: #29343F;
  --filet:     #D8E4E2;

  --largeur: 1100px;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(1.75rem, 4vw, 3rem);   /* espaces de bloc réduits de moitié */
  --rayon: 14px;
  --rayon-pastille: 999px;
  --entete-h: 60px;
}

/* 3. BASE ET TYPOGRAPHIE (échelle réduite d'environ 25 %) */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 1rem); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;                 /* 16px — jamais de texte sous 14px */
  line-height: 1.6;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 900;
  color: var(--encre);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.55rem, 3.6vw, 2.45rem); }
h2 { font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
h3 { font-size: 1.1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--vert-lien); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--vert-nuit); }
strong { font-weight: 700; }
img, svg { max-width: 100%; height: auto; display: block; }

.contenu { max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.contenu--etroit { max-width: 780px; }

.surtitre {
  display: block;
  font-size: 0.875rem;             /* 14px : plancher du brief */
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--vert);
  margin-bottom: 0.7rem;
}

/* 4. EN-TÊTE — ancré en haut de page, hauteur réduite. Menu mobile sans JS. */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--filet);
  background: var(--fond);
  box-shadow: 0 2px 10px rgba(48, 61, 74, 0.06);
}
.entete__barre { display: flex; align-items: center; gap: 1.25rem; min-height: var(--entete-h); }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 34px; width: auto; }
@media (max-width: 599px) { .logo img { height: 28px; } }

.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; }
.nav a { color: var(--encre); text-decoration: none; font-weight: 600; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--vert-lien); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--vert); text-decoration-thickness: 2px; text-underline-offset: 6px; }
/* Le bouton d'action de la barre garde son texte blanc (priorité sur .nav a) */
.nav a.btn--principal, .nav a.btn--principal:hover { color: #fff; }

.nav-mobile { display: none; }
@media (max-width: 899px) {
  .nav { display: none; }
  .nav-mobile { display: block; margin-left: auto; position: relative; }
  .nav-mobile summary {
    list-style: none; cursor: pointer; font-weight: 700;
    padding: 0.4rem 0.9rem; border: 1.5px solid var(--encre); border-radius: var(--rayon-pastille);
  }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile[open] summary { background: var(--encre); color: #fff; }
  .nav-mobile ul {
    position: absolute; right: 0; z-index: 10; min-width: 230px;
    margin: 0.5rem 0 0; padding: 0.5rem; list-style: none;
    background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon);
    box-shadow: 0 12px 30px rgba(48, 61, 74, 0.14);
  }
  .nav-mobile li a { display: block; padding: 0.55rem 0.9rem; text-decoration: none; font-weight: 600; color: var(--encre); border-radius: 8px; }
  .nav-mobile li a:hover { background: var(--fond-doux); color: var(--vert-lien); }
}

/* Sélecteur de langue : affiché seulement si la page existe dans l'autre langue */
.langue {
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border: 1.5px solid var(--filet);
  border-radius: var(--rayon-pastille);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--encre-2); text-decoration: none;
}
.langue:hover { border-color: var(--vert); color: var(--vert-lien); }

/* 5. BOUTONS — deux niveaux. Le corail est LA couleur d'interaction du site. */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: var(--rayon-pastille);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--principal { background: var(--corail); color: #fff; border-color: var(--corail); }
.btn--principal:hover { background: var(--corail-survol); border-color: var(--corail-survol); color: #fff; }
.btn--secondaire { background: transparent; color: var(--corail-fonce); border-color: var(--corail); }
.btn--secondaire:hover { background: var(--corail); border-color: var(--corail); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.3rem; }

/* 6. PASTILLES — attributs des cartes (public · durée · capsules) */
.pastilles { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; margin: 0 0 0.9rem; list-style: none; }
.pastille {
  display: inline-block; padding: 0.14rem 0.7rem;
  border: 1.5px solid var(--vert); border-radius: var(--rayon-pastille);
  font-size: 0.875rem; font-weight: 700; color: var(--encre); background: #fff; white-space: nowrap;
}

/* 7. CARTES DE PARCOURS — visuel en tête, corps en dessous */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 1.8rem 0 0; }
@media (max-width: 899px) { .cartes { grid-template-columns: 1fr; } }
.carte {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(48, 61, 74, 0.06);
}
.carte__visuel img { width: 100%; height: auto; }
.carte__corps { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.carte h3 { margin-bottom: 0.6rem; font-size: 1.15rem; }
.carte p { color: var(--encre-2); }
/* Lien d'action des cartes : corail = interaction */
.carte__lien { margin-top: auto; padding-top: 0.9rem; font-weight: 700; text-decoration: none; color: var(--corail-fonce); }
.carte__lien::after { content: " →"; }
.carte__lien:hover { text-decoration: underline; color: var(--corail-survol); }

.carte--compacte .carte__corps { padding: 1rem 1.1rem; }
.carte--compacte p { font-size: 0.95rem; }

/* Mention sous les cartes : image du kit à gauche, deux lignes à droite */
.cartes-mention {
  margin-top: 1.5rem;
  display: flex; align-items: center; gap: 1.2rem;
  color: var(--encre-2); font-size: 0.95rem;
}
.cartes-mention__visuel { flex: 0 0 150px; }
.cartes-mention p { margin-bottom: 0.3em; }
@media (max-width: 599px) { .cartes-mention { flex-direction: column; align-items: flex-start; } }

/* Liste des capsules (pages de parcours) : vignette à gauche, texte à droite */
.capsules-liste { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.capsules-liste li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 0.8rem 0 0.8rem 1rem; border-left: 3px solid var(--vert);
  margin-bottom: 0.6rem; background: linear-gradient(to right, var(--fond-doux), transparent 70%);
  border-radius: 0 8px 8px 0;
}
.capsules-liste .vignette { flex: 0 0 150px; }
.capsules-liste .vignette img { border-radius: 6px; }
.capsules-liste .duree { color: var(--encre-2); font-weight: 600; white-space: nowrap; }
.capsules-liste p { margin: 0.15rem 0 0; color: var(--encre-2); }
.capsules-sous-section { margin: 1.6rem 0 0.8rem; color: var(--vert-lien); }
@media (max-width: 599px) {
  .capsules-liste li { flex-direction: column; gap: 0.6rem; }
  .capsules-liste .vignette { flex: 0 0 auto; max-width: 240px; }
}

/* Ce qui reste à la fin d'un parcours : évaluation, passeport, kits */
.passeport {
  border: 2px solid var(--vert);
  border-left-width: 5px;
  border-radius: 0 var(--rayon) var(--rayon) 0;
  background: var(--fond-doux);
  padding: 1rem 1.2rem;
  margin: 0 0 1.6rem;
}
.passeport h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--vert-lien); }
.passeport p { margin: 0; }

/* En-tête des pages de parcours : titre à gauche, visuel du parcours à droite */
.parcours-entete {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: clamp(1.2rem, 3vw, 2.5rem); align-items: center; margin-bottom: 1.6rem;
}
.parcours-entete img { border-radius: var(--rayon); }
@media (max-width: 767px) {
  .parcours-entete { grid-template-columns: 1fr; }
  .parcours-entete__visuel { order: -1; max-width: 420px; }
}

/* Planche de vignettes illustrant un parcours, dans les cartes du pivot */
.carte__planche { padding: 1rem 1.3rem 0; }
.carte__planche img { width: 100%; height: auto; }

/* Section « et si aucun des trois » : texte et illustration côte à côte */
.pick { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 767px) { .pick { grid-template-columns: 1fr; } }

/* Liste à puces courante (« pour quoi déployer ») */
.liste-puces { padding-left: 1.15rem; margin: 0 0 1.2rem; }
.liste-puces li { margin-bottom: 0.5rem; }
.liste-puces li::marker { color: var(--vert); }

/* Sections numérotées (page Méthode) : gros chiffre teal en regard du titre */
.methode-section { margin-bottom: 2.2rem; }
.methode-section:last-of-type { margin-bottom: 0; }
.methode-section__titre { display: flex; align-items: baseline; gap: 0.8rem; margin-bottom: 0.7rem; }
.methode-section__num {
  flex: 0 0 auto;
  font-size: 2rem; font-weight: 900; line-height: 1;
  color: var(--vert); opacity: 0.55;
  font-variant-numeric: tabular-nums;
}
.methode-section__titre h2 { margin: 0; }
.methode-section > p, .methode-section > ul { margin-left: calc(2rem + 0.8rem); }
@media (max-width: 599px) {
  .methode-section__num { font-size: 1.5rem; }
  .methode-section > p, .methode-section > ul { margin-left: 0; }
}

/* Citation d'appui : chiffre ou formule qu'on veut détacher du fil du texte */
.appui {
  border-left: 4px solid var(--corail);
  padding: 0.2rem 0 0.2rem 1rem;
  margin: 1rem 0 1rem calc(2rem + 0.8rem);
  font-size: 1.1rem; font-weight: 700; color: var(--encre);
}
@media (max-width: 599px) { .appui { margin-left: 0; } }

/* Cadre de la capsule de démonstration (page Démo) */
.capsule-cadre {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 460px;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--fond-doux);
  box-shadow: 0 8px 24px rgba(48, 61, 74, 0.10);
}
.capsule-cadre iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767px) {
  /* Sur mobile, la capsule a besoin de hauteur : on privilégie le format portrait */
  .capsule-cadre { aspect-ratio: 3 / 4; min-height: 520px; }
}
.capsule-sortie { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; align-items: center; margin-top: 0.8rem; }

/* Bloc de formulaire encadré */
.formulaire {
  background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon);
  padding: 1.5rem 1.4rem; margin-top: 1.2rem;
}
.champ--obligatoire label::after { content: " *"; color: var(--corail-fonce); }
.champs-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 599px) { .champs-duo { grid-template-columns: 1fr; } }
.champ textarea { min-height: 120px; resize: vertical; }

/* Message de confirmation après envoi, affiché sur la page même */
.confirmation {
  border: 2px solid var(--vert); border-left-width: 5px;
  background: var(--fond-doux); border-radius: 0 8px 8px 0;
  padding: 1rem 1.2rem; margin-bottom: 1.2rem;
}
.confirmation p { margin: 0; font-weight: 600; }
.erreurs {
  border: 2px solid var(--corail); border-left-width: 5px;
  border-radius: 0 8px 8px 0; padding: 1rem 1.2rem; margin-bottom: 1.2rem;
}
.erreurs ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }

/* Titre d'offre tarifaire, mis en exergue (page Déploiement) */
.tarif-titre {
  display: flex; align-items: center; gap: 0.7rem;
  margin: 2.4rem 0 0.8rem;
  padding: 0.6rem 1rem;
  background: var(--fond-doux);
  border-left: 5px solid var(--vert);
  border-radius: 0 8px 8px 0;
  font-size: 1.3rem;
}
.tarif-titre:first-of-type { margin-top: 1.2rem; }

/* Mention détachée précédée d'une icône (devis sur mesure) */
.mention-icone {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-top: 1.6rem; padding-top: 1.2rem;
  border-top: 1px solid var(--filet);
}
.mention-icone img { flex: 0 0 26px; width: 26px; margin-top: 0.15rem; }
.mention-icone p { margin: 0; }

/* Étapes numérotées (page Déployer) : pastille chiffrée pleine */
.etape { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; margin-bottom: 2rem; }
.etape:last-of-type { margin-bottom: 0; }
.etape__num {
  grid-row: span 2;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--vert); color: #fff;
  font-weight: 900; font-size: 1.1rem;
}
.etape h2 { margin: 0.25rem 0 0.6rem; }
.etape__corps > p:last-child { margin-bottom: 0; }
@media (max-width: 599px) {
  .etape { grid-template-columns: 1fr; gap: 0.6rem; }
  .etape__num { grid-row: auto; }
}

/* 8. SECTIONS ET BLOCS DE L'ACCUEIL */
.section { padding-block: var(--section-y); }
.section--douce { background: var(--fond-doux); }

/* Section sur fond teal marque (bloc démonstration) */
.section--verte { background: var(--vert); }
.section--verte h2, .section--verte p { color: #fff; }
.section--verte .surtitre { color: #CBEAE5; }

/* Bloc 1 : héros, texte à gauche, illustration à droite */
.heros { padding-block: clamp(1.75rem, 4.5vw, 3.25rem); }
.heros__grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 899px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__illustration { max-width: 420px; margin-inline: auto; }
}
.heros h1 { max-width: 18ch; }
.heros__accroche { font-size: 1.0625rem; color: var(--encre-2); max-width: 52ch; }

/* Bloc approche : titre et intro pleine largeur, puis paragraphes à gauche,
   encadré vert + schéma à droite */
.approche__intro { max-width: none; }
.approche__grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);  /* schéma agrandi */
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  margin-top: 1.2rem;
}
@media (max-width: 899px) {
  .approche__grille { grid-template-columns: 1fr; }
  /* Sur mobile : encadré et schéma au-dessus des paragraphes */
  .approche__droite { order: -1; }
}
.encadre-vert {
  border: 2px solid var(--vert);
  border-radius: var(--rayon);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  background: #fff;
}
.encadre-vert p { margin: 0; }

/* Bloc qui sommes-nous : deux portraits ronds */
.qui { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 767px) { .qui { grid-template-columns: 1fr; } }
.portraits { display: flex; gap: 1.2rem; justify-content: center; }
.portraits img { width: min(136px, 32vw); height: auto; border-radius: 50%; }

/* Bloc 7 : deux blocs de contact côte à côte */
.contact-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.6rem; }
@media (max-width: 767px) { .contact-duo { grid-template-columns: 1fr; } }
.contact-duo article {
  background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon);
  padding: 1.5rem 1.4rem; display: flex; flex-direction: column;
}
.contact-duo h3 { margin-top: 0; }
.contact-duo p { color: var(--encre-2); margin-bottom: 1.2rem; }
.contact-duo .btn { align-self: flex-start; margin-top: auto; }

/* 9. TABLEAUX — un seul style (page Déployer). Liste de paires sous 600 px. */
.tableau { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.tableau caption { text-align: left; font-weight: 900; font-size: 1.1rem; margin-bottom: 0.7rem; color: var(--encre); }
.tableau th, .tableau td { padding: 0.7rem 0.9rem; text-align: left; border-bottom: 1px solid var(--filet); }
.tableau thead th { background: var(--fond-doux); font-weight: 700; border-bottom: 2px solid var(--vert); }
@media (max-width: 599px) {
  .tableau thead { position: absolute; left: -9999px; }
  .tableau tr { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--filet); }
  .tableau td { display: flex; justify-content: space-between; gap: 1rem; border: none; padding: 0.25rem 0; }
  .tableau td::before { content: attr(data-libelle); font-weight: 700; color: var(--encre-2); }
}

/* 10. FORMULAIRES (page Contact) */
.champ { margin-bottom: 1.1rem; }
.champ label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 0.6rem 0.8rem; font: inherit; color: var(--encre);
  border: 1.5px solid var(--filet); border-radius: 8px; background: #fff;
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 3px solid var(--vert); outline-offset: 1px; border-color: var(--vert);
}
/* Champ piège anti-robot : masqué visuellement, jamais display:none */
.champ--piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.rgpd { font-size: 0.875rem; color: var(--encre-2); }

/* 11. PIED DE PAGE */
.pied { background: var(--fond-nuit); color: #E8EEF0; padding-block: 2.5rem 1.8rem; margin-top: var(--section-y); font-size: 0.95rem; }
.pied a { color: #fff; }
.pied a:hover { color: #B8E5DE; }
.pied__colonnes { display: flex; flex-wrap: wrap; gap: 2rem 4rem; justify-content: space-between; margin-bottom: 2rem; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 0.4rem; }
.pied .logo img { height: 32px; }
.pied__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; color: #B9C3CB;
}

/* 12. PAGES DE RESSOURCES DE CAPSULES — gabarit nu (contexte LMS) */
.capsule-page { max-width: 720px; margin-inline: auto; padding: 2.5rem var(--gouttiere) 3rem; }
.capsule-page h1 { font-size: 1.5rem; }
.capsule-sources { padding-left: 1.2rem; }
.capsule-sources li { margin-bottom: 0.7rem; }
.capsule-pied { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); font-size: 0.95rem; color: var(--encre-2); }

/* 13. ACCESSIBILITÉ ET DIVERS */
:focus-visible { outline: 3px solid var(--vert); outline-offset: 2px; border-radius: 3px; }
.section--verte :focus-visible { outline-color: #fff; }
.evasion { position: absolute; left: -9999px; background: var(--encre); color: #fff; padding: 0.6rem 1rem; z-index: 100; }
.evasion:focus { left: 0.5rem; top: 0.5rem; }
/* Zone à fournir (visuel manquant) : repérable en recette, à remplacer */
.a-fournir { outline: 2px dashed var(--corail-fonce); outline-offset: -2px; display: grid; place-items: center; color: var(--encre-2); font-weight: 600; font-size: 0.875rem; text-align: center; padding: 0.5rem; }

/* --------------------------------------------------------------------------
   14. BLOG — index et articles
   -------------------------------------------------------------------------- */
/* Index : une carte par article */
.blog-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.8rem; }
@media (max-width: 899px) { .blog-liste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 599px) { .blog-liste { grid-template-columns: 1fr; } }

.blog-carte {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--filet); border-radius: var(--rayon);
  overflow: hidden; box-shadow: 0 6px 18px rgba(48, 61, 74, 0.06);
}
.blog-carte__visuel { aspect-ratio: 16 / 9; overflow: hidden; background: var(--fond-doux); }
.blog-carte__visuel img { width: 100%; height: 100%; object-fit: cover; }
.blog-carte__corps { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.2rem 1.2rem; }
.blog-carte h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.blog-carte h3 a { color: var(--encre); text-decoration: none; }
.blog-carte h3 a:hover { color: var(--corail-fonce); }
.blog-carte p { color: var(--encre-2); font-size: 0.95rem; }
.blog-carte__date { font-size: 0.875rem; color: var(--encre-2); font-weight: 600; margin-bottom: 0.4rem; }
.blog-carte__lien { margin-top: auto; padding-top: 0.9rem; font-weight: 700; color: var(--corail-fonce); text-decoration: none; }
.blog-carte__lien::after { content: " →"; }
.blog-carte__lien:hover { text-decoration: underline; }

/* Article : colonne de lecture */
.article-entete { margin-bottom: 1.6rem; }
.article-meta { color: var(--encre-2); font-size: 0.95rem; font-weight: 600; margin-bottom: 0.6rem; }
.article-corps h2 { margin-top: 1.8rem; color: var(--vert-lien); }
.article-corps h3 { margin-top: 1.4rem; }
.article-corps figure { margin: 1.6rem 0; }
.article-corps figure img { border-radius: var(--rayon); width: 100%; }
.article-corps figcaption { font-size: 0.875rem; color: var(--encre-2); margin-top: 0.5rem; }
.article-corps a { color: var(--vert-lien); }
.article-pied { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--filet); }
