/* Réservation d'une collecte des ordures (ECOTANK) — maquette du 2026-10-28. Chargée après socle.css, sur
   <html class="page-resa" data-marque="ecotank">. Formulaire en 6 étapes et résumé en direct ; coulisses de la démonstration
   (WhatsApp, Sémaphore) ; barre de démonstration et curseur. Animations coupées si l'appareil demande moins de mouvement (socle.css). */

.page-resa {
  --resa-bord: rgba(1, 25, 54, .13); --resa-champ: #f5f7f9; --resa-ok: #1f8a5b; --resa-erreur: #c62828; --resa-orange: #e59a1c;
  --resa-ease: cubic-bezier(.2, .7, .2, 1);
}
.page-resa .pied { padding-bottom: 76px; }

/* ---------- En-tête compact ---------- */
.resa-hero { padding: clamp(34px, 5vw, 60px) 0 clamp(150px, 15vw, 190px); }
.resa-hero__titre { font-size: clamp(2.2rem, 5.2vw, 4.1rem); max-width: 17ch; margin: 16px 0 18px; }
.resa-hero .hero__texte { margin-bottom: 26px; }
.fil { display: flex; align-items: center; gap: 6px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.fil a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .45); }
.fil .ic { width: 14px; height: 14px; }

/* ---------- Carte du formulaire : cartouche qui chevauche l'en-tête ---------- */
.resa { position: relative; z-index: 2; margin-top: clamp(-150px, -12vw, -110px); }
.resa__carte {
  background: #fff; background-clip: padding-box; scroll-margin-top: 96px;
  border: var(--cartouche-anneau) solid var(--cartouche-contour); border-radius: calc(36px + var(--cartouche-anneau));
  -webkit-backdrop-filter: var(--cartouche-flou); backdrop-filter: var(--cartouche-flou); box-shadow: var(--cartouche-ombre);
  padding: clamp(16px, 2.6vw, 34px) clamp(18px, 3.2vw, 44px) clamp(18px, 2.4vw, 28px);
}

/* ---------- Étapes : puces, ligne de progression et barge ---------- */
.resa__progression { position: relative; padding-top: 30px; margin-bottom: clamp(22px, 3vw, 34px); }
.resa__etapes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; }
.resa__pas { display: grid; justify-items: center; gap: 8px; text-align: center; }
.resa__puce {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--texte-doux); border: 1.5px solid var(--resa-bord);
  transition: background-color .45s var(--resa-ease), color .45s, border-color .45s, transform .45s var(--resa-ease), box-shadow .45s;
}
.resa__puce:disabled { cursor: default; }
.resa__puce > .ic { width: 20px; height: 20px; transition: opacity .3s, transform .45s var(--resa-ease); }
.resa__coche { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.resa__coche path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s var(--resa-ease) .2s; }
.resa__pas.est-actif .resa__puce {
  background: var(--marque); border-color: var(--marque); color: #fff; transform: scale(1.08);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--marque-clair) 45%, transparent);
}
.resa__pas.est-fait .resa__puce { background: var(--marque-fonce); border-color: var(--marque-fonce); color: #fff; }
.resa__pas.est-fait .resa__puce > .ic { opacity: 0; transform: scale(.4); }
.resa__pas.est-fait .resa__coche path { stroke-dashoffset: 0; }
.resa__pas.est-fait .resa__puce:not(:disabled):hover { transform: scale(1.08); }
.resa__libelle { font-size: 13px; font-weight: 500; color: var(--texte-doux); transition: color .3s; }
.resa__pas.est-actif .resa__libelle { font-weight: 600; color: var(--texte); }
.resa__pas.est-fait .resa__libelle { color: var(--texte); }

.resa__piste {
  --p: 0; position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 51.5px; height: 3px; border-radius: 3px;
  background: color-mix(in srgb, var(--marque-clair) 55%, #fff);
}
.resa__remplissage {
  position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--marque-fonce), var(--marque));
  transform-origin: left; transform: scaleX(var(--p)); transition: transform .9s var(--resa-ease);
}
/* La barge avance d'étape en étape, au-dessus de la puce active */
.resa__barge { position: absolute; z-index: 2; left: calc(var(--p) * 100%); bottom: 26px; width: 58px; transform: translateX(-50%); transition: left .9s var(--resa-ease); pointer-events: none; }
.resa__barge img { width: 58px; height: auto; transform-origin: 50% 85%; animation: tangage 3.2s ease-in-out infinite; filter: drop-shadow(0 4px 5px rgba(1, 25, 54, .25)); }
.resa__barge.est-en-route img { animation-duration: .9s; }
.resa__sillage { position: absolute; left: -14px; bottom: -4px; width: calc(100% + 28px); height: 7px; overflow: hidden; }
.resa__sillage path { fill: none; stroke: var(--marque-clair); stroke-width: 1.8; stroke-linecap: round; animation: sillage 1.4s linear infinite; }
@keyframes tangage { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-3px) rotate(1.5deg); } }
@keyframes sillage { to { transform: translateX(-15px); } }

/* ---------- Corps : panneaux et résumé ---------- */
.resa__corps { display: grid; grid-template-columns: minmax(0, 1fr) 286px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.resa__fenetre { position: relative; min-width: 0; }
.resa__panneau { min-width: 0; }
.resa__panneau[hidden] { display: none !important; }
.resa__tete { margin-bottom: 22px; }
.resa__h { margin-top: 6px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; outline: none; }
.resa__h .leger { font-weight: 300; font-style: italic; color: var(--marque); }
.resa__tete p { margin-top: 8px; max-width: 40em; font-size: 15px; color: var(--texte-doux); }

/* ---------- Champs ---------- */
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.champ { display: grid; gap: 7px; align-content: start; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ > label, .champ__libelle { font-size: 14px; font-weight: 600; color: var(--texte); }
.champ label i, .champ__libelle i, .resa__aide i { font-style: normal; color: var(--marque); }
.champ label small { font-size: 12.5px; font-weight: 400; color: var(--texte-doux); }
.champ input, .champ select, .tel-saisie {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--resa-bord);
  background: var(--resa-champ); font: inherit; font-size: 16px; color: var(--texte);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.champ select {
  appearance: none; padding-right: 42px; cursor: pointer;
  background: var(--resa-champ) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F367E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
}
.champ input:hover, .champ select:hover { border-color: rgba(1, 25, 54, .26); }
.champ input:focus, .champ select:focus, .tel-saisie:focus-within {
  outline: none; border-color: var(--marque); background-color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--marque-clair) 45%, transparent);
}
.champ input::placeholder { color: #9a9ca2; }
.champ.est-rempli input, .champ.est-rempli select { background-color: #fff; }
.tel-saisie { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.tel-saisie select {
  width: auto; min-height: 47px; padding: 0 30px 0 14px; border: 0; border-right: 1.5px solid var(--resa-bord); border-radius: 0;
  background-color: transparent; background-position: right 8px center; font-weight: 500; font-size: 15px;
}
.tel-saisie input { min-height: 47px; border: 0; border-radius: 0; background: transparent; }
.tel-saisie select:focus, .tel-saisie input:focus { box-shadow: none; background-color: transparent; border-color: var(--resa-bord); }
.champ.est-invalide input, .champ.est-invalide select, .champ.est-invalide .tel-saisie { border-color: var(--resa-erreur); background-color: #fff6f6; }
.champ.est-invalide .puces button, .champ.est-invalide .jours button:not(:disabled), .champ.est-invalide .heures button { border-color: color-mix(in srgb, var(--resa-erreur) 55%, transparent); }
.champ__erreur { font-size: 13px; color: var(--resa-erreur); }
.champ__erreur:empty { display: none; }

/* Puces : un ou plusieurs choix */
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puces button, .heures button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pilule);
  border: 1.5px solid var(--resa-bord); background: #fff; font-size: 15px; font-weight: 500; color: var(--texte);
  transition: background-color .3s var(--resa-ease), color .3s, border-color .3s, transform .2s var(--resa-ease), box-shadow .3s;
}
.puces button:hover, .heures button:hover, .jours button:not(:disabled):hover { border-color: var(--marque); }
.puces button:active, .heures button:active, .jours button:active { transform: scale(.95); }
.puces .ic { width: 17px; height: 17px; }
.puces [aria-checked="true"], .puces [aria-pressed="true"], .heures [aria-checked="true"] {
  background: var(--marque); border-color: var(--marque); color: #fff; box-shadow: 0 10px 20px -14px var(--marque-fonce);
}

/* Bascule à deux positions, curseur glissant */
.bascule {
  --i: 0; position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr 1fr; padding: 5px;
  border-radius: 18px; background: var(--resa-champ); border: 1.5px solid var(--resa-bord);
}
.bascule button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 4px 12px; border-radius: 13px; font-size: 15px; font-weight: 500; line-height: 1.25; text-align: center; color: var(--texte-doux);
  transition: color .35s var(--resa-ease);
}
.bascule [aria-checked="true"] { color: #fff; }
.bascule .ic { width: 18px; height: 18px; }
.bascule__curseur {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 13px;
  background: var(--marque); box-shadow: 0 8px 18px -10px var(--marque-fonce);
  transform: translateX(calc(var(--i) * 100%)); transition: transform .55s cubic-bezier(.5, 1.5, .45, 1);
}

/* ---------- Étape 2 : localisation et schéma de la côte ---------- */
.loc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 22px; align-items: start; }
.loc__champs, .loc__cas { display: grid; gap: 16px; }
.loc__cas[hidden] { display: none; }
.gps {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 20px; border-radius: 14px;
  border: 1.5px dashed var(--marque); background: color-mix(in srgb, var(--marque-clair) 18%, #fff); color: var(--marque); font-weight: 600;
  transition: background-color .3s, color .3s, border-color .3s;
}
.gps:hover { background: color-mix(in srgb, var(--marque-clair) 35%, #fff); }
.gps .ic { width: 20px; height: 20px; }
.gps.est-en-cours .ic { animation: viser 1s ease-in-out infinite; }
.gps.est-fait { border-style: solid; background: var(--marque); color: #fff; }
.gps__resultat { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--resa-ok); }
.gps__resultat .ic { width: 18px; height: 18px; flex: none; }
@keyframes viser { 50% { transform: scale(.75) rotate(45deg); } }

.carte-cote {
  position: relative; margin: 0; overflow: hidden; border-radius: 24px; background: #e6f4f5;
  border: 6px solid rgba(255, 255, 255, .85); box-shadow: 0 0 0 1px var(--resa-bord), 0 18px 36px -24px rgba(1, 25, 54, .5);
}
.carte-cote__svg { width: 100%; height: auto; }
.carte-cote__terre, .carte-cote__ile { fill: #f5f3ee; }
.carte-cote__trait, .carte-cote__ile { stroke: var(--marque); stroke-width: 2; stroke-opacity: .5; stroke-linejoin: round; }
.carte-cote__trait { fill: none; }
.carte-cote__houle path { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; opacity: .8; }
.carte-cote__villes text { font-size: 17px; font-weight: 600; fill: var(--marque-fonce); fill-opacity: .72; }
.carte-cote__iles { font-size: 14px; font-style: italic; font-weight: 500; fill: var(--marque); }
.carte-cote__note { font-size: 13px; fill: var(--marque-fonce); fill-opacity: .45; }
.carte-cote__ports circle { fill: #fff; stroke: var(--marque); stroke-width: 2.5; transition: fill .3s, opacity .4s, r .4s var(--resa-ease); }
.carte-cote__ports circle.est-choisi { fill: var(--marque); r: 8px; }
.carte-cote__zones circle {
  fill: color-mix(in srgb, var(--marque-clair) 40%, transparent); stroke: var(--marque); stroke-width: 1.5; stroke-dasharray: 4 4;
  opacity: .22; transition: opacity .4s, fill .4s;
}
.carte-cote[data-mode="mouillage"] .carte-cote__zones circle { opacity: .9; }
.carte-cote[data-mode="mouillage"] .carte-cote__ports circle { opacity: .3; }
.carte-cote__zones circle.est-choisi { fill: color-mix(in srgb, var(--marque) 24%, transparent); stroke-dasharray: none; opacity: 1; }
.carte-cote__epingle { opacity: 0; transition: transform .8s var(--resa-ease), opacity .3s; }
.carte-cote__epingle.est-visible { opacity: 1; }
.carte-cote__pointe path { fill: var(--marque); stroke: #fff; stroke-width: 2.5; }
.carte-cote__pointe circle { fill: #fff; }
.carte-cote__onde { fill: none; stroke: var(--marque); stroke-width: 2; opacity: 0; }
.carte-cote__epingle.tombe .carte-cote__pointe { animation: tombe .75s cubic-bezier(.3, 1.6, .5, 1); }
.carte-cote__epingle.tombe .carte-cote__onde { animation: onde 1.3s var(--resa-ease) .3s 2; }
@keyframes tombe { from { transform: translateY(-48px); opacity: 0; } 50% { opacity: 1; } to { transform: none; } }
@keyframes onde { from { r: 6px; opacity: .85; } to { r: 42px; opacity: 0; } }

/* ---------- Étape 3 : déchets ---------- */
.dechets { columns: 2; column-gap: 22px; }
.dechets__groupe { break-inside: avoid; margin-bottom: 18px; }
.dechets__groupe h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.dechets__groupe ul { display: grid; gap: 6px; }
.dechet {
  display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 8px;
  border-radius: 16px; border: 1.5px solid transparent; background: var(--resa-champ);
  transition: background-color .35s var(--resa-ease), border-color .35s, box-shadow .35s;
}
.dechet__icone { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff; color: var(--marque); transition: background-color .35s, color .35s; }
.dechet__icone .ic { width: 20px; height: 20px; }
.dechet__nom { font-size: 14px; font-weight: 500; line-height: 1.3; }
.dechet__nom small { display: block; font-size: 11.5px; font-weight: 400; color: var(--texte-doux); }
.dechet__tag {
  display: inline-block; padding: 1px 7px; border-radius: var(--r-pilule); vertical-align: 1px;
  font-style: normal; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; background: #fde9d6; color: #8a3b00;
}
.dechet.est-choisi { background: #fff; border-color: var(--marque); box-shadow: 0 10px 22px -16px var(--marque-fonce); }
.dechet.est-choisi .dechet__icone { background: var(--marque); color: #fff; }
.qte { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: var(--r-pilule); background: #fff; border: 1.5px solid var(--resa-bord); }
.qte:focus-within { border-color: var(--marque); }
.qte button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--marque); transition: background-color .2s, color .2s, transform .15s; }
.qte button:hover { background: color-mix(in srgb, var(--marque-clair) 35%, #fff); }
.qte button:active, .qte button.est-presse { transform: scale(.85); background: var(--marque); color: #fff; }
.qte button .ic { width: 16px; height: 16px; }
.qte input {
  width: 34px; height: 32px; padding: 0; border: 0; background: none; text-align: center; font: inherit; font-size: 15px; font-weight: 600;
  color: var(--texte); -moz-appearance: textfield; appearance: textfield;
}
.qte input::-webkit-inner-spin-button, .qte input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qte input:focus { outline: none; }
.qte input.est-bond { animation: bond .35s var(--resa-ease); }
.qte__unite { margin: 0 2px 0 -4px; font-size: 12px; color: var(--texte-doux); }
@keyframes bond { from { transform: translateY(-45%); opacity: 0; } to { transform: none; opacity: 1; } }
[data-erreur-dechets] { display: block; margin: -6px 0 12px; }

.photo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 4px; }
.photo__ajout {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; text-align: left;
  border: 1.5px dashed var(--resa-bord); transition: border-color .3s, background-color .3s;
}
.photo__ajout:hover { border-color: var(--marque); background: color-mix(in srgb, var(--marque-clair) 15%, #fff); }
.photo__ajout > .ic { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--marque-clair) 40%, #fff); color: var(--marque); }
.photo__ajout b { display: block; font-size: 14px; }
.photo__ajout small { font-size: 12.5px; color: var(--texte-doux); }
.photo__apercu { position: relative; width: 132px; height: 88px; margin: 0; overflow: hidden; border-radius: 14px; box-shadow: var(--ombre-douce); }
.photo__apercu[hidden] { display: none; }
.photo__apercu img { width: 100%; height: 100%; object-fit: cover; }
.photo__apercu figcaption {
  position: absolute; left: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-pilule);
  background: rgba(1, 25, 54, .78); color: #fff; font-size: 11px; font-weight: 600;
}
.photo__apercu figcaption .ic { width: 12px; height: 12px; }
.photo__apercu.est-nouvelle { animation: apparait .6s var(--resa-ease); }
@keyframes apparait { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Étape 4 : créneau ---------- */
.jours {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent);
}
.jours::-webkit-scrollbar { display: none; }
.jours button {
  flex: 0 0 68px; display: grid; justify-items: center; padding: 8px 4px 9px; border-radius: 16px; scroll-snap-align: start;
  border: 1.5px solid var(--resa-bord); background: #fff; line-height: 1.25;
  transition: background-color .3s var(--resa-ease), color .3s, border-color .3s, transform .3s var(--resa-ease), box-shadow .3s;
}
.jours small, .jours span { font-size: 12px; color: var(--texte-doux); }
.jours b { font-size: 21px; font-weight: 600; }
.jours [aria-checked="true"] { background: var(--marque); border-color: var(--marque); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 22px -14px var(--marque-fonce); }
.jours [aria-checked="true"] small, .jours [aria-checked="true"] span { color: rgba(255, 255, 255, .8); }
.jours button:disabled { cursor: not-allowed; background: var(--resa-champ); opacity: .5; }
.heures { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.heures__titre { grid-column: 1 / -1; margin-top: 2px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-doux); }
.heures button { position: relative; justify-content: center; min-height: 42px; padding: 0 4px; font-size: 14px; white-space: nowrap; }
.heures button.est-demande::after { content: ""; position: absolute; top: 5px; right: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--resa-orange); }
.heures__legende { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12.5px; color: var(--texte-doux); }
.heures__legende span { display: inline-flex; align-items: center; gap: 6px; }
.pt { width: 8px; height: 8px; border-radius: 50%; background: var(--marque-clair); }
.pt--demande { background: var(--resa-orange); }
.resa__note {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; padding: 12px 16px; border-radius: 14px;
  background: color-mix(in srgb, var(--marque-clair) 22%, #fff); font-size: 14px; color: var(--marque-fonce);
}
.resa__note .ic { width: 18px; height: 18px; margin-top: 2px; }

/* ---------- Étape 6 : récapitulatif ---------- */
.recap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.recap__bloc { position: relative; padding: 14px 16px; border-radius: 18px; background: var(--resa-champ); border: 1px solid var(--resa-bord); }
.recap__bloc--large { grid-column: 1 / -1; }
.recap__bloc h3 {
  display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--marque);
}
.recap__bloc h3 .ic { width: 16px; height: 16px; }
.recap__bloc p { font-size: 14px; line-height: 1.5; }
.recap__modifier {
  position: absolute; top: 9px; right: 9px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px;
  font-size: 12.5px; font-weight: 500; color: var(--texte-doux);
}
.recap__modifier:hover { background: #fff; color: var(--marque); }
.recap__modifier .ic { width: 14px; height: 14px; }
.recap__puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.recap__puces li { padding: 3px 10px; border-radius: var(--r-pilule); background: #fff; border: 1px solid var(--resa-bord); font-size: 13px; }
.recap__puces li.est-dangereux { border-color: #f3c9a3; background: #fff6ee; }
.recap__puces .ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; color: var(--marque); }
.accord { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; font-size: 14px; cursor: pointer; }
.accord input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.accord__case {
  flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid rgba(1, 25, 54, .3); background: #fff; color: #fff; transition: background-color .25s, border-color .25s;
}
.accord__case .ic { width: 16px; height: 16px; stroke-width: 2.6; transform: scale(0); transition: transform .3s cubic-bezier(.5, 1.8, .5, 1); }
.accord input:checked + .accord__case { background: var(--marque); border-color: var(--marque); }
.accord input:checked + .accord__case .ic { transform: none; }
.accord input:focus-visible + .accord__case { outline: 3px solid var(--marque); outline-offset: 2px; }
.accord a { text-decoration: underline; text-underline-offset: 2px; }
[data-erreur-accord] { display: block; margin-top: 6px; }
.antirobot {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 14px; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--resa-bord); background: var(--resa-champ); font-size: 14px; font-weight: 500;
}
.antirobot small { font-size: 12px; font-weight: 400; color: var(--texte-doux); }
.antirobot__etat { position: relative; display: grid; place-items: center; width: 24px; height: 24px; }
.antirobot__etat i { position: absolute; inset: 0; border-radius: 50%; border: 2.5px solid var(--marque-clair); border-top-color: var(--marque); animation: rotation .8s linear infinite; }
.antirobot__etat .ic { position: relative; width: 15px; height: 15px; color: #fff; stroke-width: 2.8; transform: scale(0); transition: transform .35s cubic-bezier(.5, 1.8, .5, 1); }
.antirobot.est-ok .antirobot__etat i { animation: none; border-color: var(--resa-ok); background: var(--resa-ok); }
.antirobot.est-ok .antirobot__etat .ic { transform: none; }
@keyframes rotation { to { transform: rotate(360deg); } }

/* ---------- Boutons d'action ---------- */
.resa__actions {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: clamp(20px, 3vw, 30px); padding-top: 18px; border-top: 1px solid var(--resa-bord);
}
.resa__carte.est-envoyee .resa__actions { display: none; }
.resa__aide { font-size: 13px; color: var(--texte-doux); }
.btn--retour { border-color: var(--resa-bord); background: #fff; color: var(--texte); }
.btn--retour:hover { border-color: var(--marque); }
.est-masque { visibility: hidden; }
[data-suivant] { min-width: 190px; }
[data-suivant].est-envoi { pointer-events: none; }
[data-suivant].est-envoi .ic { animation: envol .9s var(--resa-ease) forwards; }
@keyframes envol { 30% { transform: translate(-3px, 3px); } to { transform: translate(46px, -34px) rotate(12deg); opacity: 0; } }

/* ---------- Résumé en direct ---------- */
.resume {
  position: sticky; top: 98px; padding: 20px; border-radius: 24px; border: 1px solid var(--resa-bord);
  background: linear-gradient(165deg, color-mix(in srgb, var(--marque-clair) 30%, #fff), #fff 70%);
}
.resume__titre { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 15px; font-weight: 600; color: var(--marque-fonce); }
.resume__titre .ic { color: var(--marque); }
.resume__liste { display: grid; gap: 2px; margin: 0; }
.resume__liste > div { padding: 8px 10px; border-radius: 12px; }
.resume__liste dt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-doux); }
.resume__liste dt .ic { width: 15px; height: 15px; color: var(--marque); }
.resume__liste dd { margin: 3px 0 0 22px; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.resume__liste dd.est-vide { color: #a5a7ac; }
.resume__liste > div.est-maj { animation: surligne 1.3s var(--resa-ease); }
@keyframes surligne { from { background: color-mix(in srgb, var(--marque-clair) 65%, #fff); } to { background: transparent; } }
.resume__note { display: flex; gap: 8px; margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--resa-bord); font-size: 12.5px; line-height: 1.5; color: var(--texte-doux); }
.resume__note .ic { width: 16px; height: 16px; margin-top: 2px; color: var(--marque); }

/* ---------- Demande envoyée : la goutte se remplit, le suivi ---------- */
.resa__envoye { display: grid; justify-items: center; padding: 4px 0; text-align: center; }
.envoye__goutte { width: 108px; margin-bottom: 14px; }
.envoye__goutte svg { width: 100%; height: auto; overflow: visible; }
.envoye__fond { fill: color-mix(in srgb, var(--marque-clair) 30%, #fff); }
.envoye__niveau { transform: translateY(125px); }
.resa__envoye.est-visible .envoye__niveau { transform: none; transition: transform 1.6s cubic-bezier(.3, .7, .2, 1) .15s; }
.envoye__eau { fill: var(--marque); animation: vague 2.2s linear infinite; }
.envoye__contour { fill: none; stroke: var(--marque); stroke-width: 3; }
.envoye__coche { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.resa__envoye.est-visible .envoye__coche { stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--resa-ease) 1.3s; }
@keyframes vague { to { transform: translateX(60px); } }
.envoye__texte { max-width: 34em; margin: 10px auto 24px; color: var(--texte-doux); }
.envoye__texte b { color: var(--texte); white-space: nowrap; }
.suivi { display: grid; width: min(500px, 100%); margin: 0 0 26px; padding: 0; list-style: none; text-align: left; }
.suivi li { position: relative; display: grid; grid-template-columns: 34px 1fr; column-gap: 14px; padding-bottom: 18px; }
.suivi li::before { content: ""; position: absolute; left: 16px; top: 36px; bottom: 2px; width: 2px; border-radius: 2px; background: var(--resa-bord); }
.suivi li:last-child { padding-bottom: 0; }
.suivi li:last-child::before { display: none; }
.suivi li.est-fait::before { background: var(--marque); }
.suivi__puce {
  position: relative; grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--resa-bord); background: #fff; color: #fff; transition: background-color .4s, border-color .4s;
}
.suivi__puce .ic { width: 16px; height: 16px; stroke-width: 2.6; transform: scale(0); transition: transform .4s cubic-bezier(.5, 1.8, .5, 1); }
.suivi li.est-fait .suivi__puce { background: var(--marque); border-color: var(--marque); }
.suivi li.est-fait .suivi__puce .ic { transform: none; }
.suivi li.est-encours .suivi__puce { border-color: var(--marque); animation: attente 1.6s ease-out infinite; }
.suivi li.est-encours .suivi__puce::after { content: ""; position: absolute; inset: 0; margin: auto; width: 10px; height: 10px; border-radius: 50%; background: var(--marque); }
.suivi b { align-self: end; font-size: 15px; }
.suivi small { font-size: 13px; color: var(--texte-doux); }
.suivi li.est-fait.est-nouveau b { color: var(--resa-ok); }
@keyframes attente { from { box-shadow: 0 0 0 0 rgba(47, 54, 126, .35); } to { box-shadow: 0 0 0 12px rgba(47, 54, 126, 0); } }
.envoye__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Coulisses : WhatsApp de Mathilde, Sémaphore, téléphone du client ---------- */
.coulisses {
  margin-top: clamp(48px, 7vw, 90px); padding: clamp(56px, 8vw, 100px) 0; overflow: hidden; color: #fff;
  background: radial-gradient(110% 70% at 8% 0%, #10306a 0%, rgba(16, 48, 106, 0) 60%), #011936;
}
.coulisses__tete { max-width: 50em; }
.coulisses .surtitre { color: rgba(255, 255, 255, .75); }
.coulisses .titre { margin: 10px 0 14px; color: #fff; }
.coulisses .titre .leger { color: var(--marque-clair); }
.coulisses__tete p { font-size: 15px; color: rgba(255, 255, 255, .78); }
.coulisses__scene { display: grid; grid-template-columns: 268px minmax(0, 1fr) 268px; gap: clamp(18px, 2.4vw, 32px); align-items: start; margin-top: clamp(30px, 4vw, 48px); }
.coulisses figure { margin: 0; }
.coulisses figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .7); }
.coulisses figcaption b { color: #fff; }

/* Téléphone */
.tel__cadre { position: relative; padding: 9px; border-radius: 42px; background: #0b1220; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .16), 0 40px 70px -30px rgba(0, 0, 0, .85); }
.tel__cadre::before { content: ""; position: absolute; z-index: 5; top: 15px; left: 50%; width: 78px; height: 20px; margin-left: -39px; border-radius: 12px; background: #0b1220; }
.tel__ecran { position: relative; display: flex; flex-direction: column; height: 540px; overflow: hidden; border-radius: 33px; background: #efe9e1; color: #111b21; }
.tel__statut { display: flex; align-items: center; justify-content: space-between; padding: 11px 22px 6px 26px; background: #0f5e54; color: #fff; font-size: 12px; font-weight: 600; }
.tel__icones { display: inline-flex; align-items: flex-end; gap: 2px; }
.tel__icones i { width: 3px; border-radius: 1px; background: #fff; }
.tel__icones i:nth-child(1) { height: 5px; } .tel__icones i:nth-child(2) { height: 7px; } .tel__icones i:nth-child(3) { height: 9px; }
.tel__icones b { position: relative; width: 19px; height: 9px; margin-left: 5px; border: 1.5px solid #fff; border-radius: 3px; }
.tel__icones b::after { content: ""; position: absolute; inset: 1px 5px 1px 1px; border-radius: 1px; background: #fff; }
.tel__barre { display: flex; align-items: center; gap: 10px; padding: 7px 14px 10px; background: #0f5e54; color: #fff; }
.tel__avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #fff; }
.tel__avatar img { width: 15px; height: auto; }
.tel__barre b { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.tel__barre small { font-size: 11px; opacity: .8; }
.tel__chat {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; min-height: 0; padding: 12px 10px; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .35) 0 2px, transparent 3px) 0 0 / 26px 26px, #efe9e1;
}
.tel__vide { margin: auto; padding: 6px 12px; border-radius: 10px; background: rgba(255, 255, 255, .75); font-size: 12px; color: #54656f; text-align: center; }
.tel__saisie { display: flex; align-items: center; gap: 8px; padding: 8px 10px 14px; background: #efe9e1; }
.tel__saisie span { flex: 1; padding: 8px 14px; border-radius: 20px; background: #fff; font-size: 12.5px; color: #8696a0; }
.tel__saisie i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0f5e54; color: #fff; }
.tel__saisie .ic { width: 16px; height: 16px; }
.tel__notif {
  position: absolute; z-index: 6; top: 36px; left: 8px; right: 8px; display: flex; gap: 10px; padding: 10px 12px; border-radius: 18px;
  background: rgba(250, 250, 252, .97); color: #111; font-size: 12px; line-height: 1.35; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
  transform: translateY(-140%); opacity: 0; transition: transform .6s cubic-bezier(.3, 1.3, .5, 1), opacity .4s;
}
.tel__notif.est-visible { transform: none; opacity: 1; }
.tel__notif-icone { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 8px; background: #25a35a; color: #fff; }
.tel__notif-icone .ic { width: 17px; height: 17px; }
.tel__notif small { display: block; color: #667781; font-size: 11px; }

/* Bulles */
.bulle {
  position: relative; align-self: flex-start; max-width: 90%; padding: 7px 10px 5px; border-radius: 4px 12px 12px 12px;
  background: #fff; font-size: 12.5px; line-height: 1.42; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); flex: none;
}
.bulle--moi { align-self: flex-end; border-radius: 12px 4px 12px 12px; background: #d9fdd3; }
.bulle--info { align-self: center; max-width: 94%; border-radius: 10px; background: #fff7d1; color: #4a4a3a; font-size: 11.5px; }
.bulle p + p, .bulle p + ul, .bulle ul + p { margin-top: 4px; }
.bulle__titre { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.bulle__titre .ic { width: 15px; height: 15px; color: #0f5e54; }
.bulle__ref { font-size: 11px; color: #667781; }
.bulle ul { display: grid; gap: 3px; margin: 4px 0 0; padding: 0; list-style: none; }
.bulle li { display: grid; grid-template-columns: 15px 1fr; gap: 6px; }
.bulle li .ic { width: 14px; height: 14px; margin-top: 2px; color: #0f5e54; }
.bulle a { color: #027eb5; text-decoration: underline; }
.bulle p > .ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; color: #0f5e54; }
.bulle__heure { display: block; margin-top: 2px; text-align: right; font-size: 10px; color: #667781; }
.bulle__boutons { display: grid; gap: 4px; align-self: stretch; margin: -3px 0 2px; flex: none; }
.bulle__boutons button {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 10px; background: #fff;
  color: #027eb5; font-size: 12.5px; font-weight: 500; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); transition: background-color .2s, opacity .3s;
}
.bulle__boutons .ic { width: 14px; height: 14px; }
.bulle__boutons button.est-presse { background: #dff3ff; }
.bulle__boutons.est-utilise button { opacity: .55; pointer-events: none; }
.bulle--ecrit { display: inline-flex; gap: 4px; padding: 11px 13px; }
.bulle--ecrit i { width: 6px; height: 6px; border-radius: 50%; background: #8696a0; animation: points 1.1s infinite; }
.bulle--ecrit i:nth-child(2) { animation-delay: .15s; } .bulle--ecrit i:nth-child(3) { animation-delay: .3s; }
@keyframes points { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.entre { animation: entre .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.bulle.entre { transform-origin: 0 100%; }
.bulle--moi.entre { transform-origin: 100% 100%; }
@keyframes entre { from { transform: scale(.7) translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Sémaphore */
.sema__app {
  display: flex; flex-direction: column; min-height: 558px; overflow: hidden; border-radius: 22px; background: #f3f5f9; color: var(--texte);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .16), 0 40px 70px -30px rgba(0, 0, 0, .85);
}
.sema__barre { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-bottom: 1px solid #e3e7ef; background: #fff; font-size: 13px; }
.sema__logo { display: inline-flex; align-items: center; gap: 6px; margin-right: 12px; font-weight: 700; color: var(--marque-fonce); }
.sema__logo .ic { color: var(--marque); fill: color-mix(in srgb, var(--marque-clair) 60%, transparent); }
.sema__onglet { padding: 6px 12px; border-radius: 9px; font-weight: 500; color: var(--texte-doux); }
.sema__onglet.est-actif { background: color-mix(in srgb, var(--marque-clair) 30%, #fff); color: var(--marque-fonce); }
.sema__onglet b {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 4px; padding: 0 5px; border-radius: 10px;
  background: #c3c8d2; color: #fff; font-size: 11px; transition: background-color .3s;
}
.sema__onglet b.est-actif { background: var(--resa-orange); }
.sema__utilisateur { display: grid; place-items: center; width: 30px; height: 30px; margin-left: auto; border-radius: 50%; background: var(--marque-fonce); color: #fff; font-size: 13px; font-weight: 600; }
.sema__corps { flex: 1; display: grid; grid-template-rows: auto 1fr; gap: 12px; padding: 14px; }
.sema__vide { display: grid; place-items: center; min-height: 112px; border-radius: 14px; border: 1.5px dashed #d5dae3; font-size: 13px; color: var(--texte-doux); }
.sema__carte {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 14px 16px; border-radius: 14px;
  background: #fff; border: 1px solid #e3e7ef; border-left: 4px solid var(--resa-orange); box-shadow: 0 10px 24px -18px rgba(1, 25, 54, .5);
  transition: border-color .4s;
}
.sema__carte.est-validee { border-left-color: var(--resa-ok); }
.sema__carte-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.sema__badge { padding: 2px 9px; border-radius: var(--r-pilule); background: #fdecc8; color: #7a4a00; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.sema__carte.est-validee .sema__badge { background: #d6f2e3; color: #145c3c; }
.sema__carte-tete small { color: var(--texte-doux); font-size: 12px; }
.sema__carte ul { display: grid; gap: 3px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--texte-doux); }
.sema__carte li { display: grid; grid-template-columns: 16px 1fr; gap: 7px; }
.sema__carte li .ic { width: 14px; height: 14px; margin-top: 2px; color: var(--marque); }
.sema__infos { display: grid; gap: 6px; align-content: start; justify-items: end; }
.sema__puce { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: var(--r-pilule); background: #eef1f6; font-size: 12px; font-weight: 600; white-space: nowrap; }
.sema__puce .ic { width: 13px; height: 13px; }
.sema__puce--danger { background: #fff1e4; color: #8a3b00; }
.sema__miniature { width: 84px; height: 56px; border-radius: 10px; object-fit: cover; }
.sema__planning { padding: 12px 14px 14px; border-radius: 14px; background: #fff; border: 1px solid #e3e7ef; }
.sema__planning-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 13px; }
.sema__planning-tete span { color: var(--texte-doux); font-size: 12px; }
.sema__grille { display: grid; grid-template-columns: 86px minmax(0, 1fr); row-gap: 8px; }
.sema__heures { position: relative; height: 16px; font-size: 10.5px; color: var(--texte-doux); }
.sema__heures span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.sema__heures span:first-child { transform: none; }
.sema__heures span:last-child { transform: translateX(-100%); }
.sema__ligne-nom { align-self: center; font-size: 12px; font-weight: 600; line-height: 1.25; }
.sema__ligne-nom small { display: block; font-weight: 400; color: var(--texte-doux); }
.sema__ligne {
  --h: 5; position: relative; height: 48px; border-radius: 10px;
  background: linear-gradient(90deg, #e3e7ef 1px, transparent 1px) 0 0 / calc(100% / var(--h)) 100%, #f6f8fb;
}
.sema__bloc {
  position: absolute; top: 4px; bottom: 4px; left: calc(var(--d) * 100%); width: calc(var(--l) * 100%); overflow: hidden;
  padding: 5px 7px; border-radius: 8px; border-left: 3px solid var(--marque); background: color-mix(in srgb, var(--marque) 13%, #fff);
  color: var(--marque-fonce); font-size: 10.5px; line-height: 1.25; white-space: nowrap; text-overflow: ellipsis;
  transition: left .9s var(--resa-ease), background-color .4s, border-color .4s, color .4s, outline-color .4s;
  outline: 2px solid transparent; outline-offset: 1px;
}
.sema__bloc b { display: block; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sema__bloc.est-gene { outline-color: rgba(198, 40, 40, .7); }
.sema__bloc--demande { z-index: 1; min-width: 34px; border: 1.5px dashed var(--resa-orange); background: rgba(229, 154, 28, .14); color: #7a4a00; }
.sema__bloc--demande.est-conflit { border-color: var(--resa-erreur); background: rgba(198, 40, 40, .12); color: #8e1b1b; animation: conflit 1s ease-in-out infinite; }
.sema__bloc--demande.est-libre { border-color: var(--resa-ok); background: rgba(31, 138, 91, .13); color: #145c3c; animation: none; }
.sema__bloc--demande.est-planifie { border: 0; border-left: 3px solid #145c3c; background: var(--resa-ok); color: #fff; animation: none; }
@keyframes conflit { 50% { box-shadow: 0 0 0 4px rgba(198, 40, 40, .2); } }
.sema__alerte { grid-column: 2; display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--resa-erreur); }
.sema__alerte .ic { width: 14px; height: 14px; }
.sema__suggestion {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; line-height: 1.45;
  border: 1px solid color-mix(in srgb, var(--marque) 25%, transparent); background: linear-gradient(120deg, color-mix(in srgb, var(--marque-clair) 35%, #fff), #fff);
}
.sema__suggestion[hidden] { display: none; }
.sema__suggestion > .ic { width: 20px; height: 20px; flex: none; color: var(--marque); }
.sema__suggestion b { color: var(--marque-fonce); }
.coulisses__fin {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 30px; padding: 18px 22px;
  border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
}
.coulisses__fin[hidden] { display: none; }
.coulisses__fin p { max-width: 42em; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.coulisses__fin p b { color: #fff; }
.coulisses__fin > div { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Barre de démonstration et curseur ---------- */
.demo {
  position: fixed; z-index: 70; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 4px;
  width: min(660px, calc(100vw - 32px)); padding: 7px; overflow: hidden; border-radius: 30px; transform: translateX(-50%);
  background: rgba(1, 25, 54, .9); color: #fff; -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.demo__bouton { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #fff; font-size: 13px; font-weight: 600; transition: background-color .2s; }
.demo__bouton:hover { background: rgba(255, 255, 255, .12); }
.demo__bouton .ic { width: 18px; height: 18px; }
.demo__lecture { background: var(--marque-clair); color: var(--marque-fonce); }
.demo__lecture:hover { background: #fff; }
.demo__texte { flex: 1; min-width: 0; display: grid; padding: 0 8px; line-height: 1.3; }
.demo__etiquette { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--marque-clair); }
.demo.est-en-pause .demo__etiquette::after { content: " · en pause"; }
.demo__legende { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: 13.5px; }
.demo__legende.change { animation: legende .5s var(--resa-ease); }
@keyframes legende { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.demo__progression { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .1); }
.demo__progression i { display: block; height: 100%; background: var(--marque-clair); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--resa-ease); }

.curseur { position: fixed; z-index: 80; left: 0; top: 0; width: 26px; height: 26px; pointer-events: none; opacity: 0; transform: translate(-100px, -100px); transition: opacity .3s; will-change: transform; }
.curseur.est-visible { opacity: 1; }
.curseur svg { position: relative; z-index: 1; width: 26px; height: 26px; fill: #011936; stroke: #fff; stroke-width: 1.6; stroke-linejoin: round; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); transition: transform .12s; }
.curseur__onde { position: absolute; left: -15px; top: -17px; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--marque-clair) 75%, transparent); transform: scale(0); opacity: 0; }
.curseur.clic svg { transform: scale(.82); }
.curseur.clic .curseur__onde { animation: clic .55s var(--resa-ease); }
@keyframes clic { from { transform: scale(.2); opacity: .9; } to { transform: scale(1.4); opacity: 0; } }
/* Écran tactile : un doigt plutôt qu'une flèche */
@media (hover: none) {
  .curseur svg { display: none; }
  .curseur::before { content: ""; position: absolute; left: -9px; top: -11px; width: 26px; height: 26px; border-radius: 50%; background: rgba(1, 25, 54, .3); border: 2px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .3); }
}

/* ---------- Écrans plus étroits ---------- */
@media (max-width: 1180px) {
  .coulisses__scene { grid-template-columns: 1fr 1fr; justify-items: center; }
  .sema { grid-column: 1 / -1; order: -1; width: 100%; }
  .tel { width: min(300px, 100%); }
}
@media (max-width: 1020px) {
  .resa__corps { grid-template-columns: 1fr; }
  .resume { display: none; }
}
@media (max-width: 800px) {
  .page-resa .maquette { bottom: 92px; }
  .demo { bottom: 12px; }
}
@media (max-width: 760px) {
  .resa__progression { padding-top: 26px; }
  .resa__libelle { display: none; }
  .resa__puce { width: 38px; height: 38px; }
  .resa__puce > .ic { width: 17px; height: 17px; }
  .resa__piste { top: 43.5px; }
  .resa__barge { bottom: 22px; width: 46px; }
  .resa__barge img { width: 46px; }
  .champs, .loc, .recap { grid-template-columns: 1fr; }
  .dechets { columns: 1; }
  .heures { grid-template-columns: repeat(4, 1fr); }
  .resa__aide { display: none; }
  .resa__actions .btn { padding: 0 18px; }
  [data-suivant] { min-width: 0; flex: 1; }
  .coulisses__scene { grid-template-columns: 1fr; }
  .sema__grille { grid-template-columns: 70px minmax(0, 1fr); }
  .sema__carte { grid-template-columns: 1fr; }
  .sema__infos { justify-items: start; grid-auto-flow: column; justify-content: start; }
  .sema__miniature { display: none; }
  .demo__vitesse { display: none; }
}
