/*
Theme Name: Mental Impact
Theme URI: https://mentalimpact.fr
Template: twentytwentyfive
Author: Mental Impact
Description: Thème enfant de Twenty Twenty-Five pour mentalimpact.fr : Temps Mort et conception pédagogique (2026).
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
Text Domain: mental-impact
*/
/* Mental Impact 2026 : clairière et tableau vert */
:root {
  --paper: #F5F6F0; --paper-2: #EAEFE6; --sage: #DAE7DB; --sage-2: #C2D8C6;
  --dots: rgba(0, 104, 56, 0.13);
  --ink: #14211C; --ink-2: #4B5B53; --rule: #D3DCD3;
  --brand: #006838; --brand-ink: #FFFFFF; --earth: #754C29; --wordmark: #006838;
  --board: #173029; --board-2: #1F3B33;
  --chalk: #EEF3EC; --chalk-2: #B5C8BD; --chalk-line: rgba(238, 243, 236, 0.26);
  --gold: #D8B46A; --on-gold: #14211C;
  --clip: #C9D2CA; --clip-2: #9EAAA1;
  --sheet: #FFFFFF; --sheet-ink: #14211C; --sheet-ink-2: #4B5B53; --sheet-rule: #DCE3DC; --sheet-accent: #006838; --sheet-field: #F6F8F4; --sheet-highlight: #DAE7DB;
  --todo-bg: #F6DEC2; --todo-ink: #14211C;
  --focus: #006838;
  --shadow: 0 2px 6px rgba(20, 33, 28, 0.06), 0 26px 50px -26px rgba(20, 33, 28, 0.3);
  --logo-light: inline-block; --logo-dark: none;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Didact Gothic", "Century Gothic", "Figtree", sans-serif;
  --wrap: 1180px;
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1814; --paper-2: #15211B; --sage: #1C2E25; --sage-2: #2C4537;
    --dots: rgba(134, 207, 163, 0.12);
    --ink: #E7EEE8; --ink-2: #A8BAAF; --rule: #2A3C33;
    --brand: #DDBE7C; --brand-ink: #0F1814; --earth: #D2AE87; --wordmark: #DDBE7C;
    --board: #19332B; --board-2: #224036;
    --chalk-line: rgba(238, 243, 236, 0.22);
    --gold: #DDBE7C;
    --clip: #6D7C72; --clip-2: #4C5A51;
    --sheet: #EDF1EB; --sheet-ink-2: #46554D; --sheet-rule: #CFD9D0; --sheet-highlight: #D3E3D5;
    --todo-bg: #4A3622; --todo-ink: #F4E6D6;
    --focus: #DDBE7C;
    --shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 30px 60px -30px rgba(0, 0, 0, 0.8);
    --logo-light: none; --logo-dark: inline-block;
    color-scheme: dark;
  }
}

/* Socle : prend le pas sur les styles globaux du thème */
:root body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
:root .wp-site-blocks { padding: 0; }
:root .wp-site-blocks > *, :root .wp-block-post-content > *, :root main.wp-block-group > * { margin-block: 0; }
:root :is(.band, .site-head, .site-foot) :is(.wp-block-group, .wp-block-buttons, .wp-block-column, .wp-block-columns) > * { margin-block: 0; }
:root :is(.band, .site-head, .site-foot) p, :root :is(.band, .site-head, .site-foot) ul, :root :is(.band, .site-head, .site-foot) ol, :root :is(.band, .site-head, .site-foot) figure, :root :is(.band, .site-head, .site-foot) blockquote { margin: 0; }
:root :is(h1, h2, h3) { margin: 0; font-family: var(--font-display); font-optical-sizing: auto; font-weight: 450; line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; color: inherit; text-transform: none; }
:root :is(h1, h2) em { font-style: italic; font-weight: 400; color: var(--brand); }
:root h2 { font-size: clamp(2.1rem, 3.9vw, 3.35rem); }
:root h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.15; letter-spacing: -0.005em; }
:root a { color: inherit; }
:root :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sage-2); color: var(--ink); }
.i { width: 1.1em; height: 1.1em; flex: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 80px); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
:root .stack { display: grid; gap: 1.2rem; align-content: start; min-width: 0; }
.stack > .btn, .stack > .actions, .stack > .wp-block-buttons, .stack > .link-arrow { justify-self: start; }

/* Typographie */
:root .kicker { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-body); font-weight: 650; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--earth); }
.kicker .i { width: 1.4em; height: 1.4em; }
:root .display-xl { font-size: clamp(2.9rem, 6.3vw, 5.8rem); line-height: 1.01; letter-spacing: -0.02em; }
:root .display-l { font-size: clamp(2.35rem, 4.7vw, 4.1rem); line-height: 1.05; letter-spacing: -0.018em; }
:root .lead { font-size: clamp(1.14rem, 1.45vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 36rem; text-wrap: pretty; }
:root .body-l { font-size: 1.14rem; line-height: 1.7; color: var(--ink-2); max-width: 35rem; text-wrap: pretty; }
.small-label { font-weight: 650; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* Boutons : blocs Boutons de WordPress et liens .btn */
:root .wp-block-buttons.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
:root .btn, :root .wp-block-button .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 52px; padding: 0.8rem 1.55rem; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
:root :is(.btn-primary.btn, .btn-primary .wp-block-button__link) { background: var(--brand); color: var(--brand-ink); }
:root :is(.btn-primary.btn, .btn-primary .wp-block-button__link):hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px var(--brand); }
:root :is(.btn-gold.btn, .btn-gold .wp-block-button__link) { background: var(--gold); color: var(--on-gold); }
:root :is(.btn-gold.btn, .btn-gold .wp-block-button__link):hover { transform: translateY(-2px); box-shadow: 0 14px 26px -14px var(--gold); }
:root :is(.btn-quiet.btn, .btn-quiet .wp-block-button__link) { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent); }
:root :is(.btn-quiet.btn, .btn-quiet .wp-block-button__link):hover { background: color-mix(in srgb, currentColor 8%, transparent); }
:root .btn-sm .wp-block-button__link { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.97rem; }
:root .link-arrow a, :root a.link-arrow { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
:root .link-arrow a:hover, :root a.link-arrow:hover { text-decoration-color: currentColor; }
:root .band .more { margin-top: clamp(2.2rem, 4vw, 3rem); }

/* En-tête */
:root .site-head { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent); }
:root .admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { :root .admin-bar .site-head { top: 0; } }
:root .header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--wordmark); }
:root a.brand { color: var(--wordmark); text-decoration: none; }
.brand img { width: auto; height: 50px; }
.logo-light { display: var(--logo-light); }
.logo-dark { display: var(--logo-dark); }
.wordmark { font-family: var(--font-brand); font-size: 1.55rem; line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
:root .header-right { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.1rem); }
:root .site-nav .wp-block-navigation-item__content { font-family: var(--font-body); font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--ink); padding-block: 0.4rem; }
:root .site-nav .wp-block-navigation-item__content:hover { color: var(--brand); }
:root .site-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
:root .site-nav .wp-block-navigation__container { gap: clamp(1rem, 2.4vw, 2.1rem); }
:root .site-nav .wp-block-navigation__responsive-container-open, :root .site-nav .wp-block-navigation__responsive-container-close { color: var(--ink); }
:root .site-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--paper); color: var(--ink); padding: 1.5rem max(16px, env(safe-area-inset-right, 0px)) 2rem max(16px, env(safe-area-inset-left, 0px)); }
:root .site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--font-display); font-size: 1.8rem; padding-block: 0.4rem; }
@media (max-width: 600px) { :root .header-cta { display: none; } .wordmark { font-size: 1.35rem; } .brand img { height: 44px; } }

/* Bandes */
:root .band { position: relative; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
:root .band--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
:root .band--tint { background: var(--paper-2); }
:root .band--board { z-index: 1; background-color: var(--board); background-image: var(--grain); color: var(--chalk); }
:root .band--board .kicker { color: var(--gold); }
:root .band--board :is(h1, h2) em { color: var(--gold); }
:root .band--board :is(.lead, .body-l) { color: var(--chalk-2); }
:root .band--board .btn-quiet .wp-block-button__link, :root .band--board .btn-quiet.btn { color: var(--chalk); }
.edge { position: absolute; left: 0; display: block; width: 100%; height: clamp(26px, 4.5vw, 64px); fill: var(--board); pointer-events: none; }
.edge--top { bottom: calc(100% - 1px); }
.edge--bottom { top: calc(100% - 1px); }
:root .band--dots { background-color: var(--paper); background-image: radial-gradient(var(--dots) 1.3px, transparent 1.7px); background-size: 24px 24px; }
:root .band[id] { scroll-margin-top: 92px; }
:root .band .section-head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
:root .two-col { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
@media (max-width: 880px) { :root .two-col { grid-template-columns: minmax(0, 1fr); } }

/* Formes organiques */
.blob { position: absolute; z-index: 0; fill: var(--sage); pointer-events: none; }
.breathe { transform-origin: 50% 50%; animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1) rotate(0deg); } to { transform: scale(1.045) rotate(-4deg); } }

/* Ouverture */
:root .hero { padding-block: clamp(3.25rem, 7vw, 6rem) clamp(4rem, 8vw, 6.5rem); overflow: hidden; }
:root .hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
:root .hero-copy { display: grid; gap: 1.5rem; align-content: start; min-width: 0; }
:root .side-door { font-size: 1rem; color: var(--ink-2); }
:root .side-door a { color: var(--brand); font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.hero-visual { position: relative; display: grid; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); min-width: 0; }
.hero-visual .blob { inset: -6% -10% -4% -6%; width: 116%; height: 110%; }
@media (max-width: 960px) { :root .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-visual { max-width: 560px; width: 100%; justify-self: center; } }

/* Plaquette tactique */
.clipboard { position: relative; z-index: 1; width: 100%; max-width: 500px; margin: 0; transform: rotate(2.2deg); }
.clipboard__clip { position: absolute; top: -15px; left: 50%; z-index: 2; width: 116px; height: 34px; border-radius: 12px 12px 18px 18px; background: linear-gradient(180deg, var(--clip), var(--clip-2)); transform: translateX(-50%); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.22); }
.clipboard__clip::after { content: ""; position: absolute; left: 50%; top: 9px; width: 30px; height: 8px; border-radius: 999px; background: var(--board); transform: translateX(-50%); opacity: 0.55; }
.clipboard__board { padding: 2.1rem 1.2rem 1.3rem; background-color: var(--board); background-image: var(--grain); border: 7px solid var(--board-2); border-radius: 30px; box-shadow: var(--shadow); }
.clipboard__label { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.4rem 1rem; margin: 0 0.3rem 0.4rem; font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--chalk-2); }
.clipboard__label b { color: var(--gold); font-weight: 700; }
.court-svg { display: block; width: 100%; height: auto; }
.court { fill: none; stroke: var(--chalk-line); stroke-width: 2; }
.marks { fill: none; stroke: var(--chalk); stroke-width: 3; stroke-linecap: round; }
.you { fill: var(--gold); }
.you-label { fill: var(--gold); font-family: var(--font-body); font-weight: 700; font-size: 14px; letter-spacing: 0.18em; }
.play { fill: none; stroke: var(--chalk); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.play--accent { stroke: var(--gold); }
.play--pass { stroke-dasharray: 2 9; }
.draw { stroke-dasharray: 1 1; stroke-dashoffset: 1; animation: draw 0.9s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
.d1 { animation-delay: 0.3s; } .d2 { animation-delay: 0.6s; } .d3 { animation-delay: 0.9s; }
.pop { opacity: 0; animation: pop 0.3s ease forwards; }
.p1 { animation-delay: 1.15s; } .p2 { animation-delay: 1.45s; } .p3 { animation-delay: 1.7s; } .p4 { animation-delay: 1.8s; } .p5 { animation-delay: 2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }

/* Listes douces avec pastilles */
.soft-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.75rem, 3.5vw, 2.5rem); }
.soft-list li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.soft-list h3 { margin-bottom: 0.35rem; }
.soft-list p { color: var(--ink-2); }
.bubble { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--sage); color: var(--brand); }
.bubble svg { width: 30px; height: 30px; }
.band--board .bubble { background: var(--board-2); color: var(--gold); }

/* Pourquoi un temps mort */
:root .why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.quote { position: relative; display: grid; gap: 1.4rem; padding: clamp(2rem, 5vw, 3.5rem); margin: 0; }
.quote .blob { inset: 0; width: 100%; height: 100%; }
.quote > *:not(.blob) { position: relative; z-index: 1; }
.quote svg.tmark { width: 46px; height: 46px; color: var(--earth); }
.quote blockquote { margin: 0; padding: 0; border: 0; }
.quote blockquote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.3; color: var(--ink); text-wrap: pretty; }
.quote .wavy { text-decoration: underline wavy var(--brand); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.quote figcaption { font-weight: 600; color: var(--ink-2); }
@media (max-width: 880px) { :root .why { grid-template-columns: minmax(0, 1fr); } }

/* Chemins : étapes reliées par une ligne courbe */
.path { position: relative; }
.path__line { position: absolute; top: 0; left: 0; width: 100%; height: 120px; fill: none; stroke: var(--sage-2); stroke-width: 2; stroke-linecap: round; }
.band--board .path__line { stroke: var(--chalk-line); }
.path__steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.path--5 .path__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.path--4 .path__steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.path--3 .path__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path__steps li { display: grid; justify-items: center; align-content: start; gap: 0.6rem; padding: 32px clamp(0.5rem, 1.4vw, 1.25rem) 0; text-align: center; min-width: 0; }
.node { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 0.5rem; border-radius: 50%; background: var(--paper); border: 2px solid var(--brand); color: var(--brand); font-family: var(--font-display); font-style: italic; font-size: 1.55rem; line-height: 1; }
.band--tint .node { background: var(--paper-2); }
.band--board .node { background: var(--board); border-color: var(--chalk); color: var(--chalk); }
.path__steps .is-key .node { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); }
.band--board .path__steps .is-key .node { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.path__steps p { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
.band--board .path__steps p { color: var(--chalk-2); }
.path__years { font-family: var(--font-display); font-style: italic; font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--gold); }
@media (max-width: 900px) {
  .path__line { display: none; }
  .path--5 .path__steps, .path--4 .path__steps, .path--3 .path__steps { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .path__steps::before { content: ""; position: absolute; top: 28px; bottom: 28px; left: 27px; width: 2px; background: var(--sage-2); }
  .band--board .path__steps::before { background: var(--chalk-line); }
  .path__steps li { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; column-gap: 1.2rem; row-gap: 0.35rem; padding: 0; text-align: left; }
  .path__steps li > :not(.node) { grid-column: 2; }
  .node { grid-row: 1 / span 3; margin-bottom: 0; position: relative; z-index: 1; }
}

/* Plan de match */
:root .match { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.match-visual { position: relative; padding: clamp(1.25rem, 4vw, 3rem); min-width: 0; }
.match-visual .blob { inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { :root .match { grid-template-columns: minmax(0, 1fr); } }
.sheet { position: relative; z-index: 1; padding: clamp(1.5rem, 3vw, 2.3rem); background: var(--sheet); color: var(--sheet-ink); border-radius: 22px; box-shadow: var(--shadow); color-scheme: light; margin: 0; }
@media (min-width: 900px) { .sheet--tilt { transform: rotate(-1.6deg); } }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 1rem; padding-bottom: 0.8rem; margin-bottom: 1.1rem; border-bottom: 1.5px solid var(--sheet-rule); }
.sheet__title { font-family: var(--font-display); font-size: 1.85rem; font-weight: 500; line-height: 1.05; }
.sheet__title em { font-style: italic; color: var(--sheet-accent); }
.sheet__sub { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.4rem; }
.sheet__meta { font-weight: 600; font-size: 0.76rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--sheet-ink-2); }
.rubrics { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; counter-reset: rub; }
.rubrics li { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.3rem; counter-increment: rub; }
.rubrics li::before { content: counter(rub); grid-row: span 2; font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1; color: var(--sheet-accent); }
.rubrics strong { font-weight: 600; font-size: 1.04rem; line-height: 1.35; }
.ruled { display: block; height: 24px; background: repeating-linear-gradient(to bottom, transparent 0 22px, var(--sheet-rule) 22px 23.5px); }
.ruled--3 { height: 72px; }
.ruled--2 { height: 48px; background: repeating-linear-gradient(to bottom, transparent 0 22px, var(--sheet-rule) 22px 23.5px) 0 0 / 47% 100% no-repeat, repeating-linear-gradient(to bottom, transparent 0 22px, var(--sheet-rule) 22px 23.5px) 100% 0 / 47% 100% no-repeat; }

/* Formats */
.formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem); }
.format { display: grid; gap: 0.75rem; align-content: start; }
.emblem { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 0.6rem; border-radius: 50%; background: var(--sage); color: var(--brand); }
.emblem svg { width: 54px; height: 54px; }
.format--key .emblem { background: var(--board); color: var(--gold); }
.format__meta { font-weight: 650; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--earth); }
.format h3 { font-size: 1.85rem; }
.format p:last-child { color: var(--ink-2); }
.fig-dots circle { fill: var(--sage); stroke: currentColor; stroke-width: 2.4; }
.fig-dots .on { fill: currentColor; }
.fig-dots path { fill: none; stroke: currentColor; stroke-width: 2; }
@media (max-width: 860px) { .formats { grid-template-columns: minmax(0, 1fr); } }

/* Portrait */
:root .coach { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
:root .coach--hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.portrait { position: relative; display: grid; place-items: center; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; justify-self: center; overflow: hidden; border-radius: 46% 54% 42% 58% / 40% 44% 56% 60%; background: var(--sage); }
.portrait img { position: absolute; width: 58%; height: auto; opacity: 0.3; }
.portrait img.photo { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
@media (max-width: 880px) { :root .coach, :root .coach--hero { grid-template-columns: minmax(0, 1fr); } .portrait { max-width: 320px; } }

/* Porte des organismes de formation */
:root .door { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem 3rem; align-items: center; padding: clamp(2rem, 5vw, 3.5rem); background: var(--sage); border-radius: 36px; }
.door .branch { position: absolute; right: -30px; bottom: -40px; width: 300px; height: 220px; fill: none; stroke: var(--sage-2); stroke-width: 3; stroke-linecap: round; }
:root .door > *:not(.branch) { position: relative; }
:root .door h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
:root .door p { color: var(--ink-2); max-width: 40rem; }
@media (max-width: 780px) { :root .door { grid-template-columns: minmax(0, 1fr); } }

/* Appel final */
:root .cta-final { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: end; }
:root .cta-final h2 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1; letter-spacing: -0.02em; }
:root .contact-line { font-weight: 500; font-size: 1.05rem; color: var(--chalk-2); }
:root .contact-line a { text-decoration: none; }
@media (max-width: 860px) { :root .cta-final { grid-template-columns: minmax(0, 1fr); } }

/* Pied de page */
:root .site-foot { background: var(--paper-2); color: var(--ink-2); font-size: 1rem; padding-block: clamp(5rem, 9vw, 6.5rem) 2.25rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 3rem; }
.footer-grid p { max-width: 26rem; margin: 0; }
.footer-nav, .footer-contact { display: grid; gap: 0.6rem; align-content: start; }
:root .footer-nav a { text-decoration: none; font-weight: 500; color: var(--ink); }
:root .footer-nav a:hover { color: var(--brand); }
:root .footer-contact a { color: var(--ink); text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.75rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); font-size: 0.92rem; }
:root .footer-bottom a { text-decoration: none; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

/* Page Temps Mort */
.facts { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; }
.facts::before { content: ""; position: absolute; top: 18px; bottom: 18px; left: 17px; width: 2px; background: var(--chalk-line); }
.facts li { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 1.2rem; align-items: baseline; }
.facts li::before { content: ""; width: 14px; height: 14px; margin-left: 11px; border-radius: 50%; background: var(--board); border: 2px solid var(--chalk); transform: translateY(-4px); }
.facts .is-key::before { background: var(--gold); border-color: var(--gold); }
.facts b { display: block; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(2.3rem, 4vw, 3.2rem); line-height: 1; color: var(--chalk); }
.facts .is-key b { color: var(--gold); }
.facts span { display: block; margin-top: 0.3rem; color: var(--chalk-2); }
:root .band .note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: center; max-width: 40rem; margin-top: 2rem; padding: 1.1rem 1.5rem 1.1rem 1.1rem; background: var(--sage); border-radius: 999px; }
.note svg { width: 44px; height: 44px; padding: 9px; border-radius: 50%; background: var(--paper); color: var(--earth); }
.note p { color: var(--ink); margin: 0; }
.note b { font-weight: 650; }
@media (max-width: 600px) { .note { border-radius: 26px; } }
.seance { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(2rem, 4vw, 2.75rem); max-width: 54rem; }
.seance li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.seance .num { font-family: var(--font-display); font-style: italic; font-size: 4.4rem; line-height: 0.85; color: var(--brand); text-align: right; }
.seance .is-key .num { color: var(--earth); }
.seance h3 { font-size: clamp(1.65rem, 2.6vw, 2.15rem); }
.seance p { margin-top: 0.45rem; color: var(--ink-2); max-width: 40rem; }
@media (max-width: 600px) { .seance li { grid-template-columns: 52px minmax(0, 1fr); gap: 1rem; } .seance .num { font-size: 3rem; } }
:root .lockup { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.lockup .bubble { width: 84px; height: 84px; }
.lockup .bubble svg { width: 40px; height: 40px; }
@media (max-width: 640px) { :root .lockup { grid-template-columns: minmax(0, 1fr); } }
.pricing { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.25rem, 3vw, 2rem); align-items: stretch; }
.price-card { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.75rem, 4vw, 2.75rem); background: var(--sheet); color: var(--sheet-ink); border-radius: 30px; box-shadow: var(--shadow); color-scheme: light; }
.price-card .small-label { color: var(--sheet-ink-2); }
.price { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.6rem, 8vw, 5.4rem); line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; margin: 0; }
.price small { margin-left: 0.25em; font-family: var(--font-body); font-size: 0.3em; font-weight: 600; letter-spacing: 0.04em; }
.price-sub { font-weight: 600; color: var(--sheet-accent); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 0.75rem; align-items: start; }
.checks svg { width: 24px; height: 24px; margin-top: 0.12em; color: var(--sheet-accent); }
.fineprint { padding-top: 1rem; border-top: 1px solid var(--sheet-rule); font-size: 0.98rem; color: var(--sheet-ink-2); }
.launch { display: grid; gap: 1.1rem; align-content: start; padding: clamp(1.75rem, 4vw, 2.75rem); background-color: var(--board); background-image: var(--grain); color: var(--chalk); border-radius: 30px; }
.launch .kicker { color: var(--gold); }
.launch p:not(.kicker):not(.price) { color: var(--chalk-2); }
.launch .btn { justify-self: start; }
.seats { display: flex; gap: 0.55rem; }
.seat { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold); }
@media (max-width: 860px) { .pricing { grid-template-columns: minmax(0, 1fr); } }
.table-scroll { overflow-x: auto; border-radius: 26px; background: var(--paper-2); }
.band--tint .table-scroll { background: var(--paper); }
.table-scroll table { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 1.02rem; border: 0; }
.table-scroll :is(th, td) { padding: 1.15rem 1.4rem; text-align: left; vertical-align: top; border: 0; }
.table-scroll tbody tr + tr :is(th, td) { border-top: 1px solid var(--rule); }
.table-scroll thead th { background: var(--sage); font-weight: 650; font-size: 0.78rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-2); }
.table-scroll tbody th { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; line-height: 1.15; white-space: nowrap; }
.table-scroll tbody td { color: var(--ink-2); }
.table-scroll tbody .is-key th { color: var(--brand); }
.table-scroll td.num { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Questions fréquentes : blocs Détails */
:root .faq { max-width: 52rem; display: grid; }
:root .faq .wp-block-details { border-bottom: 1px solid var(--rule); margin: 0; padding: 0; }
:root .faq .wp-block-details:first-child { border-top: 1px solid var(--rule); }
:root .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.35rem; list-style: none; cursor: pointer; font-family: var(--font-display); font-weight: 450; font-size: clamp(1.3rem, 2.1vw, 1.6rem); line-height: 1.2; }
:root .faq summary::-webkit-details-marker { display: none; }
:root .faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--sage); color: var(--brand); font-family: var(--font-body); font-size: 1.35rem; line-height: 1; transition: transform 0.2s ease; }
:root .faq details[open] summary::after { transform: rotate(45deg); }
:root .faq .wp-block-details p { max-width: 44rem; padding-bottom: 1.5rem; color: var(--ink-2); margin: 0; }

/* Page Conception */
.schedule { list-style: none; margin: 0; padding: 0; display: grid; }
.schedule li { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1rem; padding-block: 0.5rem; font-size: 1rem; line-height: 1.35; }
.schedule li + li { border-top: 1px dashed var(--sheet-rule); }
.schedule time { font-weight: 650; color: var(--sheet-accent); font-variant-numeric: tabular-nums; }
.sheet__foot { margin-top: 1rem; font-size: 0.9rem; color: var(--sheet-ink-2); }
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 5vw, 4rem); }
.services li { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.services h3 { margin-bottom: 0.35rem; }
.services p { color: var(--ink-2); }
@media (max-width: 760px) { .services { grid-template-columns: minmax(0, 1fr); } }
.themes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem); }
.themes li { display: grid; gap: 0.6rem; align-content: start; }
.themes svg { width: 34px; height: 34px; color: var(--gold); }
.themes h3 { font-size: 1.65rem; }
.themes p { color: var(--chalk-2); }
@media (max-width: 960px) { .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .themes { grid-template-columns: minmax(0, 1fr); } }
.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.25rem); }
.example { display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--paper); border-radius: 30px; }
.example__visual { display: grid; place-items: center; min-height: 260px; padding: clamp(1.5rem, 3vw, 2.25rem); background-color: var(--board); background-image: var(--grain); }
.example__body { display: grid; gap: 0.75rem; align-content: start; padding: clamp(1.5rem, 3vw, 2.1rem); }
.example__body p:last-child { color: var(--ink-2); }
.example h3 { font-size: 1.9rem; }
@media (max-width: 860px) { .examples { grid-template-columns: minmax(0, 1fr); } }
.zones { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; width: 100%; max-width: 400px; aspect-ratio: 16 / 10; }
.zones::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--board); border: 2px solid var(--chalk-line); transform: translate(-50%, -50%); }
.zone { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 0.4rem; padding: 0.8rem; background: var(--board-2); }
.zone:nth-child(1) { border-radius: 22px 6px 6px 6px; }
.zone:nth-child(2) { border-radius: 6px 22px 6px 6px; justify-content: flex-end; text-align: right; }
.zone:nth-child(3) { border-radius: 6px 6px 6px 22px; align-content: flex-end; }
.zone:nth-child(4) { border-radius: 6px 6px 22px 6px; align-content: flex-end; justify-content: flex-end; text-align: right; }
.zone span { flex-basis: 100%; font-weight: 600; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--chalk); }
.zone:nth-child(3) span, .zone:nth-child(4) span { order: 2; }
.postit { width: 22px; height: 22px; border-radius: 5px; background: var(--gold); transform: rotate(-6deg); }
.postit:nth-of-type(2n) { background: var(--chalk); transform: rotate(7deg); }
.screen { width: 100%; max-width: 360px; padding: 1.05rem 1.05rem 1.15rem; background: var(--sheet); color: var(--sheet-ink); border-radius: 22px; box-shadow: 0 26px 46px -26px rgba(0, 0, 0, 0.7); color-scheme: light; }
.screen__bar { display: flex; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.75rem; font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sheet-ink-2); }
.screen__q { margin-bottom: 0.8rem; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.3; }
.screen__opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.screen__opts li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0.85rem; border: 1.5px solid var(--sheet-rule); border-radius: 999px; font-size: 0.93rem; line-height: 1.3; }
.screen__opts .is-right { border-color: var(--sheet-accent); background: var(--sheet-highlight); font-weight: 600; }
.screen__opts .is-right svg { width: 18px; height: 18px; color: var(--sheet-accent); flex: none; }
.screen__progress { height: 6px; margin-top: 1rem; overflow: hidden; background: var(--sheet-rule); border-radius: 999px; }
.screen__progress i { display: block; width: 40%; height: 100%; background: var(--sheet-accent); border-radius: 999px; }

/* Page À propos */
:root .band .today { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 2.5rem; align-items: baseline; margin-top: clamp(3rem, 6vw, 4rem); }
.today .small-label { color: var(--gold); }
.today p { max-width: 46rem; font-family: var(--font-display); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; margin: 0; }
@media (max-width: 640px) { .today { grid-template-columns: minmax(0, 1fr); } }
.creds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
.creds li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 1rem; align-items: center; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25; }
.creds svg { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--sage); color: var(--brand); }
@media (max-width: 700px) { .creds { grid-template-columns: minmax(0, 1fr); } }

/* Page Contact */
:root .contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { :root .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.entries { display: grid; gap: 1rem; }
.entry { display: grid; gap: 0.4rem; padding: 1.3rem 1.5rem; border: 1.5px solid var(--rule); border-radius: 24px; }
.entry b { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; line-height: 1.15; }
.entry span { color: var(--ink-2); font-size: 1rem; line-height: 1.55; }
:root .band .coords { display: grid; gap: 1.1rem; margin-top: 2rem; }
.coord { display: grid; gap: 0.2rem; }
.coord .small-label { color: var(--earth); }
:root .coord__value { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.15; overflow-wrap: anywhere; text-decoration: none; }
.coord__text { color: var(--ink-2); }
:root .contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--sheet); color: var(--sheet-ink); border-radius: 30px; box-shadow: var(--shadow); color-scheme: light; }
:root .contact-form .gform_wrapper .gfield_label, :root .contact-form .gform_wrapper legend.gfield_label { font-family: var(--font-body); font-weight: 600; font-size: 0.92rem; color: var(--sheet-ink-2); }
:root .contact-form .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) { width: 100%; min-height: 50px; padding: 0.75rem 1rem; background: var(--sheet-field); color: var(--sheet-ink); border: 1.5px solid var(--sheet-rule); border-radius: 14px; font: inherit; font-size: 1.02rem; box-shadow: none; }
:root .contact-form .gform_wrapper textarea { min-height: 140px; }
:root .contact-form .gform_wrapper :is(input, select, textarea):focus { outline: 3px solid var(--sheet-accent); outline-offset: 1px; }
:root .contact-form .gform_wrapper .gform_footer :is(input[type="submit"], button) { min-height: 52px; padding: 0.8rem 1.8rem; border: 0; border-radius: 999px; background: var(--sheet-accent); color: #FFFFFF; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; cursor: pointer; }
:root .contact-form .gform_wrapper .gform_confirmation_message { padding: 1rem 1.25rem; background: var(--sheet-highlight); border-radius: 16px; }

/* Mentions légales */
:root .legal { display: grid; gap: 1rem; max-width: 46rem; }
:root .band .legal h1 { margin-bottom: 1rem; }
:root .band .legal h2 { margin-top: 1.6rem; font-size: clamp(1.7rem, 3vw, 2.2rem); }
:root .legal p { color: var(--ink-2); }
:root .legal strong { color: var(--ink); font-weight: 600; }
mark.todo { padding: 0 0.3em; background: var(--todo-bg); color: var(--todo-ink); border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .draw { animation: none; stroke-dashoffset: 0; }
  .pop { animation: none; opacity: 1; }
  .breathe { animation: none; }
  :root .btn, :root .wp-block-button__link, :root .faq summary::after { transition: none; }
}

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