/* Thème William Ezelin : feuille de la maquette compositions/g, adaptée au balisage des blocs WordPress.
   Source : outils/site.src.css (assemblée par outils/build-css.mjs vers assets/css/site.css). */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque-latin-standard-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --jaune: #FFD400;
  --encre: #111111;
  --papier: #FBFBF8;
  --cadre: 1320px;
  --g: clamp(20px, 5vw, 64px);
  --titres: "Bricolage Grotesque", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 1.125rem/1.55 var(--titres); background: var(--encre); color: var(--papier); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
/* Blocs WordPress : on neutralise les marges et le gabarit par défaut */
.wp-block-image, .wp-block-quote { margin: 0; }
.wp-block-group { margin: 0; }
.wp-site-blocks > * { margin-block: 0; }

.bande { background: var(--fond); color: var(--txt); padding-block: clamp(72px, 10vw, 150px); }
.encre { --fond: var(--encre); --txt: var(--papier); --mute: #ABABAB; --filet: #3A3A3A; --hach-a: #1E1E1E; --hach-b: #111111; --hach-bord: #5A5A5A; }
.papier { --fond: var(--papier); --txt: var(--encre); --mute: #555555; --filet: #CFCFC6; --hach-a: #E4E4DC; --hach-b: #FBFBF8; --hach-bord: #7A7A74; }
.jaune { --fond: var(--jaune); --txt: var(--encre); --mute: #3A3A00; --filet: #111; }
.gris { --fond: #EFEFEA; --txt: var(--encre); --mute: #555555; --filet: #C4C4BA; }
.papier + .papier { border-top: 1px solid var(--filet); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 24px; }

/* Une seule largeur de contenu, un seul alignement (à gauche) */
.cadre { width: min(var(--cadre), 100% - 2 * var(--g)); margin-inline: auto; }

h2 { font-weight: 700; font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -.03em; max-width: 16ch; text-wrap: balance; }
h3 { font-weight: 700; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.01em; }
.intro { margin-top: 24px; max-width: 46ch; color: var(--mute); }
.etiq { font: 600 .9rem/1.4 var(--titres); color: var(--txt); }

/* Surligneur à moitié : aplat jaune sur la moitié basse des mots, texte encre */
.surligne { background: linear-gradient(var(--jaune), var(--jaune)) no-repeat 0 90% / 100% .45em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Sur fond encre le texte blanc ne se lit pas sur le jaune : l'aplat couvre le mot et le texte passe en encre */
.encre .surligne { background-size: 100% 88%; background-position: 0 70%; color: var(--encre); padding-inline: .08em; }

/* Boutons B1 (blocs Bouton de WordPress) */
.wp-block-button .wp-block-button__link { display: inline-block; width: auto; background: var(--txt); color: var(--fond); font: 600 1.05rem/1 var(--titres); padding: 18px 28px; text-decoration: none; text-align: left; border: 0; border-radius: 0; box-shadow: none; transition: background-color .15s, color .15s; }
.wp-block-button .wp-block-button__link:hover { background: var(--jaune); color: var(--encre); }
a:focus-visible, summary:focus-visible { outline: 4px solid var(--encre); outline-offset: 4px; }
.encre a:focus-visible { outline-color: var(--jaune); }
.wp-block-button.btn-jaune .wp-block-button__link { background: var(--jaune); color: var(--encre); }
.wp-block-button.btn-jaune .wp-block-button__link:hover { background: var(--papier); color: var(--encre); }
.lien, .lien-haut a, .x-lien a, .pied-liens a, .pied-lien a { font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.lien:hover, .lien-haut a:hover, .x-lien a:hover, .pied-liens a:hover, .pied-lien a:hover { text-decoration-color: var(--jaune); }
.lien-haut { font-size: .95rem; }
.lien-haut a { display: inline-block; padding-block: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 36px; }

/* En-tête (partie de gabarit) : même fond encre que le héros, sans coupure */
.bande-haut { padding-block: 24px 0; }
.top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.logo a { text-decoration: none; }
.top .nav-site { display: flex; margin-left: auto; font: 500 .85rem var(--mono); }
.top .nav-site .wp-block-navigation__container { display: flex; flex-wrap: nowrap; gap: 32px; }
.top .nav-site .wp-block-navigation-item__content.wp-block-navigation-item__content { text-decoration: none; color: var(--mute); padding: 0; }
.top .nav-site .wp-block-navigation-item__content.wp-block-navigation-item__content:hover { color: var(--papier); }

/* Héros */
.hero { position: relative; overflow: hidden; padding-block: 0 clamp(40px, 6vw, 72px); }
.hero-corps { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px 24px; align-items: center; padding-block: clamp(40px, 4.5vw, 72px) clamp(40px, 4vw, 64px); }
.hero-texte { grid-column: 1 / 7; position: relative; z-index: 2; }
.hero h1 { font-weight: 700; font-size: clamp(2.6rem, 4.4vw, 4.4rem); line-height: 1; letter-spacing: -.03em; max-width: none; }
.hero .intro { max-width: 41rem; margin-top: 28px; color: #D4D4D4; font-size: 1.2rem; text-wrap: balance; }
.gratuit { margin-top: 20px; font: 500 .85rem var(--mono); color: var(--mute); }
.hero .actions { margin-top: 28px; }

/* Visuel V8 : ronds pleins et traînées dans un cadre 5/4 (viewBox recadré sur la zone utile), la photo en rond plein au bout de la ligne jaune */
.visuel { grid-column: 7 / 13; position: relative; z-index: 1; aspect-ratio: 5 / 4; }
.ronds { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.visuel .portrait { position: absolute; right: 0; top: 15%; width: 56%; aspect-ratio: 1 / 1; margin: 0; z-index: 1; border-radius: 50%; overflow: hidden; }
.visuel .portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

.reperes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--filet); padding-top: 28px; font: 500 .8rem/1.4 var(--mono); color: var(--mute); }
.reperes strong { display: block; font: 700 clamp(1.5rem, 2.6vw, 2.3rem)/1.1 var(--titres); letter-spacing: -.03em; color: var(--papier); margin-bottom: 4px; }

/* 2. La question : barre centrée sur 8 colonnes, étiquettes éparpillées autour, puis le chemin jaune qui mène à la section suivante */
.question { text-align: center; padding-bottom: 0; }
.chemin { position: relative; height: clamp(150px, 14vw, 200px); margin-top: 28px; }
.chemin span { position: absolute; background: var(--jaune); }
.c-v1 { left: calc(50% - 4px); top: 0; width: 8px; height: calc(100% - 56px); border-radius: 4px 4px 0 0; }
.c-h { left: 0; top: calc(100% - 64px); width: calc(50% + 4px); height: 8px; border-radius: 4px 0 0 0; }
.c-v2 { left: 0; top: calc(100% - 64px); width: 8px; height: 64px; }
.c-pt { left: -8px; bottom: -12px; width: 24px; height: 24px; border-radius: 50%; }
.zone { position: relative; min-height: 340px; }
.champ { position: absolute; left: 16.667%; width: 66.667%; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 2px solid var(--encre); background: #fff; padding: 22px 26px; text-align: left; box-shadow: 8px 8px 0 var(--jaune); }
.champ-q { font-size: clamp(1.15rem, 2.4vw, 2rem); font-weight: 500; line-height: 1.3; min-height: 1.3em; }
.curseur { display: inline-block; width: 2px; height: 1.05em; background: var(--encre); vertical-align: -.15em; margin-left: 2px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .curseur { animation: none; } }
#frappe.selectionne { background: var(--jaune); }
.champ-entree { flex: none; border: 1px solid var(--encre); padding: 2px 8px; font: 500 .75rem var(--mono); }
.vrac li { position: absolute; background: #fff; border: 1px solid var(--encre); padding: 8px 14px; font: 500 .95rem var(--mono); white-space: nowrap; }
.vrac li:nth-child(1) { left: 12%; top: 4%; transform: rotate(-4deg); }
.vrac li:nth-child(2) { left: 44%; top: 0; transform: rotate(2deg); }
.vrac li:nth-child(3) { right: 12%; top: 6%; transform: rotate(-2deg); }
.vrac li:nth-child(4) { left: 14%; top: 84%; transform: rotate(3deg); }
.vrac li:nth-child(5) { left: 46%; top: 90%; transform: rotate(-3deg); }
.vrac li:nth-child(6) { right: 13%; top: 82%; transform: rotate(4deg); }
.vrac-phrase { margin-top: clamp(20px, 3vw, 40px); font-weight: 700; font-size: clamp(2.2rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -.03em; }

/* 3. Titre à gauche (sous le point jaune), liste à droite : phrase en gras, réponse en gris dessous, filets fins */
.question + .pourqui { border-top: 0; padding-top: 44px; }
.pourqui .g12 { align-items: start; }
.pourqui-titre { grid-column: 1 / 5; font-size: clamp(2.2rem, 4.2vw, 3.8rem); }
.phrases { grid-column: 5 / 13; }
.phrase { padding-block: 22px; border-top: 1px solid var(--filet); }
.phrase:first-child { border-top: 0; padding-top: .4rem; }
.phrases h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.2; letter-spacing: -.015em; }
.phrases p { margin-top: 6px; color: var(--mute); max-width: 52ch; }

/* Méthode : nœuds en zigzag, cercles fins, un point plein par étape */
.methode h2 { margin-bottom: clamp(48px, 6vw, 80px); }
.noeuds { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 112px auto; gap: 0 32px; }
.noeuds > .etape { display: contents; }
.dot { position: relative; z-index: 1; width: 44px; height: 44px; border: 1.5px solid #8A8A8A; border-radius: 50%; background: var(--encre); grid-row: 2; justify-self: start; }
.dot::after { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-radius: 50%; background: var(--papier); }
.derniere .dot { border-color: var(--jaune); }
.derniere .dot::after { background: var(--jaune); }
.txt { max-width: 30ch; }
.txt h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.txt p:last-child { color: #D4D4D4; font-size: 1rem; }
.noeuds > .etape:nth-child(odd) .txt { grid-row: 1; align-self: end; padding-bottom: 24px; }
.noeuds > .etape:nth-child(even) .txt { grid-row: 3; align-self: start; padding-top: 24px; }
.noeuds > .etape:nth-child(odd) .dot { align-self: start; }
.noeuds > .etape:nth-child(even) .dot { align-self: end; }
.noeuds > .etape:nth-child(1) > * { grid-column: 1; }
.noeuds > .etape:nth-child(2) > * { grid-column: 2; }
.noeuds > .etape:nth-child(3) > * { grid-column: 3; }
.noeuds > .etape:nth-child(4) > * { grid-column: 4; }
/* Sans script : une ligne droite derrière les points. Le script la remplace par le trait en zigzag. */
.noeuds:not(.trace)::before { content: ""; grid-row: 2; grid-column: 1 / -1; align-self: center; border-top: 1.5px solid #5A5A5A; }
.trait { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trait path { fill: none; stroke-width: 1.5; }
.trait-fond { stroke: #3A3A3A; }
.trait-fil { stroke: var(--papier); }
.outils { margin-top: clamp(40px, 5vw, 72px); padding-top: 24px; border-top: 1px solid var(--filet); font: 500 .95rem/1.8 var(--mono); }
.outils strong { margin-right: 16px; font: 600 .9rem/1.4 var(--titres); color: var(--txt); }

/* 6. Projets : index alterné, titre de section discret */
.projets h2 { max-width: none; }
.projets .intro { margin-bottom: clamp(32px, 4vw, 56px); max-width: 56ch; color: var(--mute); font-size: 1.1rem; }
.index .x { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; align-items: start; padding-block: clamp(28px, 3.5vw, 48px); border-top: 2px solid var(--encre); }
.x-nom { grid-column: 1 / 13; grid-row: 1; font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance; }
.x-txt { grid-column: 1 / 7; grid-row: 2; }
.x-vis { grid-column: 7 / 13; grid-row: 2; margin: 0; }
.x-vis img { display: block; width: 100%; height: auto; border-radius: 6px; }
/* Projet Hoop N'Fit : un téléphone, les vrais écrans de l'appli glissent de droite à gauche, l'étape en cours s'allume à côté */
.app { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.app-tel { position: relative; display: block; aspect-ratio: 1 / 2; border: 2px solid var(--encre); border-radius: 18px; overflow: hidden; background: #fff; }
.app-tel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transform: translateX(100%); transition: transform .6s cubic-bezier(.6,0,.2,1); }
.app-tel img.ici { transform: none; }
.app-tel img.parti { transform: translateX(-100%); }
.app-etapes li { padding: 10px 0; border-bottom: 1px solid var(--filet); color: #6B6B66; font-weight: 600; transition: color .3s; }
.app-etapes li small { display: block; font: 500 .75rem/1.4 var(--mono); color: var(--mute); }
.app-etapes li.ici { color: var(--encre); }
.app-etapes li.ici::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; background: var(--jaune); }

/* Projet CRM : tu racontes à la voix, l'IA remplit la fiche et change le statut, tu valides, puis tes relances du jour */
.cr .haut{display:flex;justify-content:space-between;align-items:baseline;gap:16px;font:500 .8rem/1.4 var(--mono);color:var(--mute);margin-bottom:14px}
.cr .haut span:first-child{white-space:nowrap}
.cr .etape{font:700 1rem/1.3 "Bricolage Grotesque",sans-serif;color:var(--encre);text-align:right}
.cr .bulle{margin-left:auto;max-width:86%;background:var(--encre);color:#FBFBF8;padding:10px 14px;border-radius:14px 14px 4px 14px;font-size:.95rem;line-height:1.4;min-height:44px;opacity:0;transition:opacity .3s}
.cr .bulle.vu{opacity:1}
.cr .onde{display:flex;gap:3px;align-items:center;height:22px}
.cr .onde i{display:block;width:3px;border-radius:2px;background:var(--jaune);animation:cr-onde .5s ease-in-out infinite alternate}
.cr .pont{margin:14px 0 10px;font:500 .78rem/1.4 var(--mono);color:var(--mute);opacity:0;transition:opacity .3s}
.cr .pont.vu{opacity:1}
.cr .pont b{color:var(--encre)}
.cr .fiche{border-radius:8px;overflow:hidden;opacity:0;transition:opacity .3s}
.cr .fiche.sombre{background:#151A24;color:#E8EAF0;--l:#2A3140;--m:#8C93A3}
.cr .fiche.clair{background:#fff;border:1px solid var(--filet);--l:#E6E6DF;--m:#6B6B66}
.cr .fbarre{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--l)}
.cr .fbarre b{font-size:.95rem}
.cr .fbarre small{display:block;font:500 .72rem var(--mono);color:var(--m)}
.cr .statut{font:600 .75rem/1 var(--mono);padding:6px 9px;border-radius:999px;border:1px solid var(--l);color:var(--m);transition:background-color .3s,color .3s,border-color .3s}
.cr .statut.chaud{background:var(--jaune);color:#111;border-color:var(--jaune)}
.cr .fiche.vu{opacity:1}
.cr .fiche li{display:grid;grid-template-columns:9.5em 1fr;gap:12px;padding:8px 12px;border-bottom:1px solid var(--l);font-size:.95rem;opacity:0;transform:translateX(-8px);transition:opacity .3s,transform .3s,background-color .6s}
.cr .fiche li span{font:500 .78rem/1.6 var(--mono);color:var(--m)}
.cr .fiche li.vu{opacity:1;transform:none;background:var(--jaune);color:#111}
.cr .fiche li.pose{background:transparent;color:inherit}
.cr .valider{display:inline-block;margin:10px 12px 12px;font:600 .82rem/1 "Bricolage Grotesque",sans-serif;border:2px solid var(--encre);padding:8px 14px;opacity:0;transition:opacity .3s,background-color .2s,color .2s}
.cr .valider.vu{opacity:1}
.cr .cr-note{display:inline-block;vertical-align:middle;max-width:calc(100% - 24px);margin:0 12px 12px;font:500 .72rem/1.4 var(--mono);color:var(--m);opacity:0;transition:opacity .3s}
.cr .valider.vu+.cr-note{opacity:1}
.cr .valider.ok{background:var(--jaune);color:#111;border-color:var(--jaune)}
.cr .fiche.sombre .valider{border-color:#E8EAF0}
.cr .suite{margin-top:18px}
.cr .ia{margin-top:10px;max-width:92%;border-left:3px solid var(--jaune);padding:4px 0 4px 12px;font-size:.92rem;opacity:0;transition:opacity .3s}
.cr .ia.vu{opacity:1}
.cr .ia li{opacity:0;transition:opacity .3s}
.cr .ia li.vu{opacity:1}
.cr .rejouer{display:block;margin-left:auto;margin-top:16px;min-height:44px;font:500 .8rem var(--mono);background:none;border:1px solid var(--filet);padding:0 16px;cursor:pointer;color:var(--mute)}
@keyframes cr-onde{from{height:4px}to{height:20px}}
/* Projet vidéo : sous-titres, chapitres, tri par l'IA avec ses raisons, vidéo resserrée, export */
.mv-lg span:first-child { white-space: nowrap; }
.mv-lg { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font: 500 .8rem/1.4 var(--mono); color: var(--mute); }
.mv-etape { font: 700 1rem/1.3 "Bricolage Grotesque", system-ui, sans-serif; color: var(--encre); text-align: right; }
.mv-piste { position: relative; height: 150px; margin-top: 40px; }
.mv-piste .st { position: absolute; top: 0; height: 6px; border-radius: 2px; background: #9A9A92; transform: scaleX(0); transform-origin: 0 50%; transition: transform .2s, opacity .5s; }
.mv-piste .st.vu { transform: none; }
.mv-piste .st.pale { opacity: .35; }
.mv-piste .ch { position: absolute; top: 14px; height: 7px; border: 2px solid var(--encre); border-bottom: 0; opacity: 0; transition: opacity .3s; }
.mv-piste .ch.vu { opacity: 1; }
.mv-piste .ch.parti { opacity: 0; }
.mv-piste .sg { position: absolute; top: 30px; height: 40px; border-radius: 3px; background: #D9D9D2; transition: left .9s cubic-bezier(.6,0,.2,1), transform .7s cubic-bezier(.5,0,.2,1), opacity .7s, background-color .3s; }
.mv-piste .sg.ok { background: var(--jaune); }
.mv-piste .sg.ko { transform: translateY(62px); opacity: .45; background: repeating-linear-gradient(45deg, #D9D9D2 0 5px, var(--fond) 5px 10px); }
.mv-piste .tete { position: absolute; top: -6px; height: 84px; width: 2px; margin-left: -1px; left: 0; background: var(--encre); opacity: 0; transition: left 2.2s linear, opacity .3s; }
.mv-piste .tete::before { content: ""; position: absolute; top: -6px; left: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--encre); }
.mv-piste .raison { position: absolute; top: -36px; font: 600 .78rem/1 "Bricolage Grotesque", system-ui, sans-serif; background: var(--encre); color: var(--papier); padding: 6px 8px; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.mv-piste .raison.vu { opacity: 1; transform: none; }
.mv-fin { display: flex; justify-content: space-between; gap: 16px; margin-top: 6px; font-weight: 700; opacity: 0; transition: opacity .5s; }
.mv-fin span:last-child { color: var(--mute); font-weight: 500; }
.mv.s-fin .mv-fin { opacity: 1; }
.mv-bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.mv-export { font: 600 .8rem/1 var(--mono); background: var(--jaune); padding: 7px 10px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.mv.s-export .mv-export { opacity: 1; transform: none; }
.mv-rejouer { min-height: 44px; font: 500 .8rem var(--mono); background: none; border: 1px solid var(--filet); padding: 0 16px; cursor: pointer; color: var(--mute); }
.x-pb strong, .x-so strong { font-weight: 700; color: var(--txt); }
.x-pb { color: var(--mute); }
.x-lien { margin-top: 16px; }
.x-so { margin-top: 12px; padding-top: 12px; border-top: 1px dotted #9A9A92; }

/* 5. Respiration : une phrase sur bande jaune */
.respire { padding-block: clamp(72px, 10vw, 150px); }
.respire p { font-weight: 700; font-size: clamp(2.4rem, 6.4vw, 6rem); line-height: .95; letter-spacing: -.04em; }

/* 7. Moi : citation, faits sur 2 colonnes, portrait étroit à droite */
.moi .g12 { align-items: start; }
.moi .moi-photo { align-self: center; }
.moi-texte { grid-column: 1 / 8; }
.moi h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -.02em; }
.moi .wp-block-quote { margin: 28px 0 0; padding: 0; border: 0; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.08; text-wrap: balance; letter-spacing: -.03em; }
.moi .intro { color: #D4D4D4; max-width: 52ch; margin-top: 36px; }
.faits { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.fait { display: block; padding-block: 16px; border-top: 1px solid var(--filet); }
.fait-nom { font-weight: 600; font-size: .9rem; color: var(--papier); }
.fait-desc { margin-top: 4px; }
.moi-photo { grid-column: 9 / 13; display: block; margin: 0; }
.moi-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 40%; }

/* 8. Prix : la démarche qui y mène, une étape par ligne */
.demarche { margin-top: clamp(32px, 4vw, 56px); border-top: 4px solid var(--encre); }
.pas { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px 24px; align-items: baseline; padding-block: 24px; border-bottom: 1px solid var(--filet); }
.demarche h3 { grid-column: 1 / 7; font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -.02em; line-height: 1.1; }
.demarche p { grid-column: 7 / 13; color: var(--mute); }
.pas:last-child { border-bottom: 0; }
.tarifs .actions { margin-top: clamp(28px, 3vw, 40px); }
.tarifs { padding-block: clamp(56px, 6vw, 96px) clamp(40px, 4vw, 64px); }
.mention { margin-top: 32px; font: 500 .85rem var(--mono); color: var(--mute); }

/* 4. Formations : photo au micro, publics en tableau */
.formations .g12 { align-items: start; }
.form-photo { grid-column: 9 / 13; grid-row: 1; align-self: end; display: block; margin: 0; }
.form-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.form-bloc { grid-column: 1 / 8; grid-row: 1; }
.formations h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.03em; }
.formations .intro { margin-top: 20px; max-width: 52ch; }
.publics { margin-top: clamp(28px, 3vw, 40px); border-top: 4px solid var(--encre); }
.public { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 24px; padding-block: 18px; border-bottom: 1px solid var(--filet); }
.public:last-child { border-bottom: 0; }
.public-nom { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.public-desc { color: var(--mute); }
.formations .actions { margin-top: 28px; }

/* FAQ */
.faq h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.faq-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); align-items: start; }
details { border-top: 1px solid var(--filet); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding-block: 22px; font-weight: 700; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; font: 500 1.4rem/1 var(--mono); }
details[open] summary::after { content: "\2212"; }
details p { padding-bottom: 24px; color: var(--mute); max-width: 48ch; }

/* Appel final */
.appel h2 { font-size: clamp(3rem, 9vw, 8rem); line-height: .95; letter-spacing: -.035em; max-width: 11ch; }
.appel .actions { margin-top: 48px; }
.mail { font: 500 1rem var(--mono); }
.mail a { text-underline-offset: 5px; }

/* Pied */
.pied { padding-block: 28px; border-top: 1px solid #3A3A3A; font: 500 .8rem/1.6 var(--mono); color: var(--mute); }
.pied-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.pied strong { color: var(--papier); margin-right: 8px; font-weight: 700; }
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.pied-liens a, .pied-lien a { font-weight: 600; }

/* Pages légales : texte courant sur fond papier */
.legal { padding-block: clamp(48px, 6vw, 96px); }
.legal h1 { font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1; letter-spacing: -.03em; max-width: 20ch; text-wrap: balance; margin-bottom: clamp(32px, 4vw, 56px); }
.legal h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -.02em; max-width: none; margin-top: 2.4rem; }
.legal p, .legal ul { margin-top: 1rem; max-width: 70ch; }
.legal ul { list-style: disc; padding-left: 1.4rem; }
.legal li + li { margin-top: .4rem; }
.legal a { text-underline-offset: 4px; }
.legal .wp-block-buttons { margin-top: 2rem; }

/* Tablette */
@media (max-width: 980px) {
  .hero-texte { grid-column: 1 / 13; }
  .visuel { grid-column: 2 / 12; }
  .reperes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .x-nom, .x-txt, .x-vis { grid-column: 1 / 13; grid-row: auto; }
  .pourqui-titre, .phrases { grid-column: 1 / 13; }
  .phrase:first-child { border-top: 1px solid var(--filet); padding-top: 22px; }
  .moi-texte { grid-column: 1 / 13; }
  .moi-photo { grid-column: 1 / 7; }
  .demarche h3, .demarche p { grid-column: 1 / 13; }
  .form-photo { grid-column: 9 / 13; grid-row: 1; }
  .form-bloc { grid-column: 1 / 9; }
  .public { grid-template-columns: 1fr; gap: 4px; }
  .champ { left: 8%; width: 84%; }
  .faq-grille { grid-template-columns: 1fr; }
}

/* Mobile : méthode en liste verticale */
@media (max-width: 700px) {
  .app { grid-template-columns: 1fr; }
  .app-tel { width: 68%; margin-inline: auto; }
  body { font-size: 1.05rem; }
  .champ-q { min-height: 2.6em; } /* les questions qui tournent tiennent sur deux lignes : la barre ne saute pas */
  .top .nav-site { display: none; }
  .hero-corps { padding-block: 56px 40px; }
  .visuel { grid-column: 1 / 13; }
  .noeuds { grid-template-columns: 1fr; grid-template-rows: none; gap: 40px 0; }
  .noeuds > .etape { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 20px; }
  .noeuds > .etape > * { grid-column: auto !important; grid-row: auto !important; align-self: start !important; padding: 0 !important; }
  .noeuds > .etape .dot { grid-column: 1 !important; }
  .noeuds > .etape .txt { grid-column: 2 !important; }
  .noeuds:not(.trace)::before { display: none; }
  .faits { grid-template-columns: 1fr; }

  .champ { box-shadow: 5px 5px 0 var(--jaune); }
  .champ-entree { display: none; }
  .form-bloc { grid-column: 1 / 13; grid-row: auto; }
  .form-photo { grid-column: 1 / 10; grid-row: auto; margin-top: 32px; }
  .moi-photo { grid-column: 1 / 10; }
  .zone { min-height: 0; display: flex; flex-direction: column; }
  .champ { position: static; transform: none; width: 100%; }
  .vrac { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 10px; margin-top: 32px; }
  .vrac li { position: static; }
}
