/* P&E Services 974 : plomberie et électricité à La Réunion.
   Langage visuel : un plan technique (bleu nuit de calque, trame fine, cotes),
   le cuivre pour le courant, le turquoise pour l'eau. Aucune photo d'illustration : seulement
   les siennes, s'il en envoie. */

@font-face {
  font-family: "Archivo";
  src: url("polices/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("polices/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --nuit: #081631;
  --nuit-2: #0E2148;
  --nuit-3: #132A5A;
  --trait: rgba(140, 180, 255, 0.10);
  --cuivre: #F2A93B;
  --cuivre-vif: #FFC766;
  --cuivre-sombre: #B9741A;
  --eau: #3CC8E8;
  --papier: #F3F6FA;
  --papier-2: #E6ECF4;
  --encre: #0B1630;
  --gris: #55647F;
  --gris-clair: #A9B6CE;
  --blanc: #FFFFFF;
  --marge: clamp(18px, 5vw, 56px);
  --largeur: 1180px;
  --rayon: 22px;
  --f-titre: "Archivo", "Arial Narrow", Arial, sans-serif;
  --f-texte: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --ressort: cubic-bezier(.2, .9, .25, 1);
  color-scheme: light;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--papier);
  font-size-adjust: from-font;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--f-titre); margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 3px; border-radius: 6px; }

main { overflow-x: clip; }
.corps { max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding-inline: var(--marge); }
.corps-etroit { max-width: calc(820px + 2 * var(--marge)); }

h2 {
  font-size: clamp(36px, 5.6vw, 64px);
  font-weight: 900;
  font-stretch: 112%;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 14px;
}

.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titre); font-stretch: 75%; font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--cuivre);
}
.surtitre::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.surtitre-sombre { color: var(--cuivre-sombre); }
.etoiles { color: var(--cuivre); letter-spacing: 2px; }

/* ───────── Boutons ───────── */
.bouton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  font-family: var(--f-titre); font-weight: 800; font-size: 17px;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ressort), box-shadow .2s, background-color .2s, border-color .2s;
}
.bouton:active { transform: scale(.97); }
.bouton-cuivre {
  background: var(--cuivre); color: var(--nuit);
  box-shadow: 0 12px 34px -10px rgba(242, 169, 59, .75), inset 0 -3px 0 rgba(0, 0, 0, .14);
}
/* Un reflet qui passe sur le bouton principal. */
.bouton-cuivre::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-120%);
}
.bouton-cuivre:hover { background: var(--cuivre-vif); }
.bouton-grand { min-height: 60px; font-size: 18px; padding: 0 30px; }
.bouton-verre { color: var(--blanc); border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bouton-verre:hover { border-color: var(--blanc); background: rgba(255, 255, 255, .14); }
.bouton-contour-sombre { color: var(--encre); border-color: rgba(11, 22, 48, .18); background: var(--blanc); }
.bouton-contour-sombre:hover { border-color: var(--encre); }
.bouton-petit { min-height: 44px; padding: 0 18px; font-size: 15px; }
.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ───────── Barre de progression ───────── */
.progression {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70;
  background: linear-gradient(90deg, var(--eau), var(--cuivre));
  transform-origin: 0 50%; transform: scaleX(var(--progres, 0));
}

/* ───────── En-tête ───────── */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; gap: 14px;
  padding: 14px var(--marge);
  color: var(--blanc);
  transition: background-color .35s, padding .35s, box-shadow .35s;
}
.entete.colle {
  padding-block: 10px;
  background: rgba(8, 22, 49, .9);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8);
}
.marque { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--blanc); }
.marque-sigle { font-family: var(--f-titre); font-weight: 900; font-stretch: 125%; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.marque-et { color: var(--cuivre); margin: 0 1px; }
.marque-nom { font-family: var(--f-titre); font-stretch: 75%; font-weight: 600; font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.badge-apercu {
  font-family: var(--f-titre); font-stretch: 75%; font-weight: 700; font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 2px 8px;
}
.nav { display: none; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .8); transition: color .15s; }
.nav a:hover { color: var(--cuivre-vif); }
.entete-appel { margin-left: auto; }
@media (min-width: 980px) { .nav { display: flex; } .entete-appel { margin-left: 10px; } }
@media (max-width: 560px) {
  .entete-appel span { display: none; }
  .entete-appel { width: 46px; min-height: 46px; padding: 0; }
  .marque-nom { display: none; }
}

/* ───────── Le haut de page ───────── */
.heros {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: grid; align-items: end;
  background: var(--nuit); color: var(--blanc);
  padding: 110px 0 clamp(70px, 9vw, 110px);
}
/* Le schéma : le réseau d'eau en tuyaux arrondis, le circuit en fils à angle droit. */
.schema { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.schema .tuyau { stroke: rgba(60, 200, 232, .16); stroke-width: 16; }
.schema .flux { stroke: var(--eau); stroke-width: 5; stroke-dasharray: 0 22; opacity: .75; }
.schema .fil { stroke: rgba(242, 169, 59, .32); stroke-width: 2.5; stroke-linecap: square; stroke-linejoin: miter; }
.schema .impulsion { stroke: var(--cuivre-vif); stroke-width: 3.5; stroke-dasharray: 0 1000; filter: drop-shadow(0 0 6px rgba(242, 169, 59, .9)); }
.schema .raccord { fill: var(--nuit); stroke: var(--eau); stroke-width: 3; opacity: .8; }
.schema .borne { fill: var(--cuivre); stroke: var(--nuit); stroke-width: 3; }
.schema .cote { fill: var(--gris-clair); stroke: none; opacity: .55; font: 600 15px var(--f-titre); font-stretch: 75%; letter-spacing: .08em; }
.heros-voile {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 22, 49, .5) 0%, rgba(8, 22, 49, .05) 22%, rgba(8, 22, 49, .25) 42%, rgba(8, 22, 49, .78) 66%, var(--nuit) 100%),
    radial-gradient(70% 45% at 85% 15%, rgba(242, 169, 59, .28), transparent 70%);
}
@media (min-width: 980px) {
  .heros-voile { background:
    linear-gradient(180deg, rgba(8, 22, 49, .45) 0%, rgba(8, 22, 49, .1) 25%, rgba(8, 22, 49, .55) 70%, var(--nuit) 100%),
    linear-gradient(90deg, rgba(8, 22, 49, .9) 0%, rgba(8, 22, 49, .55) 45%, rgba(8, 22, 49, .05) 80%),
    radial-gradient(60% 50% at 80% 20%, rgba(242, 169, 59, .25), transparent 70%); }
}
.heros .plan { z-index: -1; }
.plan {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--trait) 1px, transparent 1px),
    linear-gradient(90deg, var(--trait) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 70% at 30% 70%, #000 20%, transparent 80%);
}
.etincelles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.heros-corps {
  position: relative; z-index: 3;
  width: 100%; max-width: calc(var(--largeur) + 2 * var(--marge)); margin: 0 auto; padding-inline: var(--marge);
}
.note-google {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px; text-decoration: none;
  background: rgba(255, 255, 255, .94); color: var(--encre);
  box-shadow: 0 14px 40px -14px rgba(0, 0, 0, .6);
  font-size: 15px;
}
.note-google .g { width: 30px; height: 30px; padding: 5px; background: var(--blanc); border-radius: 50%; }
.note-google strong { font-family: var(--f-titre); font-weight: 900; font-size: 17px; }
.note-google .etoiles { color: #F4B400; letter-spacing: 1px; }
.discret { color: var(--gris); }
.titre-heros {
  font-size: clamp(54px, 13.5vw, 128px);
  font-weight: 900; font-stretch: 120%;
  line-height: .9; letter-spacing: -0.04em;
  margin: 26px 0 24px;
}
.titre-heros { text-shadow: 0 4px 30px rgba(8, 22, 49, .55); }
/* Le mot monte depuis sous la ligne : on ne coupe que le bas, la lueur reste entière. */
.titre-heros .ligne { display: block; clip-path: inset(-60% -40% -.06em -40%); padding-bottom: .06em; margin-bottom: -.06em; }
.titre-heros .ligne > span { display: inline-block; }
.neon { color: var(--cuivre); text-shadow: 0 0 34px rgba(242, 169, 59, .55); }
.chapeau { max-width: 50ch; font-size: clamp(17px, 1.7vw, 20px); color: #D3DCEE; }
.chapeau strong { color: var(--cuivre-vif); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bulle-avis {
  margin: 34px 0 0; max-width: 300px;
  padding: 16px 18px; border-radius: 18px 18px 18px 4px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
}
.bulle-avis blockquote { margin: 6px 0 4px; font-family: var(--f-titre); font-weight: 800; font-size: 19px; line-height: 1.2; }
.bulle-avis figcaption { font-size: 13px; color: var(--gris-clair); }
@media (min-width: 980px) {
  .bulle-avis { position: absolute; right: var(--marge); bottom: 40px; margin: 0; }
}
.defiler {
  position: absolute; left: 50%; bottom: 22px; z-index: 3; translate: -50% 0;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px;
  display: none;
}
.defiler span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cuivre); }
@media (min-width: 980px) { .defiler { display: block; } }

/* ───────── Le ruban ───────── */
.ruban {
  position: relative; z-index: 4;
  background: var(--cuivre); color: var(--nuit);
  margin: -26px -4% 0; padding: 14px 0;
  rotate: -2.2deg;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  overflow: hidden;
}
.ruban-piste { display: flex; align-items: center; gap: 22px; width: max-content; }
.ruban span { font-family: var(--f-titre); font-weight: 900; font-stretch: 112%; font-size: 21px; letter-spacing: -0.01em; text-transform: uppercase; white-space: nowrap; }
.ruban i { font-style: normal; font-size: 16px; }

/* ───────── En direct ───────── */
.direct { background: var(--nuit); color: var(--blanc); padding: clamp(80px, 10vw, 120px) 0 clamp(56px, 8vw, 90px); margin-top: -40px; }
.direct-grille { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .direct-grille { grid-template-columns: 1.1fr 1fr; gap: 22px; } }
.carte-direct {
  position: relative; border-radius: 26px; padding: 28px;
  background: linear-gradient(160deg, var(--nuit-3), var(--nuit-2));
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}
.carte-direct::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--angle, 0deg), var(--cuivre), transparent 25%, var(--eau) 50%, transparent 75%, var(--cuivre));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.puce-live { width: 10px; height: 10px; border-radius: 50%; background: #3EE08F; flex: none; }
.direct-tete { display: flex; align-items: center; gap: 10px; font-family: var(--f-titre); font-stretch: 75%; font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: #8FF0C0; }
.direct-heure { margin-top: 12px; font-family: var(--f-titre); font-weight: 900; font-stretch: 112%; font-size: clamp(64px, 12vw, 92px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.direct-lieu { font-family: var(--f-texte); font-weight: 500; font-size: 15px; letter-spacing: 0; color: var(--gris-clair); }
.direct-phrase { margin-top: 10px; font-size: 18px; color: #DCE5F5; }
.direct-numero { display: inline-block; margin-top: 18px; text-decoration: none; font-family: var(--f-titre); font-weight: 900; font-stretch: 110%; font-size: 30px; color: var(--cuivre); }
.direct-faits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.direct-faits .fait { --teinte: 242, 169, 59; position: relative; overflow: hidden; border-radius: 18px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; min-height: 132px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(var(--teinte), .22), transparent 60%), rgba(255, 255, 255, .05);
  border: 1px solid rgba(var(--teinte), .3); transition: transform .3s var(--ressort), border-color .3s; }
.direct-faits .fait:hover { transform: translateY(-3px); border-color: rgba(var(--teinte), .7); }
.direct-faits .fait-feries { --teinte: 255, 120, 90; }
.direct-faits .fait-devis { --teinte: 62, 224, 143; }
.direct-faits .fait-zone { --teinte: 92, 170, 255; }
.fait-ico { position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: rgba(var(--teinte), .16); fill: none; stroke: rgb(var(--teinte)); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.direct-faits dt { font-size: 12px; color: var(--gris-clair); text-transform: uppercase; letter-spacing: .12em; margin-top: 52px; }
.direct-faits dd { margin: 2px 0 0; font-family: var(--f-titre); font-weight: 800; font-size: 22px; color: var(--blanc); }
.direct-faits .fait::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; border: 10px solid rgba(var(--teinte), .08); }
/* L'horloge tourne pour de bon : 24h/24. */
.fait-horaires .aiguille-m { transform-origin: 12px 12px; }
.fait-horaires .aiguille-h { transform-origin: 12px 12px; }

/* ───────── Le choix du souci ───────── */
.souci { padding: clamp(80px, 11vw, 140px) 0; background: var(--papier); }
.souci-choix { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 26px; }
.pastille {
  font: 600 16px/1 var(--f-texte); color: var(--encre);
  padding: 14px 18px; border-radius: 999px; cursor: pointer;
  background: var(--blanc); border: 1.5px solid var(--papier-2);
  box-shadow: 0 6px 16px -12px rgba(11, 22, 48, .4);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ressort);
}
.pastille:hover { border-color: var(--encre); transform: translateY(-2px); }
.pastille[aria-pressed="true"] { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); box-shadow: 0 12px 24px -12px rgba(8, 22, 49, .8); }
.souci-panneau {
  display: grid; overflow: hidden;
  background: var(--blanc); border-radius: 28px;
  border: 1px solid var(--papier-2);
  box-shadow: 0 40px 70px -45px rgba(11, 22, 48, .45);
}
/* Le pictogramme du souci choisi : une petite icône de catégorie au-dessus du titre, à toutes les largeurs. */
.souci-visuel { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: radial-gradient(70% 70% at 50% 40%, var(--nuit-3), var(--nuit)); box-shadow: 0 12px 24px -14px rgba(8, 22, 49, .8); }
.souci-visuel svg { width: 30px; height: 30px; fill: none; stroke: var(--eau); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(60, 200, 232, .55)); }
.souci-visuel[data-teinte="cuivre"] svg { stroke: var(--cuivre-vif); filter: drop-shadow(0 0 6px rgba(242, 169, 59, .6)); }
.souci-visuel.change svg { animation: allume .6s var(--ressort) backwards; }
@keyframes allume { from { opacity: 0; transform: scale(.7); } }
.souci-texte { padding: clamp(24px, 4vw, 44px); display: grid; gap: 14px; align-content: center; }
.souci-texte h3 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 900; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1.04; }
.souci-texte p { color: var(--gris); max-width: 60ch; }
.souci-delai { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--encre) !important; }
.souci-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.souci-texte.change > * { animation: change .5s var(--ressort) backwards; }
.souci-texte.change > *:nth-child(2) { animation-delay: .05s; }
.souci-texte.change > *:nth-child(3) { animation-delay: .1s; }
@keyframes change { from { opacity: 0; transform: translateY(12px); } }

/* ───────── Les chiffres ───────── */
.chiffres { position: relative; overflow: hidden; background: var(--nuit); color: var(--blanc); padding: clamp(56px, 8vw, 96px) 0; }
.chiffres-grille { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
@media (min-width: 860px) { .chiffres-grille { grid-template-columns: repeat(4, 1fr); } }
.chiffre { display: grid; gap: 6px; border-left: 2px solid var(--cuivre); padding-left: 18px; align-content: start; }
.chiffre-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: linear-gradient(145deg, rgba(242, 169, 59, .28), rgba(242, 169, 59, .08)); box-shadow: inset 0 0 0 1px rgba(242, 169, 59, .35), 0 10px 24px -12px rgba(242, 169, 59, .7); }
.chiffre-ico svg { width: 24px; height: 24px; fill: none; stroke: var(--cuivre-vif); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.chiffre:nth-child(2) .chiffre-ico svg { fill: rgba(242, 169, 59, .35); }
.chiffre-valeur { font-family: var(--f-titre); font-weight: 900; font-stretch: 118%; font-size: clamp(52px, 8vw, 88px); line-height: .95; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(242, 169, 59, .25); }
.chiffre-valeur small { font-size: .38em; font-weight: 800; letter-spacing: 0; color: var(--cuivre); }
.chiffre-libelle { color: var(--gris-clair); font-size: 15px; }

/* ───────── Les services ───────── */
.services { padding: clamp(80px, 11vw, 140px) 0; }
.services-grille { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 640px) { .services-grille { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services-grille { grid-template-columns: repeat(3, 1fr); } }
.service {
  position: relative; overflow: hidden;
  background: var(--blanc); border-radius: var(--rayon);
  box-shadow: 0 1px 0 rgba(11, 22, 48, .06), 0 30px 50px -40px rgba(11, 22, 48, .45);
  transition: transform .4s var(--ressort), box-shadow .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -35px rgba(11, 22, 48, .55); }
.service-corps { position: relative; padding: 28px 26px 30px; }
.service-badge {
  margin-bottom: 22px;
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--eau); color: var(--nuit);
  box-shadow: 0 14px 26px -12px rgba(60, 200, 232, .9);
}
.service-badge-cuivre { background: var(--cuivre); box-shadow: 0 14px 26px -12px rgba(242, 169, 59, .9); }
.service-badge svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 23px; font-weight: 900; font-stretch: 105%; letter-spacing: -0.015em; }
.service p { margin-top: 10px; color: var(--gris); font-size: 16px; }

/* ───────── Le bandeau ───────── */
.bandeau { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(320px, 56vh, 520px); display: grid; align-items: center; color: var(--blanc); background: var(--nuit); }
.bandeau .plan { z-index: -1; }
.bandeau-voile { position: absolute; inset: 0; z-index: -2; background: radial-gradient(55% 90% at 100% 100%, rgba(242, 169, 59, .22), transparent 70%), radial-gradient(40% 70% at 0% 0%, rgba(60, 200, 232, .10), transparent 70%); }
.bandeau-phrase { font-family: var(--f-titre); font-weight: 900; font-stretch: 115%; font-size: clamp(40px, 7vw, 92px); line-height: .98; letter-spacing: -0.035em; max-width: 16ch; }

/* ───────── La méthode ───────── */
.methode { position: relative; background: var(--nuit); color: var(--blanc); padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.etapes { list-style: none; padding: 0; margin: 52px 0 0; display: grid; gap: 26px; position: relative; padding-left: 74px; }
/* Le fil qui se remplit à mesure qu'on descend. */
.etapes::before, .etapes::after { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; }
.etapes::before { background: rgba(255, 255, 255, .1); }
.etapes::after { background: linear-gradient(var(--cuivre), var(--eau)); transform-origin: top; transform: scaleY(var(--fil, 0)); box-shadow: 0 0 18px rgba(242, 169, 59, .6); }
.etape { position: relative; display: grid; gap: 4px; }
.etape-num {
  position: absolute; left: -74px; top: 0;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--f-titre); font-weight: 900; font-stretch: 120%; font-size: 17px;
  background: var(--nuit); color: var(--cuivre); border: 2px solid rgba(242, 169, 59, .5);
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.etape.allumee .etape-num { background: var(--cuivre); color: var(--nuit); box-shadow: 0 0 0 6px rgba(242, 169, 59, .18), 0 0 30px rgba(242, 169, 59, .6); }
.etape h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; font-stretch: 105%; padding-top: 12px; }
.etape p { margin-top: 6px; color: #B9C5DD; max-width: 52ch; }
@media (min-width: 900px) {
  .etapes { grid-template-columns: repeat(4, 1fr); padding-left: 0; padding-top: 86px; gap: 28px; }
  .etapes::before, .etapes::after { left: 29px; right: 29px; top: 28px; bottom: auto; width: auto; height: 3px; }
  .etapes::after { transform-origin: left; transform: scaleX(var(--fil, 0)); }
  .etape-num { left: 0; top: -86px; }
}

/* ───────── Le binôme ───────── */
.binome { padding: clamp(80px, 11vw, 140px) 0; }
.binome-grille { display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .binome-grille { grid-template-columns: 1.15fr 1fr; gap: 72px; } }
.binome-texte p:not(.surtitre) { margin-top: 18px; color: var(--gris); font-size: 18px; max-width: 58ch; }
.citation {
  margin: 0; position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--nuit-3), var(--nuit)); color: var(--blanc);
  border-radius: 30px; padding: clamp(34px, 5vw, 54px);
  box-shadow: 0 50px 80px -50px rgba(8, 22, 49, .9);
}
.citation::before { content: "“"; position: absolute; right: 18px; top: -46px; font-family: Georgia, serif; font-size: 240px; line-height: 1; color: rgba(242, 169, 59, .18); }
.citation blockquote { margin: 14px 0 0; font-family: var(--f-titre); font-weight: 800; font-stretch: 104%; font-size: clamp(23px, 2.6vw, 31px); line-height: 1.2; letter-spacing: -0.01em; }
.citation figcaption { margin-top: 22px; color: var(--cuivre); font-weight: 700; }

/* ───────── Les avis ───────── */
.avis { background: var(--papier-2); padding: clamp(80px, 11vw, 130px) 0; overflow: hidden; }
.avis-tete { display: grid; gap: 30px; align-items: end; margin-bottom: 44px; }
@media (min-width: 900px) { .avis-tete { grid-template-columns: 1fr auto; } }
.avis-badge {
  display: flex; align-items: center; gap: 20px;
  background: var(--blanc); border-radius: 24px; padding: 22px 28px;
  box-shadow: 0 30px 60px -40px rgba(11, 22, 48, .5);
}
.avis-badge .g { width: 58px; height: 58px; }
.avis-badge-note { font-family: var(--f-titre); font-weight: 900; font-stretch: 115%; font-size: 52px; line-height: .9; letter-spacing: -0.04em; }
.avis-badge-note small { font-size: .4em; color: var(--gris); }
.avis-badge-etoiles { color: #F4B400; font-size: 20px; margin-top: 4px; }
.avis-badge-total { font-size: 15px; color: var(--gris); font-weight: 600; }
.defile { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.defile + .defile { margin-top: 16px; }
.defile-piste { display: flex; gap: 16px; list-style: none; padding: 6px 0; margin: 0; width: max-content; }
.avis-carte {
  width: min(360px, 82vw); flex: none;
  background: var(--blanc); border-radius: var(--rayon); padding: 22px 24px;
  display: grid; gap: 12px; align-content: start;
  box-shadow: 0 1px 0 rgba(11, 22, 48, .05);
}
.avis-carte-tete { display: flex; align-items: center; gap: 12px; }
.avis-initiale { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-titre); font-weight: 900; color: var(--blanc); }
.avis-carte-tete strong { display: block; font-size: 15px; }
.avis-carte-tete .etoiles { font-size: 13px; color: #F4B400; letter-spacing: 1px; }
.avis-carte p { font-size: 16px; color: var(--encre); }
@media (prefers-reduced-motion: no-preference) {
  .defile[data-sens="gauche"] .defile-piste { animation: defile-gauche 75s linear infinite; }
  .defile[data-sens="droite"] .defile-piste { animation: defile-droite 85s linear infinite; }
  .defile:hover .defile-piste, .defile:focus-within .defile-piste { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .defile { overflow-x: auto; mask-image: none; padding-inline: var(--marge); }
}
@keyframes defile-gauche { to { transform: translateX(-50%); } }
@keyframes defile-droite { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ───────── La zone ───────── */
.zone { position: relative; overflow: hidden; background: var(--nuit); color: var(--blanc); padding: clamp(80px, 11vw, 140px) 0; }
.zone-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .zone-grille { grid-template-columns: 1fr 1.1fr; gap: 72px; } }
.zone-texte p:not(.surtitre) { margin: 18px 0 28px; color: #C3CEE4; font-size: 18px; max-width: 52ch; }
.carte { margin: 0; color: rgba(255, 255, 255, .08); }
.carte svg { width: 100%; height: auto; overflow: visible; }
.ile { fill: url(#lueur); }
.ile-trame { fill: url(#trame); }
.ile-contour { fill: none; stroke: var(--eau); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(60, 200, 232, .6)); }
.ville-point { fill: var(--cuivre); stroke: var(--nuit); stroke-width: 2; }
.ville-onde { fill: none; stroke: var(--cuivre); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.ville-nom { font-family: var(--f-titre); font-stretch: 80%; font-weight: 700; font-size: 24px; letter-spacing: .03em; fill: var(--blanc); paint-order: stroke; stroke: var(--nuit-2); stroke-width: 5px; }

/* ───────── Les questions ───────── */
.faq { background: var(--papier); padding: clamp(80px, 11vw, 130px) 0; }
.faq-liste { margin-top: 36px; display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--blanc); border: 1px solid var(--papier-2); overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 30px 50px -40px rgba(11, 22, 48, .5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; position: relative;
  font-family: var(--f-titre); font-weight: 800; font-size: 19px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--papier-2); color: var(--encre); font-size: 22px; font-weight: 400;
  transition: rotate .3s var(--ressort), background-color .3s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--cuivre); }
.faq details p { padding: 0 24px 24px; color: var(--gris); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ressort), content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ───────── Le contact ───────── */
.contact { position: relative; overflow: hidden; background: radial-gradient(90% 90% at 10% 100%, #1B3C80, var(--nuit) 60%); color: var(--blanc); padding: clamp(80px, 11vw, 140px) 0 clamp(110px, 12vw, 150px); }
.contact-grille { position: relative; display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) { .contact-grille { grid-template-columns: 1fr 1fr; gap: 72px; } }
.contact h2 { font-size: clamp(56px, 9vw, 112px); font-stretch: 120%; }
.contact-numero { display: inline-block; margin-top: 26px; text-decoration: none; font-family: var(--f-titre); font-weight: 900; font-stretch: 112%; font-size: clamp(38px, 5.6vw, 64px); color: var(--cuivre); letter-spacing: -0.02em; text-shadow: 0 0 40px rgba(242, 169, 59, .4); }
.contact-ligne { margin-top: 12px; color: #C9D4EA; }
.formulaire {
  background: var(--blanc); color: var(--encre); border-radius: 28px; padding: clamp(24px, 4vw, 38px);
  display: grid; gap: 8px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .75);
}
.formulaire h3 { font-size: clamp(25px, 3vw, 32px); font-weight: 900; line-height: 1.12; margin-bottom: 6px; }
.formulaire-note { font-size: 16px; color: var(--gris); }
.formulaire-actions { display: grid; gap: 10px; margin-top: 14px; }
.formulaire-actions .bouton { width: 100%; }

/* ───────── Pied ───────── */
.pied { background: #050E22; color: var(--gris-clair); padding: 40px 0 120px; font-size: 14px; }
.pied-grille { display: grid; gap: 10px; }
.marque-pied { display: flex; align-items: baseline; gap: 10px; color: var(--blanc); }
.pied-apercu { color: #6E7C97; }
@media (min-width: 860px) { .pied { padding-bottom: 40px; } }

/* ───────── Barre d'appel sur téléphone ───────── */
.barre-mobile {
  position: fixed; inset: auto 0 0 0; z-index: 55;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px;
  padding: 10px var(--marge) calc(10px + env(safe-area-inset-bottom));
  background: rgba(8, 22, 49, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, .08);
  transform: translateY(110%); transition: transform .45s var(--ressort);
}
.barre-mobile.visible { transform: none; }
.barre-mobile .bouton { min-height: 50px; padding: 0 12px; }
@media (min-width: 860px) { .barre-mobile { display: none; } }

/* ═════════ Mouvement ═════════
   Les apparitions sont posées par app.js (IntersectionObserver), elles marchent
   donc sur tous les téléphones. Sans JavaScript ou avec « réduire les
   animations », tout est simplement visible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-revele] { opacity: 0; transition: opacity .9s var(--ressort), transform 1s var(--ressort), clip-path 1.2s var(--ressort), filter .9s; transition-delay: calc(var(--i, 0) * 110ms); }
  .js [data-revele="monte"] { transform: translateY(46px); }
  .js [data-revele="gauche"] { transform: translateX(-46px); }
  .js [data-revele="zoom"] { transform: translateY(40px) scale(.94); filter: blur(6px); }
  .js [data-revele="carte"] { transform: scale(.85) rotate(-6deg); }
  .js [data-revele].vu { opacity: 1; transform: none; filter: none; }

  /* Les titres montent mot par mot. */
  .js [data-mots] .mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .js [data-mots] .mot > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ressort); transition-delay: calc(var(--m) * 60ms); }
  .js [data-mots].vu .mot > span { transform: none; }

  /* Le haut de page : le titre monte mot par mot, puis tout le reste arrive. Plus de clignotement
     du néon : la dernière ligne monte comme les autres et reste allumée. */
  .titre-heros .ligne > span { animation: monte-mot 1s var(--ressort) backwards; }
  .titre-heros .ligne:nth-child(1) > span:nth-child(1) { animation-delay: .1s; }
  .titre-heros .ligne:nth-child(1) > span:nth-child(2) { animation-delay: .18s; }
  .titre-heros .ligne:nth-child(2) > span:nth-child(1) { animation-delay: .3s; }
  .titre-heros .ligne:nth-child(2) > span:nth-child(2) { animation-delay: .38s; }
  .titre-heros .ligne:nth-child(3) > span:nth-child(1) { animation-delay: .5s; }
  .titre-heros .ligne:nth-child(3) > span:nth-child(2) { animation-delay: .58s; }
  .titre-heros .neon > span { animation-delay: .72s; }
  .titre-heros .neon > span:nth-child(2) { animation-delay: .8s; }
  .titre-heros .neon > span:nth-child(3) { animation-delay: .88s; }
  @keyframes monte-mot { from { transform: translateY(110%); } }
  .fait-horaires .aiguille-m { animation: tourne-aiguille 6s linear infinite; }
  .fait-horaires .aiguille-h { animation: tourne-aiguille 72s linear infinite; }
  @keyframes tourne-aiguille { to { transform: rotate(360deg); } }
  .note-google { animation: tombe .9s var(--ressort) .05s backwards; }
  .chapeau { animation: monte .9s var(--ressort) 1.1s backwards; }
  .actions { animation: monte .9s var(--ressort) 1.25s backwards; }
  .bulle-avis { animation: bulle 1s var(--ressort) 2.1s backwards, flotte 6s ease-in-out 3.1s infinite; }
  .ruban-piste { animation: ruban 26s linear infinite; }
  @keyframes tombe { from { opacity: 0; transform: translateY(-20px); } }
  @keyframes monte { from { opacity: 0; transform: translateY(28px); } }
  @keyframes bulle { from { opacity: 0; transform: translateY(30px) scale(.8) rotate(-4deg); } }
  @keyframes flotte { 50% { transform: translateY(-8px); } }
  @keyframes ruban { to { transform: translateX(-50%); } }

  /* Le schéma vit : l'eau coule dans les tuyaux, une impulsion parcourt le circuit. */
  .schema .flux { animation: coule 9s linear infinite; }
  .schema .flux-2 { animation-duration: 7s; }
  .schema .impulsion { stroke-dasharray: 70 1100; animation: impulsion 3.2s cubic-bezier(.5, 0, .5, 1) infinite; }
  .schema .impulsion-2 { animation-delay: 1.1s; }
  .schema .borne { animation: borne 3.2s ease-out infinite; }
  @keyframes coule { to { stroke-dashoffset: -220; } }
  @keyframes impulsion { from { stroke-dashoffset: 70; } to { stroke-dashoffset: -1000; } }
  @keyframes borne { 0%, 30% { fill: var(--cuivre); } 40% { fill: var(--cuivre-vif); } 100% { fill: var(--cuivre); } }

  .defiler span { animation: molette 1.8s ease-in-out infinite; }
  @keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

  .bouton-cuivre::after { animation: reflet 4.5s ease-in-out 2.5s infinite; }
  @keyframes reflet { 0% { transform: translateX(-120%); } 22%, 100% { transform: translateX(120%); } }

  .puce-live { animation: pouls 2s ease-out infinite; }
  @keyframes pouls { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); } 100% { box-shadow: 0 0 0 14px rgba(62, 224, 143, 0); } }

  @property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
  .carte-direct::before { animation: tourne 6s linear infinite; }
  @keyframes tourne { to { --angle: 360deg; } }

  /* La carte : le contour se dessine, puis les villes s'allument une à une. */
  .js .carte .ile-contour { stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s ease .3s; }
  .js .carte.vu .ile-contour { stroke-dashoffset: 0; }
  .js .carte .ville { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s var(--ressort); transition-delay: calc(1.2s + var(--i) * 160ms); }
  .js .carte.vu .ville { opacity: 1; transform: none; }
  .ville-onde { animation: onde 2.8s ease-out infinite; animation-delay: var(--d, 0s); }
  @keyframes onde { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.8); } }
}
