/* ==========================================================================
   Le Poids des Mots — feuille de style commune
   --------------------------------------------------------------------------
   Sommaire
     1. Polices
     2. Variables (couleurs, typographie, largeurs)
     3. Base
     4. Mise en page : conteneur, sections
     5. En-tête : bandeau haut, logo, menu, burger
     6. Typographie commune
     7. Composants : liens, boutons, cartes, garantie, chiffres,
        copies annotées, dépliant, texte manuscrit
     8. Pied de page
     9. Page d'accueil
    10. Pages intérieures : composants communs
    11. Page « Vos écrits »
    12. Fiches détaillées
    13. Page « Notre cabinet »
    14. Formulaires, Contact, Rendez-vous, Parcours individuels
    15. Quiz d'orthographe
    16. Pages légales

   Deux points de rupture seulement :
     - 900px : les grilles passent sur une colonne (tablette) ;
     - 720px : menu burger et tailles de texte pour téléphone.
   ========================================================================== */


/* 1. Polices
   ========================================================================== */

@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 400; font-display: swap; src: url(../polices/cormorant-garamond-400.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url(../polices/cormorant-garamond-400-italique.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 500; font-display: swap; src: url(../polices/cormorant-garamond-500.woff2) format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url(../polices/cormorant-garamond-600.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url(../polices/archivo-400.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500; font-display: swap; src: url(../polices/archivo-500.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url(../polices/archivo-600.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url(../polices/archivo-700.woff2) format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url(../polices/archivo-800.woff2) format('woff2'); }
@font-face { font-family: 'Retro Signature'; font-style: normal; font-weight: 400; font-display: swap; src: url(../polices/retro-signature.otf) format('opentype'); }


/* 2. Variables
   ========================================================================== */

:root {
  /* Couleurs */
  --encre: #161514;          /* titres, texte fort */
  --encre-douce: #2B2A28;    /* pied de page, intertitres de cartes */
  --gris-chaud: #66625F;     /* texte courant */
  --ballon: #C3827B;         /* couleur d'accent (rose « ballon » du film) */
  --ballon-fonce: #A86A64;   /* survol des boutons */
  --ballon-voile: rgba(195, 130, 123, .13); /* fond au survol */
  --rouge-correction: #D7261E; /* annotations de relecture */
  --filet: #DED7D0;          /* traits de séparation */
  --fond-clair: #F5F2EF;     /* bandes de couleur */
  --fond-pied: #EAE4DE;      /* pied de page */
  --blanc: #FFFFFF;

  /* Polices */
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --manuscrite: 'Retro Signature', cursive;

  /* Largeurs */
  --largeur: 1124px;   /* largeur du contenu */
  --gouttiere: 28px;   /* marge latérale */

  /* Tailles de texte (bureau). Les titres rétrécissent avec la largeur de l'écran. */
  --texte-base: 13.8px;   /* texte hors paragraphes (bandeaux, listes) */
  --texte: 15px;          /* paragraphes */
  --h1: clamp(30px, 1.6vw + 12px, 35px);
  --h2: clamp(26px, 1vw + 16px, 30.4px);
  --h3: 22px;
  --accroche: clamp(19px, 2vw, 20.25px);
  --espace-section: 34px; /* marge haute et basse de chaque section */
}

/* La page d'accueil a des titres plus grands et des sections plus aérées */
.page-accueil {
  --h1: clamp(32px, 2.6vw + 11px, 41px);
  --h2: clamp(25px, 1.25vw + 15px, 33px);
  --espace-section: 44px;
}

/* Tablette : texte courant un peu plus grand */
@media (max-width: 900px) {
  :root {
    --texte-base: 15px;
    --h3: 24px;
  }
}

/* Téléphone */
@media (max-width: 720px) {
  :root {
    --gouttiere: 20px;
    --texte: 17px;
    --h1: 32px;
    --h2: 32px;
    --accroche: 23px;
    --espace-section: 28px;
  }
  .page-accueil {
    --h1: 36px;
    --h2: 32px;
    --espace-section: 30px;
  }
}


/* 3. Base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--sans);
  font-size: var(--texte-base);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3 { margin: 0; color: var(--encre); font-family: var(--serif); }

p { margin: 0 0 14px; }

/* Lien d'évitement : invisible tant qu'on ne navigue pas au clavier */
.evitement {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  padding: 8px 14px; background: var(--encre); color: var(--blanc);
}
.evitement:focus { top: 8px; }


/* 4. Mise en page
   ========================================================================== */

/* Le conteneur centre le contenu ; la gouttière est portée par l'élément parent. */
.conteneur {
  max-width: var(--largeur);
  margin-inline: auto;
}

.section {
  padding-inline: var(--gouttiere);
}
.section > .conteneur {
  padding-block: var(--espace-section);
}
/* Première section : un peu plus d'air sous le menu */
.section:first-child > .conteneur {
  padding-top: max(var(--espace-section), 44px);
}
/* Pages intérieures : pas de marge sous le dernier paragraphe d'un bloc */
body:not(.page-accueil) main p:last-child { margin-bottom: 0; }
/* Page d'accueil : trait de séparation entre deux sections, à la largeur du contenu */
.page-accueil .section + .section > .conteneur {
  border-top: 1px solid var(--filet);
}
/* Bande de couleur sur toute la largeur de l'écran */
.section--claire {
  background: var(--fond-clair);
}

@media (max-width: 720px) {
  .section:first-child > .conteneur { padding-top: var(--espace-section); }
}


/* 5. En-tête
   ========================================================================== */

.bandeau-haut {
  padding: 7px var(--gouttiere);
  background: var(--fond-clair);
  color: var(--gris-chaud);
  font-size: 11px;
  line-height: 1.56;
}
.bandeau-haut p { margin: 0; }
.bandeau-haut a {
  color: var(--encre);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ballon);
  padding-bottom: 1px;
}
.bandeau-haut a:hover { border-bottom-color: var(--encre); }

.entete {
  position: sticky; top: 0; z-index: 60;
  padding: 14px var(--gouttiere);
  background: var(--blanc);
  border-bottom: 1px solid var(--filet);
}
.entete > .conteneur {
  display: flex;
  align-items: center;
  gap: 28px;
}
.entete__logo img { width: 115px; height: auto; }

.menu {
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: clamp(12px, 1.8vw, 22px);
  margin: 0 0 -9px auto;
}
.menu a {
  padding: 6px 0;
  line-height: normal;
  border-bottom: 2px solid transparent;
  color: var(--encre);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.menu a:hover { border-bottom-color: var(--ballon); }

/* Bouton du menu mobile (3 traits, croix quand le menu est ouvert) */
.entete__burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px;
  margin-left: auto; padding: 0 9px;
  background: none; border: 0; cursor: pointer;
}
.entete__burger span {
  width: 22px; height: 2px;
  background: var(--encre);
  border-radius: 1px;
  transition: transform .25s, opacity .2s;
}
.entete__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.entete__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.entete__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .bandeau-haut { font-size: 12px; }
}

@media (max-width: 720px) {
  .bandeau-haut { padding-inline: 28px; }
  .entete { padding-block: 12px; }
  .entete > .conteneur { flex-wrap: wrap; }
  .entete__logo img { width: 100px; }
  .entete__burger { display: flex; }

  .menu {
    display: none;
    flex-direction: column; align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 10px 0 4px;
    gap: 0;
  }
  .menu.est-ouvert { display: flex; }
  .menu a {
    padding: 13px 2px;
    border-bottom: 1px solid var(--filet);
    font-size: 15px;
    font-weight: 400;
  }
}


/* 6. Typographie commune
   ========================================================================== */

h1 {
  margin-bottom: 20px;
  font-size: var(--h1);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.005em;
}

h2 {
  margin-bottom: 12px;
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.2;
}

h3 {
  font-size: var(--h3);
  font-weight: 500;
  line-height: 1.2;
}

main p {
  max-width: 74ch;
  color: var(--gris-chaud);
  font-size: var(--texte);
  line-height: 1.55;
}

/* Petit titre en capitales au-dessus des titres de section */
main .sur-titre {
  max-width: none;
  margin-bottom: 8px;
  color: var(--ballon);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .185em;
  text-transform: uppercase;
}
/* Précision en clair à côté du sur-titre, ex. « Repères — L'écrit au travail en France » */
.sur-titre em {
  margin-left: 12px;
  color: var(--gris-chaud);
  font-size: var(--texte-base);
  font-style: normal;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

/* Grande phrase d'accroche en serif */
main .accroche {
  margin: 28px 0 14px;
  color: var(--encre);
  font-family: var(--serif);
  font-size: var(--accroche);
  font-weight: 600;
  line-height: 1.45;
}
.accroche span { display: block; }

/* Page d'accueil : intertitres un peu plus espacés, paragraphes plus serrés sur téléphone */
.page-accueil h2 { margin-bottom: 18px; }
.page-accueil .sur-titre { margin-bottom: 14px; }

@media (max-width: 720px) {
  .page-accueil main p { margin-bottom: 9px; }
  main .accroche { margin-bottom: 9px; line-height: 1.4; }
}

main p strong { color: var(--encre); font-weight: 600; }
.insecable { white-space: nowrap; }

/* Texte masqué à l'écran mais lu par les lecteurs d'écran */
.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}


/* 7. Composants
   ========================================================================== */

/* --- Groupe de liens d'action sous un texte --- */
.actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 26px;
}
@media (max-width: 720px) {
  .actions { margin-top: 12px; }
}

/* --- Lien souligné --- */
.lien {
  color: var(--encre);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: underline 1px;
  text-underline-offset: 3px;
}
.lien:hover { color: var(--ballon); }

/* --- Bouton plein --- */
.bouton {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  background: var(--ballon);
  border: 1px solid var(--ballon);
  color: var(--blanc);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .18s, border-color .18s;
}
.bouton:hover { background: var(--ballon-fonce); border-color: var(--ballon-fonce); }

/* --- Cartes d'offres, regroupées par intertitre --- */
.cartes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 6px;
}
/* Intertitre centré entre deux traits : « — Conseil — » */
main .cartes__groupe {
  grid-column: 1 / -1;
  display: flex; justify-content: center; align-items: center; gap: 18px;
  max-width: none;
  margin: 26px 0 6px;
  color: var(--encre-douce);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.cartes__groupe::before,
.cartes__groupe::after {
  content: "";
  flex: 0 0 70px;
  height: 3px;
  background: var(--ballon);
}
.carte {
  display: flex; flex-direction: column; gap: 8px;
  padding: 22px 22px 18px;
  background: var(--blanc);
  border: 1px solid rgba(43, 42, 40, .3);
  text-decoration: none;
  transition: background-color .25s, border-color .25s;
}
.carte:hover,
.carte:focus-visible {
  background: var(--ballon-voile);
  border-color: var(--ballon);
  outline: none;
}
.carte h3 { margin-top: 4px; }
main .carte p { max-width: none; margin: 0; }

@media (max-width: 900px) {
  .cartes { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
@media (max-width: 720px) {
  .carte { padding: 16px 18px 14px; }
  .carte h3 { margin: 0 0 6px; }
}

/* --- Rangée qui défile horizontalement (téléphone uniquement) ---
   Sur ordinateur, .defilement n'a aucun effet : ses enfants restent dans la grille
   de leur parent. Sur téléphone, ils forment une rangée qu'on fait glisser du doigt. */
.defilement { display: contents; }
.defilement__aide { display: none; }

@media (max-width: 720px) {
  main .defilement {
    display: flex;
    gap: 14px;
    margin: 0 calc(-1 * var(--gouttiere)) 8px;
    padding: 4px var(--gouttiere) 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: var(--gouttiere);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .defilement::-webkit-scrollbar { display: none; }
  .defilement > * {
    flex: 0 0 76vw;
    min-width: 0;
    scroll-snap-align: start;
  }
  main .defilement__aide {
    display: block;
    margin: -2px 0 10px;
    color: #8A857F;
    font-size: 13px;
    line-height: 1.4;
  }
  /* Chiffres en rangée : un filet au-dessus et au-dessous de chaque chiffre */
  .chiffres.defilement > .chiffre {
    margin: 0;
    padding: 10px 0 14px;
    border-top: 1px solid rgba(43, 42, 40, .18);
    border-bottom: 1px solid var(--filet);
  }
}

/* --- Passages repliés derrière « Lire la suite » (téléphone uniquement) ---
   Le bouton est ajouté par repli.js, qui pose aussi la classe .est-replie
   sur la section. Sans JavaScript, tout reste visible. */
.repli__bouton { display: none; }

@media (max-width: 720px) {
  .repli__bouton {
    display: inline-flex; align-items: center; gap: 6px;
    margin: 4px 0 8px; padding: 8px 0 0;
    background: none; border: 0;
    color: var(--ballon);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
  }
  .repli__bouton::after { content: "↓"; font-weight: 400; }
  .repli__bouton[aria-expanded="true"]::after { content: "↑"; }
  .est-replie .repli { display: none !important; }
}

/* --- Bloc garantie (texte + badge Qualiopi) --- */
.garantie {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  align-items: center;
  gap: 48px;
}
.garantie__badge a {
  display: inline-block;
  margin: -8px; padding: 8px;
  border-radius: 2px;
  transition: background-color .25s, transform .25s;
}
.garantie__badge a:hover { background: var(--ballon-voile); transform: translateY(-2px); }
.garantie__badge img { width: 140px; height: auto; }
.garantie__badge small {
  display: block;
  margin-top: 8px;
  color: var(--gris-chaud);
  font-size: 10.6px;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .garantie { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .garantie__badge small { font-size: 11.5px; }
}

/* --- Chiffres clés --- */
.chiffres {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}
.chiffre {
  display: flex; flex-direction: column;
  margin-right: 28px;
  padding: 4px 28px 4px 0;
  border-right: 1px solid var(--filet);
  color: var(--gris-chaud);
  line-height: 1.7;
}
.chiffre:last-child { padding-right: 0; border-right: 0; }
.chiffre strong {
  margin-bottom: 10px;
  color: var(--ballon);
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}
/* La source se cale en bas de colonne pour que les trois soient alignées */
.chiffre small {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  letter-spacing: .06em;
}
.chiffre small a {
  text-decoration-color: var(--ballon);
  text-underline-offset: 3px;
}
@media (max-width: 900px) {
  .chiffres { grid-template-columns: minmax(0, 1fr); }
  .chiffre {
    margin: 0; padding: 14px 0;
    border-right: 0; border-bottom: 1px solid var(--filet);
  }
  .chiffre strong { font-size: 33px; }
  .chiffre small { font-size: 12px; }
}

/* --- Copies annotées : version initiale / version retravaillée --- */
.copies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "initiale retravaillee"
    "notes    notes";
  gap: 0 28px;
  margin-top: 22px;
}
.copie {
  padding: 26px 28px;
  background: var(--blanc);
  border: 1px solid rgba(43, 42, 40, .3);
  color: var(--encre);
  line-height: 1.7;
}
.copie--initiale { grid-area: initiale; }
.copie--retravaillee {
  grid-area: retravaillee;
  background: rgba(195, 130, 123, .06);
  border-color: rgba(195, 130, 123, .6);
}
.copies__notes {
  grid-area: notes;
  margin: 16px 0 0; padding: 0;
  list-style: none;
  color: var(--rouge-correction);
  font-size: 12.5px;
  line-height: 1.5;
}
/* Marques de correction dans la version initiale */
.biffe { text-decoration: line-through 2px var(--rouge-correction); }
.renvoi {
  margin-left: 1px;
  color: var(--rouge-correction);
  font-size: 10px;
  font-weight: 700;
  line-height: 0;
  vertical-align: super;
}
.annotation {
  padding: 10px 0;
  color: var(--rouge-correction);
  font-family: var(--serif);
  font-size: 15.6px;
  font-style: italic;
  font-weight: 600;
  white-space: nowrap;
}
.vague {
  text-decoration: underline 1.5px wavy var(--rouge-correction);
  text-underline-offset: 4px;
}
/* Sur téléphone, les notes suivent directement la version annotée */
@media (max-width: 900px) {
  .copies {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "initiale" "notes" "retravaillee";
  }
  .copies__notes { margin: 12px 0 22px; font-size: 13.5px; }
  .copie { font-size: 15px; }
  .renvoi { font-size: 11px; }
  .annotation { font-size: 17px; }
}

/* --- Dépliant (« Ce qui change ») --- */
.depliant {
  max-width: 720px;
  margin-top: 22px;
  border-top: 1px solid #DCD7D2;
  border-bottom: 1px solid #DCD7D2;
}
.depliant summary {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0;
  color: var(--encre);
  font-family: var(--serif);
  font-size: 17.5px;
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.depliant summary::-webkit-details-marker { display: none; }
.depliant summary::after {
  content: "+";
  color: var(--ballon);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  transition: transform .25s;
}
.depliant[open] summary::after { transform: rotate(45deg); }
.depliant__corps { padding-bottom: 12px; }
main .depliant__corps p { font-size: 14px; line-height: 1.6; }
@media (max-width: 900px) {
  .depliant summary { font-size: 19px; }
}
@media (max-width: 720px) {
  .depliant summary { font-size: 21px; }
}

/* --- Phrase manuscrite (police « signature ») --- */
main .manuscrit {
  max-width: none;
  margin: 56px 0 0;
  color: var(--ballon);
  font-family: var(--manuscrite);
  font-size: clamp(46px, 4.7vw, 68px);
  line-height: .9;
  word-spacing: -.18em;
  -webkit-text-stroke: .4px currentColor;
  transform: rotate(-2deg);
  transform-origin: left center;
}
@media (max-width: 720px) {
  main .manuscrit { margin-top: 34px; font-size: min(52px, 13.3vw); transform: rotate(-4deg); }
}


/* 8. Pied de page
   ========================================================================== */

.pied {
  padding: 54px var(--gouttiere) 0;
  background: var(--fond-pied);
  color: var(--encre-douce);
  font-size: 11.5px;
  line-height: 1.56;
}
.pied p { margin: 0; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }

.pied__colonnes {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.25fr;
  gap: 28px;
}
.pied__logo { width: 96px; height: auto; margin-bottom: 18px; mix-blend-mode: multiply; }
.pied .pied__linkedin { text-decoration: underline; text-underline-offset: 2px; }
.pied__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pied__badges a { line-height: 0; }
.pied__badges img { height: 34px; width: auto; mix-blend-mode: multiply; }

.pied__titre {
  margin-bottom: 14px !important;
  color: var(--ballon);
  font-size: 9.2px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li { margin-bottom: 8px; }
.pied li a { display: inline-block; line-height: normal; }

.pied__legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px;
  margin-top: 42px;
  padding: 16px 0;
  border-top: 1px solid rgba(43, 42, 40, .15);
  font-size: 10.1px;
}
.pied__legal a { font-size: 11.5px; text-decoration: underline; }

@media (max-width: 900px) {
  .pied { font-size: 12.5px; }
  .pied__titre { font-size: 10px; }
  .pied__legal { font-size: 11px; }
  .pied__legal a { font-size: 12.5px; }
  .pied__colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .pied__colonnes { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}


/* 9. Page d'accueil
   ========================================================================== */

/* Ouverture : texte à gauche, film à droite */
.ouverture__grille {
  display: grid;
  grid-template-columns: minmax(0, 500fr) minmax(0, 580fr);
  align-items: center;
  gap: 36px;
}
.ouverture__constat { margin-top: 34px; }
.ouverture__constat .sur-titre { margin-bottom: 12px; }

/* Mot entouré à la main dans le titre */
.entoure {
  position: relative;
  display: inline-block;
  margin: 0 .22em 0 .12em;
}
.entoure img {
  position: absolute;
  left: -19%; top: -24%;
  width: 138%; height: 166%;
  max-width: none;
  pointer-events: none;
  transform: rotate(-5deg);
}

/* Film d'animation : il déborde légèrement vers la droite et s'agrandit */
.film {
  margin-right: calc(-1 * min(40px, max(0px, 50vw - 598px)));
}
.film__video {
  width: 100%;
  height: auto;
  aspect-ratio: 1006 / 580;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: scale(1.45);
  transform-origin: 62% 50%;
}

/* Tablette et téléphone : le film passe au-dessus du texte, en pleine largeur.
   Sur téléphone, film.js déplace la « caméra » pour suivre les bulles. */
@media (max-width: 900px) {
  .ouverture__grille { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .film {
    order: -1;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0 calc(-1 * var(--gouttiere)) 10px;
  }
  .film__video {
    position: absolute; top: 0; left: 0;
    transform: none;
    will-change: transform;
  }
}
@media (max-width: 720px) {
  .ouverture > .conteneur { padding-top: 30px; }
}

/* Dernière section : centrée */
.faisons-connaissance { text-align: center; }
main .faisons-connaissance .sur-titre { margin-bottom: 28px; }
.faisons-connaissance__corps { max-width: 640px; margin-inline: auto; }
.faisons-connaissance p { margin-inline: auto; }
.faisons-connaissance .actions { align-items: center; }


/* 10. Pages intérieures : composants communs
   ========================================================================== */

/* --- Texte + phrase manuscrite côte à côte (ouverture des pages, encarts) --- */
.avec-signature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: center;
  gap: 24px clamp(32px, 4vw, 58px);
}
.avec-signature--haut { align-items: start; }
.avec-signature--haut .signature { margin-top: 56px; }
@media (max-width: 900px) {
  .avec-signature { grid-template-columns: minmax(0, 1fr); }
  .avec-signature--haut .signature { margin-top: 0; }
}

/* --- Phrase manuscrite ---
   Une ligne = un <span class="signature__ligne">, séparées par des <br>.
   <br class="seulement-mobile"> coupe une ligne en deux sur téléphone uniquement.
   La phrase complète est donnée aux lecteurs d'écran dans un .visuellement-cache.
   signature.js écrit les lignes l'une après l'autre quand la phrase devient visible. */
main .signature {
  width: max-content;
  max-width: none;
  margin: 0;
  color: var(--ballon);
  font-family: var(--manuscrite);
  font-size: clamp(38px, 5vw, 72px);
  line-height: .9;
  letter-spacing: 0;
  word-spacing: -.18em;
  white-space: nowrap;
  -webkit-text-stroke: .4px currentColor;
  transform: rotate(-4deg);
  transform-origin: left center;
}
.signature__ligne { display: inline-block; vertical-align: top; }
.signature__ligne--retrait { margin-left: .45em; }
.signature .seulement-mobile { display: none; }

/* Animation : la ligne se dévoile de gauche à droite */
.signature--animee .signature__ligne {
  clip-path: inset(-.3em calc(100% + .3em) -.4em -.3em);
  transition-property: clip-path;
  transition-timing-function: linear;
}
.signature--animee.signature--ecrite .signature__ligne {
  clip-path: inset(-.3em -.3em -.4em -.3em);
}

@media (max-width: 720px) {
  main .signature {
    padding: 8px 0 12px;
    font-size: min(50px, 12.8vw);
    line-height: 1.05;
  }
  .signature__ligne--retrait { margin-left: 0; }
  .signature .seulement-mobile { display: inline; }
  .signature .seulement-bureau { display: none; }
}

/* --- Blocs d'offres sur trois colonnes, coiffés d'un trait --- */
.blocs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 22px;
}
.bloc {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
  border-top: 2px solid var(--ballon);
}
.bloc h3 {
  margin-bottom: 6px;
  font-size: 21.2px;
  font-weight: 600;
  line-height: 1.22;
}
main .bloc p { margin-bottom: 8px; }
/* Les caractéristiques (durée, participants…) s'alignent en bas des trois blocs */
main .bloc__faits {
  margin-top: auto;
  padding-top: 14px;
  color: #4A4744;
  font-weight: 500;
}
.bloc__faits strong { font-weight: 700; }
/* Le lien « Voir le détail » se cale en bas : les trois s'alignent */
main .bloc__lien { margin-top: auto; padding-top: 20px; }
main .bloc__faits + .bloc__lien { margin-top: 0; }
@media (max-width: 900px) {
  .blocs { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .bloc h3 { font-size: 26.4px; }
  main .bloc p { margin-bottom: 14px; }
  main .bloc__lien { padding-top: 4px; }
}

/* --- Bouton avec flèche --- */
.bouton--fleche::after { content: "→"; font-size: 14px; line-height: 1; }

/* --- Dernière section : appel à l'action centré --- */
.final {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.final__texte { max-width: 680px; }
.final h2 { margin: 0; }
main .final p { max-width: none; margin: 12px auto 0; }
.final .actions { align-items: center; gap: 12px; margin: 0; }


/* 11. Page « Vos écrits »
   ========================================================================== */

/* Ouverture : le texte à gauche, la phrase manuscrite à droite */

/* Cohérence : texte à gauche, exemple de réponses à droite */
.coherence {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: start;
  gap: 26px 56px;
}
main .coherence__interventions { margin-top: 18px; font-size: 12px; line-height: 1.55; }
.coherence__interventions a { color: var(--encre); font-size: 15px; text-underline-offset: 2px; }
.coherence__interventions a:hover { color: var(--ballon); }

.reponses {
  margin: 0;
  padding-left: 43px;
  border-left: 1px solid var(--ballon);
}
.reponses figcaption {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.6;
}
/* Une ligne = une icône + un message ; le ton est écrit au-dessus du message */
.reponses__message {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 1px 12px;
  align-items: start;
  padding-bottom: 10px;
}
.reponses__message svg { grid-row: 2; width: 18px; height: 18px; margin-top: 1px; color: var(--ballon); }
.reponses__message--recu svg { grid-row: 1; margin-top: 3px; }
main .reponses__message p {
  grid-column: 2;
  max-width: none;
  margin: 0;
  font-size: 13.8px;
  line-height: 1.6;
}
.reponses__ton {
  grid-column: 2; grid-row: 1;
  color: var(--ballon);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
main .reponses__conclusion {
  margin: 8px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--ballon);
  color: var(--encre);
}

@media (max-width: 900px) {
  .coherence { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  main .coherence__interventions { font-size: 15px; }
  /* L'exemple devient un encadré en pleine largeur */
  .reponses {
    margin: 0 calc(-1 * var(--gouttiere));
    padding: 22px var(--gouttiere) 20px;
    border-left: 0;
    background: var(--fond-clair);
  }
  .reponses::before {
    content: "Exemple";
    display: block;
    margin-bottom: 4px;
    color: var(--ballon);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
  }
  .reponses figcaption { font-size: 17px; }
  main .reponses__message p { font-size: 15px; }
  .reponses__ton { font-size: 11px; font-weight: 700; letter-spacing: .18em; }
  main .reponses__conclusion {
    margin-top: 14px; padding-top: 0;
    border-top: 0;
    color: var(--gris-chaud);
    font-style: italic;
  }
}

/* Repères chiffrés : trois colonnes coiffées d'un trait */
.reperes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 26px;
}
.repere {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 2px solid var(--ballon);
}
main .repere__nombre {
  margin: 0 0 10px;
  color: var(--ballon);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.55;
}
main .repere p { margin-bottom: 0; }
main .repere__source {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  font-style: italic;
}
main .reperes__chute { margin-top: 28px; }
@media (max-width: 900px) {
  .reperes { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 14px; }
  .repere { padding-top: 0; border-top: 0; }
  main .repere__nombre { margin-bottom: 4px; }
  main .repere p { margin-bottom: 14px; }
  main .repere__source { padding-top: 2px; font-size: 15px; }
}

/* Par où commencer ? Deux colonnes de questions */
.orientation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 60px;
}
.orientation__colonne { display: flex; flex-direction: column; }
/* L'intertitre « Formation » s'aligne sur « Conseil », placé sous le titre de section */
.orientation__colonne + .orientation__colonne { padding-top: 77px; }
main .orientation .cartes__groupe { margin: 28px 0 14px; }
.question { padding: 14px 0; border-top: 1px solid var(--filet); }
main .question__titre {
  margin: 0;
  color: var(--encre-douce);
  font-weight: 600;
}
main .question p:last-child { margin: 0; font-size: 14px; }
.question__offre {
  color: var(--ballon);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.question__offre:hover { text-decoration: underline; text-underline-offset: 3px; }
main .orientation__plus { margin: auto 0 0; padding-top: 18px; }

@media (max-width: 900px) {
  .orientation { grid-template-columns: minmax(0, 1fr); }
  .orientation__colonne + .orientation__colonne { padding-top: 0; }
}
@media (max-width: 720px) {
  main .question__titre { margin-bottom: 14px; }
  /* Dans la rangée qui défile, chaque question devient une carte encadrée */
  .defilement > .question {
    padding: 16px 16px 18px;
    background: var(--blanc);
    border: 1px solid rgba(43, 42, 40, .3);
  }
  main .question p:last-child { font-size: 15.5px; }
}

/* Financement : texte et logos à gauche, opérateurs de compétences à droite */
.financement {
  display: grid;
  grid-template-columns: minmax(0, 604fr) minmax(0, 470fr);
  align-items: start;
  gap: 50px;
}
.financement__logos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px;
  margin-top: 22px;
}
.financement__logos a { line-height: 0; }
.financement__logos img { height: 56px; width: auto; mix-blend-mode: multiply; }
.opco { margin: 32px 0 0; }
.opco img { width: 100%; height: auto; mix-blend-mode: multiply; }
.opco figcaption {
  max-width: 560px;
  margin: 6px auto 0;
  color: var(--gris-chaud);
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}
@media (max-width: 900px) {
  .financement { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .opco { margin-top: 0; }
}


/* 12. Fiches détaillées (une offre par page)
   ========================================================================== */

/* Fil d'Ariane : « Conseil · Diagnostic rédactionnel » */
main .fil-ariane { margin-bottom: 6px; }
.fil-ariane a { color: var(--encre); text-underline-offset: 2px; }
.fil-ariane a:hover { color: var(--ballon); }

.fiche-intro .sur-titre { margin-bottom: 6px; }
.fiche-intro h1 { margin-bottom: 10px; }

/* Rubriques de la fiche : intitulé en petites capitales, puis le texte */
.rubriques {
  max-width: 570px;
  margin: 0;
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
}
.rubriques dt {
  padding-bottom: 6px;
  color: var(--ballon);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .185em;
  text-transform: uppercase;
}
.rubriques dd { margin: 0 0 24px; }
.rubriques dd:last-child { margin-bottom: 0; }
main .rubriques p {
  max-width: none;
  margin: 10px 0 0;
  font-size: inherit;
  line-height: inherit;
}
main .rubriques p:first-child { margin-top: 0; }
.rubriques ul { margin: 6px 0 0; padding-left: 1.2em; }
.rubriques strong { color: var(--encre); font-weight: 700; }

/* Boutons et liens sous la fiche */
.fiche-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-top: 26px;
}

@media (max-width: 720px) {
  main .fil-ariane { margin-bottom: 14px; }
  .rubriques { font-size: 16px; }
  .rubriques dt { font-size: 13px; }
  .rubriques li { margin-bottom: 6px; }
}

/* Fiches formation : texte serré, comme dans la maquette */
.page-fiche main p { margin-bottom: 6px; }
.page-fiche h2 { margin-bottom: 6px; }
.page-fiche .fiche-intro p:last-child { margin-bottom: 6px; }
main li strong { color: var(--encre); }

/* Repères clés sous le titre : durée, effectif, modalités, tarif, délai */
.reperes-cles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0 0;
  border-top: 1px solid #DCD7D2;
  border-bottom: 1px solid #DCD7D2;
}
.reperes-cles > div { padding: 10px 18px 10px 0; }
.reperes-cles > div + div { padding-left: 18px; border-left: 1px solid #DCD7D2; }
.reperes-cles dt {
  margin-bottom: 6px;
  color: var(--ballon);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .185em;
  text-transform: uppercase;
}
.reperes-cles dd {
  margin: 0;
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
}
.reperes-cles strong { color: var(--encre); font-weight: 700; }

/* Dessin crayonné en haut à droite de la fiche (Certificat Voltaire).
   Calé à l'œil sur la maquette (même écart avec le sur-titre), fil d'Ariane compris. */
.fiche-intro { position: relative; }
.fiche-dessin {
  position: absolute; top: 42px; right: 123px;
  width: 240px; height: auto;
}

/* Petit intitulé en couleur, sans capitales : « Pour qui », « Méthodes »… */
main .petit-titre {
  margin: 0 0 6px;
  color: var(--ballon);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: .185em;
}
main .petit-titre--suite { margin-top: 12px; }
/* Intitulé en gras dans un texte : « Atelier de 3 heures : … » */
main .intitule { margin: 18px 0 6px; color: var(--encre); font-weight: 600; }

/* Listes à puces des fiches */
.liste { margin: 4px 0 0; padding-left: 1.1em; }
.liste li {
  margin-bottom: 2px;
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
}

/* Colonnes */
.deux-colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.trois-colonnes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }

/* Trois formats (atelier, formation, parcours) coiffés d'un trait */
.formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.format {
  display: flex;
  flex-direction: column;
  padding-top: 8px;
  border-top: 2px solid var(--ballon);
}
main .format__exemple { font-style: italic; }
.format__exemple strong { color: var(--gris-chaud); font-style: normal; font-weight: 700; }
main .format__lien { margin-top: auto; padding-top: 30px; }
main .fiche-attestation { margin-top: 22px; }

/* Étapes numérotées 01, 02… sur une ligne */
.etapes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin: 12px 0 0; padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li {
  padding-top: 8px;
  border-top: 2px solid var(--ballon);
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
  counter-increment: etape;
}
.etapes li::before {
  content: "0" counter(etape);
  display: block;
  color: var(--ballon);
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.3;
}
.etapes strong { display: block; margin-bottom: 4px; color: var(--encre); font-weight: 600; }

/* Modules numérotés sur deux colonnes (Certificat Voltaire) */
.modules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 86px;
  align-items: start;
}
.modules ol { margin: 10px 0 0; padding: 0; list-style: none; }
.modules ol + ol { margin-top: 0; }
.modules li {
  display: flex; gap: 10px;
  margin-bottom: 7px;
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
}
.modules__numero { flex: 0 0 15px; color: var(--ballon); font-weight: 600; }
.modules strong { color: var(--encre); font-weight: 600; }
main .modules li p { margin: 0; font-size: inherit; line-height: inherit; }
main .modules__documents { margin-top: 26px; }
.modules__documents a + a { display: inline-block; margin-top: 8px; }

main .fiche-note { margin-top: 14px; font-style: italic; }

@media (max-width: 900px) {
  .reperes-cles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reperes-cles > div,
  .reperes-cles > div + div { padding: 12px 10px 12px 0; border-left: 0; border-bottom: 1px solid #DCD7D2; }
  .deux-colonnes, .trois-colonnes, .formats, .etapes, .modules { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .fiche-dessin { position: static; display: block; width: 180px; margin: 0 auto 16px; }
}
@media (max-width: 720px) {
  .page-fiche main p { margin-bottom: 14px; }
  .reperes-cles dt { font-size: 13px; }
  .reperes-cles dd, .liste li, .etapes li, .modules li { font-size: 16px; }
  main .format__lien { padding-top: 6px; }
}

/* Programmes détaillés (atelier, formation, parcours) */
main .fiche-intro__suite { margin-top: 14px; }
.rubriques--programme ul { margin: 4px 0 8px; }
.rubriques--programme li { margin-bottom: 4px; }
main .rubriques__etape { margin-top: 6px; }
/* Dans les programmes, les paragraphes gardent la taille du texte courant */
main .rubriques--programme p { margin: 0 0 6px; font-size: var(--texte); line-height: 1.55; }
.rubriques--programme dd { margin-bottom: 26px; }

/* Rubriques présentées en tableau : intitulé à gauche, texte à droite (exemple de diagnostic) */
.rubriques--tableau {
  display: grid;
  grid-template-columns: 210px minmax(0, 690px);
  max-width: none;
  padding: 4px 24px 24px;
}
.rubriques--tableau dt,
.rubriques--tableau dd { padding: 15px 0; border-top: 1px solid var(--filet); }
.rubriques--tableau dt { padding-right: 24px; }
.rubriques--tableau dd,
.rubriques--tableau dd:last-child { margin: 0; }

/* Extrait de courriel : avant / après */
.extrait {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(43, 42, 40, .18);
}
.extrait__titre {
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 17.4px;
  font-weight: 600;
  line-height: 1.4;
}
.extrait__titre span { color: var(--gris-chaud); font-size: 12.9px; font-style: italic; font-weight: 400; }
.extrait__colonnes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.extrait__version { padding-top: 14px; border-top: 2px solid var(--ballon); }
.extrait__version ul { margin: 0 0 6px 18px; padding: 0; color: var(--gris-chaud); font-size: 14px; line-height: 1.4; }
main .extrait__version p { margin-bottom: 0; }
.extrait__actions { margin-top: 34px; padding-top: 0; gap: 16px; }

@media (max-width: 900px) {
  .rubriques--tableau { grid-template-columns: minmax(0, 1fr); padding: 0 0 18px; }
  .rubriques--tableau dt { padding: 14px 0 4px; }
  .rubriques--tableau dd { padding: 0 0 14px; border-top: 0; }
  .extrait__colonnes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .extrait__titre { font-size: 18.9px; }
  .extrait__titre span { font-size: 14px; }
  .extrait__version ul { font-size: 16px; }
  .extrait__version li { margin-bottom: 6px; }
}


/* 13. Page « Notre cabinet »
   ========================================================================== */

main .cabinet-presentation { max-width: 520px; margin-top: 14px; }
.cabinet-texte { max-width: 540px; }

/* La fondatrice : photo et citation à gauche, parcours à droite */
.fondatrice {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 56px;
}
.fondatrice__photo figure { margin: 0; border-top: 3px solid var(--ballon); }
.fondatrice__photo img { width: 100%; height: auto; }
.citation {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--ballon);
  color: var(--encre);
  font-family: var(--serif);
  font-size: 15.6px;
  font-style: italic;
  line-height: 1.5;
}
main .fondatrice__accroche {
  max-width: none;
  margin-bottom: 16px;
  color: var(--encre);
  font-family: var(--serif);
  font-size: 23.9px;
  line-height: 1.35;
}
/* Liste des métiers, avec un petit trait en guise de puce */
.metiers { margin: 6px 0 18px; padding: 0; list-style: none; }
.metiers li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
  color: var(--gris-chaud);
  font-size: 14px;
  line-height: 1.4;
}
.metiers li::before {
  content: "";
  position: absolute; top: .8em; left: 0;
  width: 12px;
  border-top: 1px solid var(--ballon);
}
.metiers strong { font-weight: 600; }
.metiers__suite { display: block; margin-top: 8px; }
.metiers sup { margin-left: 1px; font-size: .6em; line-height: 0; }

/* Méthode en quatre étapes sur deux colonnes */
.methode {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 56px;
  margin-top: 28px;
}
.methode__colonne { display: flex; flex-direction: column; gap: 28px; }
.methode h3 {
  margin-bottom: 8px;
  font-family: var(--sans);
  font-size: 18.4px;
  font-weight: 600;
  line-height: 1.3;
}
main .methode__signature { margin: 40px 0 0 35px; }

/* Dernière section précédée d'un filet */
.final--filet { padding-top: 40px; border-top: 1px solid var(--filet); }

@media (max-width: 900px) {
  .fondatrice { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fondatrice__photo {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: center;
    gap: 18px;
  }
  .citation { margin: 0; padding-left: 14px; font-size: 19px; }
  .methode { grid-template-columns: minmax(0, 1fr); }
  main .methode__signature { margin-left: 0; }
}
@media (max-width: 720px) {
  main .fondatrice__accroche { font-size: 21px; }
  .metiers li { margin-bottom: 6px; font-size: 16px; }
}


/* 14. Formulaires, Contact, Rendez-vous, Parcours individuels
   ========================================================================== */

/* --- Formulaires (Contact, Parcours individuels) --- */
.formulaire h1 { margin-bottom: 16px; font-size: 28px; }
.formulaire__champs { display: grid; gap: 14px; }
.formulaire--deux-colonnes .formulaire__champs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  max-width: 720px;
}
.champ { display: flex; flex-direction: column; }
.champ--large { grid-column: 1 / -1; }
.champ label {
  margin-bottom: 4px;
  color: #6B6764;
  font-size: 14px;
  line-height: 1.56;
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 34px;
  padding: 6px 10px;
  background: #F4F2EF;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--encre);
  font: inherit;
  font-size: 15px;
}
.champ textarea { min-height: 130px; resize: vertical; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: 2px solid var(--ballon);
  outline-offset: 1px;
  background: var(--blanc);
}
main .champ__aide {
  max-width: none;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.55;
}
main .champ__erreur {
  margin: 4px 0 0;
  color: var(--rouge-correction);
  font-size: 13px;
  font-weight: 600;
}
.champ--erreur input,
.champ--erreur textarea { border-color: var(--rouge-correction); }

.formulaire__envoyer {
  justify-content: center;
  min-width: 200px;
  margin-top: 18px;
  padding: 13px 42px;
  font-family: inherit;
  letter-spacing: .14em;
  cursor: pointer;
}
main .formulaire__note { margin: 14px 0 0; }

.formulaire__retour {
  margin-bottom: 18px;
  padding: 12px 16px;
  border-left: 3px solid var(--ballon);
  background: var(--ballon-voile);
}
.formulaire__retour--erreur { border-left-color: var(--rouge-correction); }
main .formulaire__retour p { margin: 0; color: var(--encre); }

/* --- Page Contact : coordonnées et dessin à gauche, formulaire à droite --- */
.contact {
  display: grid;
  grid-template-columns: 320px minmax(0, 460px);
  justify-content: center;
  align-items: start;
  gap: 70px;
}
.contact__coordonnees { padding-top: 10px; text-align: center; }
.contact__dessin { width: 300px; height: auto; margin: 10px auto 26px; }
main .contact__coordonnees p { max-width: none; margin-bottom: 14px; }
main .contact__nom { margin-bottom: 8px; color: var(--encre); font-weight: 700; }
.contact__coordonnees a { color: var(--ballon); text-decoration: none; }
.contact__coordonnees a:hover { text-decoration: underline; }

/* --- Page Rendez-vous : agenda Cal.com --- */
.rendez-vous { position: relative; }
.rendez-vous__dessin {
  position: absolute; top: -1px; right: 90px;
  width: 310px; height: auto;
}
main .rendez-vous__intro { margin-top: 14px; }
.rendez-vous__agenda {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(43, 42, 40, .18);
}
.rendez-vous__agenda iframe {
  display: block;
  width: 100%; height: 760px;
  border: 0;
  background: var(--blanc);
}
main .rendez-vous__direct { margin-top: 14px; }
.rendez-vous__direct a { color: var(--ballon); text-underline-offset: 3px; }
main .rendez-vous__ecrire { margin-top: 14px; }

/* --- Page Parcours individuels --- */
.offres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 56px;
  margin-top: 18px;
}
.offre h3 { margin-bottom: 12px; font-size: 21.2px; }
main .offre p { margin-bottom: 10px; }
main .offre__lien { margin-top: 14px; }
main .pour-qui { margin-top: 34px; }
.signature-seule { display: flex; justify-content: center; }

@media (max-width: 900px) {
  .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact__dessin { margin-top: 0; }
  .rendez-vous__dessin { position: static; display: block; width: min(320px, 88vw); margin: -30px auto 6px; }
  .rendez-vous__agenda iframe { height: 1100px; }
  .offres { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .formulaire--deux-colonnes .formulaire__champs { grid-template-columns: minmax(0, 1fr); }
  .champ input, .champ select, .champ textarea { font-size: 16px; } /* évite le zoom automatique sur iPhone */
  main .champ__aide { font-size: 15px; }
}


/* 15. Quiz d'orthographe
   ========================================================================== */

.quiz-page { position: relative; }
.quiz-page__dessin {
  position: absolute; top: -16px; right: 10px;
  width: 220px; height: auto;
}
main .quiz-page__intro { margin-bottom: 30px; }
@media (min-width: 901px) { .quiz-page > h1 { max-width: calc(100% - 240px); } }

main .quiz__progression {
  margin: 0 0 8px;
  color: var(--ballon);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.quiz__barre { height: 2px; margin-bottom: 26px; background: #E6DFD8; }
.quiz__barre span { display: block; height: 100%; background: var(--ballon); transition: width .3s; }
.quiz__consigne { margin-bottom: 22px; font-size: 26px; font-weight: 500; line-height: 1.25; }
.quiz__consigne:focus { outline: none; }
main .quiz__ligne { margin-bottom: 6px; color: var(--encre); font-size: 16px; line-height: 2.1; }
.quiz__numero { margin-right: 6px; color: #9A938D; }
.quiz select {
  margin: 0 3px; padding: 2px 6px;
  background: #F4F2EF;
  border: 0; border-bottom: 1.5px solid var(--ballon); border-radius: 0;
  color: var(--encre);
  font: inherit; font-size: 15px;
  cursor: pointer;
}
main .quiz__phrase {
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid var(--ballon);
  color: var(--encre);
  font-size: 18px;
  line-height: 1.6;
}
.quiz__choix { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.quiz__option {
  padding: 11px 22px;
  background: var(--blanc);
  border: 1px solid #CFC6BE;
  color: var(--encre);
  font-family: var(--sans); font-size: 14px;
  cursor: pointer;
}
.quiz__option[aria-pressed="true"] { border-color: var(--ballon); background: #F6EDE9; }
.quiz__option--juste { border-color: #2E7D4F; box-shadow: inset 0 0 0 1px #2E7D4F; }
.quiz__option--faux { border-color: var(--rouge-correction); box-shadow: inset 0 0 0 1px var(--rouge-correction); }
main .quiz__note { color: #7A7571; font-size: 13px; }
.quiz__case {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
  color: var(--encre);
  font-size: 16px; line-height: 1.5;
  cursor: pointer;
}
.quiz__case input { margin-top: 4px; accent-color: var(--ballon); }
.quiz__marque { margin-left: 6px; font-size: 14px; font-weight: 700; }
.quiz__marque--juste { color: #2E7D4F; }
.quiz__marque--faux { color: var(--rouge-correction); }
.quiz__explication {
  margin-top: 22px;
  padding: 16px 20px;
  background: #F4F2EF;
  color: #3E3C38;
  font-size: 14.5px; line-height: 1.65;
}
.quiz__explication b { color: var(--encre); }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.quiz__actions .bouton { padding: 12px 34px; font-family: inherit; font-size: 13px; letter-spacing: .12em; cursor: pointer; }
.quiz__recommencer {
  padding: 0;
  background: none; border: 0;
  color: var(--encre);
  font: inherit; font-size: 15px;
  text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.quiz__score { margin: 0 0 6px; color: var(--ballon); font-family: var(--serif); font-size: 54px; line-height: 1; }
.quiz__score:focus { outline: none; }
main .quiz__detail { margin-bottom: 18px; color: #6B6764; font-size: 14px; }
main .quiz__niveau { margin-bottom: 16px; color: var(--encre); font-family: var(--serif); font-size: 30px; line-height: 1.2; }
main .quiz__resultat p:not([class]) { color: #3E3C38; font-size: 16px; line-height: 1.7; }

@media (max-width: 900px) {
  .quiz-page__dessin { position: static; display: block; width: 180px; margin: 0 auto 16px; }
}
@media (max-width: 720px) {
  .quiz__consigne { font-size: 22px; }
  main .quiz__ligne { font-size: 15px; }
}


/* 16. Pages légales (mentions, confidentialité, CGV, réclamation, accessibilité)
   ========================================================================== */

.texte-legal h2 { margin: 28px 0 8px; font-size: 23.6px; line-height: 1.25; }
.texte-legal .liste { margin: 0 0 12px; padding-left: 40px; }
main .texte-legal p:last-child { margin-bottom: 0; }
/* Information encore à fournir : surlignée pour être repérée facilement */
.a-completer { padding: 0 2px; background: #FFF1A8; color: inherit; }
