/* Territys — page d'accueil (refonte du site, DEC-0163) : accroche en situation, plateforme, volets illustrés par des écrans de
   l'application, publics, socle, écoute citoyenne, engagements, équipe, questions fréquentes, démonstration et contact.
   Se charge après site.css, dont il reprend les variables (--navy, --bleu, --texte-2…) et les composants (.btn, .surtitre, .fonction…).
   Les écrans sont dessinés en HTML/CSS et se redimensionnent d'un bloc : chaque .ecran fixe la taille du texte de son .app à 2 % de sa
   propre largeur, et tout le reste est exprimé en em. Les cartes ont un fond fixe (image) que accueil.js remplace par une carte interactive. */

:root {
  --rouge-carte: #EF5A5A; --ombre-ecran: 0 28px 60px rgba(11, 45, 77, .16);
  --tag-bleu-f: #EDF3FE; --tag-bleu-t: #1F5FD6; --tag-vert-f: #EAF9F0; --tag-vert-t: #15803D; --tag-violet-f: #EFE9FD; --tag-violet-t: #6D3FD1;
  --tag-rose-f: #FDE8EF; --tag-rose-t: #C0265C; --tag-turq-f: #E0F5F2; --tag-turq-t: #0B7A6E; --tag-ambre-f: #FFF3D9; --tag-ambre-t: #B45309;
  --tag-gris-f: #F0F4F9; --tag-gris-t: #4F6075;
}
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.symboles { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- accroche ---------- */
.accroche { padding: 72px 0 88px; background: linear-gradient(180deg, var(--surface) 0%, var(--fond) 100%); border-bottom: 1px solid var(--ligne-douce); }
.accroche .hero-grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; }
.accroche h1 { font-size: var(--t-h1); line-height: 1.04; letter-spacing: -.03em; margin: 0 0 22px; font-weight: 700; }
.h1-sur { display: block; margin-bottom: 18px; font: 600 15px/1.4 var(--titre); letter-spacing: .01em; color: var(--bleu); }
.accroche .accent { color: var(--bleu); }
.accroche .chapo { max-width: 540px; }
.hero-preuves { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 0; font-size: 14.5px; color: var(--texte-2); }
.hero-preuves li { display: inline-flex; align-items: center; gap: 7px; }
.hero-preuves .ic { width: 18px; height: 18px; color: var(--turquoise); }

.scene { position: relative; container-type: inline-size; padding-bottom: 7%; }
.scene-photo { width: 86%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 32px; box-shadow: 0 30px 70px rgba(11, 45, 77, .2);
  background: linear-gradient(145deg, #EDF3FE, #E5F8FE 60%, #EAF9F0); }
.scene-tel { position: absolute; right: 0; bottom: 0; font-size: 8px; font-size: clamp(5px, 1.56cqw, 11.5px); animation: scene-entree .7s .15s ease-out both; }
.scene-tel .tel { height: auto; }
.scene-tel .tel-form { padding-bottom: 1.5em; }
.scene-note { position: absolute; display: flex; align-items: center; gap: .8em; padding: .75em 1.1em .75em .75em; background: #fff; border-radius: 1.2em;
  font-size: 11px; font-size: clamp(8.5px, 2.15cqw, 14px); line-height: 1.3; color: var(--navy); box-shadow: 0 .9em 2.4em rgba(11, 45, 77, .2);
  animation: scene-entree .6s ease-out both; }
.scene-note .rep-ic { width: 2.6em; height: 2.6em; border-radius: .8em; margin: 0; }
.scene-note .rep-ic .ic { width: 1.4em; height: 1.4em; }
.scene-note b { display: block; font: 600 1em/1.25 var(--titre); }
.scene-note small { display: block; font-size: .86em; color: var(--texte-2); white-space: nowrap; }
.note-1 { left: -3%; top: 7%; animation-delay: .7s; }
.note-2 { left: 5%; bottom: 13%; animation-delay: 1.5s; }
.scene-credit { position: absolute; left: 4px; bottom: 0; max-width: 60%; font-size: 11.5px; line-height: 1.35; color: var(--territys-text-subtle, #64768C); }
@keyframes scene-entree { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- volets ---------- */
.plateforme { padding-bottom: 40px; }
.volet { padding: 80px 0; }
.volet.teinte { background: var(--surface); border-top: 1px solid var(--ligne-douce); border-bottom: 1px solid var(--ligne-douce); }
.volet-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.volet.inverse .volet-grille { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.volet.inverse .volet-texte { order: 2; }
.titre-volet { font-size: clamp(28px, 3.1vw, 40px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 16px; font-weight: 700; }
.volet-texte > p { color: var(--texte-2); font-size: 17px; margin: 0; max-width: 52ch; }
.atouts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; color: var(--texte-2); }
.atouts li { display: flex; gap: 12px; align-items: flex-start; }
.atouts .ic { width: 22px; height: 22px; color: var(--bleu); margin-top: 2px; }
.demo-note { text-align: center; color: var(--texte-3); font-size: 13px; margin: 0 auto; padding: 24px 0 8px; }

/* ---------- écrans de l'application ---------- */
.ecran { container-type: inline-size; }
.app { font-size: 11px; font-size: clamp(5px, 2cqw, 14px); line-height: 1.3; font-family: var(--corps); color: var(--navy); text-align: left;
  background: #fff; border: 1px solid var(--ligne); border-radius: 1.5em; box-shadow: var(--ombre-ecran); overflow: hidden; }
.app b, .app strong { font-weight: 600; }
.app-deux { display: grid; grid-template-columns: 11.5em minmax(0, 1fr); }
.app-menu { border-right: 1px solid var(--brume); padding: 1.4em .9em; display: grid; gap: .25em; align-content: start; background: #fff; }
.app-menu img { height: 2.3em; width: auto; margin: 0 0 1.1em .2em; }
.app-menu span { display: flex; align-items: center; gap: .7em; padding: .6em .7em; border-radius: .7em; font-size: .9em; font-weight: 500; color: var(--texte-2); white-space: nowrap; }
.app-menu .actif { background: var(--doux); color: var(--bleu); font-weight: 600; }
.app-corps { padding: 1.5em; min-width: 0; background: var(--fond); }

.fond-carte { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.carte-vive { position: relative; }
.carte-vue { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #E8EEF4; }      /* la carte et ses repères : fond fixe ou carte interactive */
.carte-zone { position: absolute; inset: 0; z-index: 0; visibility: hidden; }       /* z-index : garde les calques de la carte sous la mention de source */
.carte-zone.leaflet-container { font: inherit; background: #E8EEF4; }
.est-vive .carte-zone { visibility: visible; }
.est-vive .fond-carte, .est-vive .carte-vue > .pin { display: none; }
.carte-vue > .pin, .carte-vue > .carte-credit { z-index: 1; }
.carte-vue > button.pin:hover, .carte-vue > button.pin.actif { z-index: 2; }
.carte-vive > :not(.carte-vue) { z-index: 1; }
.pin-ancre { background: none; border: 0; }
.carte-credit { position: absolute; right: .7em; bottom: .6em; padding: .2em .6em; border-radius: .5em; background: rgba(255, 255, 255, .88);
  font-size: 11px; font-size: max(11px, .74em); line-height: 1.3; color: var(--texte-2); }
.carte-credit a { text-decoration: underline; text-underline-offset: 1px; }
.tel-plan .carte-credit { top: .6em; bottom: auto; }
.carte-activer { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 1em var(--corps); padding: .8em 1.3em; border: 0; border-radius: 99em;
  background: var(--navy); color: #fff; cursor: pointer; box-shadow: 0 .6em 1.8em rgba(11, 45, 77, .35); }
.ecran-bloc { min-width: 0; }
.ecran-aide[hidden] { display: none; }
.ecran-aide { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 16px 0 0; font-size: 13.5px; color: var(--texte-2); }
.ecran-aide .ic { width: 17px; height: 17px; color: var(--bleu); }
.ec-recherche { display: flex; align-items: center; gap: .7em; background: #fff; border: 1px solid var(--ligne); border-radius: .9em; padding: .75em 1em;
  color: var(--texte-3); font-size: .9em; white-space: nowrap; overflow: hidden; }
.ec-flotte { box-shadow: 0 .5em 1.6em rgba(11, 45, 77, .12); }
.ec-zoom { position: absolute; right: 1.4em; top: 1.4em; display: grid; background: #fff; border: 1px solid var(--ligne); border-radius: .8em; overflow: hidden; }
.ec-zoom button { width: 2.3em; height: 2.3em; padding: 0; border: 0; background: #fff; color: var(--navy); display: grid; place-items: center;
  font: 500 1.15em/1 var(--corps); cursor: pointer; }
.ec-zoom button:hover { background: var(--doux); }
.ec-zoom button:disabled { color: #9AAABD; cursor: default; background: #fff; }
.ec-zoom button + button { border-top: 1px solid var(--brume); }
.pin { position: absolute; width: 1.7em; height: 1.7em; margin: -1.9em 0 0 -.85em; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--c, var(--bleu-vif)); border: .17em solid #fff; box-shadow: 0 .3em .7em rgba(11, 45, 77, .3); }
.pin::after { content: ""; position: absolute; inset: 28%; border-radius: 50%; background: #fff; }
button.pin { padding: 0; font: inherit; cursor: pointer; appearance: none; transition: transform .15s; }
button.pin::before { content: ""; position: absolute; inset: -.5em; border-radius: 50%; }          /* zone de clic élargie */
button.pin:hover, button.pin.actif { transform: rotate(-45deg) scale(1.22); z-index: 2; }
button.pin.actif { box-shadow: 0 0 0 .22em rgba(11, 45, 77, .18), 0 .3em .7em rgba(11, 45, 77, .3); }
.pin.rouge { --c: var(--rouge-carte); } .pin.vert { --c: var(--turquoise); }
.ec-fiche { display: flex; align-items: center; gap: 1em; background: #fff; border-radius: 1.1em; padding: .85em 1.1em .85em .85em; box-shadow: 0 .8em 2.4em rgba(11, 45, 77, .16); }
.ec-fiche > div { min-width: 0; flex: 1; }
.ec-fiche b { font: 600 1.08em/1.25 var(--titre); display: block; }
.ec-fiche small { display: block; font-size: .88em; color: var(--texte-2); }
.ec-fiche small:empty, .ec-tags:empty { display: none; }
.ec-vignette { width: 4.4em; height: 4.4em; border-radius: .8em; display: grid; place-items: center; color: #fff; flex: 0 0 auto;
  background: linear-gradient(135deg, #2B6FE8, #00C6F0); }
.ec-vignette.terrain { background: linear-gradient(135deg, #12A594, #22C55E); }
.ec-vignette .ic { width: 2.1em; height: 2.1em; stroke-width: 1.6; }
.ec-tags { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .45em; }
.tag { display: inline-block; padding: .24em .7em; border-radius: .5em; font-size: .84em; font-weight: 600; background: var(--f, var(--tag-bleu-f)); color: var(--t, var(--tag-bleu-t)); }
.c-vert { --f: var(--tag-vert-f); --t: var(--tag-vert-t); } .c-violet { --f: var(--tag-violet-f); --t: var(--tag-violet-t); }
.c-rose { --f: var(--tag-rose-f); --t: var(--tag-rose-t); } .c-turq { --f: var(--tag-turq-f); --t: var(--tag-turq-t); }
.c-ambre { --f: var(--tag-ambre-f); --t: var(--tag-ambre-t); } .c-gris { --f: var(--tag-gris-f); --t: var(--tag-gris-t); }
.ec-tete { display: flex; align-items: center; justify-content: space-between; gap: 1em; margin-bottom: 1em; }
.ec-tete strong { font: 600 1.4em/1.2 var(--titre); }
.ec-tete small { font: 400 .68em var(--corps); color: var(--texte-2); }
.ec-bouton { display: inline-flex; align-items: center; gap: .4em; background: var(--bleu); color: #fff; border-radius: .7em; padding: .6em 1em; font-size: .9em; font-weight: 600; white-space: nowrap; }
.ec-bouton .ic { width: 1.1em; height: 1.1em; stroke-width: 2.2; }

/* écran cartographie */
.app-carte { position: relative; aspect-ratio: 50 / 36; }
.app-carte > .ec-recherche { position: absolute; left: 1.4em; top: 1.4em; right: 5.4em; }
.ec-filtres { position: absolute; left: 1.4em; top: 5.2em; display: flex; gap: .6em; }
.ec-filtres span { display: flex; align-items: center; gap: .3em; background: #fff; border: 1px solid var(--ligne); border-radius: .7em; padding: .5em .8em; font-size: .88em; font-weight: 600; }
.ec-filtres .ic { width: 1em; height: 1em; }
.ec-calques { position: absolute; right: 1.4em; top: 8.6em; width: 15.5em; background: #fff; border-radius: 1em; padding: 1.1em 1.2em; box-shadow: 0 .8em 2.4em rgba(11, 45, 77, .16); }
.ec-calques strong { font: 600 1.05em var(--titre); display: block; margin-bottom: .7em; }
.ec-calques ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6em; font-size: .88em; }
.ec-calques li { display: flex; align-items: center; gap: .6em; white-space: nowrap; }
.ec-calques li::before { content: "✓"; width: 1.55em; height: 1.55em; border-radius: .35em; flex: 0 0 auto; display: grid; place-items: center;
  font-size: .82em; font-weight: 700; line-height: 1; color: #fff; background: var(--c, var(--bleu)); }
.app-carte > .ec-fiche { position: absolute; left: 1.4em; bottom: 1.4em; width: 27em; }

/* écran contacts */
.ec-cadre { background: #fff; border: 1px solid var(--brume); border-radius: 1em; overflow: hidden; margin-top: 1em; }
.ec-table { width: 100%; border-collapse: collapse; font-size: .9em; }
.ec-table th { text-align: left; font-weight: 600; color: var(--texte-2); padding: .8em .9em; border-bottom: 1px solid var(--brume); }
.ec-table td { padding: .6em .9em; border-bottom: 1px solid var(--brume); white-space: nowrap; }
.ec-table tr:last-child td { border-bottom: 0; }
.ec-table td:first-child, .ec-table th:first-child { width: 2.4em; padding-right: 0; }
.ec-nom { display: flex; align-items: center; gap: .7em; font-weight: 600; }
.pastille { font-style: normal; width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; font-size: .8em; font-weight: 700; flex: 0 0 auto;
  background: var(--f, var(--tag-bleu-f)); color: var(--t, var(--tag-bleu-t)); }
.case { display: block; width: 1.2em; height: 1.2em; border: 1.5px solid var(--territys-border-strong, #B6C5D6); border-radius: .3em; }

/* téléphones */
.duo-tel { container-type: inline-size; }
.duo-tel-in { font-size: 11px; font-size: clamp(5px, 2cqw, 13px); display: flex; justify-content: center; align-items: flex-start; padding: 1.5em 0 4em; }
.tel { width: 21.5em; height: 44em; flex: 0 0 auto; display: flex; flex-direction: column; position: relative; overflow: hidden; background: #fff; color: var(--navy);
  border: .75em solid #0B1F33; border-radius: 3.6em; box-shadow: 0 2.5em 5em rgba(11, 45, 77, .26); font-family: var(--corps); line-height: 1.3; }
.tel::before { content: ""; position: absolute; top: .55em; left: 50%; width: 6.4em; height: 1.5em; margin-left: -3.2em; background: #0B1F33; border-radius: 1em; z-index: 3; }
.tel-1 { transform: rotate(-3deg); z-index: 1; }
.tel-2 { transform: rotate(4deg) translateY(2.4em); margin-left: -1.6em; }
.tel .tel-tete { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin: 0 0 .8em; padding: 3.1em 1.3em .9em; font: 600 1.15em var(--titre); }
.tel-tete .ic { width: 1.3em; height: 1.3em; }
.tel-onglets { display: grid; grid-template-columns: 1fr 1fr; margin: 0 1.3em .9em; padding: .25em; background: var(--territys-surface-alt, #F0F4F9); border-radius: .8em; font-size: .92em; font-weight: 600; text-align: center; color: var(--texte-2); }
.tel-onglets span { padding: .5em; border-radius: .6em; }
.tel-onglets .actif { background: #fff; color: var(--navy); box-shadow: 0 .1em .4em rgba(11, 45, 77, .12); }
.tel-plan { position: relative; flex: 1; min-height: 0; }
.tel-plan > .ec-fiche { position: absolute; left: .9em; right: .9em; bottom: .9em; padding: .7em; gap: .7em; }
.tel-plan .ec-vignette { width: 3.6em; height: 3.6em; }
.tel-nav { display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; padding: .7em .6em 1.3em; border-top: 1px solid var(--brume); font-size: .72em; text-align: center; color: var(--texte-2); }
.tel-nav span { display: grid; justify-items: center; gap: .3em; }
.tel-nav .ic { width: 1.9em; height: 1.9em; }
.tel-nav .actif { color: var(--bleu); font-weight: 600; }
.tel-nav .tel-plus { width: 3.6em; height: 3.6em; border-radius: 50%; background: var(--bleu); color: #fff; place-items: center; margin: -1.6em auto 0; box-shadow: 0 .5em 1.2em rgba(31, 95, 214, .4); }
.tel-form { padding: 0 1.3em 1.6em; display: flex; flex-direction: column; gap: .55em; flex: 1; }
.tel-medias { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7em; margin-bottom: .5em; }
.tel-medias span { display: grid; justify-items: center; gap: .4em; padding: .9em 0 .7em; border: 1px solid var(--ligne); border-radius: .9em; font-size: .85em; color: var(--texte-2); }
.tel-medias .ic { width: 1.9em; height: 1.9em; color: var(--bleu); }
.tel-form label { font-weight: 600; font-size: .95em; margin-top: .4em; }
.tel-champ { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--ligne); border-radius: .8em; padding: .8em .9em; font-size: .9em; color: var(--texte-3); }
.tel-champ.haut { align-items: flex-start; min-height: 6.4em; }
.tel-champ.rempli { color: var(--navy); min-height: 0; line-height: 1.4; }
.tel-medias .fait { border-color: var(--bleu); background: var(--doux); color: var(--bleu); font-weight: 600; }
.tel-lieu { position: relative; margin-top: .5em; border: 1px solid var(--ligne); border-radius: .9em; overflow: hidden; }
.tel-lieu img { width: 100%; height: 6.6em; object-fit: cover; }
.tel-lieu .pin { left: 50%; top: 4.2em; }
.tel-lieu span { display: flex; align-items: center; gap: .4em; padding: .55em .7em; font-size: .86em; font-weight: 600; background: #fff; }
.tel-lieu .ic { width: 1.2em; height: 1.2em; color: var(--bleu); }
.tel-ligne { display: flex; align-items: center; justify-content: space-between; margin-top: .6em; font-weight: 600; font-size: .95em; }
.tel-ligne span { display: flex; align-items: center; gap: .5em; }
.tel-ligne .ic { color: var(--bleu); }
.bascule { width: 2.9em; height: 1.6em; border-radius: 1em; background: var(--bleu); position: relative; }
.bascule::after { content: ""; position: absolute; right: .2em; top: .2em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; }
.tel-action { margin-top: auto; }
.scene-tel .tel-action { margin-top: .7em; }
.tel-action { background: var(--bleu); color: #fff; text-align: center; font-weight: 600; padding: .95em; border-radius: .9em; box-shadow: 0 .5em 1.2em rgba(31, 95, 214, .3); }

/* écran agenda */
.app-agenda, .app-tableau { padding: 1.6em; background: var(--fond); }
.ag-outils { display: flex; align-items: center; gap: .6em; margin-bottom: 1em; }
.ag-outils > span, .ag-vues { background: #fff; border: 1px solid var(--ligne); border-radius: .6em; font-size: .88em; font-weight: 600; }
.ag-outils > span { padding: .5em .8em; }
.ag-outils > b { font: 600 1.15em var(--titre); margin: 0 auto; white-space: nowrap; }
.ag-vues { display: flex; overflow: hidden; }
.ag-vues button { font: inherit; font-weight: 600; min-height: 26px; padding: .5em .9em; border: 0; background: none; color: var(--texte-2); cursor: pointer; }
.ag-vues button + button { border-left: 1px solid var(--ligne); }
.ag-vues [aria-pressed="true"] { background: var(--doux); color: var(--bleu); }
.ag-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: #fff; border: 1px solid var(--brume); border-radius: .9em; overflow: hidden; }
.ag-grille > b { padding: .65em; font-size: .85em; color: var(--texte-2); text-align: center; border-bottom: 1px solid var(--brume); }
.ag-grille > span { min-height: 4.9em; padding: .5em .55em; font-size: .85em; color: var(--texte-2); border-right: 1px solid var(--brume); border-bottom: 1px solid var(--brume); }
.ag-grille > span:nth-of-type(7n) { border-right: 0; }
.ag-grille > span:nth-last-of-type(-n + 7) { border-bottom: 0; }
.ag-grille i { font-style: normal; }
.ag-grille > .hors { color: #B6C5D6; }
.rdv { display: block; position: relative; z-index: 1; width: max-content; min-height: 24px; font: inherit; font-weight: 600; text-align: left; margin: .4em 0 0; padding: .32em .6em;
  border: 0; border-radius: .4em; background: var(--f, var(--tag-bleu-f)); color: var(--t, var(--tag-bleu-t)); box-shadow: 0 0 0 1px #fff; cursor: pointer;
  transition: transform .15s; }
.rdv:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 .3em .8em rgba(11, 45, 77, .18); }
.rdv[aria-pressed="true"] { background: var(--t, var(--tag-bleu-t)); color: #fff; box-shadow: 0 0 0 1px #fff, 0 .35em .9em rgba(11, 45, 77, .28); }
.rdv:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.ag-fiches { margin-top: 1em; }
.ag-fiche { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 1.6em; align-items: start; background: #fff; border: 1px solid var(--brume);
  border-radius: .9em; padding: 1.2em 1.3em; animation: ag-apparait .25s ease-out; }
.ag-fiche[hidden] { display: none; }
.ag-fiche-tete b { display: block; font: 600 1.25em/1.25 var(--titre); margin: .5em 0 .55em; }
.ag-fiche ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; font-size: .9em; color: var(--texte-2); }
.ag-fiche li { display: flex; gap: .55em; align-items: center; }
.ag-fiche li .ic { width: 1.2em; height: 1.2em; color: var(--bleu); }
.ag-fiche p { margin: 0 0 .9em; font-size: .92em; line-height: 1.5; color: var(--texte-2); }
.ag-suivi { display: flex; flex-wrap: wrap; gap: .45em; }
.ag-suivi .tag { display: inline-flex; align-items: center; gap: .35em; }
.ag-suivi .ic { width: 1.15em; height: 1.15em; }
@keyframes ag-apparait { from { opacity: 0; transform: translateY(.4em); } }
/* affichage en liste : les mêmes rendez-vous, un par ligne */
[data-vue="liste"] .ag-grille { display: grid; grid-template-columns: 1fr; gap: .45em; border: 0; background: none; border-radius: 0; overflow: visible; }
[data-vue="liste"] .ag-grille > b, [data-vue="liste"] .ag-grille > span:not(.avec) { display: none; }
[data-vue="liste"] .ag-grille > .avec { display: grid; grid-template-columns: 2.4em 1.6em minmax(0, 1fr); align-items: center; gap: .6em; min-height: 0; padding: .4em .5em .4em .9em;
  font-size: .95em; background: #fff; border: 1px solid var(--brume); border-radius: .8em; }
[data-vue="liste"] .avec::before { content: attr(data-j); color: var(--texte-2); }
[data-vue="liste"] .avec i { font: 700 1.15em var(--titre); color: var(--navy); }
[data-vue="liste"] .rdv { width: 100%; margin: 0; padding: .6em .9em; box-shadow: none; }

/* écran tableau de bord */
.tb-tuiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1em; }
.tb-tuile, .tb-carte { background: #fff; border: 1px solid var(--brume); border-radius: 1em; padding: 1.1em 1.2em; }
.tb-tuile .rep-ic { width: 2.3em; height: 2.3em; border-radius: .6em; margin-bottom: .9em; }
.tb-tuile .rep-ic .ic { width: 1.3em; height: 1.3em; }
.tb-tuile b { display: block; font: 700 1.55em/1.1 var(--titre); font-variant-numeric: tabular-nums; }
.tb-tuile small { color: var(--texte-2); font-size: .86em; }
.tb-cartes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 1em; margin-top: 1em; }
.tb-carte strong { display: block; font: 600 1.02em var(--titre); margin-bottom: .8em; }
.tb-courbe { display: block; width: 100%; height: auto; }
.tb-courbe text { font: 500 8.5px var(--corps); fill: #64768C; }
.tb-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: .95em; font-size: .88em; }
.tb-barres li { display: grid; grid-template-columns: 6.6em minmax(0, 1fr) 3em; align-items: center; gap: .7em; }
.tb-barres i { display: block; height: .7em; border-radius: 1em; background: var(--brume); position: relative; overflow: hidden; }
.tb-barres i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 2.6%); border-radius: 1em; background: var(--bleu-vif); }
.tb-barres .autres i::after { background: #8A9BB0; }
.tb-barres b { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- photos en situation ---------- */
/* 1.145.0 : QR codes de téléchargement de l'application (Android : fichier ; iPhone : TestFlight) */
.telecharger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0 0; max-width: 470px; }
.tl-qr { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--ligne-douce); border-radius: 16px; background: #fff; color: var(--navy); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.tl-qr:hover { border-color: var(--bleu); box-shadow: 0 8px 20px rgba(11, 45, 77, .08); }
.tl-qr img { width: 76px; height: 76px; display: block; }
.tl-qr b { display: block; font: 600 15px/1.2 var(--titre); }
.tl-qr small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.35; color: var(--texte-2); }
.vignette { margin: 28px 0 0; padding: 10px; max-width: 470px; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 16px; align-items: center;
  background: #fff; border: 1px solid var(--brume); border-radius: 20px; box-shadow: 0 10px 26px rgba(11, 45, 77, .06); }
.vignette img { width: 136px; height: 100px; object-fit: cover; border-radius: 12px; }
.vignette figcaption { font: 500 15px/1.4 var(--titre); color: var(--navy); padding-right: 8px; }
.rencontre { position: relative; margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--ombre-ecran); }
.rencontre img { width: 100%; height: auto; aspect-ratio: 4 / 3.5; object-fit: cover; object-position: 50% 0; }
.rencontre figcaption { position: absolute; inset: auto 0 0 0; padding: 96px 32px 28px; color: #fff; font: 600 clamp(20px, 2.3vw, 27px)/1.32 var(--titre); letter-spacing: -.01em;
  background: linear-gradient(180deg, rgba(6, 25, 44, 0), rgba(6, 25, 44, .9) 78%); }
/* 1.56.2 : vidéo verticale (9:16) montrée en entier : ses textes sont en bas de l'image */
.rencontre-video { justify-self: center; width: min(100%, 420px, calc(80vh * 9 / 16)); aspect-ratio: 9 / 16; background: #0a1f38; }
.rencontre-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-commandes { display: none; position: absolute; right: 12px; bottom: 12px; gap: 8px; }
.pilotee .video-commandes { display: flex; }
.video-bouton { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--corps); color: #fff; background: rgba(6, 25, 44, .74); border: 1px solid rgba(255, 255, 255, .38);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.video-bouton:hover { background: rgba(6, 25, 44, .92); }
.video-bouton:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.video-bouton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.video-bouton .ico-lire { fill: currentColor; stroke: none; }
.video-bouton-rond { width: 40px; padding: 0; justify-content: center; }
.video-bouton-rond .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-son="coupe"] .ico-actif, [data-son="actif"] .ico-coupe, [data-lecture="lecture"] .ico-lire, [data-lecture="arret"] .ico-pause { display: none; }

/* passage à l'action : photo, texte, et le fil d'une journée de campagne qui défile */
.cta-action { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 24px; padding: 0; text-align: left; min-height: 460px;
  isolation: isolate; }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-action::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(98deg, rgba(8, 34, 60, .96) 0%, rgba(8, 34, 60, .82) 46%, rgba(8, 34, 60, .3) 100%); }
.cta-texte { padding: 60px 0 60px 60px; }
.cta-action p { margin: 0; max-width: 540px; color: #D5E0EC; }
.cta-action .hero-actions { justify-content: flex-start; }
.fil { width: min(100% - 48px, 390px); margin: 44px 48px 44px auto; padding: 18px 18px 12px; border-radius: 22px; background: rgba(255, 255, 255, .97); color: var(--navy);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .38); }
.fil-titre { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; font: 600 13.5px/1.3 var(--titre); }
.fil-titre i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: var(--vert); animation: fil-pouls 2.2s ease-out infinite; }
.fil-titre span { flex: 1; }
.fil-pause { flex: 0 0 auto; width: 30px; height: 30px; padding: 0; border: 1px solid var(--ligne); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer;
  display: grid; place-items: center; }
.fil-pause::before { content: ""; width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.fil-pause[aria-pressed="true"]::before { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; margin-left: 3px; }
.fil.en-pause .fil-liste, .fil.en-pause .fil-titre i { animation-play-state: paused; }
.lecteurs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fil-fenetre { height: 236px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent); }
.fil-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; animation: fil-defile 28s linear infinite; }
.fil:hover .fil-liste { animation-play-state: paused; }
.fil-liste li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--brume);
  border-radius: 14px; background: #fff; }
.fil-liste .rep-ic { width: 36px; height: 36px; border-radius: 10px; margin: 0; }
.fil-liste .rep-ic .ic { width: 19px; height: 19px; }
.fil-liste b { display: block; font: 600 14px/1.3 var(--titre); }
.fil-liste small { display: block; font-size: 12.5px; line-height: 1.35; color: var(--texte-2); }
.fil-heure { font-size: 12px; font-weight: 600; color: var(--texte-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fil > small { display: block; margin-top: 8px; text-align: center; font-size: 12px; color: var(--texte-3); }
@keyframes fil-defile { to { transform: translateY(calc(-50% - 5px)); } }
@keyframes fil-pouls { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } }

/* ---------- équipe ---------- */
.profils img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 22px;
  background: linear-gradient(145deg, #EDF3FE, #E5F8FE 60%, #EAF9F0); }
.profils { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.profils b { display: block; font: 600 19px/1.3 var(--titre); color: var(--navy); margin: 16px 0 4px; }
.profils p { margin: 0; color: var(--texte-2); font-size: 15px; line-height: 1.5; }
.profils-note { margin: 18px 0 0; font-size: 13px; color: var(--texte-3); }

/* ---------- passage à l'action (cadre) ---------- */
.cta { padding: 8px 0 var(--section); }
.cta-boite { position: relative; overflow: hidden; border-radius: var(--r-xl); color: #fff; background: var(--nuit); }
.cta-boite h2 { color: #fff; font-size: var(--t-h2); letter-spacing: -.02em; line-height: 1.08; margin: 10px 0 16px; }
.cta-boite .surtitre { color: #8DB8FA; }

/* ---------- pour qui ---------- */
.pour-qui { background: var(--surface); border-top: 1px solid var(--ligne-douce); }
.publics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.public { display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--ligne); border-radius: var(--r-l); background: var(--fond); }
.public-ic { width: 46px; height: 46px; border-radius: var(--r-m); display: grid; place-items: center; margin-bottom: 20px;
  background: var(--f, var(--tag-bleu-f)); color: var(--t, var(--tag-bleu-t)); }
.public-ic .ic { width: 24px; height: 24px; }
.public h3 { font-size: var(--t-h3); line-height: 1.3; margin: 0 0 10px; }
.public > p { margin: 0; color: var(--texte-2); }
.public .atouts { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ligne-douce); font-size: 15px; gap: 10px; }
.public .atouts .ic { width: 20px; height: 20px; }
.pour-qui-suite { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; margin: 32px 0 0; color: var(--texte-2); }
.pour-qui-suite .ic { width: 18px; height: 18px; }

/* ---------- socle (section sombre) ---------- */
.socle .titre-section { max-width: 24ch; }
.axes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 1; }
.axe { border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-l); padding: 26px 24px; background: rgba(255, 255, 255, .04); }
.axe h3 { color: #fff; margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.axe h3::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 3px; margin-bottom: 16px; background: var(--cyan); }
.axe:nth-child(2) h3::before { background: var(--vert); } .axe:nth-child(3) h3::before { background: var(--bleu-vif); } .axe:nth-child(4) h3::before { background: var(--turquoise); }
.axe p { color: var(--sur-nuit-2); margin: 0; font-size: 15.5px; }

/* ---------- engagements ---------- */
.engagements { background: var(--surface); border-top: 1px solid var(--ligne-douce); }
.engagements .sous-titre a { color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.garanties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border-top: 1px solid var(--ligne); }
.garanties li { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--ligne); }
.garanties li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--ligne); }
.garanties h3 { font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.garanties p { margin: 0; color: var(--texte-2); font-size: 15.5px; }

/* ---------- équipe ---------- */
.equipe-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.equipe .tete-section { margin-bottom: 0; }

/* ---------- questions fréquentes ---------- */
.questions { background: var(--surface); border-top: 1px solid var(--ligne-douce); }
.questions-grille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.questions .tete-section { position: sticky; top: calc(var(--entete) + 32px); margin-bottom: 0; }
.questions .sous-titre a { color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--ligne); }
.faq-item { border-bottom: 1px solid var(--ligne); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font: 600 17.5px/1.4 var(--titre); color: var(--navy); }
.faq-item summary .ic { width: 22px; height: 22px; flex: none; color: var(--bleu); transition: transform .2s; }
.faq-item[open] summary .ic { transform: rotate(45deg); }
.faq-item summary:hover .faq-q { color: var(--bleu); }
.faq-item p { margin: -4px 40px 22px 4px; color: var(--texte-2); }
.faq-item p a { color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- rubriques légales ---------- */
.legal h3 { font-size: 17px; font-weight: 600; margin: 26px 0 6px; }
.legal p, .legal li { color: var(--texte-2); }
.legal p { margin: 0 0 10px; }
.legal ul { margin: 0 0 10px; padding-left: 20px; }
.legal li { margin: 4px 0; }
.legal b { color: var(--navy); font-weight: 600; }
.legal a:not(.fermer) { color: var(--bleu); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1120px) {
  .axes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .accroche { padding: 48px 0 64px; }
  .accroche .hero-grille { grid-template-columns: 1fr; gap: 40px; }
  .scene { max-width: 640px; margin: 0 auto; width: 100%; }
  .publics { grid-template-columns: 1fr; max-width: 640px; }
  .garanties { grid-template-columns: 1fr 1fr; }
  .garanties li, .garanties li:not(:nth-child(3n + 1)) { padding: 24px 24px 26px 0; border-left: 0; }
  .garanties li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--ligne); }
  .equipe-grille, .questions-grille { grid-template-columns: 1fr; gap: 36px; }
  .questions .tete-section { position: static; }
  .volet-grille, .volet.inverse .volet-grille { grid-template-columns: 1fr; gap: 36px; }
  .volet.inverse .volet-texte { order: 0; }
  .volet { padding: 56px 0; }
  .telecharger { max-width: none; }
  .profils { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-action { grid-template-columns: 1fr; gap: 0; }
  .cta-texte { padding: 44px 32px 0; }
  .fil { margin: 28px auto 36px; }
}
@media (max-width: 620px) {
  .accroche { padding: 32px 0 48px; }
  .h1-sur { font-size: 14px; margin-bottom: 14px; }
  .hero-actions .btn { flex: 1 1 auto; }
  /* accroche : la photo seule, avec une notification lisible ; le téléphone et ses écrans reviennent en taille réelle plus bas */
  .scene { padding-bottom: 0; }
  .scene-photo { width: 100%; border-radius: var(--r-l); }
  .scene-tel, .note-2 { display: none; }
  .scene-note { font-size: 13px; }
  .note-1 { left: 12px; top: auto; bottom: 46px; }
  .scene-credit { position: static; display: block; max-width: none; margin-top: 10px; font-size: 12px; }
  .axes, .garanties { grid-template-columns: 1fr; }
  .garanties li:nth-child(even) { padding-left: 0; border-left: 0; }
  .garanties li { padding: 22px 0; }
  .public { padding: 24px 20px; }
  .faq-q { font-size: 16.5px; }
  /* page plus courte sur téléphone : explications des piliers et comparaison de l'Observatoire réservées aux grands écrans
     (la comparaison reste sur /observatoire) ; vidéo de l'équipe à une taille raisonnable */
  .plateforme-piliers .pilier-plus { display: none; }
  #observatoire .obs-flux { display: none; }
  .rencontre-video { width: min(100%, 300px); }
  .faq-item p { margin-right: 0; }
  /* écrans simulés : texte d'au moins 11 px, colonnes secondaires masquées */
  .app-deux { grid-template-columns: minmax(0, 1fr); }
  .app-deux .app-menu { display: none; }
  .app-deux .app { font-size: 12px; }
  .ecran .app-deux, .ecran .app-tableau { font-size: 12px; }
  .ec-table th:nth-child(3), .ec-table td:nth-child(3), .ec-table th:nth-child(4), .ec-table td:nth-child(4) { display: none; }
  .ec-tete { flex-wrap: wrap; }
  .app-tableau { padding: 1.1em; }
  .tb-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7em; }
  .tb-cartes { grid-template-columns: minmax(0, 1fr); }
  .tb-courbe text { font-size: 11px; }
  .ag-fiche .ag-suivi .tag { font-size: 12px; }
  .app-agenda[data-vue="liste"] .ag-outils > span:first-child { display: none; }
  .app-agenda[data-vue="liste"] { font-size: 12.5px; }
  /* cartes : écran allégé et repères plus gros, pour rester lisibles et touchables */
  .app-carte { font-size: 14px; aspect-ratio: auto; }
  .app-carte > .carte-vue { position: relative; aspect-ratio: 900 / 648; }
  .app-carte > .ec-filtres, .app-carte > .ec-calques, .app-carte > .ec-recherche { display: none; }
  .app-carte > .ec-zoom { right: .8em; top: .8em; }
  .app-carte .ec-zoom button { font-size: 1.5em; }
  .app-carte .pin { font-size: 1.3em; }
  .app-carte > .ec-fiche { position: static; width: auto; border-radius: 0; box-shadow: none; border-top: 1px solid var(--brume); }
  .duo-tel-in { font-size: 13px; padding-bottom: 1.5em; }      /* un seul téléphone, à sa taille maximale */
  .tel-2 { display: none; }
  .tel-1 { transform: none; }
  [data-vue="liste"] .ag-fiche { grid-template-columns: 1fr; gap: .9em; }
  .vignette { grid-template-columns: 104px minmax(0, 1fr); }
  .vignette img { width: 104px; height: 84px; }
  .rencontre figcaption { padding: 72px 22px 22px; }
  .cta-texte { padding: 36px 22px 0; }
  .fil { width: calc(100% - 32px); margin: 24px auto 28px; }
  .profils { gap: 14px; margin-top: 40px; }
  .profils b { font-size: 17px; margin-top: 12px; }
  .profils p { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  button.pin, .rdv, .faq-item summary .ic { transition: none; }
  .scene-tel, .scene-note, .ag-fiche, .fil-liste, .fil-titre i { animation: none; }
  .fil-fenetre { height: auto; -webkit-mask-image: none; mask-image: none; }
  .fil-liste li:nth-child(n + 7), .fil-pause { display: none; }
}

/* ---- Carte de visite numérique (Territys 1.53.0) : bandeau sombre, carte sans contact et page ouverte sur le téléphone ---- */
.carte-visite { padding: 72px 0; }
.cvn-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.carte-visite .titre-volet { color: #fff; }
.carte-visite .cvn-texte p { color: #C9D6E5; font-size: 17px; }
.carte-visite .atouts { color: #DCE6F1; }
.carte-visite .atouts .ic { color: var(--cyan); }
.carte-visite .cvn-texte .cvn-note { margin-top: 22px; font-size: 14.5px; color: #A9BCD1; border-left: 3px solid var(--cyan); padding-left: 12px; }
.cvn-visuel { position: relative; min-height: 440px; display: flex; justify-content: center; align-items: center; }
.cvn-carte { position: absolute; left: 0; top: 34%; z-index: 2; width: 280px; aspect-ratio: 85.6 / 54; border-radius: 16px; padding: 18px 20px;
  display: flex; flex-direction: column; gap: 2px; color: #fff; background: linear-gradient(135deg, #1F5FD6, #0B2D4D 70%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .35); transform: rotate(-8deg); }
.cvn-carte img { margin-bottom: auto; }
.cvn-carte b { font-family: var(--titre); font-size: 19px; }
.cvn-carte span { font-size: 13px; color: #CFE0F7; }
.cvn-nfc { position: absolute; right: 18px; bottom: 16px; width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; opacity: .9; }
.cvn-tel { position: relative; margin-left: 140px; width: 250px; padding: 10px; border-radius: 34px; background: #0A1626; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.cvn-ecran { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 26px 16px 18px; border-radius: 26px; background: #F4F6FA;
  color: #0F172A; text-align: center; }
.cvn-orga { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--bleu); }
.cvn-avatar { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px 0; border-radius: 50%; color: #fff; font-weight: 700; font-size: 20px;
  background: linear-gradient(135deg, var(--bleu), var(--cyan)); }
.cvn-nom { font-family: var(--titre); font-size: 17px; color: var(--navy); }
.cvn-fonction { margin-bottom: 4px; font-size: 12px; color: #5B6474; }
.cvn-btn { width: 100%; padding: 9px 10px; border: 1.5px solid var(--bleu); border-radius: 11px; color: var(--bleu); font-size: 12.5px; font-weight: 600; }
.cvn-btn.plein { background: var(--bleu); color: #fff; }
.cvn-rdv { display: flex; flex-direction: column; width: 100%; margin-top: 6px; padding: 9px 10px; border: 1px solid #DFE5EE; border-radius: 11px;
  background: #fff; color: #5B6474; font-size: 11.5px; text-align: left; }
.cvn-rdv b { font-size: 11.5px; color: var(--bleu); }
@media (max-width: 900px) {
  .cvn-grille { grid-template-columns: 1fr; gap: 36px; }
  .cvn-visuel { min-height: 0; padding-top: 20px; }
  .cvn-carte { left: 4%; top: 8%; width: 230px; }
  .cvn-tel { margin-left: 120px; }
}
@media (max-width: 480px) {
  .cvn-carte { width: 196px; padding: 14px 16px; }
  .cvn-carte b { font-size: 16px; }
  .cvn-tel { margin-left: 86px; width: 220px; }
}

/* Bandeau « Éditeur français » (1.53.1, DEC-0124) : au-dessus du pied de page de chaque page du site. Mentions VÉRIFIABLES
   seulement (hébergeur et absence de transfert hors UE : rubrique Confidentialité ; éditeur : mentions légales). */
.editeur-fr { background: #fff; border-top: 1px solid var(--ligne); padding: 48px 0 40px; }
.editeur-fr + footer { border-top: 0; padding-top: 24px; }
.ef-grille { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.ef-logo { width: 240px; height: auto; }
.editeur-fr h2 { margin: 0 0 22px; color: var(--navy); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.25; }
.ef-garanties { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ef-garanties li { display: flex; gap: 14px; align-items: flex-start; padding: 4px 20px; border-left: 1px solid var(--ligne); }
.ef-garanties li:first-child { border-left: 0; padding-left: 0; }
.ef-garanties img { width: auto; height: 48px; flex: none; }
.ef-garanties p { margin: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.45; color: var(--texte-2); }
.ef-garanties b { color: var(--navy); font-size: 15px; line-height: 1.35; }
@media (max-width: 900px) {
  .ef-grille { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; }
  .ef-logo { width: 190px; }
  .ef-garanties { grid-template-columns: 1fr; gap: 20px; }
  .ef-garanties li { border-left: 0; padding: 0; flex-direction: column; align-items: center; gap: 8px; }
}

/* Démonstration adaptée au territoire du visiteur (1.54.0, DEC-0125) : encart sous les boutons du haut de page et choix de la
   commune. Rien n'est gardé dans le navigateur. */
.demo-lieu { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; font-size: 14px; color: var(--texte-2); }
.demo-lieu[hidden] { display: flex; visibility: hidden; min-height: 44px; }        /* place réservée : pas de décalage quand l'encart apparaît */
.demo-lieu .ic { width: 16px; height: 16px; color: var(--bleu); flex: none; }
.demo-lieu b { color: var(--navy); }
.demo-lieu-bouton { border: 1px solid var(--ligne); background: #fff; color: var(--bleu); border-radius: 999px; padding: 4px 12px;
  font: 600 13px/1.4 inherit; cursor: pointer; }
.demo-lieu-bouton:hover { border-color: var(--bleu); }
.demo-lieu-bouton:focus-visible, .demo-choix button:focus-visible, .demo-choix input:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; }
.demo-choix { position: relative; margin-top: 10px; max-width: 420px; background: #fff; border: 1px solid var(--ligne); border-radius: 14px;
  padding: 16px; box-shadow: 0 18px 40px rgba(11, 45, 77, .12); display: grid; gap: 10px; z-index: 5; }
.demo-choix label { font: 600 14px/1.3 inherit; color: var(--navy); padding-right: 28px; }
.demo-choix input { width: 100%; border: 1px solid var(--ligne); border-radius: 10px; padding: 10px 12px; font: inherit; }
.demo-choix-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 260px; overflow: auto; }
.demo-choix-liste button { width: 100%; text-align: left; background: none; border: 0; border-radius: 8px; padding: 8px 10px; cursor: pointer;
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: baseline; font: inherit; color: var(--navy); }
.demo-choix-liste button small { grid-column: 2; white-space: normal; }
.demo-choix-type { font: 600 11px/1.6 inherit; text-transform: uppercase; letter-spacing: .04em; color: var(--bleu); background: var(--doux);
  border-radius: 6px; padding: 0 6px; }
.demo-choix-liste button:hover { background: var(--doux); }
.demo-choix-liste small { color: var(--texte-2); white-space: nowrap; }
.demo-choix-vide { color: var(--texte-2); font-size: 14px; padding: 6px 10px; }
.demo-choix-aide { margin: 0; font-size: 13px; color: var(--texte-2); }
.demo-choix-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-choix-actions .btn { padding: 8px 14px; font-size: 14px; }
.demo-choix-fermer { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 22px; line-height: 1; cursor: pointer;
  color: var(--texte-2); }
img.fond-adapte { animation: fond-adapte .5s ease-out; }
@keyframes fond-adapte { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { img.fond-adapte { animation: none; } }
@media (max-width: 420px) { .telecharger { grid-template-columns: 1fr; } }
