/* PARTICULES VERSION 2026-10-29-C */

/*
 * Particules – Accueil v2
 * Styles de la nouvelle page d’accueil. Tout est préfixé « ph- » et limité au conteneur .ph
 * pour ne pas interférer avec Bootstrap ni avec le reste du thème.
 */
/* Police manuscrite Caveat, hébergée dans le thème (pas d’appel à Google Fonts) — licence OFL */
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-ext-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Caveat";src:url("fonts/caveat-latin-ext-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
.ph,.ph-topbar{
  --navy:var(--blue,#03165C); --mint:#97d3c3; --mint-line:#8fd0bf; --mint-cta:var(--green,#7EDFC9);
  --rose:#ebb0cd; --rose-line:var(--pink,#E192B9); --rose-title:#e39bc3; --red:#e8402f; --gold:#f5c26b; --peach:#f6c9b8; --sky:#a9d3ec;
  --page:var(--light-grey,#F4F4F4); --section:#ffffff; --surface:#ffffff; --grey-card:#f1f1f1;
  --ink:var(--blue,#03165C); --ink-soft:#2f3873; --rule:#dcdde6; --dot-bg:#ffffff;
  --f-serif:"Gelica",Georgia,serif;
  --f-sans:"Stolzl",system-ui,-apple-system,sans-serif;
  --f-hand:"Caveat",cursive;
  --ease:cubic-bezier(.22,.8,.24,1);
  color:var(--ink);font-size:17px;line-height:1.5;-webkit-font-smoothing:antialiased
}
.ph{background:var(--page);overflow-x:clip}
/* Les extensions d’optimisation (WP Rocket, Imagify) ajoutent width/height aux images :
   on garde les proportions de l’image (sinon images étirées ou cartes trop hautes). */
.ph img,.ps img{height:auto;max-width:100%}
.ph *,.ph *::before,.ph *::after,.ph-topbar *{box-sizing:border-box}
.ph img{max-width:100%;display:block}
:where(.ph,.ph-topbar) :where(button,input){font:inherit;color:inherit}
.ph a:not(.ph-btn),.ph a:not(.ph-btn):hover,.ph a:not(.ph-btn):focus,.ph a:not(.ph-btn):active{color:inherit}
.ph :focus-visible,.ph-topbar :focus-visible{outline:3px solid var(--mint-cta);outline-offset:3px;border-radius:6px}
:where(.ph) :where(h1,h2,h3,p,ul,ol){margin-top:0}
/* ===== Cadre 1440 : chaque bloc est placé à sa position et à sa largeur exactes de la maquette ===== */
/* Conteneur principal : jusqu’à 1784 px. Les positions restent celles de la maquette 1440, mises à l’échelle. */
.ph-fr{max-width:1784px;margin:0 auto;position:relative}
.ph-row{display:grid;grid-template-columns:minmax(0,1fr)}
/* !important : la position issue de la maquette prime sur les marges propres à chaque composant */
.ph-row>*{grid-area:1/1;margin-left:calc(var(--x,0) * 100% / 1440)!important;margin-right:0!important;width:calc(var(--w,1440) * 100% / 1440)!important;min-width:0;justify-self:start}
.ph-kicker{font-size:12px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;margin:0}

/* Boutons */
.ph .ph-btn{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--ink);background:transparent;color:var(--ink);border-radius:999px;padding:.55em 1.3em;font-weight:500;cursor:pointer;text-decoration:none;transition:background .25s,color .25s,transform .2s var(--ease);white-space:nowrap}
.ph .ph-btn:hover{background:var(--ink);color:var(--section)}
.ph .ph-btn--cta{background:var(--mint-cta);border-color:var(--navy);color:var(--navy)}
.ph .ph-btn--cta:hover{background:var(--navy);color:#fff}
.ph .ph-btn--sm{font-size:14px;padding:.45em 1.1em}

/* Annotations manuscrites */
.ph-note{display:flex;align-items:flex-start;gap:12px;font-family:var(--f-hand);font-size:21px;line-height:1.15}
/* Avatar toujours rond (jamais écrasé), légèrement agrandi */
.ph-note img{flex:none;width:50px;height:50px;max-width:none;aspect-ratio:1;border-radius:50%;object-fit:cover}
.ph-note>div,.ph-note>span{padding-top:13px}
.ph-note a,.ph-note span{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ph-note__arrow{display:block;margin:6px 0 0 30px}
.ph-note__arrow path{stroke-dasharray:60;stroke-dashoffset:60;transition:stroke-dashoffset .9s var(--ease) .2s}
.is-in .ph-note__arrow path,.ph-note.is-in .ph-note__arrow path{stroke-dashoffset:0}

/* Révélation au scroll (utilisée avec parcimonie) */
.ph-reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.ph-reveal.is-in{opacity:1;transform:none}

/* ================= TOPBAR + HEADER ================= */
.ph-topbar{background:var(--navy);color:#fff;font-size:13px}
.ph-topbar .ph-row{align-items:center;min-height:66px;padding:10px 0}
/* Méta-nav calée sur la grille 12 : libellé 1–2, boutons 3–4 / 5–6 / 7–8, message 9–12 */
.ph-lifestage__lbl{font-weight:600}
/* Sélecteur segmenté : un seul contrôle sur les colonnes 3 à 8, curseur qui glisse */
.ph-seg{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:4px;border-radius:999px;background:rgba(255,255,255,.08);box-shadow:inset 0 0 0 1px rgba(255,255,255,.2)}
.ph-seg__thumb{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px) / 3);border-radius:999px;background:var(--mint-cta);transform:translateX(calc(var(--i,0) * 100%));transition:transform .45s var(--ease);box-shadow:0 2px 10px rgba(0,0,0,.25)}
.ph-seg button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:none;color:#fff;border-radius:999px;padding:.6em .5em;font-size:13px;font-weight:600;line-height:1.1;white-space:nowrap;cursor:pointer;transition:color .3s}
.ph-seg button[aria-checked="true"]{color:var(--navy)}
.ph-seg button:not([aria-checked="true"]):hover{color:var(--mint-cta)}
.ph-seg button:focus-visible{outline:2px solid #fff;outline-offset:-2px}
.ph-topbar__msg{font-family:var(--f-hand);font-size:18px;text-align:right;text-decoration:underline;text-underline-offset:3px;line-height:1.2;margin:0}
.ph-topbar__msg a{display:inline-block;color:#fff;text-decoration:none;transition:opacity .3s,transform .3s}
.ph-topbar__msg a[href]:hover{text-decoration:underline;text-underline-offset:3px}
.ph-topbar__msg a.is-out{opacity:0;transform:translateY(-4px)}


.ph-header .ph-row{align-items:center;min-height:74px}
.ph-header .ph-btn{font-size:16px;padding:.5em .6em}
.ph-logo{font-family:var(--f-sans);font-weight:500;font-size:38px;line-height:1;letter-spacing:-.01em;text-decoration:none;color:var(--ink)}
.ph-nav{display:flex;justify-content:space-between;font-weight:500;font-size:17px;white-space:nowrap}
.ph-nav a{text-decoration:none}
.ph-nav a:hover{text-decoration:underline;text-underline-offset:4px}

/* ================= HERO ================= */
.ph-hero .ph-row{align-items:start;padding-bottom:26px}
.ph-hero__text{padding-top:128px}
.ph-hero__eyebrow{font-size:14px;font-weight:500;margin:0 0 18px}
.ph-hero__title{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(38px,5vw,60px);line-height:1.06;margin:0 0 26px;letter-spacing:-.01em}
.ph-hero__title span{display:block;overflow:hidden;padding:0 .12em .16em 0;margin-bottom:-.16em}
.ph-hero__title span>em{display:block;font-style:inherit;transform:translateY(105%);animation:lineUp .9s var(--ease) forwards}
.ph-hero__title span:nth-child(2)>em{color:var(--rose-title);animation-delay:.18s}
@keyframes lineUp{to{transform:none}}
.ph-hero__lead{max-width:545px;margin:0 0 28px;color:var(--ink-soft);opacity:0;animation:fadeIn .8s var(--ease) .5s forwards}
.ph-hero__cta{opacity:0;animation:fadeIn .8s var(--ease) .65s forwards}
@keyframes fadeIn{to{opacity:1}}
.ph-hero__team{display:flex;align-items:center;gap:14px;margin-top:86px}
.ph-hero__team img{width:96px;height:auto}
.ph-hero__team p{margin:0;font-family:var(--f-hand);font-size:20px;line-height:1.15;text-decoration:underline;text-underline-offset:3px}

/* Zone illustrée 720–1377 ; la carte du test occupe 834–1333 comme sur la maquette */
/* Zone illustrée : P derrière la carte, comète en bas à droite (positions de la maquette, base 1440) */
.ph-hero{overflow:hidden}
/* Carte du test sur les colonnes 8 à 12 (834 → 1320) */
.ph-hero__visual{position:relative;margin-top:37px;padding:calc(77 * 100% / 1440) calc(57 * 100% / 1440) 60px calc(114 * 100% / 1440)}
.ph-hero__visual>.ph-hero__p{position:absolute;left:5.6%;top:3.5%;width:39.9%;height:auto;pointer-events:none}
.ph-hero__visual>.ph-hero__comet{position:absolute;left:53.3%;top:85%;width:46%;height:auto;pointer-events:none}
.ph-hero__visual .ph-quiz{position:relative}

/* Bloc test */
.ph-quiz{background:var(--surface);border-radius:16px;padding:26px 26px 26px;box-shadow:0 2px 0 rgba(15,26,92,.08),0 14px 34px rgba(15,26,92,.14);opacity:0;transform:translateY(28px) rotate(-1.4deg)}
.ph-quiz.is-in{animation:cardIn .9s var(--ease) .35s forwards}
@keyframes cardIn{to{opacity:1;transform:none}}
.ph-quiz__kicker{color:var(--rose-line);font-size:11px}
.ph-quiz__title{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(20px,2.1vw,25px);line-height:1.15;margin:4px 0 10px}
.ph-quiz__list{list-style:none;margin:0;padding:0;border-top:1px solid var(--rule)}
.ph-quiz__row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--rule)}
.ph-quiz__q{font-family:var(--f-hand);font-size:19px;line-height:1.1;font-weight:500;flex:1}
.ph-quiz__mark{display:inline-block;width:0;overflow:hidden;vertical-align:-2px;transition:width .3s var(--ease)}
.ph-quiz__row.is-answered .ph-quiz__mark{width:20px}
.ph-quiz__opts{display:flex;gap:6px;flex-shrink:0}
.ph-quiz__opt{border:1.5px solid var(--ink);background:transparent;border-radius:999px;font-weight:600;font-size:12.5px;padding:.55em .95em;cursor:pointer;position:relative;overflow:hidden;isolation:isolate;transition:color .3s,transform .15s,opacity .3s}
.ph-quiz__opt::before{content:"";position:absolute;inset:0;background:var(--navy);transform:scale(0);border-radius:inherit;transition:transform .35s var(--ease);z-index:-1}
.ph-quiz__opt[data-val="non"]::before{background:var(--rose-line)}
.ph-quiz__opt[aria-pressed="true"]{color:#fff}
.ph-quiz__opt[data-val="non"][aria-pressed="true"]{color:var(--navy)}
.ph-quiz__opt[aria-pressed="true"]::before{transform:scale(1)}
.ph-quiz__opt:active{transform:scale(.95)}
.ph-quiz__row.is-answered .ph-quiz__opt[aria-pressed="false"]{opacity:.45}
.ph-quiz__result{min-height:3.2em;margin:16px 0 18px;font-family:var(--f-serif);font-style:italic;font-weight:500;font-size:clamp(16px,1.6vw,19px);line-height:1.3}
.ph-quiz__result p{margin:0}
.ph-quiz__result.is-swapping{animation:swap .5s var(--ease)}
@keyframes swap{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.ph-quiz__foot{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ph-quiz__cta.is-ready{animation:nudge 1.1s var(--ease) 1}
@keyframes nudge{0%{transform:scale(1)}35%{transform:scale(1.07)}60%{transform:scale(.98)}100%{transform:scale(1)}}
.ph-quiz__reset{background:none;border:0;padding:0;font-family:var(--f-hand);font-size:19px;text-decoration:underline;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .3s}
.ph-quiz__reset.is-visible{opacity:1;pointer-events:auto}

/* ================= LOGOS ================= */
.ph-logos{background:var(--section)}
.ph-logos .ph-row{align-items:center;min-height:101px}
.ph-logos .ph-kicker{font-size:11px;line-height:1.3}
.ph-logos ul{list-style:none;display:flex;justify-content:space-between;flex-wrap:nowrap;white-space:nowrap;gap:0;margin:0;padding:0;font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:17px}
.ph-logos li{display:flex}
.ph-logos li+li::before{content:"·";margin-right:14px;font-style:normal}
.ph-logos ul{gap:14px}

/* ================= PROBLÈME ================= */
.ph-problem{padding:58px 0 70px}
.ph-problem__title{margin:70px 0 36px}
.ph-problem__title span{display:block;color:var(--mint-line)}
.ph-problem .ph-row{align-items:start}
.ph-problem__img{border-radius:28px;height:auto}
.ph-pills{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ph-pills li{display:inline-flex;align-items:center;gap:10px;border:1.5px solid var(--ink);border-radius:12px;padding:.45em 1em;font-weight:500;font-size:16.5px;background:var(--page);opacity:0;transform:translateX(24px);transition:opacity .5s var(--ease),transform .5s var(--ease),background .25s,color .25s;transition-delay:calc(var(--i) * .1s),calc(var(--i) * .1s),0s,0s}
.ph-pills.is-in li{opacity:1;transform:none}
.ph-pills li:hover{background:var(--navy);color:#fff}
.ph-pills svg{flex-shrink:0}
.ph-problem .ph-pills+.ph-note{margin-top:28px}

/* ================= CHIFFRES ================= */
.ph-figures-row{margin-top:72px}
.ph-figures{background:var(--navy);color:#fff;border-radius:22px;padding:48px 24px 52px;text-align:center}
.ph-figures .ph-kicker{color:var(--mint-line);font-size:11px}
.ph-figures h2{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(24px,3vw,34px);margin:10px 0 36px;line-height:1.2}
.ph-figures__grid{display:grid;grid-template-columns:repeat(3,minmax(0,260px));justify-content:center;gap:40px;margin-bottom:40px}
.ph-fig__n{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(42px,5vw,58px);line-height:1;font-variant-numeric:tabular-nums}
.ph-fig:nth-child(1) .ph-fig__n{color:var(--gold)}
.ph-fig:nth-child(2) .ph-fig__n{color:var(--peach)}
.ph-fig:nth-child(3) .ph-fig__n{color:var(--sky)}
.ph-fig p{margin:10px 0 8px;font-size:14.5px;line-height:1.4;color:#e6e8f3}
.ph-fig small{font-size:11px;color:#aeb3d4}
.ph-figures__pivot{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(18px,2.1vw,23px);line-height:1.4;max-width:820px;margin:0 auto}
.ph-figures__pivot span{color:var(--mint-line)}

/* ================= MISSION ================= */
.ph-mission{background:var(--section);padding:135px 0 40px}
.ph-mission__headrow{align-items:center;margin:28px 0 30px}
.ph-mission h2.ph-mission__head{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(28px,3.4vw,40px);line-height:1.15;margin:0}
.ph-mission h2.ph-mission__head span{color:var(--mint-line)}
.ph-burst{position:relative;display:grid;place-items:center start;aspect-ratio:357/187}
.ph-burst svg{position:absolute;inset:0;width:100%;height:100%;animation:spin 40s linear infinite}
.ph-burst .ph-btn{position:relative}
@keyframes spin{to{transform:rotate(360deg)}}
.ph-rows{list-style:none;margin:0;padding:0}
.ph-rows li{position:relative;padding:30px 0}
.ph-rows li>*{align-self:start}
.ph-rows li::after{content:"";position:absolute;bottom:0;left:calc(250 * 100% / 1440);width:calc(948 * 100% / 1440);border-bottom:1px solid var(--rule)}
.ph-rows li:last-child::after{display:none}
.ph-rows__n{font-size:24px;font-weight:400}
.ph-rows h3{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(24px,2.6vw,30px);margin:0;line-height:1.1}
.ph-rows p{margin:0 0 14px;color:var(--ink-soft);font-size:16px}
.ph-rows p:last-child{margin:0}

/* ================= ÉTAPES ================= */
.ph-steps-zone{background:var(--section);padding:60px 0 150px}
.ph-steps__noterow{margin-bottom:80px}
.ph-steps__headrow{align-items:start;margin-bottom:90px}
.ph-steps__next{margin-top:11px;padding-left:.4em;padding-right:.4em}
.ph-steps__title{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(30px,4.2vw,48px);line-height:1.08;margin:0 0 10px}
.ph-steps__title em{color:var(--mint-line);font-style:italic}
.ph-steps__sub{margin:0;font-weight:500;color:var(--ink-soft)}
.ph-tl-row{align-items:end}
.ph-tl-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:6px}
.ph-tl{position:relative;min-width:720px;padding-top:34px}
.ph-tl__temps{position:absolute;top:0;font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;transform:translateX(-50%);white-space:nowrap}
.ph-tl__temps--1{left:calc(100% / 12 * 3);color:var(--mint-line)}
.ph-tl__temps--2{left:calc(100% / 12 * 9);color:var(--rose-line)}
.ph-tl__line{position:absolute;top:calc(34px + 15px);left:calc(100%/12 - 30px);right:calc(100%/12 - 30px);height:3px;display:flex;transform-origin:left;transform:scaleX(0)}
.ph-tl__line span{flex:1;background:var(--mint-line)}
.ph-tl__line span+span{background:var(--rose-line)}
.ph-tl.is-in .ph-tl__line{animation:draw 1.1s var(--ease) forwards}
@keyframes draw{to{transform:scaleX(1)}}
.ph-tl__list{position:relative;display:grid;grid-template-columns:repeat(6,1fr)}
.ph-tl__step{display:flex;flex-direction:column;align-items:center;gap:6px;background:none;border:0;padding:0 4px 4px;cursor:pointer;width:100%;color:var(--ink)}
.ph-tl__dot{position:relative;width:32px;height:32px;display:grid;place-items:center}
.ph-tl__dot i{width:28px;height:28px;border-radius:50%;border:2px solid var(--ink);background:var(--dot-bg);transform:scale(0);transition:background .35s,border-color .35s}
.ph-tl.is-in .ph-tl__dot i{animation:pop .5s var(--ease) forwards;animation-delay:calc(.25s + var(--n) * .12s)}
@keyframes pop{to{transform:scale(1)}}
.ph-tl__dot::before{content:"";position:absolute;inset:-18px;border-radius:50%;background:var(--mint);opacity:0;transform:scale(.4);transition:opacity .4s,transform .5s var(--ease)}
.ph-tl__step[data-temps="2"] .ph-tl__dot::before{background:var(--rose)}
.ph-tl__step[aria-selected="true"] .ph-tl__dot::before{opacity:.32;transform:scale(1)}
.ph-tl__step[aria-selected="true"] .ph-tl__dot i{background:var(--mint-line);border-color:var(--mint-line)}
.ph-tl__step[data-temps="2"][aria-selected="true"] .ph-tl__dot i{background:var(--rose-line);border-color:var(--rose-line)}
.ph-tl__step.is-done .ph-tl__dot i{border-color:var(--mint-line);background:var(--mint)}
.ph-tl__step[data-temps="2"].is-done .ph-tl__dot i{border-color:var(--rose-line);background:var(--rose)}
.ph-tl__num{font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;margin-top:8px;transition:color .3s}
.ph-tl__name{font-family:var(--f-serif);font-style:italic;font-weight:500;font-size:19px;line-height:1.2;text-align:center;transition:color .3s}
.ph-tl__step[aria-selected="true"] .ph-tl__num,.ph-tl__step[aria-selected="true"] .ph-tl__name{color:var(--mint-line)}
.ph-tl__step[data-temps="2"][aria-selected="true"] .ph-tl__num,.ph-tl__step[data-temps="2"][aria-selected="true"] .ph-tl__name{color:var(--rose-line)}
.ph-tl__step:hover .ph-tl__dot i{border-width:3px}
.ph-tl__hint{display:flex;align-items:flex-start;gap:8px;margin:0 0 30px;line-height:1.1;font-family:var(--f-hand);font-size:21px;color:var(--ink-soft)}
.ph-cards{margin-top:30px;align-items:stretch}
.ph-card-main{--card:var(--mint);background:var(--card);border-radius:22px;padding:54px 56px 58px;color:var(--navy);transition:background-color .6s var(--ease);min-height:400px;overflow:hidden}
.ph-card-main[data-temps="2"]{--card:var(--rose)}
.ph-card-main__top{display:flex;align-items:flex-start;gap:22px;margin-bottom:34px}
.ph-card-main__n{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:96px;line-height:.8;color:#fff}
.ph-card-main__temps{font-size:12px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:#fff;margin:4px 0 8px}
.ph-card-main__name{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(28px,3.2vw,38px);line-height:1.1;margin:0}
.ph-card-main__lead{font-weight:600;margin:0 0 18px}
.ph-checks{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.ph-checks li{display:flex;gap:18px;align-items:flex-start;font-weight:600;font-size:18px;line-height:1.35}
.ph-checks li::before{content:"";flex-shrink:0;width:30px;height:30px;border-radius:50%;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f1a5c' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;margin-top:-3px}
.ph-card-side{background:var(--grey-card);border-radius:22px;padding:54px 34px 40px;display:flex;flex-direction:column}
.ph-card-side__kicker{font-size:12px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--red);margin:0 0 20px}
.ph-card-side__title{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(24px,2.5vw,31px);line-height:1.18;margin:0 0 26px}
.ph-card-side__text{margin:0 0 30px;color:var(--ink-soft)}
.ph-card-side .ph-btn{margin-top:auto;align-self:flex-start}
.ph-swap{transition:opacity .22s ease,transform .22s ease}
.ph-swap.is-out{opacity:0;transform:translateX(calc(var(--dir,1) * -16px))}
.ph-swap.is-in .ph-card-main__n,.ph-swap.is-in .ph-card-main__head{animation:slideIn .5s var(--ease) both}
.ph-swap.is-in .ph-card-main__head{animation-delay:.06s}
.ph-swap.is-in .ph-card-main__lead{animation:slideIn .45s var(--ease) .12s both}
.ph-swap.is-in .ph-checks li{animation:slideIn .45s var(--ease) both;animation-delay:calc(.18s + var(--i) * .11s)}
@keyframes slideIn{from{opacity:0;transform:translateX(calc(var(--dir,1) * 18px))}to{opacity:1;transform:none}}
.ph-card-side .ph-swap{display:flex;flex-direction:column;flex:1}
.ph-card-side .ph-swap.is-in>*{animation:fadeUp .5s var(--ease) both}
.ph-card-side .ph-swap.is-in>*:nth-child(2){animation-delay:.07s}
.ph-card-side .ph-swap.is-in>*:nth-child(3){animation-delay:.14s}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* ================= SUCCESS STORIES ================= */
.ph-stories{padding:0 0 110px;position:relative}
.ph-stories__note{background:var(--section);padding:0 0 32px}
.ph-stories__grid{padding-top:65px;align-items:start}
.ph-stories__intro h2{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(28px,3.2vw,38px);margin:0 0 14px;line-height:1.15}
.ph-stories__intro p{margin:0 0 40px;color:var(--ink-soft);max-width:526px}
.ph-story{display:block;background:var(--surface);border-radius:18px;overflow:hidden;box-shadow:0 2px 0 rgba(15,26,92,.06),0 12px 28px rgba(15,26,92,.12);text-decoration:none;position:relative;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.ph-story:hover{transform:translateY(-6px) rotate(-.6deg);box-shadow:0 2px 0 rgba(15,26,92,.06),0 20px 40px rgba(15,26,92,.18)}
.ph-story img{width:100%;height:auto!important;aspect-ratio:var(--ar,16/9);object-fit:cover}
.ph-story__body{padding:22px 24px 60px}
.ph-story__body h3{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:19px;margin:0}
.ph-story__arrow{position:absolute;right:20px;bottom:18px;transition:transform .3s var(--ease)}
.ph-story:hover .ph-story__arrow{transform:translate(3px,3px)}
.ph-stories__col2{display:flex;flex-direction:column;margin-top:-151px}
.ph-stories__col2 .ph-story:nth-child(2){margin:136px 0 0 calc(-112 * 100% / 386);width:calc(433 * 100% / 386);z-index:1}
.ph-stories__more{margin-top:88px}

/* ================= ÉQUIPE ================= */
.ph-team{padding:100px 0 120px}
.ph-team__noterow{margin-bottom:50px}
.ph-team__grid{align-items:center}
.ph-team__photo{position:relative}
.ph-team__photo img{position:relative;border-radius:16px;width:100%;height:auto;z-index:1}
.ph-team__photo .ph-burst-bg{position:absolute;left:-73px;top:-101px;width:244px;height:156px;z-index:0;animation:spin 50s linear infinite reverse}
.ph-team__text{text-align:center}
.ph-team__text img{width:112px;margin:0 auto 14px}
.ph-team__text h2{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(26px,3vw,34px);line-height:1.15;margin:0 0 28px}

/* ================= FAQ ================= */
.ph-faq{padding:0 0 90px}
.ph-faq .ph-row{align-items:start}
.ph-faq__aside .ph-note{margin:120px 0 0 88px}
.ph-faq__aside .ph-note__arrow{margin:2px 0 0 4.4em}
.ph-faq h2{margin:0}
.ph-faq__list{display:flex;flex-direction:column;gap:14px;margin-top:26px}
.ph-faq__item{background:var(--surface);border-radius:24px;overflow:hidden}
.ph-faq__q{display:flex;justify-content:space-between;align-items:center;gap:16px;width:100%;text-align:left;background:none;border:0;padding:14px 22px;font-size:15px;cursor:pointer}
.ph-faq__q svg{flex-shrink:0;transition:transform .35s var(--ease)}
.ph-faq__q[aria-expanded="true"] svg{transform:rotate(180deg)}
.ph-faq__a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s var(--ease)}
.ph-faq__a>div{overflow:hidden}
.ph-faq__a p{margin:0;padding:0 22px 18px;color:var(--ink-soft);font-size:15px}
.ph-faq__q[aria-expanded="true"]+.ph-faq__a{grid-template-rows:1fr}

/* ================= CTA FINAL ================= */
.ph-final{background:var(--navy);color:#fff;padding:33px 0}
.ph-final .ph-row{align-items:center}
.ph-final img{border-radius:14px;height:auto}
.ph-final h2{font-family:var(--f-serif);font-style:italic;font-weight:600;font-size:clamp(28px,3.2vw,36px);line-height:1.15;margin:0 0 18px}
.ph-final p{margin:0 0 26px;color:#d7daea;font-size:15px;max-width:600px}
.ph-final__row{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:13px;font-weight:600}
.ph-final .ph-btn--cta:hover{background:#fff;color:var(--navy)}

/* ================= TITRES : Gelica Medium Italic 60 px, -4 % ================= */
.ph-hero__title,.ph-problem__title,.ph-figures h2,.ph-mission h2.ph-mission__head,.ph-steps__title,.ph-stories__intro h2,.ph-team__text h2,.ph-faq h2,.ph-final h2{
  font-family:var(--f-serif);font-style:italic;font-weight:500;letter-spacing:-.04em
}
/* H1 : 60 px */
.ph-hero__title{font-size:clamp(38px,4.2vw,60px);line-height:1.05}
/* H2 : 44 px */
.ph-problem__title,.ph-figures h2,.ph-mission h2.ph-mission__head,.ph-steps__title,.ph-stories__intro h2,.ph-team__text h2,.ph-faq h2,.ph-final h2{font-size:clamp(30px,3.1vw,44px);line-height:1.1}

/* Coupures de ligne des titres identiques à la maquette */
.ph-problem__title,.ph-mission h2.ph-mission__head{white-space:nowrap}

/* Indication manuscrite au-dessus de la frise, flèche vers l’étape 6 */
.ph-steps__headrow .ph-tl__hint{display:block;align-self:end;margin:0 0 -46px;color:var(--ink);font-family:var(--f-hand);font-size:21px;line-height:1.15}
.ph-steps__headrow .ph-tl__hint span{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}
.ph-steps__headrow .ph-tl__hint .ph-note__arrow{margin:4px 0 0 calc(89px - 6px)}

/* Sélecteur « étape de vie » : largeur ajustée au contenu, marges intérieures réduites */
.ph-seg button{padding-left:1.1em;padding-right:1.1em}
/* Bouton du menu : largeur au contenu, bord droit calé à 1323 px comme sur la maquette */
.ph-header .ph-row>.ph-btn{width:max-content!important;margin-left:0!important;margin-right:calc(117 * 100% / 1440)!important;justify-self:end;font-size:15px;padding:.6em 1.2em;white-space:nowrap}

/* Libellé de la méta-nav sur une seule ligne */
.ph-lifestage{display:flex;align-items:center;gap:12px}
.ph-lifestage__lbl{white-space:nowrap}
/* Bouton de l’étape 6 contenu dans la carte jalon */
.ph-card-side .ph-btn--cta{width:100%;max-width:100%;font-size:14px;padding:.7em .8em;white-space:normal;text-align:center;line-height:1.2}

/* Constats : plus d’aspect bouton, seulement la flèche et le texte */
.ph-pills{gap:36px;margin-top:17px}
.ph-pills li{font-size:18px}
.ph-pills li{border:0;border-radius:0;padding:0;background:none}
.ph-pills li:hover{background:none;color:inherit}
.ph-pills svg{margin-top:1px}

/* Écritures manuscrites sans soulignement */
.ph-note a,.ph-note span,.ph-hero__team p,.ph-topbar__msg,.ph-steps__headrow .ph-tl__hint span{text-decoration:none}


/* ================= MENU (header.php du thème, structure Bootstrap conservée) ================= */
.ph-header{--blue-ph:var(--blue,#03165C)}
.ph-header .ph-header-cta{background:var(--green,#7EDFC9);border:1.5px solid var(--blue,#03165C);color:var(--blue,#03165C);border-radius:999px;font-size:15px;font-weight:500;padding:.6em 1.2em;white-space:nowrap;line-height:1.2;transition:background .25s,color .25s}
.ph-header .ph-header-cta:hover,.ph-header .ph-header-cta:focus{background:var(--blue,#03165C);color:#fff;border-color:var(--blue,#03165C)}
@media (min-width:992px){
  /* Grille 12 colonnes : logo colonnes 1–2, liens colonnes 5–8, bouton calé à la fin de la colonne 12 */
  .ph-header{--f:calc(min(100vw, 1784px) / 1440)}
  .ph-header .ph-navwrap{max-width:1784px;margin:0 auto;padding-left:calc(120 * var(--f))!important;padding-right:calc(120 * var(--f))!important;padding-top:14px!important;padding-bottom:14px!important;flex-wrap:nowrap}
  .ph-header .navbar-brand{margin:0;padding:0;width:calc(180 * var(--f));flex:none}
  .ph-header .navbar-brand img{width:100%;max-width:none;height:auto}
  .ph-header #mainnav{flex:0 1 auto;margin-left:calc(228 * var(--f))}
  .ph-header .ph-header-cta{margin-left:auto}
  .ph-header #mainnav .navbar-nav{justify-content:flex-start;gap:calc(32 * min(1px, 100vw / 1440));padding:0!important}
  .ph-header #mainnav .nav-link{font-size:calc(17 * min(1px, 100vw / 1440));font-weight:400;color:var(--blue,#03165C);padding:0}
}

/* Segments de largeur égale (le curseur glisse d’un tiers à l’autre) */
.ph-topbar .ph-seg{grid-template-columns:repeat(3,1fr)}

/* ================= HERO PROPORTIONNEL (comme le cadre Figma 1440) =================
   1 unité = 1 px de la maquette à 1440 px, réduite proportionnellement sur les écrans plus étroits. */
.ph-hero{--u:min(1px, calc(100vw / 1440));--f:calc(min(100vw, 1784px) / 1440)}
.ph-hero .ph-hero__text{padding-top:calc(128 * var(--u))}
.ph-hero .ph-hero__eyebrow{font-size:calc(14 * var(--u));font-weight:400;margin-bottom:calc(18 * var(--u))}
.ph-hero .ph-hero__title{font-size:calc(55 * var(--u));margin-bottom:calc(26 * var(--u))}
.ph-hero .ph-hero__lead{font-size:calc(17 * var(--u));font-weight:400;max-width:calc(545 * var(--f));margin-bottom:calc(28 * var(--u))}
.ph-hero .ph-btn--sm{font-size:calc(14 * var(--u))}
.ph-hero .ph-hero__team{margin-top:calc(86 * var(--u));gap:calc(14 * var(--u))}
.ph-hero .ph-hero__team img{width:calc(112 * var(--u))}
.ph-hero .ph-hero__team p{font-size:calc(20 * var(--u))}
.ph-hero .ph-hero__visual{margin-top:calc(37 * var(--u))}
.ph-hero .ph-quiz{padding:calc(26 * var(--u))}
.ph-hero .ph-quiz__kicker{font-size:calc(11 * var(--u))}
.ph-hero .ph-quiz__title{font-size:calc(25 * var(--u))}
.ph-hero .ph-quiz__row{padding:calc(8 * var(--u)) 0;gap:calc(10 * var(--u))}
.ph-hero .ph-quiz__q{font-size:calc(19 * var(--u))}
.ph-hero .ph-quiz__opts{gap:calc(6 * var(--u))}
.ph-hero .ph-quiz__opt{font-size:calc(12.5 * var(--u))}
.ph-hero .ph-quiz__result{font-size:calc(19 * var(--u));margin:calc(16 * var(--u)) 0 calc(18 * var(--u))}
.ph-hero .ph-quiz__reset{font-size:calc(19 * var(--u))}

/* ================= BOUTONS : neutralise les états « body button:hover/focus/active » du thème ================= */
:is(.ph-seg button,.ph-quiz__opt,.ph-quiz__reset,.ph-faq__q,.ph-tl__step):not(#ph):is(:hover,:focus,:active){background-color:transparent;border-color:var(--ink)}
.ph-seg button:not(#ph):is(:hover,:focus,:active){color:#fff;border-color:transparent}
.ph-seg button[aria-checked="false"]:not(#ph):hover{color:var(--mint-cta)}
.ph-seg button[aria-checked="true"]:not(#ph):is(:hover,:focus,:active){color:var(--navy)}
.ph-quiz__opt:not(#ph):is(:hover,:focus,:active){color:var(--ink)}
.ph-quiz__opt[aria-pressed="true"]:not(#ph):is(:hover,:focus,:active){color:#fff}
.ph-quiz__opt[data-val="non"][aria-pressed="true"]:not(#ph):is(:hover,:focus,:active){color:var(--navy)}
:is(.ph-quiz__reset,.ph-faq__q,.ph-tl__step):not(#ph):is(:hover,:focus,:active){color:var(--ink);border-color:transparent}

/* ================= TEXTE COURANT : Stolzl 300 partout (le thème est en 200, trop léger) ================= */
.ph{font-weight:300}
.ph-hero .ph-hero__lead,.ph-pills li,.ph-faq__q,.ph-faq__a,.ph-rows p,.ph-figures p,.ph-card-side__text,.ph-stories__intro p,.ph-final p,.ph-steps__sub{font-weight:300}

/* Sélecteur de la méta-nav : chaque bouton occupe tout son tiers (texte centré sous le curseur) */
.ph-seg button{width:100%}

/* Méta-nav : message (texte simple, les boutons ouvrent les pages) */
.ph-topbar__msg span{display:inline-block;color:#fff;transition:opacity .3s,transform .3s}
.ph-topbar__msg span.is-out{opacity:0;transform:translateY(-4px)}
/* Landing pages : phrase au-dessus des constats, texte sous le titre équipe, accroche des success stories */
.ph-pills__kicker{color:var(--rose-line);font-size:11px;margin:0 0 8px!important}
.ph-pills__lead{font-weight:500;margin:0 0 6px!important}
.ph-team__p{font-size:16px;font-weight:300;line-height:1.5;margin:-10px auto 26px!important;max-width:360px}
.ph-story__tag{font-size:14px;font-weight:300;line-height:1.4;margin:6px 0 0!important}

/* ================= RESPONSIVE ================= */
@media (max-width:980px){
  .ph-hero{--u:1px;--f:1px}
  .ph-hero .ph-hero__lead{max-width:none}
  .ph-hero .ph-hero__team{margin-top:32px}
  /* Mobile : méta-nav réduite au sélecteur, hero plus compact */
  .ph-topbar .ph-topbar__msg{display:none}
  .ph-hero .ph-hero__text{padding-top:28px}
  .ph-hero .ph-hero__title{font-size:clamp(32px, 9.5vw, 42px);margin-bottom:20px}
  .ph-hero .ph-hero__visual{margin-top:8px}
  .ph-row{display:flex;flex-direction:column;align-items:stretch!important;gap:24px;padding-left:24px;padding-right:24px}
  .ph-row>*{margin-left:0!important;width:auto!important}
  .ph-row .ph-row{padding-left:0;padding-right:0}
  .ph-steps__headrow .ph-tl__hint{margin:0}
  .ph-nav,.ph-header .ph-btn{display:none}
  .ph-problem__title,.ph-mission h2.ph-mission__head{white-space:normal}
  .ph-topbar__msg{text-align:left}
  .ph-hero__text{padding-top:30px}
  .ph-hero__team{margin-top:30px}
  .ph-hero__visual{margin-top:0;padding:0 0 30px}
  .ph-hero__visual>img{display:none}
  .ph-lifestage{flex-wrap:wrap}
  .ph-pills{gap:16px}
  .ph-mission{padding-top:60px}
  .ph-rows li{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px 0}
  .ph-rows li{padding:30px 24px}
  .ph-rows li>*{grid-area:auto}
  .ph-rows li>.ph-rows__n{grid-column:1;grid-row:1}.ph-rows li>h3{grid-column:2;grid-row:1}.ph-rows li>div{grid-column:2;grid-row:2}
  .ph-topbar .ph-row{padding:12px 24px}
  .ph-rows li::after{left:24px;width:calc(100% - 48px)}
  .ph-card-main{padding:38px 28px 40px;min-height:0}
  .ph-card-main__n{font-size:72px}
  .ph-card-side{padding:36px 28px 32px}
  .ph-tl__hint{margin:0}
  .ph-stories__col2{margin-top:0;gap:30px}
  .ph-stories__col2 .ph-story:nth-child(2){margin:0;width:auto}
  .ph-stories__more{margin-top:30px}
  .ph-figures__grid{grid-template-columns:1fr;gap:30px}
  .ph-team__photo .ph-burst-bg{left:-20px;top:-40px;width:140px;height:90px}
  .ph-faq__aside .ph-note{margin:20px 0 0}
  .ph-final img{max-width:240px}
  .ph-footer__art{max-width:160px}
  .ph-footer__content{grid-template-columns:1fr 1fr;gap:0 20px}
  .ph-footer__cols>div{margin:30px 0 0}
  .ph-news{margin:40px 0 0;width:auto}
  .ph-logos ul{flex-wrap:wrap;white-space:normal;gap:6px 14px;justify-content:flex-start}
}
@media (max-width:560px){
  .ph-quiz{padding:24px 18px}
  .ph-quiz__row{flex-direction:column;align-items:flex-start;gap:6px}
  .ph-news__row{flex-direction:column;align-items:stretch}
  .ph-header .ph-btn{display:none}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important}
  .ph-quiz,.ph-reveal,.ph-pills li,.ph-hero__lead,.ph-hero__cta{opacity:1!important;transform:none!important}
  .ph-hero__title span>em,.ph-tl__line,.ph-tl__dot i{transform:none!important}
  .ph-note__arrow path{stroke-dashoffset:0}
}
