/* Labo · site 03 — manoaide.fr dans la grille d'apple.com : tuiles pleine largeur et grille de deux,
   titre + accroche + deux boutons en haut, le produit en dessous, sections compactes.
   Orange de Mano à la place du bleu d'Apple, dégradé orange (texte blanc) à la place du noir. */

@font-face { font-family: 'General Sans'; src: url('/s/f/GeneralSans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/s/f/GeneralSans-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/s/f/GeneralSans-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/s/f/GeneralSans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --ink: #1D1915;
  --ink2: #6B635C;
  --ink3: #756C64;      /* texte tertiaire : 5,1:1 sur blanc, 4,7:1 sur le gris (audit du 7/11 ; avant #8F867E, 3,6:1) */
  --line: rgba(29, 25, 21, .12);
  --gris: #F6F4F1;
  --or: #F2742F;
  --or-b: #C94E16;      /* bouton plein : blanc dessus lisible (contraste 4,6) */
  --or-txt: #B8440E;
  --grad: radial-gradient(110% 80% at 12% -8%, rgba(255, 217, 184, .85) 0%, rgba(255, 217, 184, 0) 52%), linear-gradient(158deg, #FFB37A 0%, #F2742F 54%, #DD5A1C 100%);
  --f: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --gap: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFF; color: var(--ink); font: 400 17px/1.47 var(--f); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---- Barre globale, fine, comme apple.com ---- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 249, 247, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
.nav-in { max-width: 1024px; margin: 0 auto; padding: 0 22px; height: 48px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; padding: 6px 0; }
.logo img { width: 26px; height: auto; display: block; }
.nl { font-size: 12.5px; color: rgba(29, 25, 21, .82); text-decoration: none; letter-spacing: -.005em; transition: color .2s; }
.nl:hover { color: var(--ink); }
.nav-cta { height: 28px; padding: 0 13px; border-radius: 99px; display: inline-flex; align-items: center; background: var(--or-b); color: #fff; font-size: 12.5px; font-weight: 500; text-decoration: none; }
.nav-cta:hover { background: var(--or-txt); }
.nav-menu { display: none; width: 40px; height: 40px; margin-right: -10px; border: 0; background: none; padding: 0; position: relative; cursor: pointer; }
.nav-menu i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.nav-menu i:first-child { top: 16px; } .nav-menu i:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-menu[aria-expanded="true"] i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
/* Menu du téléphone : plein écran sous la barre (la page ne bouge pas), apparition en fondu et éléments en cascade, comme apple.com */
.menu { display: none; }
@media (max-width: 1068px) {
  .menu { display: block; position: fixed; left: 0; right: 0; top: 48px; height: calc(100dvh - 48px); z-index: 49; overflow-y: auto; overscroll-behavior: contain;
    background: #FAF9F7;
    opacity: 0; visibility: hidden; transition: opacity .32s ease, visibility 0s linear .32s; }
  .menu.ouvert { opacity: 1; visibility: visible; transition: opacity .32s ease; }
  html.menu-ouvert { overflow: hidden; }
  html.menu-ouvert .labo { display: none; }
  .nav.ouvert { background: #FAF9F7; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.menu-in { max-width: 560px; margin: 0 auto; padding: 6px 28px calc(40px + env(safe-area-inset-bottom)); }
.menu .it { opacity: 0; transform: translateY(-8px); transition: opacity .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.menu.ouvert .it { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 22ms + 40ms); }
.mg { padding: 12px 0 12px; border-bottom: 1px solid var(--line); }
.mg-t { margin: 0 0 6px; font-size: 12px; font-weight: 500; color: var(--ink3); }
.mg a { display: block; padding: 4px 0; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; text-decoration: none; color: var(--ink); }
.mg a:active { color: var(--or-txt); }
.menu-bt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.menu-bt .b { font-size: 14px; padding: 8px 15px; }
.menu-urg { margin-top: 22px; font-size: 14px; color: var(--ink2); }
.menu-urg a { color: var(--or-txt); font-weight: 500; }
.menu-lg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; font-size: 13px; color: var(--ink3); }
.menu-lg span { color: var(--ink); }
.menu-lg a { text-decoration: none; }

/* ---- Bandeau d'annonce ---- */
.ruban { margin: 0; padding: 15px 24px; background: var(--gris); text-align: center; font-size: 14px; color: var(--ink2); }
.ruban a { color: var(--or-txt); text-decoration: none; white-space: nowrap; }
.ruban a::after, .lien::after { content: ''; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); margin: 0 0 1px 5px; vertical-align: middle; }
.ruban a:hover { text-decoration: underline; }
/* Bande de don sous la barre (reglages.py, bande_don) : blanc sur dégradé orange ; tout le dégradé garde un contraste ≥ 4,6 */
.ruban.don { padding: 11px 20px; background: linear-gradient(100deg, #CB5017 0%, #BC4710 55%, #A83C0B 100%); color: #fff; font-weight: 500; letter-spacing: -.005em; }
.ruban.don a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.ruban.don .don-c { display: inline-block; width: 15px; height: 15px; margin: 0 7px 0 0; vertical-align: -2px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
[dir="rtl"] .ruban.don .don-c { margin: 0 0 0 7px; }

/* ---- Tuiles ---- */
main { display: grid; gap: var(--gap); padding-bottom: var(--gap); }
.tuile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 52px 24px 0; }
.pleine { min-height: 0; }
.blanc { background: #FFF; }
.gris { background: var(--gris); }
.orange { background: var(--grad); color: #FFF; }
.peche { background: radial-gradient(120% 90% at 50% 0%, #FFF7F0 0%, #FFEBDB 58%, #FFDFC9 100%); }
.t-txt { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.t-sur { font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: var(--or-txt); margin-bottom: 6px; }
.orange .t-sur, .photo .t-sur { color: rgba(255, 255, 255, .88); }
.t-nom { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.pleine .t-nom { font-size: clamp(40px, 4.4vw, 60px); }
.hero .t-nom { font-size: clamp(48px, 5.6vw, 76px); letter-spacing: -.05em; }
.t-acc { margin-top: 6px; max-width: 30ch; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; letter-spacing: -.015em; text-wrap: balance; }
.t-acc .l { display: block; }
.grille .t-acc { max-width: 40ch; }
.pleine .t-acc { max-width: 34ch; font-size: clamp(21px, 2vw, 28px); }
.t-sous { margin-top: 12px; max-width: 46ch; font-size: 17px; color: var(--ink2); text-wrap: balance; }
.bt { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.b { display: inline-flex; align-items: center; justify-content: center; padding: 10px 21px; border-radius: 980px; font-size: 17px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, transform .15s; }
.b:active { transform: scale(.97); }
.plein { background: var(--or-b); color: #FFF; }
.plein:hover { background: var(--or-txt); }
.trait { border-color: var(--or-b); color: var(--or-txt); }
.trait:hover { background: var(--or-b); color: #FFF; }
.orange .plein, .photo .plein { background: #FFF; color: var(--or-txt); }
.orange .plein:hover, .photo .plein:hover { background: #FFF3EA; }
.orange .trait, .photo .trait { border-color: #FFF; color: #FFF; }
.orange .trait:hover, .photo .trait:hover { background: #FFF; color: var(--or-txt); }
.grille .tuile .b { font-size: 15px; padding: 8px 17px; }

/* ---- L'iPhone dessiné ---- */
.ph { --w: 200px; position: relative; width: var(--w); flex: none; padding: calc(var(--w) * .013); border-radius: calc(var(--w) * .172);
  background: linear-gradient(150deg, #F4F2EF 0%, #D2CDC7 16%, #A59F98 38%, #8E8882 50%, #BDB7B0 66%, #E9E6E2 84%, #CFCAC4 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 0 0 .5px rgba(60, 45, 30, .25), 0 calc(var(--w) * .18) calc(var(--w) * .26) calc(var(--w) * -.15) rgba(80, 45, 18, .4), 0 calc(var(--w) * .05) calc(var(--w) * .09) calc(var(--w) * -.05) rgba(30, 20, 10, .26); }
.ph::before, .ph::after { content: ''; position: absolute; width: calc(var(--w) * .011); border-radius: 2px; background: linear-gradient(90deg, #8E8882, #C9C4BE); }
.ph::before { left: calc(var(--w) * -.009); top: 20%; height: 7%; box-shadow: 0 calc(var(--w) * .2) 0 0 #A39D96, 0 calc(var(--w) * .37) 0 0 #A39D96; }
.ph::after { right: calc(var(--w) * -.009); top: 27%; height: 11%; }
.ph-b { position: relative; padding: calc(var(--w) * .027); border-radius: calc(var(--w) * .16); background: #0C0B0A; }
.ph-b img { display: block; width: 100%; height: auto; border-radius: calc(var(--w) * .133); background: #FFF8F1; }
/* les films de la grille : la vraie app filmée, à la place de la capture */
/* Le film est posé sur son image fixe (la même première image) et n'apparaît qu'une fois réellement lancé :
   pas d'image vide ni de saut au moment où il démarre. */
.ph-b video.film { position: absolute; top: calc(var(--w) * .027); left: calc(var(--w) * .027); width: calc(100% - var(--w) * .054); height: auto; aspect-ratio: 600 / 1304; object-fit: cover; border-radius: calc(var(--w) * .133); opacity: 0; }
.ph-b video.film.joue { opacity: 1; }
.ph-b::after { content: ''; position: absolute; inset: calc(var(--w) * .027); border-radius: calc(var(--w) * .133); pointer-events: none; background: linear-gradient(118deg, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 34%); }
.ph-i { position: absolute; left: 50%; top: calc(var(--w) * .064); width: calc(var(--w) * .29); height: calc(var(--w) * .086); transform: translateX(-50%); border-radius: 99px; background: #050505; }
.orange .ph { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 calc(var(--w) * .18) calc(var(--w) * .26) calc(var(--w) * -.14) rgba(120, 40, 5, .55); }
.grille .tuile > .t-txt { margin-bottom: 34px; }
.grille .tuile > .ph { --w: clamp(168px, 13.5vw, 196px); margin: auto 0 40px; }

/* ---- Héros : trois téléphones ---- */
.hero { padding-top: 56px; }
.trio { position: relative; width: 100%; max-width: 820px; height: calc(clamp(214px, 17vw, 244px) * 2.2 + 30px); margin: 40px auto 0; }
.trio .ph { position: absolute; left: 50%; top: 0; }
.trio { --off: clamp(150px, 12vw, 178px); --ecart: 46px; --monte: -18px; --tourne: 3deg; }
.trio .c-c { --w: clamp(214px, 17vw, 244px); transform: translate(-50%, 0); z-index: 2; }
.trio .c-l, .trio .c-r { --w: clamp(176px, 14vw, 202px); top: 46px; }
.trio .c-l { transform: translate(calc(-50% - var(--off)), 0); }
.trio .c-r { transform: translate(calc(-50% + var(--off)), 0); }
/* Les téléphones s'écartent pendant les 600 premiers pixels de défilement. C'est le navigateur qui anime,
   au rythme exact du doigt (pas de JavaScript à chaque image) ; sans cette possibilité, ils restent fixes. */
@keyframes trio-c { to { transform: translate(-50%, var(--monte)); } }
@keyframes trio-l { to { transform: translate(calc(-50% - var(--off) - var(--ecart)), calc(var(--ecart) * .3)) rotate(calc(var(--tourne) * -1)); } }
@keyframes trio-r { to { transform: translate(calc(-50% + var(--off) + var(--ecart)), calc(var(--ecart) * .3)) rotate(var(--tourne)); } }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .trio .ph { animation-duration: 1ms; animation-timing-function: linear; animation-fill-mode: both; animation-timeline: scroll(root block); animation-range: 0px 600px; }
    .trio .c-c { animation-name: trio-c; }
    .trio .c-l { animation-name: trio-l; }
    .trio .c-r { animation-name: trio-r; }
  }
}

/* Les quatre points forts (repris de l'essai 01), sous les téléphones */
.hl { width: 100%; max-width: 1040px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin: 56px auto 0; padding: 0 0 72px; text-align: left; }
.hl > div { padding-top: 24px; border-top: 1px solid var(--line); }
.hl svg { width: 30px; height: 30px; fill: none; stroke: var(--or); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hl h2 { margin-top: 14px; font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.hl p { margin-top: 8px; font-size: 16px; line-height: 1.45; color: var(--ink2); }

/* ---- Grille de deux ---- */
.grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.grille .tuile { padding-top: 48px; }
.grille.trois { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* ---- Association ---- */
.asso-ph { width: min(88%, 470px); margin: 34px 0 40px; }
.asso-ph img { display: block; width: 100%; height: auto; border-radius: 22px; }
.asso-ph figcaption { margin-top: 10px; font-size: 13px; color: var(--ink3); }

/* ---- Pourquoi on est là : fond blanc, le texte s'éclaire mot à mot ---- */
.pourquoi { background: #FFF; padding: clamp(88px, 10vw, 136px) 24px clamp(88px, 10vw, 128px); }
.p-in { max-width: 980px; margin: 0 auto; }
.pourquoi .t-sur { margin-bottom: 18px; }
.manifeste { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; color: var(--ink); text-wrap: pretty; }
.manifeste em { font-style: normal; color: var(--or-txt); }
.manifeste .m { transition: color .35s ease; }
.js-mots .manifeste .m, .js-mots .manifeste em .m { color: #D9D3CC; }
.js-mots .manifeste .m.on { color: var(--ink); }
.js-mots .manifeste em .m.on { color: var(--or-txt); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: clamp(56px, 7vw, 88px); }
.stats li { padding-top: 22px; border-top: 1px solid var(--line); }
.stats b { display: block; font-size: clamp(40px, 4.4vw, 60px); line-height: 1; letter-spacing: -.05em; font-weight: 600; }
.stats span { display: block; margin-top: 12px; max-width: 30ch; font-size: 16px; line-height: 1.45; color: var(--ink2); }
.note { display: inline-block; margin-left: 2px; font-size: .7em; vertical-align: super; line-height: 0; color: var(--ink3); text-decoration: none; }
.film-asso { margin-top: clamp(48px, 6vw, 72px); }
.fa-cadre { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(20px, 2.4vw, 30px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: radial-gradient(90% 90% at 50% 0%, #FFF4EA 0%, #F6EEE6 55%, #EFE7DE 100%); box-shadow: inset 0 0 0 1px rgba(29, 25, 21, .06); overflow: hidden; }
.fa-sym { width: 56px; height: auto; opacity: .9; }
.fa-t { margin-top: 18px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.03em; }
.fa-s { margin-top: 6px; font-size: 16px; color: var(--ink2); }
.fa-play { margin-top: 22px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); box-shadow: 0 12px 28px -14px rgba(80, 45, 18, .55); }
.fa-play svg { width: 24px; height: 24px; fill: var(--ink); margin-left: 3px; }
.film-asso figcaption { margin-top: 10px; font-size: 13px; color: var(--ink3); }
/* Le film de présentation : la boucle muette du film tourne dès qu'on arrive dessus ; un bouton en verre, au centre
   (jamais dans un coin), relance le vrai film depuis le début avec le son. Tailles en cqw : mêmes proportions du
   téléphone à l'écran large. */
.fa-lecteur { display: block; padding: 0; background: #F7EEE5; container-type: inline-size; }
.fa-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fa-go { position: absolute; inset: 0; z-index: 1; margin: auto; width: max-content; height: max-content; display: inline-flex; align-items: center; gap: clamp(12px, 1.7cqw, 18px); padding: clamp(7px, 1cqw, 11px) clamp(22px, 3.1cqw, 34px) clamp(7px, 1cqw, 11px) clamp(7px, 1cqw, 11px); border: 0; border-radius: 99px; font: 600 clamp(14px, 1.9cqw, 19px)/1.15 var(--f); color: var(--ink); text-align: left; white-space: nowrap; cursor: pointer;
  background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .56) 100%); -webkit-backdrop-filter: blur(24px) saturate(1.9); backdrop-filter: blur(24px) saturate(1.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 0 0 1px rgba(255, 255, 255, .55), inset 0 -10px 18px -14px rgba(255, 255, 255, .7), 0 20px 44px -22px rgba(23, 18, 14, .55);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .3s ease, background .25s ease; }
.fa-go small { display: block; margin-top: 2px; font-size: .78em; font-weight: 500; color: var(--ink2); }
.fa-go .fa-play { margin: 0; flex: none; width: clamp(36px, 5.2cqw, 56px); height: clamp(36px, 5.2cqw, 56px); background: linear-gradient(180deg, #E0652A 0%, var(--or-b) 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 6px 14px -6px rgba(184, 66, 8, .65); }
.fa-go .fa-play svg { width: 38%; height: 38%; fill: #FFF; margin-left: 6%; }
@media (hover: hover) { .fa-go:hover { transform: scale(1.03); background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .68) 100%); } }
.fa-go:active { transform: scale(.97); }
.fa-go:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.fa-lecteur.lit .fa-go { opacity: 0; pointer-events: none; transform: scale(.96); }
@container (max-width: 320px) { .fa-go { gap: 10px; padding: 6px 18px 6px 6px; font-size: 13px; } .fa-go .fa-play { width: 32px; height: 32px; } }
.liens { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.liens .lien { text-decoration: none; }
.liens .lien:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Cinq langues : un sélecteur, le téléphone et le « bonjour » changent ---- */
.langues { overflow: hidden; background: #FFF; padding: clamp(80px, 9vw, 120px) 24px; border-top: 1px solid var(--line); }
.lg-in { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.salut { position: relative; height: 1.1em; margin-top: 6px; font-size: clamp(54px, 7vw, 96px); line-height: 1.05; letter-spacing: -.05em; font-weight: 600; }
.salut span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(.18em); transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1); background: linear-gradient(158deg, #FFA765 0%, #F2742F 50%, #DD5A1C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .1em; }
.salut span.on { opacity: 1; transform: none; }
.salut span[dir="rtl"] { font-family: -apple-system, 'Geeza Pro', 'Segoe UI', sans-serif; letter-spacing: 0; }
.lg-lead { margin-top: 22px; max-width: 40ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-top: 30px; padding: 4px; border-radius: 99px; background: var(--gris); }
.seg button { border: 0; padding: 9px 16px; border-radius: 99px; background: none; font: 500 15px/1.2 var(--f); color: var(--ink2); cursor: pointer; transition: background .25s, color .25s, box-shadow .25s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: #FFF; color: var(--ink); box-shadow: 0 1px 2px rgba(29, 25, 21, .08), 0 6px 14px -8px rgba(80, 45, 18, .35); }
.seg button[lang="ar"] { font-family: -apple-system, 'Geeza Pro', 'Segoe UI', sans-serif; }
.lg-ph { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.lg-halo { position: absolute; left: 50%; top: 50%; width: min(520px, 120%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 150, .45), rgba(255, 225, 200, .2) 55%, rgba(255, 240, 228, 0)); }
.lg-ph .ph { --w: clamp(230px, 22vw, 290px); }
.lg-ph .ph-b img { transition: opacity .5s ease; }
.lg-ph .ph-b img:not(:first-child) { position: absolute; top: calc(var(--w) * .027); left: calc(var(--w) * .027); width: calc(100% - var(--w) * .054); }
.lg-ph .ph-b img:not(.on) { opacity: 0; }

/* ---- Vie privée : la version 1, compacte ---- */
.prive { background: var(--gris); padding: clamp(80px, 9vw, 112px) 24px; text-align: center; }
.pv-in { max-width: 1040px; margin: 0 auto; }
.prive .cadenas { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 24px; display: grid; place-items: center; color: #FFF;
  background: linear-gradient(158deg, #FFB37A 0%, #F2742F 56%, #DD5A1C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 16px 32px -16px rgba(221, 90, 28, .7); }
.prive .cadenas svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pv-t { font-size: clamp(38px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; }
.pv-lead { max-width: 40ch; margin: 18px auto 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); text-wrap: balance; }
.prive .pastilles { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 760px; margin: 30px auto 0; }
.prive .pastilles li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px 9px 13px; border-radius: 99px; background: #FFF; font-size: 15px; font-weight: 500; box-shadow: none; }
.prive .pastilles li::before { content: ''; width: 13px; height: 7px; border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(-45deg) translate(1px, -2px); }
.pv-trois { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 44px; text-align: left; }
.pv-trois > div { padding: 26px 28px; border-radius: 22px; background: #FFF; }
.pv-trois h3 { font-size: 19px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
.pv-trois p { margin-top: 8px; font-size: 15.5px; line-height: 1.5; color: var(--ink2); }

/* ---- Nîmes en 3D : maquette blanche de la ville ---- */
.nimes { background: #FFF; padding: clamp(80px, 9vw, 112px) var(--gap) clamp(64px, 7vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.nimes .t-nom { font-size: clamp(40px, 4.4vw, 60px); }
.nimes .t-acc { max-width: 34ch; }
.ville { position: relative; width: 100%; height: clamp(440px, 46vw, 640px); margin-top: 48px; overflow: hidden; background: #F1ECE6; }
/* .ville > .ville-c : plus fort que .maplibregl-map { position: relative }, sinon la carte prend 0 px de haut */
.ville > .ville-c { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.ville.pret > .ville-c { opacity: 1; }
.ville-repli { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: none; }
.ville.sans .ville-repli { display: block; }
.ville.sans .ville-l { display: none; }
.ville-l { position: absolute; left: 20px; top: 18px; z-index: 2; display: flex; gap: 8px; margin: 0; }
.ville-l span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 99px; font-size: 13px; font-weight: 500; color: var(--ink);
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); box-shadow: 0 6px 16px -10px rgba(80, 45, 18, .45); }
.ville-l i { width: 9px; height: 9px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #1B7F50; box-shadow: 0 0 0 2px #fff; margin: 0 1px 2px; }
.ville-l i.m { border-radius: 2px; transform: none; margin: 0; background: #E8641F; box-shadow: none; }
.ville-l i.f { width: 8px; height: 8px; background: #A39A90; box-shadow: 0 0 0 1.5px #fff; }
/* Le curseur d'heure, en verre, par-dessus la ville */
.heure { position: absolute; left: 20px; bottom: 20px; z-index: 3; width: min(390px, calc(100% - 40px)); padding: 18px 20px 16px; border-radius: 22px; text-align: left;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(18px) saturate(170%); backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 18px 40px -22px rgba(80, 45, 18, .45); }
.ville.sans .heure { background: rgba(255, 255, 255, .92); }
.h-chiffre { display: flex; align-items: center; gap: 12px; margin: 0; }
.h-chiffre b { min-width: 2.1ch; font-size: 54px; line-height: 1; letter-spacing: -.05em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--or-txt); }
.h-chiffre span { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.h-chiffre em { display: block; font-style: normal; font-weight: 400; font-size: 14px; color: var(--ink2); }
.h-cur { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 30px; margin: 12px 0 0; background: transparent; cursor: pointer; }
.h-cur::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #CFC6BC 0%, #CFC6BC 22%, #FFCFA8 32%, #F2742F 50%, #FFCFA8 72%, #CFC6BC 86%, #CFC6BC 100%); }
.h-cur::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #CFC6BC 0%, #CFC6BC 22%, #FFCFA8 32%, #F2742F 50%, #FFCFA8 72%, #CFC6BC 86%, #CFC6BC 100%); }
.h-cur::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 3px 10px rgba(60, 35, 15, .28); transition: transform .15s; }
.h-cur::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #FFF; box-shadow: 0 0 0 .5px rgba(0, 0, 0, .1), 0 3px 10px rgba(60, 35, 15, .28); }
.h-cur:active::-webkit-slider-thumb { transform: scale(1.08); }
.h-grad { display: flex; justify-content: space-between; margin-top: 2px; font-size: 11.5px; color: var(--ink3); }
.h-rac { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.h-rac button { border: 0; padding: 7px 12px; border-radius: 99px; background: rgba(29, 25, 21, .06); font: 500 13px/1.2 var(--f); color: var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.h-rac button:hover { background: rgba(29, 25, 21, .1); }
.h-rac button.on { background: var(--or-b); color: #FFF; }
.ambition { width: 100%; max-width: 1180px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 32px; padding: 0 12px; text-align: left; }
.ambition h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.ambition p { margin-top: 6px; font-size: 16px; color: var(--ink2); }
.ambition .lien { flex: none; text-decoration: none; }
.ambition .lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.h-note { width: 100%; max-width: 1180px; margin-top: 18px; padding: 0 12px; font-size: 12.5px; color: var(--ink3); text-align: left; }
.ville-src { position: absolute; right: 14px; bottom: 12px; z-index: 2; margin: 0; font-size: 10.5px; color: rgba(29, 25, 21, .5); }
.monu-n { padding: 6px 11px; border-radius: 99px; font: 600 12.5px/1 var(--f); letter-spacing: -.005em; color: var(--ink); white-space: nowrap; pointer-events: none;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 18px -10px rgba(80, 45, 18, .5); }

/* ---- Nos engagements : tuile sombre, trois refus en icônes ---- */
.nuit { background: radial-gradient(120% 80% at 50% 0%, #2A2622 0%, #171513 60%, #121110 100%); color: #FFF; }
.nuit .t-sur { color: rgba(255, 255, 255, .62); }
.nuit .t-acc { color: rgba(255, 255, 255, .8); }
.nuit .plein { background: #FFF; color: var(--ink); }
.nuit .plein:hover { background: #F2EEE9; }
.refus { justify-content: flex-start; padding-bottom: 44px; }
.refus-g { flex: 1; display: grid; grid-auto-rows: 1fr; gap: 12px; width: min(88%, 470px); margin: 34px 0 30px; text-align: left; }
.refus-g li { display: flex; align-items: center; gap: 22px; padding: 26px 28px; border-radius: 22px; background: rgba(255, 255, 255, .055); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.r-tx { display: flex; flex-direction: column; gap: 4px; }
.r-ic { flex: none; width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.r-ic svg { width: 38px; height: 38px; fill: none; stroke: #FFF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.r-ic svg path:last-child { stroke: var(--or); stroke-width: 2.2; }
.refus-g b { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.refus-g .r-tx span { font-size: 16px; line-height: 1.4; color: rgba(255, 255, 255, .64); }
.refus .bt { margin-top: 0; }

/* ---- Trois petites tuiles ---- */
.mini { padding: 44px 32px 44px !important; text-decoration: none; transition: background .25s; }
.mini:hover { background: #F0EDE8; }
.m-ic { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #FFF; color: var(--or); box-shadow: 0 8px 20px -14px rgba(80, 45, 18, .5); }
.m-ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.m-t { margin-top: 22px; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; text-wrap: balance; }
.mini p { margin: 10px 0 18px; max-width: 30ch; font-size: 15.5px; line-height: 1.45; color: var(--ink2); }
.lien { color: var(--or-txt); font-size: 17px; font-weight: 500; }
.mini:hover .lien { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Pied de page ---- */
.pied { background: var(--gris); font-size: 12px; line-height: 1.5; color: var(--ink2); }
.pied-in { max-width: 1024px; margin: 0 auto; padding: 18px 22px 24px; }
.notes { counter-reset: n; padding: 16px 0 14px; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.notes li { counter-increment: n; padding-left: 16px; position: relative; }
.notes li::before { content: counter(n) '.'; position: absolute; left: 0; }
.notes li:target { color: var(--ink); }
.urgence { padding: 14px 0; border-bottom: 1px solid var(--line); }
.urgence a { color: var(--or-txt); }
.pied-g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding: 22px 0 24px; }
.pied-g h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pied-g a { display: block; padding: 3px 0; text-decoration: none; }
.pied-g a:hover, .pied-b a:hover { color: var(--ink); text-decoration: underline; }
.pied-b { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.pied-b a { text-decoration: none; }
.pied-l a { margin-left: 14px; }
.langs { width: 100%; }
.langs span, .langs a { margin-right: 14px; }
.langs span { color: var(--ink); }

/* ---- Retour au labo ---- */
.labo { display: inline-flex; align-items: center; gap: 6px; position: fixed; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 60; padding: 9px 14px; border-radius: 99px; font: 500 13px/1 var(--f); color: var(--ink); text-decoration: none;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); box-shadow: inset 0 0 0 1px var(--line), 0 10px 24px -14px rgba(0, 0, 0, .35); }
.labo em { font-style: normal; }

/* ---- Tablette ---- */
@media (max-width: 1068px) {
  .nl { display: none; }
  .nav-cta { margin-left: auto; margin-right: 14px; }
  .nav-menu { display: block; }
  .grille.trois { grid-template-columns: 1fr; }
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .pied-g { grid-template-columns: repeat(3, 1fr); }
}

/* ---- Téléphone ---- */
@media (max-width: 734px) {
  .grille { grid-template-columns: 1fr; }
  .tuile { padding: 44px 20px 0; }
  .t-acc { font-size: 19px; }
  .pleine .t-acc { font-size: 21px; }
  .b { font-size: 15px; padding: 9px 18px; }
  .trio { height: calc(min(46vw, 196px) * 2.2 + 24px); margin-top: 32px; }
  .trio .c-c { --w: min(46vw, 196px); }
  .trio .c-l, .trio .c-r { --w: min(34vw, 144px); top: 30px; }
  .trio { --off: min(25vw, 100px); --ecart: 16px; --monte: -10px; --tourne: 2deg; }
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; margin-top: 40px; padding-bottom: 56px; }
  .hl h2 { font-size: 19px; }
  .hl p { font-size: 15px; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .lg-in { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .salut span { left: 0; right: 0; }
  .lg-lead { margin-left: auto; margin-right: auto; }
  .seg { max-width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { flex: none; padding: 8px 12px; font-size: 14px; }
  .lg-ph .ph { --w: min(62vw, 250px); }
  .pv-trois { grid-template-columns: 1fr; }
  .refus-g { width: 100%; margin: 30px 0 32px; }
  .refus-g li { padding: 18px 18px; gap: 16px; }
  .r-ic { width: 54px; height: 54px; border-radius: 16px; }
  .tuile.refus { padding-bottom: 52px; }
  .ville { height: 600px; }
  .ville-l { left: 12px; top: 12px; flex-wrap: wrap; right: 12px; }
  .ville-l span { padding: 6px 10px; font-size: 12px; }
  .heure { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 16px 14px; }
  .h-chiffre b { font-size: 46px; }
  .ambition { flex-direction: column; align-items: flex-start; margin-top: 26px; }
  .grille .tuile > .ph { --w: min(46vw, 184px); }
  .pied-g { grid-template-columns: repeat(2, 1fr); }
  .labo { left: 12px; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 17px; }
  .labo em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .salut span, .lg-ph .ph-b img, .ville-c, .h-cur::-webkit-slider-thumb { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav, .labo { background: #FFF; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ================= Pages produit (la carte et les quatre outils) ================= */
html { scroll-padding-top: 110px; }
.nl.ici { color: var(--ink); font-weight: 600; }
/* barre propre à la page, sous la barre globale (comme sur les pages produit d'apple.com) */
.sous { position: sticky; top: 48px; z-index: 45; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px 0 var(--line); }
.sous-in { max-width: 1024px; margin: 0 auto; padding: 0 22px; height: 52px; display: flex; align-items: center; gap: 24px; }
.sous-t { font-size: 20px; font-weight: 600; letter-spacing: -.025em; text-decoration: none; }
.sous-l { display: flex; gap: 22px; margin-left: auto; }
.sous-l a { font-size: 12.5px; color: rgba(29, 25, 21, .78); text-decoration: none; }
.sous-l a:hover { color: var(--ink); }
.sous .sous-b { padding: 5px 13px; font-size: 12.5px; }
.p-hero { padding: clamp(56px, 7vw, 96px) 24px 0; text-align: center; overflow: hidden; }
.p-sur { font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--or-txt); }
.p-titre { margin-top: 8px; font-size: clamp(48px, 7vw, 96px); line-height: 1; letter-spacing: -.055em; font-weight: 600; text-wrap: balance; }
.p-acc { margin-top: 14px; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.p-sous { max-width: 50ch; margin: 18px auto 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink2); text-wrap: balance; }
.p-hero .bt { margin-top: 28px; }
.p-vis { position: relative; display: flex; justify-content: center; margin: 56px auto 0; padding-bottom: 72px; }
.p-vis > .ph { --w: clamp(250px, 22vw, 300px); z-index: 1; }
.p-halo { position: absolute; left: 50%; top: 46%; width: min(760px, 120%); aspect-ratio: 1.3; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 150, .42), rgba(255, 225, 200, .18) 55%, rgba(255, 240, 228, 0)); }
.p-vis-trio { display: block; max-width: 820px; }
.p-vis-trio .trio { margin-top: 0; }
.p-points { padding: 0 24px clamp(72px, 8vw, 104px); }
.p-points .hl { margin-top: 0; padding-bottom: 0; }
.p-demo { padding-top: clamp(72px, 8vw, 104px); border-top: 1px solid var(--line); }
.p-h2 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; text-wrap: balance; }
.p-etapes { background: var(--gris); padding: clamp(80px, 9vw, 120px) 24px; text-align: center; }
.etapes3 { max-width: 1080px; margin: clamp(48px, 6vw, 72px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.etapes3 li { display: flex; flex-direction: column; align-items: center; }
.etape-v { min-height: calc(clamp(200px, 17vw, 236px) * 2.2); display: flex; align-items: center; }
.etape-v .ph { --w: clamp(200px, 17vw, 236px); }
.etape-ic { width: 120px; height: 120px; border-radius: 34px; display: grid; place-items: center; color: #FFF; background: linear-gradient(158deg, #FFB37A 0%, #F2742F 56%, #DD5A1C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 22px 40px -20px rgba(221, 90, 28, .7); }
.etape-ic svg { width: 58px; height: 58px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.etape-n { margin-top: 30px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 600; color: #FFF; background: var(--or-b); }
.etapes3 h3 { margin-top: 14px; font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -.025em; font-weight: 600; }
.etapes3 p { margin-top: 8px; max-width: 32ch; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.p-plus { padding: clamp(72px, 8vw, 104px) var(--gap) 0; }
.plus3 { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.bloc-p { padding: clamp(28px, 3vw, 40px); background: var(--gris); }
.bp-ic { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: #FFF; color: var(--or); box-shadow: 0 8px 20px -14px rgba(80, 45, 18, .5); }
.bp-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bloc-p h3 { margin-top: 22px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.bloc-p p { margin-top: 8px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.p-faq { padding: clamp(80px, 9vw, 120px) 24px; }
.faq { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; text-align: left; }
.faq .p-h2 + p { margin-top: 22px; }
.faq .lien { text-decoration: none; }
.faq-l { border-top: 1px solid var(--line); }
.faq-l details { border-bottom: 1px solid var(--line); }
.faq-l summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.02em; }
.faq-l summary::-webkit-details-marker { display: none; }
.faq-l summary::after { content: ''; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.8px no-repeat, linear-gradient(currentColor, currentColor) center / 1.8px 12px no-repeat; transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.faq-l details[open] summary::after { transform: rotate(45deg); }
.faq-l details p { padding: 0 32px 22px 0; font-size: 16.5px; line-height: 1.55; color: var(--ink2); }
.p-autres { padding: 0 var(--gap) clamp(64px, 7vw, 96px); text-align: center; }
.autres { max-width: 1180px; margin: clamp(36px, 4vw, 52px) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.autre { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 32px 20px 28px; background: var(--gris); text-decoration: none; transition: background .25s; }
.autre:hover { background: #F0EDE8; }
.autre img { width: 108px; height: auto; border-radius: 16px; box-shadow: 0 0 0 4px #FFF, 0 0 0 5px rgba(29, 25, 21, .1), 0 18px 30px -18px rgba(80, 45, 18, .5); }
.autre span { display: flex; flex-direction: column; gap: 4px; }
.autre b { font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.autre em { font-style: normal; font-size: 15px; color: var(--ink2); }
.autre .lien { font-style: normal; font-size: 15px; margin-top: 6px; }
.autre:hover .lien { text-decoration: underline; text-underline-offset: 3px; }
.p-fin { padding: 0 var(--gap) var(--gap); }
.fin-p { text-align: center; padding: clamp(64px, 8vw, 104px) 24px; background: var(--gris); }
.fin-ic { width: 80px; height: 80px; border-radius: 20px; box-shadow: 0 16px 32px -16px rgba(221, 90, 28, .6); }
.fin-p .p-h2 { margin-top: 26px; }
.fin-p > p { margin-top: 10px; font-size: 18px; color: var(--ink2); }
.fin-p .bt { margin-top: 26px; }
@media (max-width: 1068px) {
  .sous-l { display: none; }
  .sous-b { margin-left: auto; }
  .autres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 734px) {
  .sous-in { padding: 0 16px; }
  .sous-t { font-size: 18px; }
  .etapes3, .plus3 { grid-template-columns: 1fr; }
  .etapes3 { gap: 56px; }
  .etape-v { min-height: 0; }
  .etape-v .ph { --w: min(58vw, 230px); }
  .faq { grid-template-columns: 1fr; }
  .p-vis > .ph { --w: min(62vw, 250px); }
}

/* ================= Pages annexes (association, constat, villes, agir, pratiques) =================
   Même grammaire que l'accueil : titres très grands, blanc et gris chaud, orange pour l'accent.
   Les mouvements ne touchent que l'opacité et la position : la mise en page ne bouge jamais. */

/* Apparitions : seulement ce qui est sous l'écran à l'ouverture (site.js pose .r-att), jamais le haut de page */
[data-r] { transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform 1.1s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.r-att { opacity: 0; transform: translateY(28px); }
.r-att.r-zoom { transform: scale(.96); }
.r-att.r-garde { opacity: 1; transform: none; }
@keyframes a-monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .a-hero > * { animation: a-monte .95s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(var(--d, 0) * 90ms + 40ms); }
}

/* En-tête de page */
.a-hero { padding: clamp(64px, 8vw, 116px) 24px 0; text-align: center; }
.a-hero .p-titre { max-width: 16ch; margin-left: auto; margin-right: auto; font-size: clamp(44px, 6.6vw, 92px); }
.a-hero .p-sous { max-width: 54ch; }
.a-hero .bt { margin-top: 30px; }
.a-hero.court { padding-bottom: clamp(56px, 7vw, 96px); }
.a-titre em, .a-h2 em, .gros, .principe .n { font-style: normal; background: linear-gradient(158deg, #FF9F5C 0%, #F2742F 46%, #C94E16 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em; }
.etiquette { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 7px 14px; border-radius: 99px; background: var(--gris); font-size: 14px; font-weight: 500; color: var(--ink2); }
.etiquette i { width: 8px; height: 8px; border-radius: 50%; background: #E0A458; box-shadow: 0 0 0 3px rgba(224, 164, 88, .25); }
.a-photo { max-width: 1204px; margin: clamp(52px, 6vw, 80px) auto 0; padding: 0 var(--gap); }
.a-photo img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: clamp(20px, 2.4vw, 34px); }
.a-photo figcaption { margin-top: 12px; font-size: 13px; color: var(--ink3); text-align: left; }
.a-photo .sur-photo { position: relative; }
.a-chips { position: absolute; left: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); display: flex; flex-wrap: wrap; gap: 8px; }
.a-chips span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 99px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%); box-shadow: 0 8px 20px -12px rgba(40, 20, 5, .5); }
.a-chips i { width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 3px rgba(242, 116, 47, .22); }
.a-chips i.v { background: transparent; box-shadow: inset 0 0 0 1.5px var(--or); }

/* Sections */
.a-sec { padding: clamp(84px, 9vw, 132px) 24px; }
.a-sec.gris { background: var(--gris); }
.a-sec.haut0 { padding-top: 0; }
.a-sec.bas0 { padding-bottom: 0; }
.a-sec + .a-sec:not(.gris):not(.haut0) { border-top: 1px solid var(--line); }
.a-in { max-width: 1040px; margin: 0 auto; }
.a-in.large { max-width: 1180px; }
.a-in.etroit { max-width: 820px; }
.a-tete { max-width: 840px; }
.a-tete.centre { margin: 0 auto; text-align: center; }
.a-tete .t-sur { margin-bottom: 10px; }
.a-lead2 { margin-top: 20px; max-width: 48ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink2); text-wrap: pretty; }
.a-tete.centre .a-lead2 { margin-left: auto; margin-right: auto; text-wrap: balance; }
.a-tete .bt { justify-content: flex-start; }
.a-tete.centre .bt { justify-content: center; }

/* Cartes */
.cartes { display: grid; gap: var(--gap); margin-top: clamp(40px, 5vw, 64px); }
.cartes.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cartes.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cartes.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.carte { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: var(--gris); text-align: left; }
.a-sec.gris .carte { background: #FFF; }
.carte.chaude, .a-sec.gris .carte.chaude { background: radial-gradient(120% 90% at 50% 0%, #FFF7F0 0%, #FFEBDB 60%, #FFDFC9 100%); }
.carte h3 { margin-top: 22px; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; text-wrap: balance; }
.carte .bp-ic + h3 { margin-top: 24px; }
.carte > h3:first-child { margin-top: 0; }
.carte p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.carte .lien, .carte .bt { margin-top: auto; padding-top: 22px; text-decoration: none; }
.carte .bt { justify-content: flex-start; }
.carte .lien:hover { text-decoration: underline; text-underline-offset: 3px; }
.carte .gros-mot { font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; font-weight: 600; color: var(--or-txt); }
.carte .mention { position: absolute; top: 22px; right: 22px; padding: 5px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; color: var(--or-txt); background: #FFF1E6; }
.bp-ic.grand { width: 64px; height: 64px; border-radius: 19px; }
.bp-ic.grand svg { width: 32px; height: 32px; }
.bp-ic.plein-or { color: #FFF; background: linear-gradient(158deg, #FFB37A 0%, #F2742F 56%, #DD5A1C 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 26px -16px rgba(221, 90, 28, .8); }

/* Récit (l'histoire) : le texte à gauche, la photo qui reste à l'écran à droite */
.recit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.recit .prose-a p { margin-top: 20px; font-size: clamp(18px, 1.55vw, 20px); line-height: 1.6; color: var(--ink2); }
.recit .prose-a p:first-of-type { margin-top: 26px; }
.recit .prose-a p b { color: var(--ink); font-weight: 600; }
.recit figure { position: sticky; top: 132px; }
.recit figure img { display: block; width: 100%; height: auto; border-radius: 26px; }
.recit figcaption { margin-top: 12px; font-size: 13px; color: var(--ink3); }
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(48px, 6vw, 72px); }
.membre { display: flex; align-items: center; gap: 20px; padding: 24px 26px; border-radius: 24px; background: var(--gris); }
.a-sec.gris .membre { background: #FFF; }
.membre img, .mono { flex: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.mono { display: grid; place-items: center; color: #FFF; font-size: 25px; font-weight: 600; letter-spacing: -.02em; background: linear-gradient(158deg, #FFB37A 0%, #F2742F 56%, #DD5A1C 100%); }
.membre .role { font-size: 13px; font-weight: 600; color: var(--or-txt); }
.membre h3 { margin-top: 2px; font-size: 21px; letter-spacing: -.02em; font-weight: 600; }
.membre p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--ink2); }
.equipe-note { margin-top: 18px; font-size: 15px; color: var(--ink2); }
.equipe-note b { color: var(--ink); font-weight: 600; }

/* Principes : trois grandes rangées numérotées */
.principes { display: grid; gap: var(--gap); margin-top: clamp(44px, 5vw, 68px); }
.principe { display: grid; grid-template-columns: clamp(96px, 12vw, 168px) minmax(0, 1fr); gap: clamp(16px, 3vw, 40px); align-items: start; padding: clamp(30px, 3.6vw, 48px); border-radius: 30px; background: var(--gris); }
.principe .n { font-size: clamp(64px, 8vw, 120px); line-height: .86; letter-spacing: -.06em; font-weight: 600; font-variant-numeric: tabular-nums; }
.principe h3 { font-size: clamp(26px, 2.8vw, 40px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.principe p { margin-top: 12px; max-width: 54ch; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--ink2); }
.grille.a-g { padding: 0; margin-top: var(--gap); }
.grille.a-g .tuile { border-radius: 30px; padding: clamp(40px, 4.4vw, 60px) clamp(28px, 3.6vw, 52px); align-items: flex-start; text-align: left; justify-content: flex-start; }
.grille.a-g .tuile .t-txt { align-items: flex-start; }
.grille.a-g .tuile .t-acc { max-width: 36ch; }
.grille.a-g .tuile p.t-plus { margin-top: 16px; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 46ch; }
.grille.a-g .nuit p.t-plus { color: rgba(255, 255, 255, .7); }
.grille.a-g .tuile .bt { justify-content: flex-start; margin-top: auto; padding-top: 28px; }
.grille.a-g .nuit .t-nom em { font-style: normal; color: #FFB37A; }

/* La frise (chronologie) */
.chrono { position: relative; max-width: 760px; margin: clamp(48px, 6vw, 76px) auto 0; padding-left: 56px; }
.chrono-fil { position: absolute; left: 13px; top: 14px; bottom: 30px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.chrono-fil i { position: absolute; inset: 0; transform-origin: top; transform: scaleY(1); background: linear-gradient(180deg, #FFB37A, #F2742F 40%, #DD5A1C); }
.js .chrono-fil i { transform: scaleY(var(--p, 0)); }
.chrono li { position: relative; padding-bottom: clamp(36px, 4vw, 52px); }
.chrono li:last-child { padding-bottom: 0; }
.chrono li::before { content: ''; position: absolute; left: -56px; top: 3px; width: 28px; height: 28px; border-radius: 50%; background: #FFF; box-shadow: inset 0 0 0 8px var(--or), 0 0 0 6px rgba(242, 116, 47, .14); transition: box-shadow .45s cubic-bezier(.22, 1, .36, 1); }
.a-sec.gris .chrono li::before { background: var(--gris); }
.js .chrono li:not(.on)::before { box-shadow: inset 0 0 0 2px #D9D2CA, 0 0 0 0 rgba(242, 116, 47, 0); }
.chrono .c-q { font-size: 15px; font-weight: 600; color: var(--or-txt); }
.chrono h3 { margin-top: 4px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; transition: color .45s; }
.js .chrono li:not(.on) h3 { color: #A79E95; }
.chrono p { margin-top: 10px; max-width: 52ch; font-size: 17px; line-height: 1.55; color: var(--ink2); }

/* Fiche d'identité (façon caractéristiques techniques) */
.fiche { margin-top: clamp(36px, 4vw, 52px); border-top: 1px solid var(--line); }
.fiche > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fiche dt { font-size: 15px; color: var(--ink2); }
.fiche dd { margin: 0; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.fiche dd a { color: var(--or-txt); text-decoration: none; }
.fiche dd a:hover { text-decoration: underline; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }

/* Le castor */
.castor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 72px); padding: clamp(32px, 4vw, 56px); border-radius: 34px; background: #FBF3EC; }
.castor img { display: block; width: 100%; max-width: 420px; height: auto; margin: 0 auto; }
.castor .p-h2 { font-size: clamp(32px, 3.6vw, 48px); }
.castor p.c-t { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink2); }

/* Portes de sortie (rejoindre) */
.portes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 4vw, 52px); }
.portes.p3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.porte { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 176px; padding: 28px 26px 24px; border-radius: 26px; background: var(--gris); text-decoration: none; text-align: left; transition: background .25s ease; }
.a-sec.gris .porte { background: #FFF; }
.porte:hover { background: #EFEBE6; }
.a-sec.gris .porte:hover { background: #FFFBF8; }
.porte b { font-size: 21px; line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
.porte span { font-size: 15px; line-height: 1.4; color: var(--ink2); }
.porte i { margin-top: auto; align-self: flex-end; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--or-b); transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.porte i::after { content: ''; width: 8px; height: 8px; margin-left: -3px; border-right: 2px solid #FFF; border-top: 2px solid #FFF; transform: rotate(45deg); }
.porte:hover i { transform: translateX(4px); }

/* Chiffres (le constat) */
.stat-une { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: center; margin-top: clamp(44px, 5vw, 72px); }
.gros { display: block; font-size: clamp(92px, 14vw, 196px); line-height: .88; letter-spacing: -.065em; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-une .s-t { margin-top: 22px; max-width: 24ch; font-size: clamp(21px, 2vw, 28px); line-height: 1.22; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.barres { display: grid; gap: 14px; max-width: 480px; margin-top: 30px; }
.barre-l { display: grid; grid-template-columns: 88px minmax(0, 1fr) 64px; align-items: center; gap: 14px; font-size: 14px; color: var(--ink2); }
.barre-l b { font-weight: 600; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.barre { height: 12px; border-radius: 99px; background: #EFEAE4; overflow: hidden; }
.a-sec.gris .barre { background: #E6E0D9; }
.barre i { display: block; width: calc(var(--v) * 100%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #FFB37A, #F2742F 60%, #DD5A1C); transform-origin: left; transition: transform 1.5s cubic-bezier(.22, 1, .36, 1) .25s; }
.barre.f i { background: #C8BFB5; }
.r-att .barre i { transform: scaleX(0); }
.src { display: block; margin-top: 14px; font-size: 12.5px; line-height: 1.45; color: var(--ink3); }
.points { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: clamp(7px, 1.1vw, 13px); width: 100%; max-width: 440px; justify-self: center; }
.points i { aspect-ratio: 1; border-radius: 50%; background: #E9E3DC; transition: background .55s ease, transform .6s cubic-bezier(.22, 1, .36, 1); transition-delay: calc(var(--k, 0) * 22ms + 150ms); }
.points i.p { background: var(--or); }
.r-att .points i.p { background: #E9E3DC; transform: scale(.55); }
.points-l { margin-top: 18px; font-size: 15px; color: var(--ink2); text-align: center; }
.stats3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 64px); }
.stats3.s2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-c { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 38px); border-radius: 26px; background: var(--gris); }
.a-sec.gris .stat-c { background: #FFF; }
.stat-c b { font-size: clamp(46px, 5vw, 72px); line-height: .95; letter-spacing: -.055em; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-c p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.stat-c .barres { margin-top: 20px; }
.stat-c .src { margin-top: auto; padding-top: 16px; }
.liste-ic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 56px; margin-top: clamp(40px, 5vw, 60px); }
.liste-ic li { display: flex; gap: 18px; align-items: flex-start; }
.liste-ic .bp-ic { flex: none; }
.liste-ic b { display: block; font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.liste-ic span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.liste-ic a { color: var(--or-txt); }
.sources { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.sources li { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; color: var(--ink2); }
.sources a { color: var(--ink); font-weight: 600; text-decoration-color: rgba(29, 25, 21, .25); text-underline-offset: 3px; }
.sources a:hover { color: var(--or-txt); }
.trois-col { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 60px); }
.trois-col p { font-size: 17px; line-height: 1.6; color: var(--ink2); }
.pourquoi.court { padding-top: clamp(84px, 9vw, 132px); padding-bottom: clamp(56px, 6vw, 80px); }

/* Trente jours (villes) */
.j-compteur { display: inline-flex; align-items: baseline; gap: 8px; margin-top: 26px; padding: 9px 16px; border-radius: 99px; background: var(--gris); font-size: 15px; color: var(--ink2); }
.a-sec.gris .j-compteur { background: #FFF; }
.j-compteur b { min-width: 2ch; font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: var(--or-txt); font-variant-numeric: tabular-nums; text-align: right; }
.semaines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 3vw, 40px); }
.semaine { padding: 24px 22px 26px; border-radius: 24px; background: var(--gris); box-shadow: inset 0 0 0 1.5px rgba(242, 116, 47, 0); transition: background .45s, box-shadow .45s; }
.semaine.on { background: #FFF; box-shadow: inset 0 0 0 1.5px rgba(242, 116, 47, .4), 0 26px 50px -32px rgba(80, 45, 18, .5); }
.jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.jours i { aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: #FFF; background: var(--or); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.js .jours i:not(.on) { color: var(--ink3); background: #FFF; box-shadow: inset 0 0 0 1px var(--line); }
.semaine.on .jours i:not(.on) { background: var(--gris); box-shadow: none; }
.semaine .s-n { margin-top: 22px; font-size: 13px; font-weight: 600; color: var(--or-txt); }
.semaine h3 { margin-top: 4px; font-size: 21px; letter-spacing: -.025em; font-weight: 600; }
.semaine p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.reglages { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.reglages li { padding: 9px 15px; border-radius: 99px; background: #FFF; font-size: 15px; font-weight: 500; box-shadow: 0 1px 2px rgba(29, 25, 21, .06); }
.a-sec:not(.gris) .reglages li { background: var(--gris); box-shadow: none; }
.duo .p-vis { margin: 0; padding: 0; }

/* Onglets (partenariats) */
.onglets { margin-top: clamp(36px, 4vw, 52px); text-align: center; }
.onglets .seg { max-width: 100%; }
.o-pans { display: grid; margin-top: 22px; text-align: left; }
.o-p { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 4.4vw, 60px); border-radius: 30px; background: var(--gris); }
.o-p + .o-p { margin-top: var(--gap); }
.js .o-p { grid-area: 1 / 1; margin-top: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.22, 1, .36, 1), visibility 0s; }
.js .o-p:not(.on) { opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.o-p .t-sur { margin-bottom: 8px; }
.o-p h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.o-p p { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 50ch; }
.o-p .bt { justify-content: flex-start; margin-top: 26px; }
.o-vis { display: grid; place-items: center; aspect-ratio: 1.15; border-radius: 26px; background: radial-gradient(90% 90% at 50% 10%, #FFF7F0 0%, #FFE9D7 60%, #FFDCC4 100%); }
.o-vis .bp-ic { width: 112px; height: 112px; border-radius: 32px; }
.o-vis .bp-ic svg { width: 54px; height: 54px; stroke-width: 1.6; }
.engag { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.engag div { padding: 28px 26px; border-radius: 26px; background: var(--gris); }
.a-sec.gris .engag div { background: #FFF; }
.engag b { display: block; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.045em; font-weight: 600; color: var(--or-txt); }
.engag p { margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink2); }

/* Démo des structures : un interrupteur, et la ville est au courant */
.demo-s { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--gap); margin-top: clamp(40px, 5vw, 60px); text-align: left; }
.d-pan { padding: clamp(26px, 3vw, 38px); border-radius: 30px; background: #FFF; }
.d-pan.ville-d { background: radial-gradient(120% 100% at 50% 0%, #FFF7F0 0%, #FFEBDB 70%, #FFE2CE 100%); }
.d-t { font-size: 13px; font-weight: 600; color: var(--ink3); }
.d-pan h3 { margin-top: 4px; font-size: 22px; letter-spacing: -.025em; font-weight: 600; }
.inter { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.inter:first-of-type { margin-top: 14px; border-top: 1px solid var(--line); }
.inter small { display: block; margin-top: 2px; font-size: 13.5px; font-weight: 400; color: var(--ink2); }
.inter button { flex: none; position: relative; width: 52px; height: 32px; border: 0; padding: 0; border-radius: 99px; background: #E2DCD5; cursor: pointer; transition: background .25s ease; }
.inter button::after { content: ''; position: absolute; left: 2px; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: #FFF; box-shadow: 0 2px 6px rgba(40, 25, 10, .25); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.inter button[aria-checked="true"] { background: var(--or-b); }
.inter button[aria-checked="true"]::after { transform: translateX(20px); }
.d-note { margin-top: 14px; font-size: 13.5px; color: var(--ink3); }
.d-fiches { display: grid; gap: 10px; margin-top: 18px; }
.d-fiche { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .9); box-shadow: 0 10px 24px -18px rgba(80, 45, 18, .55); }
.d-fiche .d-ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--or); background: #FFF3EA; }
.d-fiche .d-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.d-fiche b { display: block; font-size: 15.5px; letter-spacing: -.01em; font-weight: 600; }
.d-fiche .d-qui { display: block; font-size: 13px; color: var(--ink3); }
.d-etat { margin-left: auto; position: relative; flex: none; height: 28px; min-width: 150px; }
.d-etat span { position: absolute; right: 0; top: 0; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.d-etat span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.d-etat .e-ouvert { color: #1E7A46; background: #E6F4EC; }
.d-etat .e-complet, .d-etat .e-ferme { color: #6B635C; background: #EFEBE6; }
.d-fiche[data-e="ouvert"] .e-ouvert, .d-fiche[data-e="complet"] .e-complet, .d-fiche[data-e="ferme"] .e-ferme { opacity: 1; transform: none; }
.d-fiche:nth-child(2) { margin-left: 16px; }
.d-fiche:nth-child(3) { margin-left: 32px; }

/* Listes « il faut / il ne faut pas » */
.oui-non { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 60px); }
.oui-non > div { padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: #FFF; }
.oui-non h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 600; }
.oui-non li { position: relative; padding: 14px 0 14px 38px; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; color: var(--ink2); }
.oui-non li:last-child { border-bottom: 0; }
.oui-non li::before { content: ''; position: absolute; left: 0; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: var(--or) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.oui-non .non li::before { background: #E6E0D9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 8.5l7 7M15.5 8.5l-7 7' fill='none' stroke='%236B635C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.oui-non li b { color: var(--ink); font-weight: 600; }

/* Étapes numérotées reliées */
.pas3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: clamp(44px, 5vw, 68px); position: relative; text-align: left; }
.pas3::before { content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: linear-gradient(90deg, var(--or), rgba(242, 116, 47, .15)); }
.pas3 li { position: relative; }
.pas3 .n { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 17px; font-weight: 600; color: #FFF; background: var(--or-b); box-shadow: 0 0 0 7px #FFF; }
.a-sec.gris .pas3 .n { box-shadow: 0 0 0 7px var(--gris); }
.pas3 h3 { margin-top: 22px; font-size: clamp(21px, 2vw, 26px); letter-spacing: -.03em; font-weight: 600; }
.pas3 p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--ink2); }

/* Un appel final, en carte pêche */
.appel { padding: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 72px); border-radius: 34px; text-align: center; background: radial-gradient(120% 100% at 50% 0%, #FFF7F0 0%, #FFEBDB 58%, #FFDFC9 100%); }
.appel .p-h2 { max-width: 20ch; margin: 0 auto; }
.appel p { max-width: 50ch; margin: 18px auto 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.5; color: var(--ink2); }
.appel .bt { margin-top: 28px; }
.appel .mini-n { margin-top: 18px; font-size: 14px; color: var(--ink3); }

/* Télécharger */
.dl-ic { display: block; width: 128px; height: 128px; margin: 0 auto 30px; border-radius: 30px; box-shadow: 0 30px 50px -26px rgba(221, 90, 28, .75), 0 0 0 .5px rgba(150, 70, 20, .2); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 30px; }
.badges .badge img { display: block; height: 54px; width: auto; }
/* 21/11 : les deux badges des magasins restent sur une ligne sur les petits téléphones (hauteur ≥ 40 px exigée par Apple) */
@media (max-width: 420px) { .badges { gap: 10px; } .badges .badge img { height: 46px; } }
.badges .b { height: 54px; padding: 0 24px; border-radius: 14px; }
.dl-note { max-width: 52ch; margin: 22px auto 0; font-size: 15px; line-height: 1.5; color: var(--ink2); }
.dl-note a { color: var(--or-txt); }
.dl-castor { width: min(440px, 82vw); margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 760 / 950; border-radius: 50% 50% 34px 34px; background: #F7F1EA; overflow: hidden; }
.dl-castor img { display: block; width: 100%; height: auto; }
.qr { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(32px, 4.4vw, 60px); border-radius: 34px; background: #FFF; }
.qr img { display: block; width: clamp(160px, 18vw, 230px); height: auto; padding: 16px; border-radius: 24px; background: #FFF; box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -28px rgba(80, 45, 18, .5); }
.qr .p-h2 { font-size: clamp(30px, 3.4vw, 46px); }
.qr p { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink2); max-width: 44ch; }
.qr code { display: inline-block; margin-top: 16px; padding: 6px 12px; border-radius: 10px; background: var(--gris); font: 500 15px/1.4 var(--f); }
.qr .bt { justify-content: flex-start; }

/* FAQ : recherche + catégories */
.f-outils { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 34px; }
.f-cherche { width: min(560px, 100%); height: 54px; border: 0; border-radius: 99px; padding: 0 22px 0 54px; font: 400 17px/1 var(--f); color: var(--ink); outline: none; box-shadow: inset 0 0 0 1px transparent;
  background: var(--gris) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='%238F867E' stroke-width='2'/%3E%3Cpath d='M15.5 15.5L20 20' stroke='%238F867E' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 20px center / 20px no-repeat; transition: box-shadow .2s, background-color .2s; }
.f-cherche:focus { background-color: #FFF; box-shadow: inset 0 0 0 1.5px var(--or), 0 10px 30px -18px rgba(80, 45, 18, .45); }
.f-cherche::placeholder { color: var(--ink3); }
.f-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.f-cats a { padding: 8px 15px; border-radius: 99px; background: var(--gris); font-size: 14.5px; font-weight: 500; color: var(--ink2); text-decoration: none; transition: background .2s, color .2s; }
.f-cats a:hover { background: #EFEBE6; color: var(--ink); }
.faq-bloc { padding: clamp(56px, 6vw, 88px) 24px; border-top: 1px solid var(--line); }
.faq-bloc:first-of-type { border-top: 0; }
.faq-bloc .faq > div:first-child { position: sticky; top: 132px; }
.faq-bloc .t-sur { margin-bottom: 8px; }
.faq-bloc .p-h2 { font-size: clamp(30px, 3.4vw, 44px); }
.faq-l details p a { color: var(--or-txt); }
.f-vide { max-width: 640px; margin: 0 auto; padding: 48px 24px 96px; text-align: center; font-size: 18px; color: var(--ink2); }
.f-vide a { color: var(--or-txt); }

/* Contact */
.qui { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(36px, 4vw, 52px); }
.qui .porte { min-height: 200px; }
.qui .porte .bp-ic { margin-bottom: 14px; }
.canaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 60px); }
.canal { padding: clamp(26px, 3vw, 36px); border-radius: 26px; background: #FFF; }
.canal h3 { font-size: 21px; letter-spacing: -.025em; font-weight: 600; }
.canal p, .canal li { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink2); }
.canal li { margin-top: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
.canal li:last-child { border-bottom: 0; }
.canal li a { display: block; color: var(--ink); font-weight: 600; text-decoration: none; }
.canal li a:hover { color: var(--or-txt); }
.canal li span { font-size: 14px; }

/* Pages longues : sommaire collant + texte */
.doc { max-width: 1100px; margin: 0 auto; padding: clamp(56px, 6vw, 88px) 24px clamp(88px, 9vw, 128px); display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.doc-toc { position: sticky; top: 124px; font-size: 14px; }
.doc-toc summary { list-style: none; font-size: 13px; font-weight: 600; color: var(--ink3); margin-bottom: 12px; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc a { display: block; padding: 7px 0 7px 16px; border-left: 2px solid var(--line); color: var(--ink2); text-decoration: none; line-height: 1.35; transition: color .2s, border-color .2s; }
.doc-toc a:hover { color: var(--ink); }
.doc-toc a.ici { color: var(--ink); font-weight: 500; border-color: var(--or); }
.prose-doc { max-width: 68ch; }
.prose-doc h2 { margin: 64px 0 14px; font-size: clamp(25px, 2.5vw, 34px); line-height: 1.12; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; scroll-margin-top: 124px; }
.prose-doc h2:first-child { margin-top: 0; }
.prose-doc h3 { margin: 32px 0 10px; font-size: 20px; letter-spacing: -.02em; font-weight: 600; }
.prose-doc p { margin: 0 0 16px; font-size: 17px; line-height: 1.68; color: #3D3732; }
.prose-doc ul, .prose-doc ol { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.prose-doc ol { list-style: decimal; }
.prose-doc li { margin: 6px 0; font-size: 17px; line-height: 1.6; color: #3D3732; }
.prose-doc a { color: var(--or-txt); text-underline-offset: 3px; }
.prose-doc strong, .prose-doc b { color: var(--ink); font-weight: 600; }
.prose-doc code { padding: 2px 6px; border-radius: 6px; background: var(--gris); font-size: .92em; }
.billets { max-width: 1100px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) 24px clamp(88px, 9vw, 128px); }
.billet { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); padding: clamp(44px, 5vw, 68px) 0; border-top: 1px solid var(--line); }
.billet:first-child { border-top: 0; }
.b-date { position: sticky; top: 124px; align-self: start; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--or-txt); }
.b-date span { display: block; font-weight: 400; color: var(--ink3); }
.billet h2 { max-width: 24ch; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.07; letter-spacing: -.04em; font-weight: 600; text-wrap: balance; }
.billet .prose-doc { margin-top: 22px; }
.billet.une h2 { font-size: clamp(34px, 4vw, 54px); }

/* Responsive des pages annexes */
@media (max-width: 1068px) {
  .cartes.c4, .portes, .engag { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qui { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .semaines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 734px) {
  .a-hero .p-titre { font-size: clamp(40px, 11vw, 56px); }
  .a-photo img { aspect-ratio: 4 / 3; }
  .cartes.c2, .cartes.c3, .cartes.c4, .portes, .portes.p3, .engag, .stats3, .stats3.s2, .liste-ic, .trois-col, .oui-non, .canaux, .equipe { grid-template-columns: minmax(0, 1fr); }
  .qui { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qui .porte { min-height: 0; }
  .recit, .duo, .stat-une, .castor, .o-p, .demo-s, .qr { grid-template-columns: minmax(0, 1fr); }
  .recit figure { position: static; max-width: 420px; }
  .principe { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .principe .n { font-size: 64px; }
  .gros { font-size: clamp(84px, 26vw, 120px); }
  .semaines { grid-template-columns: minmax(0, 1fr); }
  .pas3 { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .pas3::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; background: linear-gradient(180deg, var(--or), rgba(242, 116, 47, .15)); }
  .pas3 li { padding-left: 66px; }
  .pas3 .n { position: absolute; left: 0; top: 0; }
  .pas3 h3 { margin-top: 6px; }
  .o-vis { display: none; }
  .d-etat { min-width: 0; width: 132px; }
  .d-fiche:nth-child(2), .d-fiche:nth-child(3) { margin-left: 0; }
  .qr img { width: 180px; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .doc-toc { position: static; padding: 16px 18px; border-radius: 18px; background: var(--gris); }
  .doc-toc summary { margin: 0; font-size: 15px; color: var(--ink); cursor: pointer; }
  .doc-toc[open] summary { margin-bottom: 10px; }
  .billet { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .b-date { position: static; }
  .faq-bloc .faq > div:first-child { position: static; }
  .chrono { padding-left: 46px; }
  .chrono li::before { left: -46px; width: 24px; height: 24px; box-shadow: inset 0 0 0 7px var(--or), 0 0 0 5px rgba(242, 116, 47, .14); }
  .chrono-fil { left: 11px; }
}
.a-sec.gris .principe { background: #FFF; }
.duo .fiche { margin-top: 0; }
.engag b { font-size: clamp(21px, 1.9vw, 25px); line-height: 1.15; letter-spacing: -.025em; color: var(--ink); }
.engag b::before { content: ''; display: block; width: 28px; height: 3px; margin-bottom: 18px; border-radius: 2px; background: var(--or); }
.prose-a.grand p { margin-top: 22px; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.5; letter-spacing: -.012em; color: var(--ink); }
.prose-a.grand p + p { color: var(--ink2); }
.pourquoi.gris-f { background: var(--gris); }
.vignette-don { margin: 0; }
.vignette-don img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px -36px rgba(80, 45, 18, .55), 0 0 0 1px rgba(29, 25, 21, .06); }
.vignette-don figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.45; color: var(--ink3); }
.appel.duo-a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; text-align: left; }
.appel.duo-a .p-h2, .appel.duo-a p { margin-left: 0; margin-right: 0; }
.appel.duo-a .bt { justify-content: flex-start; }
.regle5 { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.regle5 .gros { font-size: clamp(160px, 22vw, 300px); }
.visuel-c { width: 100%; aspect-ratio: 1.5; border-radius: 20px; display: grid; place-items: center; background: #FFF; }
.a-sec:not(.gris) .visuel-c { background: var(--gris); }
.visuel-c img { width: 34%; height: auto; }
.visuel-c img.ic-app { width: 30%; border-radius: 22%; box-shadow: 0 16px 30px -18px rgba(221, 90, 28, .7); }
.visuel-c.ecrans { gap: 0; grid-auto-flow: column; }
.visuel-c.ecrans img { width: auto; height: 74%; border-radius: 10px; box-shadow: 0 10px 22px -14px rgba(60, 35, 15, .6); margin: 0 -6px; }
.visuel-c.ecrans img:nth-child(2) { height: 84%; position: relative; z-index: 1; }
.carte .note-p { margin-top: 18px; font-size: 14.5px; color: var(--ink2); }
@media (max-width: 734px) {
  .appel.duo-a, .regle5 { grid-template-columns: minmax(0, 1fr); }
  .regle5 .gros { font-size: 160px; }
}
.stat-c .barre-l b { font-size: 14px; line-height: 1.2; letter-spacing: 0; white-space: nowrap; }
.stat-c .barre-l { grid-template-columns: 74px minmax(0, 1fr) 64px; }
.liste-ic .bp-ic { background: #FFF1E6; box-shadow: none; }
.a-sec:not(.gris) .canal .bp-ic, .a-sec:not(.gris) .porte .bp-ic { background: #FFF1E6; box-shadow: none; }
.a-sec:not(.gris) .d-pan:not(.ville-d) { background: var(--gris); }
.appel p.t-sur, .qr p.t-sur, .o-p p.t-sur, .castor p.t-sur { margin: 0 0 8px; max-width: none; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--or-txt); }
.appel:not(.duo-a) p.t-sur { margin: 0 auto 8px; }
.lien-t { color: var(--or-txt); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lien-t:hover { text-decoration-thickness: 2px; }
.stats3.s5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stats3.s5 .stat-c b { font-size: clamp(44px, 4.4vw, 64px); }
@media (max-width: 1068px) { .stats3.s5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 734px) { .stats3.s5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Safari (iPhone) : rien ne doit élargir la page — les halos décoratifs sont coupés sans casser les éléments collants */
.a-hero, .a-sec, .pourquoi, .faq-bloc, .p-faq { overflow-x: clip; }
.o-pans { grid-template-columns: minmax(0, 1fr); }
.o-p { min-width: 0; }
main { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 734px) {
  .d-fiche { flex-wrap: wrap; row-gap: 8px; }
  .d-etat { order: 3; flex-basis: 100%; width: auto; min-width: 0; margin-left: 56px; }
  .d-etat span { left: 0; right: auto; }
}
.stat-c .barre-l { grid-template-columns: 88px minmax(0, 1fr) 64px; }
.prose-doc h2 { scroll-margin-top: 24px; }
@media (min-width: 735px) { .doc-toc { max-height: calc(100vh - 150px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; } }

/* Passe iPhone (7/11) : sélecteurs qui défilent, onglets sans saut, démo des structures sur un seul écran */
.seg.defile { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, var(--mg, 1)) 0, #000 26px, #000 calc(100% - 26px), rgba(0, 0, 0, var(--md, 1)) 100%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, var(--mg, 1)) 0, #000 26px, #000 calc(100% - 26px), rgba(0, 0, 0, var(--md, 1)) 100%); scroll-snap-type: x proximity; overscroll-behavior-x: contain; }
.seg.defile button { scroll-snap-align: center; }
@media (max-width: 734px) {
  .o-p { align-content: start; }
  .demo-s { gap: 10px; }
  .d-pan { padding: 20px 18px; border-radius: 24px; }
  .d-pan h3 { font-size: 19px; }
  .inter { padding: 12px 0; font-size: 15.5px; }
  .inter:first-of-type { margin-top: 12px; }
  .inter small { font-size: 12.5px; }
  .d-note { margin-top: 10px; font-size: 12.5px; }
  .d-fiches { gap: 8px; margin-top: 12px; }
  .d-fiche { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; align-items: center; padding: 10px 12px; border-radius: 15px; }
  .d-fiche .d-ic { grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 10px; }
  .d-fiche .d-ic svg { width: 18px; height: 18px; }
  .d-fiche b { display: none; }
  .d-fiche .d-qui { font-size: 14px; font-weight: 500; color: var(--ink); }
  .d-etat { order: 0; grid-column: 2; margin-left: 0; width: 100%; min-width: 0; height: 26px; }
  .d-etat span { left: 0; right: auto; height: 26px; padding: 0 10px; font-size: 12.5px; }
}

/* Formulaires (7/11) : ceux du site actuel, mis en forme à la Apple — titre à gauche, carte blanche à droite */
.formu-g { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: start; scroll-margin-top: 110px; text-align: left; }
.formu-t { position: sticky; top: 130px; }
.formu-t > p:not(.t-sur) { margin-top: 16px; font-size: 19px; line-height: 1.5; color: var(--ink2); max-width: 44ch; }
.formu-pts { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.formu-pts li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; color: var(--ink2); }
.formu-pts li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #FFF3EA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.3l2.6 2.6L14 7.4' fill='none' stroke='%23C94E16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.formu { position: relative; padding: clamp(22px, 3vw, 40px); border-radius: 30px; background: #FFF; box-shadow: 0 30px 70px -48px rgba(80, 45, 18, .45), inset 0 0 0 1px rgba(29, 25, 21, .05); }
.a-sec:not(.gris) .formu-g .formu { box-shadow: 0 30px 70px -40px rgba(80, 45, 18, .4), inset 0 0 0 1px var(--line); }
.formu .form { display: grid; gap: 16px; }
.formu .form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.formu .field { display: grid; gap: 7px; min-width: 0; }
.formu label { font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--ink); }
.formu input:not(.hp), .formu select, .formu textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--gris); font: 400 17px/1.3 var(--f); color: var(--ink); box-shadow: inset 0 0 0 1px transparent; transition: background .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.formu textarea { min-height: 150px; resize: vertical; line-height: 1.45; }
.formu select { padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235E554D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px; }
.formu :is(input:not(.hp), select, textarea):focus { outline: none; background-color: #FFF; box-shadow: inset 0 0 0 2px var(--or), 0 10px 30px -18px rgba(80, 45, 18, .45); }
.formu .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.formu .consent { font-size: 13px; line-height: 1.5; color: var(--ink3); }
.formu .consent a { color: inherit; text-underline-offset: 2px; }
.formu .form button[type="submit"] { justify-self: start; min-height: 50px; padding: 12px 28px; border: 0; font-family: var(--f); cursor: pointer; }
.formu .form button[type="submit"]:disabled { opacity: .6; cursor: default; }
.formu .form-err { display: none; padding: 14px 16px; border-radius: 14px; background: #FFF1E6; color: #8A3B12; font-size: 15px; line-height: 1.45; }
.formu .form.failed .form-err { display: block; }
.formu .form-ok { display: none; padding: 8px 0 4px 52px; position: relative; font-size: 17px; line-height: 1.5; color: var(--ink2); outline: none; }
.formu .form-ok::before { content: ''; position: absolute; left: 0; top: 4px; width: 38px; height: 38px; border-radius: 50%; background: #E6F4EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%231E7A46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.formu .form-ok b { display: block; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.formu .form.done > :not(.form-ok) { display: none; }
.formu .form.done .form-ok { display: block; animation: a-monte .6s cubic-bezier(.22, 1, .36, 1) both; }
/* « Me prévenir » (Soutenir) : le champ et le bouton sur une ligne, dans la tuile */
.formu.compact { margin-top: 22px; padding: 0; background: none; box-shadow: none; }
.formu.compact .form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 10px; }
.formu.compact .form > :not(.field):not(button):not(.hp) { grid-column: 1 / -1; }
.formu.compact input:not(.hp) { background: #FFF; }
.formu.compact .form .field { grid-column: 1; grid-row: 1; }
.formu.compact .form button[type="submit"] { grid-column: 2; grid-row: 1; justify-self: stretch; }
@media (max-width: 734px) {
  .formu-g { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .formu-t { position: static; }
  .formu-t > p:not(.t-sur) { font-size: 17px; }
  .formu { border-radius: 24px; }
  .formu .form-row { grid-template-columns: minmax(0, 1fr); }
  .formu .form button[type="submit"] { justify-self: stretch; }
  .formu.compact .form { grid-template-columns: minmax(0, 1fr); }
  .formu.compact .form button[type="submit"] { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .formu .form.done .form-ok { animation: none; } }

/* La marque (7/11) : logos en tuiles, nuancier qui copie le code, spécimen, six règles */
.logos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(40px, 5vw, 60px); }
.logo-t { margin: 0; border-radius: 30px; background: #FFF; overflow: hidden; }
.logo-v { display: grid; place-items: center; aspect-ratio: 4 / 3; background: radial-gradient(90% 90% at 50% 10%, #FFF9F4 0%, #FFF1E6 70%, #FFE8D6 100%); }
.logo-v img { width: 34%; height: auto; }
.logo-t.icone .logo-v img { width: 30%; border-radius: 22.5%; box-shadow: 0 24px 40px -26px rgba(80, 45, 18, .6); }
.logo-t.lockup .logo-v { background: #FFF; box-shadow: inset 0 -1px 0 var(--line); }
.logo-t.lockup .logo-v img { width: 190px; max-width: 60%; }
.logo-t figcaption { display: grid; gap: 4px; padding: 22px 26px 26px; }
.logo-t b { font-size: 19px; letter-spacing: -.02em; font-weight: 600; }
.logo-t span { font-size: 15px; color: var(--ink2); }
.logo-t .lien { margin-top: 10px; font-size: 16px; justify-self: start; }
.nuancier { margin: clamp(40px, 5vw, 60px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.nuance { display: grid; gap: 3px; align-content: start; }
.nuance b { margin-top: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.nuance code { font: 500 14px/1.3 ui-monospace, 'SF Mono', Menlo, monospace; color: var(--ink2); }
.nuance span { font-size: 14px; line-height: 1.4; color: var(--ink3); }
.n-bloc { position: relative; display: block; width: 100%; aspect-ratio: 1.35; border: 0; padding: 0; border-radius: 22px; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(29, 25, 21, .08); transition: transform .3s cubic-bezier(.22, 1, .36, 1); }
.n-copie { position: absolute; left: 14px; bottom: 12px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 600 12.5px/1.2 var(--f); color: inherit; opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .3s cubic-bezier(.22, 1, .36, 1); }
@media (hover: hover) { .n-bloc:hover { transform: scale(1.02); } .n-bloc:hover .n-copie { opacity: 1; transform: none; } }
.n-bloc:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.n-bloc:focus-visible .n-copie, .n-bloc.copie .n-copie { opacity: 1; transform: none; }
.specimen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.spec { padding: clamp(28px, 4vw, 52px); border-radius: 30px; background: #FFF; }
.spec-aa { display: block; font-size: clamp(120px, 16vw, 220px); line-height: .9; letter-spacing: -.06em; font-weight: 600; background: linear-gradient(158deg, #FFA765 0%, #F2742F 50%, #DD5A1C 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.spec-g { margin: 22px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.spec-g li { font-size: 22px; letter-spacing: -.02em; }
.spec-g span { font-size: 13px; font-weight: 500; color: var(--ink3); letter-spacing: 0; }
.spec-p { margin-top: 22px; font-size: 17px; line-height: 1.5; color: var(--ink2); }
.regles6 .principe .n { font-size: clamp(48px, 6vw, 88px); }
@media (max-width: 1068px) { .nuancier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  .logos, .specimen { grid-template-columns: minmax(0, 1fr); }
  .nuancier { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .n-bloc { border-radius: 18px; }
  .n-copie { opacity: 1; transform: none; }
}

/* Pages en langues (7/11) : le 115 en tuile orange, « nous écrire », polices et lecture de droite à gauche */
.urg { padding: var(--gap) var(--gap) 0; }
.urg-in { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); border-radius: 30px; background: linear-gradient(135deg, #F68A45 0%, #E8641F 55%, #D4561A 100%); color: #FFF; }
.urg-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.urg-ic svg { width: 30px; height: 30px; fill: none; stroke: #FFF; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.urg .t-sur { color: rgba(255, 255, 255, .86); }
.urg-t { margin-top: 4px; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.urg-tx > p:last-child { margin-top: 10px; max-width: 62ch; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); }
.urg-b { background: #FFF; color: var(--or-txt); font-weight: 600; white-space: nowrap; padding: 13px 26px; }
@media (hover: hover) { .urg-b:hover { background: #FFF4EC; } }
.lg-contact .bt { margin-top: 28px; }
.lg-reste { margin-top: 22px; text-align: center; font-size: 15px; color: var(--ink2); }
@media (max-width: 734px) {
  .urg-in { grid-template-columns: minmax(0, 1fr); text-align: start; border-radius: 24px; }
  .urg-ic { width: 52px; height: 52px; border-radius: 16px; }
  .urg-b { justify-self: stretch; }
}
/* L'ukrainien et l'arabe n'ont pas leurs lettres dans General Sans : la police du téléphone, partout */
:root[lang="uk"] { --f: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Noto Sans', sans-serif; }
:root[lang="ar"] { --f: -apple-system, BlinkMacSystemFont, 'SF Arabic', 'Geeza Pro', 'Noto Sans Arabic', 'Segoe UI', Tahoma, sans-serif; }
:root[lang="uk"] body, :root[lang="ar"] body { font-family: var(--f); }
/* l'arabe ne supporte aucun resserrement des lettres (elles doivent rester liées) */
:root[lang="ar"] body * { letter-spacing: 0 !important; }
:root[lang="ar"] .t-nom[lang="fr"] { letter-spacing: -.045em !important; font-family: 'General Sans', sans-serif; }
:root[lang="uk"] .t-nom[lang="fr"] { font-family: 'General Sans', sans-serif; }
/* De droite à gauche : ce qui était aligné à gauche passe à droite */
[dir="rtl"] .hl, [dir="rtl"] .formu-g, [dir="rtl"] .pv-trois { text-align: right; }
[dir="rtl"] .ruban a::after, [dir="rtl"] .lien::after { transform: rotate(-135deg); margin: 0 6px 0 0; }
[dir="rtl"] .labo { left: auto; right: 16px; }
[dir="rtl"] .salut span { left: auto; right: 0; }
[dir="rtl"] .heure { left: auto; right: 20px; text-align: right; }
[dir="rtl"] .ville-l { left: auto; right: 20px; }
[dir="rtl"] .ville-src { right: auto; left: 14px; }
[dir="rtl"] .ambition, [dir="rtl"] .h-note, [dir="rtl"] .refus-g { text-align: right; }
[dir="rtl"] .h-cur::-webkit-slider-runnable-track { background: linear-gradient(270deg, #CFC6BC 0%, #CFC6BC 22%, #FFCFA8 32%, #F2742F 50%, #FFCFA8 72%, #CFC6BC 86%, #CFC6BC 100%); }
[dir="rtl"] .h-cur::-moz-range-track { background: linear-gradient(270deg, #CFC6BC 0%, #CFC6BC 22%, #FFCFA8 32%, #F2742F 50%, #FFCFA8 72%, #CFC6BC 86%, #CFC6BC 100%); }
@media (max-width: 734px) { [dir="rtl"] .heure { left: 12px; right: 12px; } [dir="rtl"] .ville-l { right: 12px; } }
.h-bientot { max-width: 46ch; margin: 18px auto 0; font-size: 15px; line-height: 1.5; color: var(--ink3); text-wrap: balance; }
/* Avant la sortie : « Bientôt sur l'App Store / Google Play » (pas les badges officiels, qui doivent mener à la fiche du magasin) */
.stores-b { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.store-b { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 150px; padding: 8px 18px 9px; border-radius: 14px; background: #FFF; box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; text-decoration: none; transition: background .2s; }
.store-b small { font-size: 11.5px; font-weight: 500; letter-spacing: 0; color: var(--ink2); }
@media (hover: hover) { .store-b:hover { background: var(--gris); } }

/* Guides pratiques (7/11) : un guide par besoin, les lieux de l'annuaire en fiches, « ouvert maintenant » en direct */
.g-direct { margin-top: 22px; font-size: 15px; color: var(--ink3); }
.g-direct #g-ouverts.vert { color: #1E7A46; font-weight: 600; }
.g-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.g-tete .p-h2 { font-size: clamp(30px, 3.4vw, 44px); }
.g-n { font-size: 15px; font-weight: 500; color: var(--ink3); }
.lieux-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(28px, 3.4vw, 40px); }
.lieu { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.6vw, 30px); border-radius: 26px; background: #FFF; scroll-margin-top: 120px; }
.a-sec:not(.gris) .lieu { background: var(--gris); }
.lieu-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.lieu-tete h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
.lieu-etat { flex: none; display: none; align-items: center; gap: 7px; height: 28px; padding: 0 11px; border-radius: 99px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.lieu-etat::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.lieu-etat.ouvert { display: inline-flex; color: #1E7A46; background: #E6F4EC; }
.lieu-etat.ferme { display: inline-flex; color: #6B635C; background: #EFEBE6; }
.a-sec:not(.gris) .lieu-etat.ferme { background: #FFF; }
.lieu-pq { font-size: 15px; font-weight: 500; color: var(--or-txt); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.lieu-n { display: inline-flex; padding: 3px 9px; border-radius: 99px; background: #FFF3EA; color: var(--or-txt); font-size: 12.5px; font-weight: 600; }
.lieu-ad { font-size: 15.5px; color: var(--ink); }
.lieu-h { margin: 2px 0 0; display: grid; gap: 4px; }
.lieu-h div { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 10px; font-size: 14.5px; line-height: 1.4; }
.lieu-h dt { color: var(--ink3); }
.lieu-h dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; }
.lieu-h0 { font-size: 14.5px; color: var(--ink2); }
.lieu-c { margin: 2px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.lieu-c li { padding: 4px 10px; border-radius: 99px; background: #FFF; box-shadow: inset 0 0 0 1px var(--line); font-size: 12.5px; color: var(--ink2); }
.lieu-s { font-size: 14.5px; line-height: 1.5; color: var(--ink2); }
.lieu-p { font-size: 14.5px; line-height: 1.5; color: var(--ink3); }
.lieu-a { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lieu-a a { font-size: 15px; font-weight: 600; color: var(--or-txt); text-decoration: none; }
@media (hover: hover) { .lieu-a a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.g-tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.g-tuile { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: #FFF; color: var(--ink); text-decoration: none; transition: transform .35s cubic-bezier(.22, 1, .36, 1); }
.g-tuile h2 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; font-weight: 600; }
.g-tuile p { font-size: 16px; line-height: 1.45; color: var(--ink2); }
.g-tuile .lien { margin-top: auto; padding-top: 8px; }
@media (hover: hover) { .g-tuile:hover { transform: translateY(-3px); } }
.g-portes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1068px) { .g-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  .lieux-g, .g-tuiles { grid-template-columns: minmax(0, 1fr); }
  .g-portes { grid-template-columns: minmax(0, 1fr); }
  .lieu { border-radius: 22px; }
  .lieu-h div { grid-template-columns: 6.5em minmax(0, 1fr); }
}

.fa-lecteur:not(.lit) .fa-v { cursor: pointer; }

/* Audit UI (7/11) : corrections relevées sur tout le site */
/* icônes de la liste du constat : la règle « .liste-ic span » leur retirait le centrage */
.liste-ic .bp-ic { display: grid; margin-top: 0; }
/* plus rien sous 12 px */
.formu label small { font-size: 12.5px; font-weight: 500; color: var(--ink3); }
.h-grad { font-size: 12px; }
.store-b small { font-size: 12px; }
.jours i { font-size: 12px; }
/* cibles tactiles : la zone touchable dépasse le dessin, sans rien changer à l'œil */
.logo, .nav-cta, .sous-b { position: relative; }
.logo::after, .nav-cta::after, .sous-b::after { content: ''; position: absolute; inset: -8px -6px; }
@media (max-width: 734px) {
  .lieu-a { gap: 0 16px; }
  .lieu-a a { display: inline-flex; align-items: center; min-height: 40px; }
  .pied-g a { padding: 8px 0; }
  .pied-l a, .langs a { display: inline-block; padding: 8px 0; }
  .h-rac button { padding: 9px 13px; }
}

/* Audit UI (7/11), suite : les défauts relevés par la relecture page par page */
/* 1. Les pages en sections pleine largeur n'ont pas d'intervalle blanc entre leurs sections :
   l'intervalle de 12 px est fait pour les tuiles de l'accueil (il faisait une bande blanche sous chaque section grise) */
main:not(:has(> .tuile, > .grille)) { gap: 0; padding-bottom: 0; }
/* un filet seulement entre deux sections blanches (le changement de couleur suffit ailleurs) */
.a-sec + .a-sec:not(.gris):not(.haut0) { border-top: 0; }
.a-sec:not(.gris) + .a-sec:not(.gris):not(.haut0), .a-sec:not(.gris) + .p-faq:not(.gris), .p-faq:not(.gris) + .a-sec:not(.gris) { border-top: 1px solid var(--line); }
.p-faq.gris { background: var(--gris); }
.pied { border-top: 1px solid var(--line); }
/* 2. Titres : pas de mot seul en dernière ligne ; la partie orange commence toujours une ligne */
h1, h2, h3 { text-wrap: balance; }
p, li, dd, summary { text-wrap: pretty; }
.p-titre em, .p-h2 em { display: block; }
.nw { white-space: nowrap; }
/* 3. Pied de page : les liens légaux alignés à gauche une fois passés à la ligne */
.pied-l { display: flex; flex-wrap: wrap; gap: 0 16px; }
.pied-l a { margin-left: 0; }
/* 4. Cartes : les mêmes coins partout (les pages produit avaient des angles droits) */
.bloc-p, .autre, .fin-p { border-radius: 26px; }
.autre .lien, .grille.trois .mini .lien { margin-top: auto; }
.grille.trois .mini .lien { padding-top: 16px; }
/* 5. Pictos dans les portes et les canaux : toujours orange */
.porte .bp-ic, .canal .bp-ic { color: var(--or); }
.a-sec:not(.gris) .canal { background: var(--gris); }
/* 6. Moins de vide sous les en-têtes courts */
.a-hero.court + .a-sec, .a-hero.court + .urg + .a-sec { padding-top: clamp(48px, 5vw, 72px); }
/* 7. Guides : le 115 sur la grille du contenu, les « autres guides » sur une rangée, la FAQ à la largeur des fiches */
.a-hero + .urg { padding: 0 24px; }
.a-hero + .urg .urg-in { max-width: 1180px; }
.portes.g-portes { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.faq.large { max-width: 1180px; }
.lieu-h dd span { white-space: nowrap; }
.lieu-n { background: rgba(201, 78, 22, .1); }
.lieu-tete h3 { min-width: 0; overflow-wrap: break-word; }
/* 8. Télécharger : des boutons pilules comme partout ; « Bientôt sur » en gris, sans contour */
.badges .b { height: auto; min-height: 50px; border-radius: 980px; }
.store-b { border-radius: 16px; box-shadow: none; background: var(--gris); }
.a-sec.gris .store-b, .a-hero .store-b { background: var(--gris); }
/* 9. Presse : les trois aperçus de la même hauteur */
.visuel-c { aspect-ratio: auto; height: clamp(180px, 15vw, 210px); overflow: hidden; }
/* 10. Étapes : le fil s'arrête à la dernière pastille */
.pas3::before { right: calc((100% - 2 * clamp(20px, 3vw, 40px)) / 3 - 22px); }
/* 11. Villes : les quatre semaines alignées, même quand une semaine a deux rangées de jours */
.semaine { container-type: inline-size; }
.semaine .jours { min-height: calc(2 * (100cqw - 30px) / 7 + 5px); align-content: start; }
/* 12. Partenariats : le panneau de l'onglet en carte blanche sur la section grise */
.a-sec.gris .o-p { background: #FFF; }
/* 13. La marque : « Copier » lisible sur toutes les couleurs, légendes plus près de leur pastille, trois aperçus pareils */
.n-copie { background: color-mix(in srgb, currentColor 16%, transparent); }
.nuancier { row-gap: 40px; }
.logo-t.lockup .logo-v { background: radial-gradient(90% 90% at 50% 10%, #FFF9F4 0%, #FFF1E6 70%, #FFE8D6 100%); box-shadow: none; }
/* 14. Le grand « 5 » de l'observatoire n'est plus tranché à droite */
.gros { padding-right: .08em; }
/* 15. Soutenir : le champ e-mail en pilule, comme le bouton */
.formu.compact input:not(.hp) { border-radius: 99px; padding-left: 20px; }
/* 16. Vie privée (accueil) : section blanche, pour ne plus coller deux gris à la tuile de l'association */
.prive { background: #FFF; border-top: 1px solid var(--line); }
.prive .pastilles li, .pv-trois > div { background: var(--gris); }
@media (max-width: 1068px) { .portes.g-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  /* guides : le badge au-dessus du titre, le compteur sous le titre, les liens en deux colonnes */
  .lieu-tete { flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
  .g-tete { flex-direction: column; gap: 4px; }
  .lieu-a { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
  .lieu-h div { grid-template-columns: 5.6em minmax(0, 1fr); }
  .portes.g-portes { grid-template-columns: minmax(0, 1fr); }
  .g-portes .porte { min-height: 0; }
  /* boutons empilés : la même largeur */
  .a-hero .bt, .appel .bt { flex-direction: column; align-items: center; }
  .a-hero .bt .b, .appel .bt .b { width: 100%; max-width: 320px; }
  /* une carte seule en dernière rangée prend toute la largeur */
  .qui > :last-child:nth-child(odd), .stats3.s5 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  /* étapes empilées : un trait entre deux pastilles, rien après la dernière */
  .pas3::before { display: none; }
  .pas3 li:not(:last-child)::after { content: ''; position: absolute; left: 21px; top: 44px; bottom: -34px; width: 2px; background: linear-gradient(180deg, var(--or), rgba(242, 116, 47, .2)); }
  /* villes : les pastilles sous la photo, pour ne plus cacher la statue */
  .a-photo .a-chips { position: static; margin-top: 12px; }
  .a-photo .a-chips span { background: var(--gris); }
  /* pages longues : de l'air sous le sommaire */
  .doc-toc { margin-bottom: 28px; }
}
/* 17. Pastilles d'icônes : pêche partout, visibles sur carte blanche comme sur carte grise */
.carte .bp-ic, .porte .bp-ic { background: #FFF1E6; box-shadow: none; }
/* 18. Liens dans le texte : « écrivez-nous » ne se coupe plus */
.lien-t { white-space: nowrap; }
/* 19. La tuile 115 des pages en langues, de la largeur des tuiles ; sur les guides, de la largeur du contenu */
.urg-in { max-width: none; }
.a-hero + .urg .urg-in { max-width: 1180px; }
/* 20. Pied : chaque lien reste entier ; « العربية » à la taille des autres langues */
.pied-l a { white-space: nowrap; }
.seg button[lang="ar"], .langs a[lang="ar"], .menu-lg a[lang="ar"] { font-size: 1.08em; }
/* 21. Le « Bonjour » arabe : dégradé dans le sens de lecture */
.salut span[dir="rtl"] { background-image: linear-gradient(202deg, #FFA765 0%, #F2742F 50%, #DD5A1C 100%); }
/* 22. Vie privée : texte des pastilles aligné quand il passe sur deux lignes */
.prive .pastilles li { text-align: start; }
@media (max-width: 734px) {
  /* la barre et la sous-barre sur la même gouttière */
  .sous-in { padding: 0 22px; }
  /* la carte des heures sur une ligne de raccourcis : elle reste basse et ne cache plus les Arènes */
  .h-rac { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 5px; }
  .h-rac::-webkit-scrollbar { display: none; }
  .h-rac button { flex: none; padding: 9px 11px; }
  /* la mention OpenStreetMap passe en haut à droite, au-dessus de la carte des heures */
  .ville-src { top: auto; bottom: auto; top: 54px; right: 12px; }
  [dir="rtl"] .ville-src { right: auto; left: 12px; }
  /* « Faites glisser l'heure » tient dans la marge */
  .p-demo .t-nom { font-size: clamp(34px, 9.4vw, 48px); }
}
