/* V9 — mise en page éditoriale : des textes plus lisibles, des titres longs à la bonne taille, « Lire la suite »,
   la frise chronologique, la liste des problématiques et le bloc d’identité de l’accueil. Chargée après les autres feuilles. */

/* Fond de chaque section, connu des éléments qui doivent « couper » une ligne (pastilles de la frise, bouton « Voir la suite »). */
.home-main>.page-section:nth-of-type(odd){--section-bg:var(--brand-champagne);--card-bg:#fbf7ef;--card-line:#dccfb8}
.home-main>.page-section:nth-of-type(even){--section-bg:var(--brand-slate);--card-bg:#4e6571;--card-line:#6f8691}

/* 1. Lisibilité : corps de texte de 15 à 17 px (au lieu de 11 à 14 px), mesure de lecture confortable. */
.hero-description{font-size:16px;line-height:1.85;max-width:520px}
.body-copy{font-size:16px;line-height:1.85}
.section-intro>p:last-child,.benefits-heading>p,.faq-intro>p,.contact-copy>p:not(.eyebrow){font-size:15.5px;line-height:1.8}
.practical-panel>div>p:not(.eyebrow){font-size:15px;line-height:1.75;max-width:400px}
.practical-details p{font-size:15px;line-height:1.75}
.practical-details .small,.practical-panel .small{font-size:13.5px}
.cabinet h3,.practical-details h3{font-size:18px;line-height:1.4}
.benefits-list h3{font-size:18px}
.benefits-list p,.steps p{font-size:15px;line-height:1.75}
.faq-list summary{font-size:15.5px;line-height:1.55}
.faq-answer{font-size:15px;line-height:1.8}
.service-description{font-size:14.5px;line-height:1.8}
.service-benefit p{font-size:13.5px}
.custom-prose{font-size:17px;line-height:1.85;max-width:68ch}
.footer-top p,.footer-contact{font-size:13px}
.footer-contact span,.scope-note,.footer-bottom{font-size:12px}
.eyebrow{font-size:12px}
/* Surtitre de l’encadré champagne : contraste suffisant (4,3:1 auparavant, sous le minimum de 4,5:1). */
.practical-panel .eyebrow{color:#6b522e}
/* Ornement de la charte (l’étoile dorée du logo) devant les surtitres ; décoratif, non lu par les lecteurs d’écran. */
.eyebrow::before{content:"✦";content:"✦"/"";margin-right:.75em;color:var(--brand-gold);letter-spacing:0}

/* Fenêtres des prestations et cabinets : mêmes tailles de lecture. */
.detail-interest p,.detail-long{font-size:15px;line-height:1.85}
.detail-step h4{font-size:15px}
.detail-booking>div>span{font-size:12.5px}
.detail-booking p{font-size:15px}
.cabinet address{font-size:15px}
.practical-details .cabinet-hours{font-size:13.5px;line-height:1.6}

/* 2. Titres longs : taille réduite automatiquement (plus de 60 puis de 110 caractères). */
.page-section h1.title-long{font-size:clamp(42px,4.4vw,62px)}
.page-section h1.title-xlong{font-size:clamp(31px,3vw,44px);line-height:1.14;letter-spacing:-.02em}
.page-section h2.title-long{font-size:clamp(34px,3.3vw,48px);line-height:1.1}
.page-section h2.title-xlong{font-size:clamp(28px,2.6vw,38px);line-height:1.2;letter-spacing:-.015em}

/* 3. Accueil : introduction sur plusieurs lignes = carte d’identité ; le numéro seul devient un bouton d’appel. */
.hero-identity{list-style:none;margin:0 0 34px;padding:2px 0 2px 22px;border-left:2px solid var(--brand-gold);display:grid;gap:7px;max-width:580px}
.hero-identity li{font-size:15px;line-height:1.6;color:var(--muted)}
.hero-identity li:first-child{font-family:var(--font-display);font-size:24px;line-height:1.28;font-weight:500;letter-spacing:-.01em;color:var(--ink);margin-bottom:3px}
.hero-identity-phone a{display:inline-flex;align-items:center;gap:11px;margin-top:6px;padding:8px 18px;min-height:44px;border:1px solid var(--brand-gold);border-radius:999px;color:var(--ink);font-weight:650;letter-spacing:.07em;transition:background .2s,transform .2s}
.hero-identity-phone a::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand-gold)}
.hero-identity-phone a:hover{background:#efe3cb;transform:translateY(-1px)}
.hero h1{margin-bottom:30px}

/* Image d’accueil carrée ou en portrait (souvent un logo) : affichée entière, à ses proportions, et centrée face au texte. */
.hero-figure{align-self:center}
.hero-photo--square .hero-image{height:auto;aspect-ratio:1/1;object-fit:contain}
.hero-photo--portrait .hero-image{height:auto;aspect-ratio:2/3;max-height:680px;object-fit:contain}
.approach-figure--portrait img,.approach-figure--square img{height:auto;object-fit:contain}
.person strong{font-size:15px}
.person span{font-size:13.5px;line-height:1.6}

/* 4. « Lire la suite » : le début du texte, puis un bouton discret ; tout le texte reste dans la page. */
.read-more{margin-top:1.15em}
.read-more>summary{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 0;cursor:pointer;list-style:none;color:var(--accent);font-family:var(--font-body);font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid color-mix(in srgb,currentColor 45%,transparent);transition:border-color .2s}
.read-more>summary::-webkit-details-marker{display:none}
.read-more>summary::after{content:"↓";font:17px/1 Arial,sans-serif;letter-spacing:0;transition:transform .25s}
.read-more>summary:hover{border-bottom-color:currentColor}
.read-more[open]>summary{margin-bottom:1.2em}
.read-more[open]>summary::after{transform:rotate(180deg)}
.read-more-close,.read-more[open] .read-more-open{display:none}
.read-more[open] .read-more-close{display:inline}
.read-more-body>p+p,.body-copy--folded>p+p{margin-top:1.15em}
.body-copy--folded{max-width:62ch}
@media(prefers-reduced-motion:no-preference){.read-more[open] .read-more-body{animation:hero-arrive .35s ease}}

/* 5. Présentation : plusieurs citations, une par ligne, en vraies citations. */
.pull-quotes{display:grid;gap:20px;max-width:540px}
.pull-quotes p{font-size:23px;line-height:1.36}
.pull-quotes p::first-letter{color:var(--brand-gold)}

/* 6. Problématiques : la liste en colonnes, ses intertitres et l’encadré « à retenir ». */
.benefits-heading.has-outline{grid-template-columns:minmax(0,1fr);max-width:900px;margin:0 auto 56px;text-align:center}
.benefits-heading.has-outline h2{max-width:none;margin-inline:auto}
.benefits-outline{display:grid;gap:46px;max-width:1120px;margin:0 auto 76px}
.outline-heading{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 26px;font-family:var(--font-body);font-size:12px;font-weight:700;line-height:1.5;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);text-align:center}
.outline-heading::before,.outline-heading::after{content:"";flex:1;max-width:140px;height:1px;background:var(--line)}
.outline-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 48px}
.outline-group--wide .outline-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px 36px}
.outline-list li{position:relative;padding-left:24px;font-size:15.5px;line-height:1.65;color:var(--ink)}
.outline-group:not(.outline-group--wide) .outline-list li{font-size:17px;line-height:1.7}
.outline-list li::before{content:"";position:absolute;left:2px;top:.6em;width:7px;height:7px;background:var(--brand-gold);transform:rotate(45deg)}
.outline-notice{max-width:780px;margin:6px auto 0;padding:28px 32px;border:1px solid #c9b48f;border-left:3px solid var(--brand-gold);border-radius:var(--radius);background:#eee1c9;color:#263b46;text-align:left}
.outline-notice p{font-size:15px;line-height:1.7}
.outline-notice p:first-child{font-family:var(--font-display);font-size:24px;line-height:1.25;margin-bottom:8px}
.outline-notice strong{font-weight:600}

/* 7. Prestations : cartes alignées (le texte complet reste dans « En savoir plus ») et note personnelle lisible. */
.service-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;line-clamp:6;overflow:hidden}
.service-benefit p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}
@media(min-width:761px){
 /* Dernière rangée incomplète centrée (8 prestations sur 3 colonnes) ; chaque rangée garde des cartes de même hauteur. */
 .service-catalog{display:flex;flex-wrap:wrap;justify-content:center}
 .service-catalog>.service-card{flex:0 1 calc((100% - 44px) / 3)}
}
.services .section-note{max-width:800px;margin:72px auto 0;text-align:center;font-family:var(--font-display);font-style:italic;font-size:21px;line-height:1.6;color:var(--ink)}
.services .section-note::before{content:"✦";content:"✦"/"";display:block;margin-bottom:16px;font-style:normal;font-size:18px;color:var(--brand-gold)}

/* 8. Sections personnalisées : le bloc de texte est centré dans la page (fini le texte collé à gauche). */
.custom-text .custom-copy,.custom-image_wide .custom-copy{margin-inline:auto;width:100%}
@media(min-width:951px){.custom-split .custom-split-heading{position:sticky;top:120px}}
.custom-split .custom-prose{max-width:62ch}

/* 9. Frise chronologique : repères de part et d’autre d’une ligne dorée (une colonne sur téléphone). */
.custom-timeline{display:block}
.custom-timeline-intro{max-width:860px;margin:0 auto 52px;text-align:center}
.custom-timeline-intro h2{margin-inline:auto;margin-bottom:0}
.custom-timeline-figure{max-width:860px;margin:0 auto 72px}
.custom-timeline-figure img{border-radius:14px;box-shadow:0 34px 70px -34px rgba(16,28,34,.55)}
.timeline{position:relative;list-style:none;max-width:1120px;margin:0 auto;padding:0}
.timeline::before,.timeline-more::before{content:"";position:absolute;top:0;bottom:0;left:50%;width:1px;background:var(--brand-gold);transform:translateX(-.5px)}
.custom-timeline .timeline:first-of-type::before{background:linear-gradient(to bottom,transparent,var(--brand-gold) 48px)}
.timeline-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 116px minmax(0,1fr);align-items:start;padding-bottom:30px}
.timeline-marker{grid-column:2;grid-row:1;justify-self:center;position:relative;z-index:1;margin-top:16px;padding:5px 15px;border:1px solid var(--brand-gold);border-radius:999px;background:var(--section-bg,var(--paper));font-family:var(--font-display);font-size:21px;line-height:1.2;color:var(--accent);white-space:nowrap}
.timeline-marker--dot{width:15px;height:15px;margin-top:24px;padding:0;border:3px solid var(--section-bg,var(--paper));background:var(--brand-gold);box-shadow:0 0 0 1px var(--brand-gold)}
.timeline-card{grid-row:1;grid-column:1;padding:22px 26px;border:1px solid var(--card-line,var(--line));border-radius:12px;background:var(--card-bg,var(--paper));box-shadow:0 18px 40px -32px rgba(16,28,34,.6)}
.timeline-item:nth-child(even) .timeline-card{grid-column:3}
/* Zigzag resserré : chaque repère commence à côté de la fin du précédent (ils sont de part et d’autre de la ligne). */
@media(min-width:761px){.timeline-item+.timeline-item{margin-top:-52px}.timeline-card{min-height:96px}}
.timeline-card p{font-size:15.5px;line-height:1.75;color:var(--muted)}
.timeline-card p+p{margin-top:.75em}
.timeline-item--dated .timeline-card>p:first-child{color:var(--ink)}
.timeline-more{position:relative;max-width:1120px;margin:0 auto}
.timeline-more>summary{position:relative;z-index:1;display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;min-height:48px;margin:2px auto 30px;padding:11px 24px;border:1px solid var(--brand-gold);border-radius:999px;background:var(--section-bg,var(--paper));color:var(--ink);font-size:13px;font-weight:650;letter-spacing:.06em;cursor:pointer;list-style:none;transition:background .2s,transform .2s}
.timeline-more>summary::-webkit-details-marker{display:none}
.timeline-more>summary::after{content:"↓";font:17px/1 Arial,sans-serif;color:var(--brand-gold);transition:transform .25s}
.timeline-more>summary:hover{transform:translateY(-1px)}
.timeline-more-count{color:var(--muted);font-weight:500}
.timeline-more-close,.timeline-more[open] .timeline-more-label,.timeline-more[open] .timeline-more-count{display:none}
.timeline-more[open] .timeline-more-close{display:inline}
.timeline-more[open]>summary::after{transform:rotate(180deg)}
.timeline--continued::before{background:linear-gradient(to bottom,var(--brand-gold) calc(100% - 60px),transparent)}
.timeline-conclusion{max-width:780px;margin:60px auto 0;text-align:center}
.timeline-conclusion::before{content:"✦";content:"✦"/"";display:block;margin-bottom:20px;font-size:20px;color:var(--brand-gold)}
.timeline-conclusion .custom-prose{margin-inline:auto;font-family:var(--font-display);font-size:23px;line-height:1.5;color:var(--ink)}
.timeline-conclusion .custom-prose p+p{margin-top:.7em}
.timeline-conclusion .custom-button{margin-top:34px}
@media(prefers-reduced-motion:no-preference){.timeline-more[open] .timeline{animation:hero-arrive .45s ease}}
@media(max-width:760px){
 .custom-timeline-intro{margin-bottom:36px}
 .custom-timeline-figure{margin-bottom:44px}
 .timeline::before,.timeline-more::before{left:14px}
 .timeline-item{grid-template-columns:28px minmax(0,1fr);padding-bottom:22px}
 .timeline-item--dated::before{content:"";position:absolute;left:8px;top:14px;width:13px;height:13px;border-radius:50%;background:var(--brand-gold);box-shadow:0 0 0 3px var(--section-bg,var(--paper))}
 .timeline-marker{grid-column:2;grid-row:1;justify-self:start;margin:4px 0 10px;font-size:19px}
 .timeline-marker--dot{grid-column:1;justify-self:center;margin:9px 0 0}
 .timeline-card,.timeline-item:nth-child(even) .timeline-card{grid-column:2;grid-row:1}
 .timeline-item--dated .timeline-card,.timeline-item--dated:nth-child(even) .timeline-card{grid-row:2}
 .timeline-card{padding:18px 20px}
 .timeline-card p{font-size:15px}
 .timeline-more>summary{margin:0 0 26px 30px;padding:10px 18px;max-width:calc(100% - 30px);flex-wrap:wrap;row-gap:2px}
 .timeline-conclusion .custom-prose{font-size:20px}
}

/* 10. Téléphone et tablette : grilles qui se resserrent. */
@media(max-width:950px){
 .outline-group--wide .outline-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
 .hero-identity{padding-left:16px;margin-bottom:28px}
 .hero-identity li:first-child{font-size:21px}
 .outline-list,.outline-group--wide .outline-list{grid-template-columns:minmax(0,1fr)}
 .outline-group:not(.outline-group--wide) .outline-list li{font-size:16px}
 .outline-notice{padding:22px 22px}
 .pull-quotes p{font-size:21px}
 .services .section-note{font-size:19px;margin-top:52px}
 .custom-prose{font-size:16px}
}

/* ===== V9.1 ===== */

/* 11. Accueil plein écran : halo doré et anneaux autour du logo (le « rayonnement »), accroche, boutons, infos, invitation
   à défiler. Le logo carré perd son fond clair (fusion avec le fond) et respire doucement si les animations sont permises. */
#hero.page-section{position:relative;isolation:isolate;overflow:hidden}
#hero.page-section:has(.hero--screen){background:radial-gradient(ellipse 46% 62% at 75% 48%,rgba(226,192,128,.42) 0%,rgba(226,192,128,.14) 42%,transparent 72%),radial-gradient(ellipse 42% 52% at 6% 96%,rgba(70,92,103,.11) 0%,transparent 70%),linear-gradient(180deg,#fbf8f1 0%,#f4ecdf 100%)}
.hero--screen{min-height:calc(100vh - var(--header-space,76px));min-height:calc(100svh - var(--header-space,76px));grid-template-columns:minmax(0,1.22fr) minmax(0,.78fr);gap:clamp(28px,4.5vw,84px);align-items:center;padding-block:clamp(20px,3.5vh,44px) clamp(70px,9vh,96px)}
.hero--screen .hero-copy{padding:0}
.hero-kicker{margin:0 0 26px;padding-left:20px;border-left:2px solid var(--brand-gold);max-width:none;font-family:var(--font-display);font-style:italic;font-size:clamp(20px,1.65vw,25px);line-height:1.35;color:var(--ink)}
.hero--screen h1{margin-bottom:24px}
.hero--screen h1.title-xlong{font-size:clamp(32px,3vw,44px);line-height:1.13}
.hero--screen h1.title-long{font-size:clamp(40px,4.2vw,64px)}
.hero--screen .hero-description{max-width:66ch;margin-bottom:0;font-size:16px;line-height:1.8}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;margin-top:30px}
.hero-actions .button{min-height:56px}
.hero-phone{display:inline-flex;align-items:center;gap:12px;min-height:56px;padding:0 24px;border:1px solid rgba(183,154,104,.75);border-radius:var(--radius);background:rgba(255,253,248,.6);color:var(--ink);font-size:15px;font-weight:650;letter-spacing:.06em;transition:background .2s,border-color .2s,transform .2s}
.hero-phone svg{flex-shrink:0;color:var(--brand-gold)}
.hero-phone:hover{background:#fffdf8;border-color:var(--brand-gold);transform:translateY(-2px)}
.hero-meta{list-style:none;display:flex;flex-wrap:wrap;gap:8px 30px;max-width:720px;margin:28px 0 0;padding:18px 0 0;border-top:1px solid rgba(183,154,104,.35)}
.hero-meta li{position:relative;padding-left:17px;font-size:14px;line-height:1.55;color:var(--muted)}
.hero-meta li::before{content:"";position:absolute;left:0;top:.55em;width:6px;height:6px;background:var(--brand-gold);transform:rotate(45deg)}
.hero--screen .hero-figure{position:relative;align-self:center;justify-self:center;width:100%;max-width:560px}
.hero--screen .hero-figure::before,.hero--screen .hero-figure::after{content:"";position:absolute;left:50%;top:46%;z-index:-1;aspect-ratio:1/1;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none}
.hero--screen .hero-figure::before{width:112%;border:1px solid rgba(183,154,104,.4)}
.hero--screen .hero-figure::after{width:140%;border:1px solid rgba(183,154,104,.2)}
.hero--screen .hero-photo--square,.hero--screen .hero-photo--portrait{overflow:visible;border-radius:0}
.hero--screen .hero-photo--square .hero-image,.hero--screen .hero-photo--portrait .hero-image{width:100%;max-height:min(62vh,560px);object-fit:contain;mix-blend-mode:darken}
.hero--screen .hero-photo:not(.hero-photo--square):not(.hero-photo--portrait) .hero-image{height:min(68vh,640px)}
.hero--screen .hero-figure figcaption{margin-top:8px;text-align:center;font-family:var(--font-display);font-style:italic;font-size:17px;line-height:1.4;color:var(--muted)}
.hero-scroll{position:absolute;left:50%;bottom:clamp(16px,3vh,30px);width:1px;height:52px;background:linear-gradient(to bottom,rgba(183,154,104,0),var(--brand-gold));transform:translateX(-.5px)}
.hero-scroll::after{content:"";position:absolute;left:-3px;bottom:-2px;width:7px;height:7px;border-radius:50%;background:var(--brand-gold)}
@media(prefers-reduced-motion:no-preference){
 .public-site[data-effects=on] .hero--screen .hero-photo--square .hero-image,.public-site[data-effects=on] .hero--screen .hero-photo--portrait .hero-image{animation:hero-logo-in 1.2s ease both,hero-breathe 10s ease-in-out 1.2s infinite}
 .public-site[data-effects=on] .hero-scroll::after{animation:hero-scroll 2.6s ease-in-out infinite}
 @keyframes hero-logo-in{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
 @keyframes hero-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)}}
 @keyframes hero-scroll{0%{transform:translateY(-44px);opacity:0}35%{opacity:1}100%{transform:translateY(0);opacity:0}}
}
/* Écrans peu hauts (portables 13 pouces) : tailles resserrées pour que l’accueil tienne dans l’écran. */
@media(min-width:951px) and (max-height:820px){
 .hero--screen h1.title-xlong{font-size:clamp(28px,2.55vw,38px)}
 .hero-kicker{margin-bottom:18px;font-size:clamp(18px,1.45vw,22px)}
 .hero--screen h1{margin-bottom:18px}
 .hero--screen .hero-description{font-size:15px;line-height:1.7}
 .hero-actions{margin-top:22px}
 .hero-meta{margin-top:20px;padding-top:14px}
 .hero--screen .hero-photo--square .hero-image,.hero--screen .hero-photo--portrait .hero-image{max-height:min(60vh,480px)}
 .hero-scroll{height:34px}
}
/* Dispositions de l’accueil : texte seul (centré) et photo à gauche. */
.section-layout-text>.hero--screen{grid-template-columns:minmax(0,1fr);max-width:980px;text-align:center}
.section-layout-text>.hero--screen .hero-kicker{padding-left:0;border-left:0;margin-inline:auto}
.section-layout-text>.hero--screen .hero-description,.section-layout-text>.hero--screen .hero-meta{margin-inline:auto}
.section-layout-text>.hero--screen .hero-actions,.section-layout-text>.hero--screen .hero-meta{justify-content:center}
.section-layout-image_left>.hero--screen{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)}
@media(max-width:950px){
 #hero.page-section:has(.hero--screen){background:radial-gradient(ellipse 80% 38% at 50% 17%,rgba(226,192,128,.42) 0%,rgba(226,192,128,.12) 45%,transparent 75%),linear-gradient(180deg,#fbf8f1,#f4ecdf)}
 .hero--screen{grid-template-columns:minmax(0,1fr);min-height:0;gap:34px;padding-block:30px 88px}
 .hero--screen .hero-figure{order:-1;max-width:min(76vw,420px)}
 .hero--screen .hero-photo--square .hero-image,.hero--screen .hero-photo--portrait .hero-image{max-height:none;height:auto}
}
@media(max-width:680px){
 .hero--screen .hero-figure{max-width:min(70vw,300px)}
 .hero-kicker{padding-left:16px;font-size:20px}
 .hero-actions{flex-direction:column;align-items:stretch}
 .hero-actions .button,.hero-phone{width:100%;justify-content:space-between}
 .hero-meta{flex-direction:column;gap:8px}
}

/* 12. Titres de section centrés sur une large mesure (moins de lignes) et marges des sections réduites. */
:root{--space-section:76px}
.section-spacing-compact{--space-section:52px}
.section-spacing-airy{--space-section:116px}
.services .section-intro{max-width:1120px;margin:0 auto 46px;text-align:center}
.services .section-intro h2{margin-inline:auto}
.services .section-intro>p:last-child{max-width:820px;margin-inline:auto}
.services .section-intro h2.title-long,.services .section-intro h2.title-xlong{font-size:clamp(26px,2.45vw,38px);line-height:1.25}
.benefits-heading.has-outline{max-width:none;margin-bottom:40px}
.title-quote{display:flex;flex-direction:column;align-items:center;gap:8px}
.title-quote-text{display:block;font-size:clamp(22px,2.3vw,36px);line-height:1.22;letter-spacing:-.01em;text-wrap:balance}
.title-quote-note{display:block;font-family:var(--font-display);font-style:italic;font-size:clamp(17px,1.4vw,21px);line-height:1.35;letter-spacing:0;color:var(--muted)}
.title-quote-note:nth-child(2){margin-top:6px;font-family:var(--font-body);font-style:normal;font-size:12.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.title-quote-note:nth-child(2)::before{content:"— "}
.home-main .faq{display:block}
.home-main .faq .faq-intro{max-width:860px;margin:0 auto 40px;text-align:center}
.home-main .faq .faq-intro>p{max-width:760px;margin-inline:auto}
.home-main .faq .faq-list{max-width:900px;margin-inline:auto}
.custom-timeline-intro{margin-bottom:40px}
.custom-timeline-figure{margin-bottom:56px}
/* Texte centré de plusieurs paragraphes : le titre reste centré, les paragraphes s’alignent à gauche dans la colonne. */
.custom-align-center .custom-prose:has(>p:nth-of-type(3)),.custom-align-center .custom-prose:has(>details){text-align:left}
@media(max-width:680px){
 :root{--space-section:54px}
 .section-spacing-compact{--space-section:40px}
 .section-spacing-airy{--space-section:80px}
 .services .section-intro{margin-bottom:34px}
}

/* ===== V9.4 ===== */

/* 13. Vidéos YouTube : la miniature copiée sur le site, un bouton de lecture doré d’où partent des ondes (l’eau qui affleure,
   les anneaux de l’accueil). Le lecteur YouTube ne remplace la miniature qu’au clic (video.js) : rien n’est chargé avant. */
.video{width:100%;margin:clamp(30px,3.4vw,46px) 0 0}
.custom-prose .video{margin:1.8em 0 2em}
.video-frame{position:relative;display:block;width:100%;aspect-ratio:16/9;overflow:hidden;border:0;border-radius:14px;color:#fff;background:radial-gradient(circle at 50% 46%,#5f7985 0%,#2e424c 72%);box-shadow:0 0 0 1px rgba(183,154,104,.75),0 0 0 9px var(--section-bg,var(--paper)),0 0 0 10px rgba(183,154,104,.32),0 42px 80px -38px rgba(12,22,28,.72)}
.video-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
a.video-frame::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(14,26,32,.86) 0%,rgba(14,26,32,.4) 32%,rgba(14,26,32,0) 60%)}
.video-play{position:absolute;left:50%;top:50%;z-index:2;width:clamp(54px,7vw,94px);aspect-ratio:1/1;border-radius:50%;background:var(--brand-gold);transform:translate(-50%,-50%);box-shadow:0 14px 34px -10px rgba(0,0,0,.6);transition:transform .35s cubic-bezier(.2,.7,.2,1),background-color .35s}
.video-play::before{content:"";position:absolute;inset:0;margin:auto;width:30%;height:34%;transform:translateX(10%);background:#263b46;clip-path:polygon(0 0,100% 50%,0 100%)}
.video-play::after{content:"";position:absolute;inset:-1px;border-radius:50%;border:1px solid rgba(244,223,188,.85);opacity:0;pointer-events:none}
.video-frame:hover .video-play,.video-frame:focus-visible .video-play{transform:translate(-50%,-50%) scale(1.07);background-color:#cbb084}
.video-frame:hover .video-poster{transform:scale(1.025)}
.video-frame:focus-visible{outline:3px solid var(--brand-gold);outline-offset:14px}
.video-meta{position:absolute;left:clamp(18px,3.2vw,38px);right:clamp(18px,3.2vw,38px);bottom:clamp(14px,2.6vw,32px);z-index:2;display:grid;gap:4px;text-align:left}
.video-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-family:var(--font-display);font-size:clamp(17px,2.4vw,34px);font-weight:500;line-height:1.08;letter-spacing:.01em;color:#fff;text-wrap:balance;text-shadow:0 2px 18px rgba(0,0,0,.35)}
/* Titre sur deux lignes au plus (le titre complet reste dans le nom du bouton) : il ne recouvre jamais le bouton de lecture. */
.video-author{font-family:var(--font-display);font-style:italic;font-size:clamp(13.5px,1.35vw,19px);line-height:1.3;color:#f4dfbc}
.video-notice{margin-top:24px;font-size:12.5px;line-height:1.55;color:var(--muted);text-align:center}
@media(prefers-reduced-motion:no-preference){
 .public-site[data-effects=on] .video-play::after{animation:video-ripple 3.4s cubic-bezier(.25,.6,.35,1) infinite}
 @keyframes video-ripple{0%{transform:scale(1);opacity:.9}100%{transform:scale(2.1);opacity:0}}
}
@media(max-width:680px){
 .video-frame{border-radius:10px;box-shadow:0 0 0 1px rgba(183,154,104,.75),0 0 0 6px var(--section-bg,var(--paper)),0 0 0 7px rgba(183,154,104,.32),0 30px 60px -32px rgba(12,22,28,.7)}
 .video-frame:focus-visible{outline-offset:10px}
 .video-notice{margin-top:18px}
}
/* Deux vidéos sous le titre : côte à côte (l’une sous l’autre sur téléphone), une seule mention sous les deux. */
.video-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(28px,3.2vw,44px);margin-top:clamp(30px,3.4vw,46px)}
.video-pair .video{margin:0}
.video-pair .video-play{width:clamp(50px,5vw,74px)}
.video-pair .video-title{font-size:clamp(15px,1.45vw,21px)}
.video-pair .video-author{font-size:clamp(13px,1.1vw,16px)}
.video-pair+.video-notice{margin-top:28px}
@media(max-width:680px){.video-pair{grid-template-columns:minmax(0,1fr);gap:30px}.video-pair .video-play{width:54px}.video-pair .video-title{font-size:16px}}
/* Petit téléphone : le titre de la vidéo seul, pour laisser de l’air autour du bouton de lecture. */
@media(max-width:480px){.video-author{display:none}}

/* 14. Récit avec vidéo : le titre et la vidéo en grand, centrés, au-dessus de la photo et du texte (photo à gauche ou à droite,
   lien de la vidéo dans le titre). Long récit : la photo accompagne la lecture et le texte s’ouvre sur une lettrine. */
.custom-section.has-lead{grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:start;row-gap:clamp(56px,6.5vw,92px)}
.custom-image_right.has-lead{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr)}
.custom-lead{grid-column:1/-1;width:100%;max-width:1040px;margin-inline:auto;text-align:center;min-width:0}
.custom-lead .eyebrow{margin-bottom:18px}
.custom-lead h2{max-width:920px;margin-inline:auto;overflow-wrap:anywhere}
.has-long-text>.custom-copy{align-self:start}
.has-long-text .custom-prose>p:first-child::first-letter{float:left;margin:.07em .13em 0 0;font-family:var(--font-display);font-size:4.2em;font-weight:500;line-height:.8;color:var(--brand-gold)}
/* Lettrine posée sur trois lignes exactement quand le navigateur sait le faire (Chrome, Edge, Safari). */
@supports (initial-letter:3) or (-webkit-initial-letter:3){.has-long-text .custom-prose>p:first-child::first-letter{float:none;margin:0 .14em 0 0;font-size:inherit;line-height:inherit;-webkit-initial-letter:3;initial-letter:3}}
@media(min-width:951px){.has-long-text>.custom-figure{position:sticky;top:clamp(96px,12vh,124px);align-self:start}}
@media(max-width:680px){
 .custom-section.has-lead,.custom-image_right.has-lead{grid-template-columns:minmax(0,1fr);row-gap:36px}
}

/* ===== V9.6 ===== */

/* 15. Partie de la photo gardée visible quand elle est recadrée (réglage de l’administration ; au centre par défaut). */
.image-focus-0-0{--image-focus:0% 0%}.image-focus-50-0{--image-focus:50% 0%}.image-focus-100-0{--image-focus:100% 0%}
.image-focus-0-50{--image-focus:0% 50%}.image-focus-100-50{--image-focus:100% 50%}
.image-focus-0-100{--image-focus:0% 100%}.image-focus-50-100{--image-focus:50% 100%}.image-focus-100-100{--image-focus:100% 100%}
.custom-figure img,.custom-cover-image{object-position:var(--image-focus,50% 50%)}

/* 16. Portrait et présentation : la photo à gauche dans son arche, deux anneaux dorés qui rayonnent vers le texte (ceux de
   l’accueil), le nom en grand souligné d’un trait doré. Téléphone : la photo centrée au-dessus du texte. */
.custom-portrait.has-photo{grid-template-columns:minmax(0,.62fr) minmax(0,1fr);align-items:center;column-gap:clamp(44px,6.5vw,104px)}
.custom-portrait-figure{position:relative;isolation:isolate;justify-self:end;width:100%}
.custom-portrait-figure::before,.custom-portrait-figure::after{content:"";position:absolute;z-index:-1;aspect-ratio:1/1;border-radius:50%;pointer-events:none}
.custom-portrait-figure::before{right:-10%;top:-7%;width:92%;border:1px solid rgba(183,154,104,.6)}
.custom-portrait-figure::after{right:-16%;top:-12%;width:104%;border:1px solid rgba(183,154,104,.24)}
.custom-portrait-figure img{box-shadow:0 34px 70px -34px rgba(16,28,34,.6)}
.portrait-name{margin-bottom:24px;font-size:clamp(38px,4.2vw,60px);line-height:1;letter-spacing:-.02em}
.portrait-name::after{content:"";display:block;width:56px;height:2px;margin-top:24px;background:var(--brand-gold)}
.custom-align-center .portrait-name::after{margin-inline:auto}
/* « Afficher la photo entière » : la photo à ses proportions, sans bandes vides ni recadrage. Dans un portrait (version validée
   par Tom le 07/10) : la photo en grand à gauche, coins doux, ombre, un filet doré décalé derrière ; le nom et le texte à droite,
   alignés en bas sur la photo ; la section s’élargit si elle était resserrée. Téléphone : la photo, puis le texte. */
.custom-figure.image-fit-contain img{aspect-ratio:auto;object-fit:contain}
.custom-portrait-figure.image-fit-contain{max-width:none}
.custom-portrait-figure.image-fit-contain img{border-radius:6px;box-shadow:0 40px 80px -40px rgba(6,12,16,.8)}
.custom-portrait-figure.image-fit-contain::before{left:24px;top:24px;right:-24px;bottom:-24px;width:auto;aspect-ratio:auto;border-radius:6px;border:1px solid rgba(183,154,104,.7)}
.custom-portrait-figure.image-fit-contain::after{display:none}
@media(min-width:681px){
 .custom-portrait.custom-width-narrow:has(>.image-fit-contain){max-width:1160px}
 .custom-portrait.has-photo:has(>.image-fit-contain){grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:end;column-gap:clamp(56px,6.5vw,104px)}
 .custom-portrait-figure.image-fit-contain{margin-bottom:24px}
}
@media(max-width:680px){
 .custom-portrait.has-photo{grid-template-columns:minmax(0,1fr);row-gap:34px}
 .custom-portrait-figure.image-fit-contain{margin:0 14px 14px 0}
 .custom-portrait-figure.image-fit-contain::before{left:14px;top:14px;right:-14px;bottom:-14px}
 .custom-portrait-figure{justify-self:center;max-width:min(300px,78vw)}
 .custom-portrait-figure::before{right:-4%;top:-4%;width:84%}
 .custom-portrait-figure::after{display:none}
 .portrait-name{font-size:38px;margin-bottom:20px}
 .portrait-name::after{margin-top:20px}
}
