/* Plancher JP Évolution — les pages intérieures, le menu complet et les blocs partagés avec l'accueil */

/* ---------- Menu : sous-menus à l'ordinateur ---------- */
.menu { align-items: center; }
.menu__groupe { position: relative; }
.menu__groupe > a::after { content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.menu__sous { position: absolute; left: -18px; top: 100%; min-width: 290px; padding: 12px 0 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .22s var(--sortie), visibility 0s .2s; }
.menu__sous div { display: grid; padding: 10px; background: #0d1016; border: 1px solid rgb(var(--clair-rvb) / .14); border-radius: 6px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.menu__sous a { padding: 10px 12px; border-radius: 4px; font-weight: 500; opacity: .86; }
.menu__groupe:hover .menu__sous, .menu__groupe:focus-within .menu__sous { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) { .menu__sous a:hover { background: rgb(var(--clair-rvb) / .08); opacity: 1; } }
.menu a[aria-current] { opacity: 1; box-shadow: 0 2px 0 var(--rouge); }

/* ---------- Menu : le volet du téléphone ---------- */
.burger { display: none; flex: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgb(var(--clair-rvb) / .3); border-radius: 4px; background: rgb(var(--fonce-rvb) / .4); color: inherit; cursor: pointer; position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--blanc); transition: transform .3s var(--sortie), top .3s var(--sortie); }
.burger i:first-child { top: 17px; }
.burger i:last-child { top: 26px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }
.volet { position: fixed; z-index: 4; inset: 0; overflow-y: auto; background: var(--nuit); padding: 104px clamp(16px, 3.4vw, 52px) 40px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s; }
.volet.est-ouvert { opacity: 1; visibility: visible; transition-delay: 0s; }
.volet p { margin: 26px 0 6px; opacity: .6; }
.volet p:first-child { margin-top: 0; }
.volet a { display: block; padding: 11px 0; font-stretch: 116%; font-weight: 750; font-size: 22px; letter-spacing: -.02em; border-bottom: 1px solid rgb(var(--clair-rvb) / .12); }
.volet .btn { display: flex; justify-content: center; margin-top: 26px; padding: 16px; font-size: 17px; border: 0; }
.volet .btn + .btn { margin-top: 10px; }
.menu-ouvert { overflow: hidden; }
.menu-ouvert .tete { background: var(--nuit); }
@media (max-width: 1100px) { .burger { display: block; } }
@media (max-width: 900px) { .tete { gap: 10px; } .tete > .btn { margin-left: auto; } }

/* ---------- Le haut d'une page ---------- */
.phero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78vh, 760px); padding: 150px clamp(16px, 3.4vw, 52px) clamp(34px, 5vw, 70px); overflow: hidden; }
.phero--court { min-height: 0; padding-top: 170px; }
.phero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--fonce-rvb) / .96) 0%, rgb(var(--fonce-rvb) / .62) 46%, rgb(var(--fonce-rvb) / .38) 100%), linear-gradient(to bottom, rgb(var(--fonce-rvb) / .7), rgb(var(--fonce-rvb) / 0) 30%); }
.fil { display: flex; flex-wrap: wrap; gap: 6px 10px; opacity: .75; margin-bottom: 22px; }
.fil a { border-bottom: 1px solid rgb(var(--clair-rvb) / .4); }
.fil span::before { content: '/'; margin-right: 10px; opacity: .5; }
.phero h1 { font-size: clamp(38px, 6.4vw, 104px); line-height: .95; max-width: 16ch; text-wrap: balance; }
.phero h1 em { font-style: normal; color: var(--rouge); }
.phero__chapo { max-width: 56ch; margin-top: 22px; font-size: clamp(16px, 1.35vw, 21px); color: rgb(var(--clair-rvb) / .88); }
.phero .actions { opacity: 1; transform: none; padding-top: 28px; }
.btn--verre { background: rgb(var(--clair-rvb) / .1); border: 1px solid rgb(var(--clair-rvb) / .4); backdrop-filter: blur(8px); }
@media (hover: hover) { .btn--verre:hover { background: rgb(var(--clair-rvb) / .2); } }

/* ---------- Texte et photo côte à côte ---------- */
.deux { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.deux h2 { font-size: clamp(30px, 4.2vw, 66px); }
.deux p { margin-top: 18px; font-size: clamp(16px, 1.2vw, 18.5px); opacity: .86; max-width: 58ch; }
.deux p:first-of-type { margin-top: 26px; }
.deux figure { margin: 0; }
.deux img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.deux figcaption { margin-top: 12px; opacity: .7; }
.deux--inverse figure { order: -1; }
.coches { margin-top: 26px; display: grid; gap: 12px; }
.coches li { position: relative; padding-left: 30px; font-weight: 600; }
.coches li::before { content: ''; position: absolute; left: 2px; top: .34em; width: 14px; height: 7px; border-left: 3px solid var(--rouge); border-bottom: 3px solid var(--rouge); transform: rotate(-45deg); }

/* ---------- Les points d'un service ---------- */
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid currentColor; counter-reset: point; }
.points li { counter-increment: point; padding: clamp(22px, 2.6vw, 40px) clamp(16px, 2vw, 30px) clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid rgba(127, 127, 127, .35); }
.points li::before { content: counter(point, decimal-leading-zero); display: block; font: 500 12px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .1em; color: var(--rouge); margin-bottom: 16px; }
.points h3 { font-stretch: 118%; font-weight: 800; font-size: clamp(20px, 1.9vw, 28px); letter-spacing: -.02em; line-height: 1.08; }
.points p { margin-top: 10px; font-size: 15.5px; opacity: .8; max-width: 40ch; }

/* ---------- Rangée de photos ---------- */
.photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.photos figcaption { margin-top: 10px; opacity: .75; }

/* ---------- Questions ---------- */
.faq { max-width: 980px; border-top: 2px solid currentColor; }
.faq details { border-bottom: 1px solid rgba(127, 127, 127, .35); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-stretch: 114%; font-weight: 750; font-size: clamp(18px, 1.7vw, 25px); letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font-weight: 400; font-size: 30px; line-height: 1; color: var(--rouge); transition: transform .3s var(--sortie); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; max-width: 70ch; font-size: 16.5px; opacity: .84; }

/* ---------- Cartes vers d'autres pages ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.carte { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 22px; border-radius: 4px; overflow: hidden; isolation: isolate; color: var(--blanc); }
.carte img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--sortie); }
.carte::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(var(--fonce-rvb) / .94), rgb(var(--fonce-rvb) / .25) 70%); }
.carte .mono { color: #ff8a80; }
.carte b { margin-top: 8px; font-stretch: 118%; font-weight: 850; font-size: clamp(21px, 2vw, 30px); line-height: 1.04; letter-spacing: -.025em; }
.carte span.lien { align-self: flex-start; margin-top: 14px; font-size: 14px; }
@media (hover: hover) { .carte:hover img { transform: scale(1.05); } }

/* ---------- Chiffres ---------- */
.chiffres { display: flex; flex-wrap: wrap; gap: clamp(24px, 3vw, 48px); }
.chiffres li { flex: 1 1 240px; }
.chiffres li { border-top: 2px solid currentColor; padding-top: 18px; }
.chiffres b { display: block; font-stretch: 125%; font-weight: 900; font-size: clamp(40px, 5.4vw, 92px); line-height: .92; letter-spacing: -.045em; white-space: nowrap; }
.chiffres b small { font-size: .4em; letter-spacing: -.01em; color: var(--rouge); }
.chiffres span { display: block; margin-top: 12px; max-width: 30ch; opacity: .8; }

/* ---------- Témoignages ---------- */
.avis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.avis li { display: flex; flex-direction: column; gap: 18px; padding: clamp(20px, 2.2vw, 32px); border: 1px solid rgba(127, 127, 127, .35); border-radius: 4px; }
.avis blockquote { margin: 0; font-size: 16.5px; line-height: 1.55; }
.avis blockquote::before { content: '“'; display: block; height: .5em; font-stretch: 125%; font-weight: 900; font-size: 64px; line-height: 1; color: var(--rouge); margin-bottom: 14px; }
.avis cite { margin-top: auto; font-style: normal; opacity: .7; }

/* ---------- Accréditations ---------- */
.accred { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.accred li { padding: 12px 18px; border: 1px solid currentColor; border-radius: 4px; font-weight: 700; font-size: 15px; }
.accred li small { display: block; font-weight: 400; font-size: 13px; opacity: .7; }

/* ---------- Villes ---------- */
.villes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3.4vw, 60px) clamp(20px, 3vw, 50px); }
.villes h3 { font-stretch: 118%; font-weight: 850; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.02em; padding-bottom: 12px; border-bottom: 2px solid currentColor; }
.villes p { margin-top: 14px; font-size: 15.5px; line-height: 1.75; opacity: .82; }

/* ---------- Coordonnées ---------- */
.coord { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 50px); }
.coord > div { border-top: 2px solid currentColor; padding-top: 18px; }
.coord h3 { font: 500 12px/1 'IBM Plex Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; opacity: .65; margin-bottom: 14px; }
.coord p { font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; line-height: 1.5; }
.coord a { border-bottom: 2px solid var(--rouge); }

/* ---------- Texte long (confidentialité) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 36px); margin-top: 44px; }
.prose p, .prose li { margin-top: 14px; font-size: 16.5px; opacity: .86; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose a { border-bottom: 1px solid currentColor; }

/* ---------- Appel de fin, version page ---------- */
.appel--page h2 { font-size: clamp(36px, 6.4vw, 104px); }
.demande__grille--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pied__infos a[aria-current] { opacity: 1; }
.liste--sombre { border-top-color: var(--blanc); }
.liste--sombre a { border-bottom-color: rgb(var(--clair-rvb) / .22); }
@media (hover: hover) { .liste--sombre a:hover { background: var(--blanc); color: var(--nuit); } }
.entete .lien { display: inline-block; margin-top: 22px; }
.centre { text-align: center; margin-top: clamp(28px, 3vw, 48px); }

@media (max-width: 900px) {
  .phero { min-height: 74svh; padding-top: 120px; }
  .phero--court { min-height: 0; padding-top: 130px; }
  .deux { grid-template-columns: 1fr; }
  .deux--inverse figure { order: 0; }
  .points, .cartes, .avis, .villes, .coord { grid-template-columns: 1fr; }
  .points li { padding-right: 0; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos figure:nth-child(3):last-child { grid-column: 1 / -1; }
  .carte { min-height: 230px; }
}
@media (min-width: 901px) and (max-width: 1200px) { .points, .avis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Pied de page à quatre colonnes */
.pied__infos--4 { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
.pied__infos b { display: inline-block; margin-bottom: 6px; }
@media (max-width: 900px) { .pied__infos--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__infos--4 { grid-template-columns: 1fr; } }

/* ---------- La demande de soumission en six étapes ---------- */
.soum { position: relative; padding: clamp(20px, 3vw, 40px); background: #0d1016; border: 1px solid rgb(var(--clair-rvb) / .16); border-radius: 8px; }
.soum .demande__titre { margin-bottom: 18px; }
.soum__haut { display: grid; gap: 10px; margin-bottom: 26px; }
.soum__haut span { opacity: .7; }
.soum__barre { height: 3px; background: rgb(var(--clair-rvb) / .16); border-radius: 3px; overflow: hidden; }
.soum__barre i { display: block; height: 100%; background: var(--rouge); transform-origin: left; transform: scaleX(.1667); transition: transform .5s var(--sortie); }
.etape { border: 0; padding: 0; margin: 0; min-height: 250px; }
.etape[hidden] { display: none; }
.etape h3 { font-stretch: 118%; font-weight: 850; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.05; letter-spacing: -.025em; }
.etape__aide { margin-top: 8px; font-size: 15px; opacity: .7; }
.etape .demande__grille, .etape .cases, .etape .depot { margin-top: 22px; }
.cases { border: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.demande label.case { display: block; position: relative; cursor: pointer; }
.case input { position: absolute; opacity: 0; width: 100%; height: 100%; inset: 0; margin: 0; cursor: pointer; }
.case span { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: 15.5px; font-weight: 650; background: #11141a; border: 1px solid rgb(var(--clair-rvb) / .22); border-radius: 4px; transition: border-color .2s ease, background .2s ease; }
.case span::before { content: ''; flex: none; width: 18px; height: 18px; border: 2px solid rgb(var(--clair-rvb) / .5); border-radius: 3px; transition: background .2s ease, border-color .2s ease; }
.case input:checked + span { border-color: var(--rouge); background: rgba(224, 58, 48, .12); }
.case input:checked + span::before { border-color: var(--rouge); background: var(--rouge) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.4'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat; }
.case input:focus-visible + span { outline: 2px solid var(--blanc); outline-offset: 2px; }
.demande label.depot { display: flex; align-items: center; gap: 14px; padding: 22px; border: 1.5px dashed rgb(var(--clair-rvb) / .4); border-radius: 6px; cursor: pointer; font-weight: 400; font-size: 15px; transition: border-color .2s ease, background .2s ease; }
.depot svg { flex: none; width: 30px; height: 30px; opacity: .8; }
.depot b { font-weight: 700; border-bottom: 2px solid var(--rouge); }
.depot.est-survole { border-color: var(--rouge); background: rgba(224, 58, 48, .08); }
@media (hover: hover) { .depot:hover { border-color: var(--blanc); } }
.vignettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.vignettes:empty { display: none; }
.vignette { position: relative; width: 76px; height: 76px; }
.vignette img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; display: block; }
.vignette button { position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--blanc); color: var(--nuit); font: 700 16px/1 Archivo, sans-serif; cursor: pointer; }
.demande label.accord { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px; border: 1px solid transparent; border-radius: 4px; font-weight: 400; font-size: 14px; line-height: 1.5; cursor: pointer; }
.accord input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--rouge); }
.accord a { text-decoration: underline; }
.accord.est-vide { border-color: var(--rouge); }
.soum__erreur { min-height: 1.5em; margin-top: 14px; font-weight: 600; color: #ff8a80; }
.soum__bas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.soum__bas .btn { margin-top: 0; border: 0; cursor: pointer; font-family: inherit; }
.soum__bas .btn--verre { border: 1px solid rgb(var(--clair-rvb) / .4); }
.soum__bas .btn[hidden] { display: none; }
.soum__bas [data-etape-suite], .soum__bas [data-envoyer] { margin-left: auto; }
.demande input[type="date"] { color-scheme: dark; min-height: 48px; }
.merci { text-align: center; padding: clamp(20px, 4vw, 50px) 0; }
.merci .mono { color: #8fd3a0; }
.merci h3 { margin-top: 14px; font-stretch: 118%; font-weight: 850; font-size: clamp(26px, 3vw, 42px); letter-spacing: -.025em; }
.merci p:last-child { margin: 14px auto 0; max-width: 46ch; opacity: .82; }
.merci a { border-bottom: 2px solid var(--rouge); font-weight: 700; }
@media (max-width: 700px) { .cases { grid-template-columns: 1fr; } .etape { min-height: 0; } .soum__bas .btn { flex: 1 1 auto; justify-content: center; width: auto; } }

/* ---------- En-tête sur fond noir plein : le logo, qui a un fond noir, s'y fond ---------- */
.tete, .tete.est-pleine, .menu-ouvert .tete { display: block; padding: 0; padding-top: env(safe-area-inset-top); background: #000; box-shadow: 0 1px 0 rgb(var(--clair-rvb) / .14); backdrop-filter: none; }
.tete__haut { display: flex; justify-content: space-between; gap: 20px; padding: 8px clamp(16px, 3.4vw, 52px); border-bottom: 1px solid rgb(var(--clair-rvb) / .12); font-size: 11px; color: rgb(var(--clair-rvb) / .72); }
.tete__haut span:last-child { display: flex; gap: 22px; }
.tete__haut span { white-space: nowrap; }
.tete__haut span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 1250px) { .tete__haut span:last-child a:last-child { display: none; } }
.tete__haut a { text-transform: none; letter-spacing: .04em; transition: color .2s ease; }
@media (hover: hover) { .tete__haut a:hover { color: #fff; } }
.tete__barre { display: flex; align-items: center; gap: 28px; padding: 8px clamp(16px, 3.4vw, 52px); }
.logo img { height: 56px; border-radius: 0; }
.volet { padding-top: 132px; }
.phero { padding-top: 190px; }
.phero--court { padding-top: 200px; }
.film__actes { top: 128px; }
@media (max-width: 1100px) { .tete__barre .tel { margin-left: auto; } }
@media (max-width: 900px) {
  .tete__haut { display: none; }
  .tete__barre { gap: 10px; padding-block: 6px; }
  .tete__barre > .btn { margin-left: auto; }
  .logo img { height: 46px; }
  .volet { padding-top: 84px; }
  .phero { padding-top: 110px; }
  .phero--court { padding-top: 120px; }
  .film__actes { top: 76px; }
}

/* =====================================================================
   Finitions : accessibilité, transitions entre les pages, titres, photos
   ===================================================================== */
img { height: auto; }
.saut { position: fixed; z-index: 20; left: 12px; top: -60px; padding: 12px 16px; background: var(--blanc); color: var(--nuit); font-weight: 700; border-radius: 4px; transition: top .2s ease; }
.saut:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
.bloc--clair :focus-visible { outline-color: var(--nuit); }
::selection { background: var(--rouge); color: #fff; }
html { scroll-padding-top: 110px; }

/* D'une page à l'autre : fondu, l'en-tête ne bouge pas */
@view-transition { navigation: auto; }
.tete { view-transition-name: tete; }
::view-transition-old(root) { animation: .22s ease both sortir; }
::view-transition-new(root) { animation: .38s var(--sortie) both entrer; }
@keyframes sortir { to { opacity: 0; } }
@keyframes entrer { from { opacity: 0; transform: translateY(14px); } }

/* La ligne rouge sous l'en-tête suit la lecture */
.tete::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--rouge); transform: scaleX(0); transform-origin: left; }
@supports (animation-timeline: scroll()) { .tete::after { animation: lecture linear both; animation-timeline: scroll(root); } }
@keyframes lecture { to { transform: scaleX(1); } }

/* Les titres montent mot par mot */
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; font-weight: inherit; }
.mot > b { display: inline-block; font-weight: inherit; transform: translateY(110%); transition: transform .95s var(--sortie); transition-delay: calc(var(--i) * 55ms + 60ms); }
.vu .mot > b, .pret .mot > b { transform: none; }
.phero__chapo, .phero .actions, .fil { opacity: 0; transform: translateY(14px); transition: opacity .7s ease .35s, transform .9s var(--sortie) .35s; }
.phero .actions { transition-delay: .5s; }
.fil { transition-delay: .05s; }
.pret .phero__chapo, .pret .actions, .pret .fil { opacity: 1; transform: none; }
.pret .fil { opacity: .75; }

/* L'image du haut se pose doucement, puis recule un peu quand on descend */
.phero__img { transform: scale(1.1); transition: transform 1.8s var(--sortie); }
.pret .phero__img { transform: none; }
@supports (animation-timeline: scroll()) {
  .pret .phero__img { transition: none; animation: recul linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
}
@keyframes recul { to { transform: translateY(12%) scale(1.06); } }

/* Les photos se découvrent de bas en haut */
figure[data-vu] { opacity: 1; transform: none; overflow: hidden; }
figure[data-vu] img { clip-path: inset(100% 0 0 0); transform: scale(1.16); transition: clip-path 1.1s var(--sortie), transform 1.6s var(--sortie); }
figure[data-vu].vu img { clip-path: inset(0); transform: none; }
figure[data-vu] figcaption { opacity: 0; transition: opacity .6s ease .5s; }
figure[data-vu].vu figcaption { opacity: .75; }
.photos figure:nth-child(3n + 2) img { transition-delay: .09s; }
.photos figure:nth-child(3n) img { transition-delay: .18s; }
.photos figure { cursor: zoom-in; border-radius: 4px; }
.photos figure[hidden] { display: none; }
@media (hover: hover) { .photos figure.vu:hover img { transform: scale(1.04); transition-duration: .6s; transition-delay: 0s; } }

/* Les listes arrivent l'une après l'autre */
.points li:nth-child(3n + 2), .avis li:nth-child(3n + 2), .cartes .carte:nth-child(2), .chiffres li:nth-child(2) { transition-delay: .08s; }
.points li:nth-child(3n), .avis li:nth-child(3n), .cartes .carte:nth-child(3), .chiffres li:nth-child(3) { transition-delay: .16s; }
.btn svg { transition: transform .3s var(--sortie); }
@media (hover: hover) { .btn:hover svg { transform: translateX(4px); } .carte:hover .lien { border-bottom-color: var(--rouge); } }
.chiffres b { font-variant-numeric: tabular-nums; }

/* Filtres des réalisations */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 2.4vw, 34px); }
.filtres button { padding: 11px 18px; border: 1px solid rgb(var(--clair-rvb) / .3); border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.filtres button[aria-pressed="true"] { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }
@media (hover: hover) { .filtres button[aria-pressed="false"]:hover { border-color: var(--blanc); } }

/* La photo en grand */
.visionneuse { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(14px, 3vw, 44px); border: 0; background: rgba(4, 5, 8, .96); color: var(--blanc); }
.visionneuse[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(8px, 2vw, 28px); animation: entrer .35s var(--sortie) both; }
.visionneuse::backdrop { background: rgba(4, 5, 8, .6); }
.visionneuse figure { margin: 0; display: grid; justify-items: center; gap: 14px; min-width: 0; }
.visionneuse img { max-width: 100%; max-height: calc(100dvh - 150px); width: auto; border-radius: 4px; }
.visionneuse figcaption { opacity: .75; text-align: center; }
.visionneuse button { width: 52px; height: 52px; border: 1px solid rgb(var(--clair-rvb) / .35); border-radius: 50%; background: rgb(var(--fonce-rvb) / .6); color: inherit; font: 400 22px/1 Archivo, sans-serif; cursor: pointer; transition: background .2s ease, transform .16s ease-out; }
.visionneuse button:active { transform: scale(.94); }
@media (hover: hover) { .visionneuse button:hover { background: var(--rouge); border-color: var(--rouge); } }
.visionneuse__fermer { position: absolute; top: clamp(12px, 2vw, 28px); right: clamp(12px, 2vw, 28px); font-size: 28px !important; }
@media (max-width: 700px) {
  .visionneuse[open] { grid-template-columns: 1fr 1fr; align-content: center; }
  .visionneuse figure { grid-column: 1 / -1; grid-row: 1; }
  .visionneuse__nav { justify-self: center; }
}

/* Téléphone : appeler ou demander une soumission, toujours sous le pouce */
.barre-mobile { display: none; }
@media (max-width: 900px) {
  .barre-mobile { position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 10px 12px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .92); border-top: 1px solid rgb(var(--clair-rvb) / .14); backdrop-filter: blur(10px); transform: translateY(105%); transition: transform .4s var(--sortie); }
  .barre-mobile.est-la { transform: none; }
  .barre-mobile a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 4px; font-weight: 700; font-size: 15px; border: 1px solid rgb(var(--clair-rvb) / .35); }
  .barre-mobile a.est-rouge { background: var(--rouge); border-color: var(--rouge); color: #fff; }
  .barre-mobile svg { width: 18px; height: 18px; }
  .barre-mobile a:active { transform: scale(.97); }
  .pied__bas { padding-bottom: 86px; }
  .menu-ouvert .barre-mobile { transform: translateY(105%); }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  figure[data-vu] img, .phero__img { clip-path: none; transform: none; animation: none; }
  figure[data-vu] figcaption { opacity: .75; }
  .phero__chapo, .phero .actions, .fil { opacity: 1; transform: none; }
  .mot > b { transform: none; }
  .barre-mobile { transition: none; }
}

/* ---------- Menu Services, FAQ par thème, articles, pied à cinq colonnes ---------- */
.menu__sous--large { min-width: 560px; }
.menu__sous--large > div { grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(6, auto) auto; column-gap: 6px; }
.menu__sous--large p { margin: 0; padding: 8px 12px 4px; font-size: 11px; opacity: .6; grid-row: 1; }
.menu__sous--large p a { padding: 0; font-weight: 500; }
.menu__sous--large p ~ p { grid-column: 2; }
.menu__tout { grid-column: 1 / -1; grid-row: 7; margin-top: 6px; border-top: 1px solid rgb(var(--clair-rvb) / .14); font-weight: 700 !important; }
.volet > a:first-child { color: var(--rouge); }
.faq-groupe + .faq-groupe { margin-top: clamp(40px, 5vw, 76px); }
.faq-groupe h2 { font-size: clamp(26px, 3vw, 44px); margin: 0 0 22px; }
.carte--article { min-height: 340px; }
.carte--article b { font-size: clamp(19px, 1.7vw, 25px); }
.prose--article { max-width: 780px; margin-inline: auto; }
.prose--article h2 { font-stretch: 118%; font-weight: 850; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.08; letter-spacing: -.025em; }
.prose--article h2:first-child { margin-top: 0; }
.prose--article p { font-size: clamp(16.5px, 1.25vw, 19px); line-height: 1.7; }
.prose__suite { margin-top: 40px !important; opacity: 1 !important; }
.prose__suite .btn { border: 0; }
.coches--ligne { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 0; }
.villes a { border-bottom: 1px solid var(--rouge); font-weight: 600; }
.villes__regions { display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: clamp(34px, 4vw, 60px); }
.pied__infos--5 { grid-template-columns: 1.15fr 1fr 1.1fr .9fr .9fr; }
.pied__bas span a { border-bottom: 1px solid rgb(var(--clair-rvb) / .4); }
@media (max-width: 1000px) { .pied__infos--5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__infos--5 { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1200px) { .cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* =====================================================================
   Sections de l'accueil reprises de la structure de Docteur Sablage
   ===================================================================== */
/* Menu : six entrées au plus, sans sous-menu */
.menu { gap: clamp(18px, 2.4vw, 38px); }
.volet > a:first-child { color: inherit; }

/* Le manifeste */
.manifeste { padding: clamp(80px, 12vw, 190px) clamp(16px, 3.4vw, 52px); }
.manifeste__texte { max-width: 20ch; margin-top: 26px; font-stretch: 122%; font-weight: 850; font-size: clamp(36px, 6.6vw, 112px); line-height: .98; letter-spacing: -.035em; }
.manifeste__texte span { color: rgb(var(--clair-rvb) / .16); transition: color .5s ease; }
.manifeste__texte span.est-allume { color: var(--blanc); }
.manifeste__texte span.est-allume:nth-last-child(-n + 6) { color: var(--rouge); }
.manifeste__bas { margin-top: clamp(26px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: clamp(16px, 1.3vw, 20px); opacity: .86; }

/* Ce que le sablage règle */
.regle { border-top: 2px solid var(--nuit); }
.regle li { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; gap: clamp(12px, 2vw, 32px); padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid rgb(var(--fonce-rvb) / .22); }
.regle .mono { color: var(--rouge); }
.regle h3 { font-stretch: 120%; font-weight: 850; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.04; }
.regle p { font-size: 16px; opacity: .8; max-width: 52ch; }

/* Les cas difficiles */
.cas { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 80px); border-top: 1px solid rgb(var(--clair-rvb) / .28); }
.cas > div { padding: clamp(20px, 2.2vw, 30px) 0; border-bottom: 1px solid rgb(var(--clair-rvb) / .16); }
.cas dt { font-stretch: 118%; font-weight: 850; font-size: clamp(22px, 2.3vw, 34px); letter-spacing: -.025em; line-height: 1.06; }
.cas dd { margin: 10px 0 0; max-width: 46ch; font-size: 15.5px; opacity: .78; }
.cas__fin { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: clamp(17px, 1.4vw, 21px); }

/* Sabler ou remplacer */
.compare { padding: clamp(22px, 2.6vw, 38px); border: 1px solid rgb(var(--clair-rvb) / .18); border-radius: 8px; background: #0d1016; }
.compare > .mono { opacity: .7; margin-bottom: 8px; }
.compare__ligne { padding: 20px 0; border-bottom: 1px solid rgb(var(--clair-rvb) / .12); }
.compare__ligne b { display: block; font-stretch: 114%; font-weight: 750; font-size: clamp(17px, 1.5vw, 21px); letter-spacing: -.015em; }
.compare__ligne i { display: block; height: 10px; width: var(--l); margin: 12px 0 10px; border-radius: 10px; background: rgb(var(--clair-rvb) / .3); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--sortie) .2s; }
.compare__ligne:first-of-type i { background: var(--rouge); }
.vu .compare__ligne i { transform: none; }
.vu .compare__ligne:nth-of-type(2) i { transition-delay: .32s; }
.vu .compare__ligne:nth-of-type(3) i { transition-delay: .44s; }
.compare__ligne span { font-size: 14.5px; opacity: .75; }
.compare small { display: block; margin-top: 16px; font-size: 13px; opacity: .6; }

/* Les deux outils : le panneau vient de Docteur Sablage, enfermé dans .outil (voir outils.css) */
.outil { color: var(--blanc); }
.outil .ai__note, .outil .sim__note { margin-top: 16px; font-size: 13.5px; opacity: .6; }
.outil .btn { border: 0; cursor: pointer; font-family: inherit; }
.outil input, .outil button, .outil textarea, .outil select { font-family: inherit; }

@media (max-width: 900px) {
  .regle li { grid-template-columns: 34px 1fr; }
  .regle p { grid-column: 2; }
  .cas { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .compare__ligne i { transform: none; } .manifeste__texte span { color: var(--blanc); } }

/* Un élément masqué par l'attribut hidden le reste, même quand une règle des outils lui donne un affichage */
.outil [hidden] { display: none !important; }

/* Les essences sablées et le texte sur les teintes */
.essences { margin-top: clamp(44px, 5vw, 76px); }
.essences h3 { opacity: .6; }
.essences ul { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.essences li { padding: 11px 20px; border: 1px solid rgb(var(--clair-rvb) / .3); border-radius: 999px; font-weight: 600; font-size: 15.5px; }
.outil .sim__teintes { margin-top: 30px; max-width: 78ch; }
.outil .sim__teintes h3 { font-stretch: 118%; font-weight: 850; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; }
.outil .sim__teintes p { margin-top: 10px; font-size: 15.5px; opacity: .8; }

/* ---------- Vidéos : les reels de la page Facebook, au format vertical ---------- */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.videos--bande { display: flex; overflow-x: auto; padding: 0 clamp(16px, 3.4vw, 52px) 10px; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 3.4vw, 52px); scrollbar-width: none; }
.videos--bande::-webkit-scrollbar { display: none; }
.videos--bande .video { flex: none; width: clamp(230px, 21vw, 300px); scroll-snap-align: start; }
.video__cadre { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 8px; background: #11141a; box-shadow: inset 0 0 0 1px rgb(var(--clair-rvb) / .14); }
.video__cadre::before { content: ''; position: absolute; left: 50%; top: 50%; width: 0; height: 0; margin: -12px 0 0 -8px; border-left: 20px solid rgb(var(--clair-rvb) / .3); border-block: 12px solid transparent; }
.video__cadre iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s ease; }
.video.est-chargee iframe { opacity: 1; }
.video__affiche { position: absolute; inset: 0; display: block; }
.video__affiche img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.23, 1, .32, 1); }
.video__affiche:active img { transform: scale(.97); }
.video > a { display: inline-block; margin-top: 12px; opacity: .65; transition: opacity .2s ease; }
@media (hover: hover) { .video > a:hover { opacity: 1; } }
@media (max-width: 560px) { .videos { grid-template-columns: 1fr 1fr; } .videos--bande .video { width: 64vw; } }

/* =====================================================================
   Version claire. Le visiteur la choisit avec le bouton du pied de page ; son choix est gardé dans le navigateur.
   Principe : on inverse les deux couleurs de base. Ce qui repose sur une photo, sur le logo ou sur un panneau
   reste sombre (en-tête, hauts de page, cartes photo, film, outils, formulaire).
   ===================================================================== */
html[data-theme="clair"] { --nuit: #f5f2ec; --blanc: #101216; --clair-rvb: 16 18 22; --fonce-rvb: 245 242 236; color-scheme: light; }
html[data-theme="clair"] .bloc--clair { --blanc: #ffffff; --nuit: #101216; --clair-rvb: 255 255 255; --fonce-rvb: 16 18 22; }
html[data-theme="clair"] :is(.tete, .volet, .phero, .carte, .terrain, .film, .visionneuse, .barre-mobile, .outil, .soum, .compare, .video__cadre) { --nuit: #07090d; --blanc: #f4efe6; --clair-rvb: 244 239 230; --fonce-rvb: 7 9 13; color: var(--blanc); }
html[data-theme="clair"] .outil { padding: clamp(12px, 1.6vw, 22px); border-radius: 12px; background: #07090d; }
html[data-theme="clair"] .bloc--clair .liste a:hover, html[data-theme="clair"] .liste--sombre a:hover { color: #f5f2ec; }
html[data-theme="clair"] .avis li, html[data-theme="clair"] .bloc--clair .points li { border-color: rgb(16 18 22 / .16); }
html[data-theme="clair"] .pied { background: #ebe7df; }
html[data-theme="clair"] .manifeste__texte span.est-allume:nth-last-child(-n + 6) { color: var(--rouge); }
html, body { transition: background-color .35s ease, color .35s ease; }

/* Le bouton qui change de version */
.theme { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgb(var(--clair-rvb) / .35); border-radius: 999px; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; transition: background .2s ease, border-color .2s ease; }
.theme::before { content: ''; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); box-shadow: inset 0 0 0 1.5px currentColor; }
.theme:active { transform: scale(.97); }
@media (hover: hover) { .theme:hover { border-color: currentColor; } }

/* ---------- Pages d'atterrissage (publicités) : en-tête et pied réduits ---------- */
.tete--reduite .tete__barre { justify-content: space-between; }
.tete--reduite .tel { margin-left: auto; }
.pied--reduit { border-top: 1px solid rgb(var(--clair-rvb) / .16); }
.pied--reduit .pied__bas { align-items: center; padding-top: 26px; }
.pied--reduit a { border-bottom: 1px solid rgb(var(--clair-rvb) / .4); }
.atterrir { padding-top: clamp(120px, 12vw, 170px); }
.atterrir__titre { font-stretch: 122%; font-weight: 850; font-size: clamp(36px, 6vw, 96px); line-height: .96; letter-spacing: -.035em; margin-top: 18px; text-wrap: balance; text-shadow: none; }
.atterrir__titre em { font-style: normal; color: var(--rouge); }
/* Le rappel de l'accueil : avant à gauche, après à droite */
.rappel { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; isolation: isolate; }
.rappel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rappel img + img { clip-path: inset(0 0 0 50%); transition: clip-path .9s var(--sortie); }
.rappel::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; transition: left .9s var(--sortie); }
.rappel span { position: absolute; top: 14px; padding: 7px 12px; border-radius: 999px; background: rgba(7, 9, 13, .7); color: #f4efe6; }
.rappel__g { left: 14px; } .rappel__d { right: 14px; background: var(--rouge) !important; }
@media (hover: hover) { .rappel:hover img + img { clip-path: inset(0 0 0 22%); } .rappel:hover::after { left: 22%; } }
@media (max-width: 900px) { .tete--reduite .tel { display: none; } .atterrir { padding-top: 96px; } }

/* ---------- Accueil court ---------- */
.manifeste__preuves { margin-top: clamp(44px, 6vw, 90px); }
.appel__liens { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-top: 34px; opacity: .75; }
.appel__liens a { border-bottom: 1px solid rgb(var(--clair-rvb) / .4); padding-bottom: 2px; }
@media (hover: hover) { .appel__liens a:hover { border-bottom-color: var(--rouge); } }
.appel .btn svg { width: 16px; height: 16px; }

/* La page de soumission : le texte à gauche, le formulaire à droite, visible sans descendre */
.atterrir--deux { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 70px); align-items: start; }
.atterrir--deux .entete { margin-bottom: 0; }
.atterrir--deux .atterrir__titre { font-size: clamp(36px, 4.6vw, 76px); }
.atterrir--deux .demande { margin: 0; max-width: none; }
.atterrir--deux .demande__titre { display: none; }
.atterrir__tel { margin-top: 28px; font-size: 16px; opacity: .86; }
.atterrir__tel a { font-weight: 700; border-bottom: 2px solid var(--rouge); }
@media (max-width: 1000px) { .atterrir--deux { grid-template-columns: 1fr; } }

/* =====================================================================
   Accueil, troisième version : outils à essayer sur place, avis dans le haut de page, formulaire et vidéos
   ===================================================================== */
/* Le ruban : tous les mots pleins, lisibles dans les deux versions */
.ruban span, .ruban span:nth-child(3n + 1) { color: var(--blanc); -webkit-text-stroke: 0; }
.ruban span:nth-child(3n + 2) { color: rgb(var(--clair-rvb) / .45); }
/* La conviction : un titre moins gros */
.manifeste__texte { max-width: 26ch; font-size: clamp(30px, 4.1vw, 66px); line-height: 1.04; }
.manifeste__actions, .centre-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: clamp(30px, 4vw, 56px); }
.centre-actions { justify-content: center; }
.btn--contour { background: none; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.etoiles { color: #f5b301; letter-spacing: .12em; }
/* Les avis Google dans le haut de page */
.film__avis { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; flex-basis: 100%; margin-top: 18px; padding: 12px 16px; max-width: 560px; border-radius: 12px; background: rgba(7, 9, 13, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .16); color: #f4efe6; font-size: 14.5px; line-height: 1.4; }
.film__avis .etoiles { font-size: 17px; }
.film__avis b { font-weight: 800; }
.film__avis span:last-child { flex-basis: 100%; opacity: .82; }
/* Les deux volets : la photo, le mot et le lien, rien d'autre */
.terrain h3 { font-size: clamp(34px, 4.6vw, 76px); }
/* Les onglets des outils */
.essai .entete { margin-bottom: clamp(22px, 2.6vw, 36px); }
.onglets { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: clamp(26px, 3vw, 44px); border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(var(--clair-rvb) / .22); }
.onglets button { padding: 12px 22px; border: 0; border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; opacity: .7; transition: background-color .2s ease, color .2s ease, opacity .2s ease; }
.onglets button[aria-selected="true"] { background: var(--blanc); color: var(--nuit); opacity: 1; }
.onglets button:active { transform: scale(.97); }
@media (hover: hover) { .onglets button:hover { opacity: 1; } }
[data-panneau][hidden] { display: none; }
.essai__note { margin-top: 22px; max-width: 80ch; font-size: 14px; opacity: .62; }
.essai__note a { text-decoration: underline; text-underline-offset: 3px; }
.essai__chapo { margin-bottom: 26px; max-width: 60ch; }
.accueil__soum .entete h2 { font-size: clamp(36px, 4.6vw, 76px); }
@media (max-width: 900px) { .accueil__soum { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .film__actions { flex-wrap: wrap; } .film__actions .btn { padding-inline: 18px; font-size: 14.5px; } .film__avis { margin-top: 12px; font-size: 13.5px; } }
/* Le grand nom du pied de page : plein, pour qu'il se voie dans les deux versions */
.pied__geant { color: rgb(var(--clair-rvb) / .14); -webkit-text-stroke: 0; }
.appel--fin { padding-block: clamp(70px, 9vw, 140px); }
.appel--fin h2 { font-size: clamp(38px, 6.4vw, 104px); }
/* Le lien de langue (FR / EN) */
.langue { display: inline-grid; place-items: center; min-width: 40px; height: 34px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(var(--clair-rvb) / .35); font-weight: 700; font-size: 13px; letter-spacing: .08em; transition: background-color .2s ease, color .2s ease; }
@media (hover: hover) { .langue:hover { background: var(--blanc); color: var(--nuit); } }
.langue--volet { width: max-content; height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 1100px) { .tete__barre > .langue { margin-left: auto; } .tete__barre > .langue + .tel { margin-left: 0; } }
@media (max-width: 760px) { .tete__barre > .langue { display: none; } }

/* =====================================================================
   Corrections de l'audit
   ===================================================================== */
/* Les numéros des étapes se lisent sur fond clair comme sur fond sombre */
.temps__no { color: var(--blanc); }
.temps li:first-child .temps__no { color: #fff; }
/* Un numéro de téléphone ne se coupe jamais */
a[href^="tel:"] { white-space: nowrap; }
/* La phrase qui dit le service et la région, sous le grand titre d'entrée */
.film__sous--accueil { max-width: 46ch; margin-top: 14px; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.45; opacity: .92; }
/* La note Google du haut de page : une ligne, sans citation */
.film__avis { flex-wrap: nowrap; align-items: center; width: max-content; max-width: 100%; flex-basis: auto; gap: 10px; padding: 10px 16px; border-radius: 999px; }
.film__avis span:last-child { flex-basis: auto; }
@media (hover: hover) { .film__avis:hover { background: rgba(7, 9, 13, .78); } }
/* La bande courte de l'aperçu avec photo */
.invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; margin: 0 clamp(16px, 3.4vw, 52px) clamp(56px, 8vw, 120px); padding: clamp(26px, 3.6vw, 52px); border-radius: 18px; box-shadow: inset 0 0 0 1px rgb(var(--clair-rvb) / .18); background: rgb(var(--clair-rvb) / .04); }
.invite > div:first-child { flex: 1 1 420px; max-width: 760px; }
.invite h2 { margin-top: 14px; font-stretch: 118%; font-weight: 850; font-size: clamp(26px, 3vw, 46px); line-height: 1.02; letter-spacing: -.025em; }
.invite h2 em { font-style: normal; color: var(--rouge); }
.invite p:not(.surtitre) { margin-top: 14px; opacity: .8; max-width: 58ch; }
/* La date des articles du blogue */
.prose__date { margin-bottom: 26px; opacity: .65; }
/* Le lien « Témoins » du pied de page et le bandeau de consentement */
.temoins-lien { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.temoins { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; max-width: 860px; margin-inline: auto; padding: 16px 18px; border-radius: 14px; background: #101216; color: #f4efe6; box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(244, 239, 230, .14); font-size: 14.5px; line-height: 1.45; }
.temoins p { flex: 1 1 320px; margin: 0; }
.temoins a { text-decoration: underline; text-underline-offset: 3px; }
.temoins div { display: flex; gap: 10px; }
.temoins button { min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.temoins__non { background: none; color: inherit; box-shadow: inset 0 0 0 1px rgba(244, 239, 230, .4); }
.temoins__oui { background: #f4efe6; color: #101216; }
.temoins button:active { transform: scale(.97); }
@media (max-width: 760px) { .temoins { bottom: 76px; } }   /* au-dessus de la barre Appeler / Soumission */
/* Le lien de langue reste visible sur téléphone */
@media (max-width: 760px) {
  .tete__barre > .langue { display: inline-grid; margin-left: auto; min-width: 38px; height: 36px; padding: 0 8px; }
  .tete__barre > .langue ~ .btn { margin-left: 0; }
}
/* Téléphone : cibles tactiles d'au moins 44 px, textes d'au moins 13 px, formulaire visible tout de suite */
@media (max-width: 760px) {
  .mono { font-size: 13px; }
  .pied__infos a, .pied__bas a, .appel__liens a, .temoins-lien { display: inline-block; padding-block: 11px; }
  .pied__infos p { line-height: 1.2; }
  .lien { display: inline-block; padding-block: 10px; }
  .onglets button { min-height: 44px; }
  .film__avis { margin-top: 14px; }
  .invite { flex-direction: column; align-items: flex-start; }
}
/* Téléphone : le formulaire arrive tout de suite après le titre ; les preuves passent dessous */
.coches--apres { display: none; }
@media (max-width: 900px) {
  .atterrir--deux > .entete > .coches { display: none; }
  .atterrir--deux > .coches--apres { display: grid; margin-top: 28px; }
  .invite > div:first-child { flex: none; }
}

/* Corrections de l'audit, suite : en-tête et haut de page sur téléphone, bandeau des témoins compact */
.tete__barre .logo { flex-shrink: 0; }
.film__sous--accueil { max-width: min(46ch, calc(100vw - 32px)); }
@media (max-width: 760px) {
  .tete__barre > .btn { padding-inline: 13px; font-size: 13.5px; }
  .film__sous--accueil { font-size: 15px; line-height: 1.4; }
  .temoins { left: 10px; right: 10px; gap: 10px 14px; padding: 12px 14px; font-size: 13px; line-height: 1.35; }
  .temoins p { flex-basis: 100%; }
  .temoins div { width: 100%; }
  .temoins button { flex: 1; min-height: 42px; }
}

/* Le haut de page : le texte reste lisible sur les parties claires de la photo */
.film [data-film-avant] .surtitre, .film__sous--accueil { text-shadow: 0 1px 2px rgba(0, 0, 0, .75), 0 0 18px rgba(0, 0, 0, .65); }
/* À l'ordinateur, le bandeau des témoins se range dans le coin inférieur droit, loin des boutons */
@media (min-width: 761px) { .temoins { left: auto; right: 20px; bottom: 20px; max-width: 430px; margin: 0; } }

/* Pendant le film d'entrée, l'en-tête se retire pour laisser toute la place à l'image */
.tete { transition: background .3s ease, box-shadow .3s ease, transform .45s cubic-bezier(.23, 1, .32, 1); }
html.film-plein:not(.menu-ouvert) .tete:not(:focus-within) { transform: translateY(-101%); }
@media (prefers-reduced-motion: reduce) { .tete { transition: none; } }
