/* ==========================================================================
   I.P. Services : feuille de style principale
   Palette tirée du logo : marine des lettres, bleu du câble, ciel de la sphère,
   or des contacts de la prise RJ45.
   ========================================================================== */

@font-face {
  font-family: "Red Hat Display";
  src: url("../fonts/red-hat-display-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "Red Hat Text";
  src: url("../fonts/red-hat-text-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --marine: #0a2a5e;
  --bleu: #1667d9;
  --bleu-fonce: #0f4fb0;
  --ciel: #6ec6f5;
  --halo: #eaf5fd;
  --or: #e8a531;

  --fond: #ffffff;
  --fond-doux: #f3f9fe;
  --surface: #ffffff;
  --texte: #0f2444;
  --texte-doux: #4a5f80;
  --titre: var(--marine);
  --lien: var(--bleu);
  --trait: #d5e6f5;
  --ombre: 0 18px 40px -22px rgba(10, 42, 94, .35);
  --ombre-forte: 0 30px 60px -28px rgba(10, 42, 94, .5);

  --police-titre: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --police-texte: "Red Hat Text", "Segoe UI", system-ui, sans-serif;
  --rayon: 14px;
  --rayon-grand: 26px;
  --largeur: 1160px;
  color-scheme: light;
}

:root[data-theme="sombre"] {
  --fond: #061430;
  --fond-doux: #0a1d42;
  --surface: #0d2450;
  --texte: #e6f0fb;
  --texte-doux: #a8bfdc;
  --titre: #ffffff;
  --lien: #7fcbf7;
  --trait: #1c3a6e;
  --halo: #0d2a5c;
  --ombre: 0 18px 40px -22px rgba(0, 0, 0, .7);
  --ombre-forte: 0 30px 60px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ----- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}
[hidden] { display: none !important; }
img, svg { max-width: 100%; height: auto; }
svg.ico { flex: none; vertical-align: middle; }
a { color: var(--lien); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 {
  font-family: var(--police-titre);
  color: var(--titre);
  line-height: 1.12;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
mark { background: #fff1cf; color: #6b4a00; padding: .05em .35em; border-radius: 4px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 6px; }

.conteneur { width: min(100% - 2.5rem, var(--largeur)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section--douce { background: var(--fond-doux); }
.section__intro { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.chapo { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--texte-doux); max-width: 40rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--marine); color: #fff; padding: .7rem 1rem; border-radius: 8px;
}
.evitement:focus { top: 1rem; }

/* ----- Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--police-titre); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--plein { background: var(--bleu); color: #fff; }
.btn--plein:hover { background: var(--bleu-fonce); }
.btn--contour { border-color: var(--trait); color: var(--titre); background: var(--surface); }
.btn--contour:hover { border-color: var(--bleu); color: var(--lien); }
.btn--clair { background: #fff; color: var(--marine); }
.btn--clair:hover { background: var(--halo); color: var(--marine); }
:root[data-theme="sombre"] .btn--clair:hover { background: #d9eefc; }
.btn--fantome { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--fantome:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--petit { padding: .6rem 1.1rem; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.75rem; }

/* ----- En-tête ---------------------------------------------------------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--fond) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.entete.est-collee { border-bottom-color: var(--trait); box-shadow: 0 10px 30px -24px rgba(10, 42, 94, .6); }
.entete__ligne { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }

.marque { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--titre); }
.marque__logo {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--trait);
}
.marque__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.marque__texte { display: grid; line-height: 1.1; }
.marque__texte strong { font-family: var(--police-titre); font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; }
.marque__texte small { font-size: .8rem; color: var(--texte-doux); letter-spacing: .02em; }

.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu ul { display: flex; gap: .25rem; }
.menu ul a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--texte); text-decoration: none;
  transition: background-color .2s, color .2s;
}
.menu ul a:hover { background: var(--halo); color: var(--titre); }
.menu ul a[aria-current="page"] { color: var(--lien); background: var(--halo); }
.menu__actions { display: flex; align-items: center; gap: .7rem; }

.bascule-theme {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--trait); background: var(--surface); color: var(--titre); cursor: pointer;
  transition: border-color .2s, transform .4s;
}
.bascule-theme:hover { border-color: var(--bleu); transform: rotate(20deg); }
.bascule-theme span { display: grid; }
.bascule-theme__lune { display: none !important; }
:root[data-theme="sombre"] .bascule-theme__lune { display: grid !important; }
:root[data-theme="sombre"] .bascule-theme__soleil { display: none; }

.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--trait); background: var(--surface); cursor: pointer; }
.burger__barres, .burger__barres::before, .burger__barres::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--titre);
  margin-inline: auto; position: relative; transition: transform .25s, background-color .25s;
}
.burger__barres::before, .burger__barres::after { content: ""; position: absolute; left: 0; }
.burger__barres::before { top: -6px; }
.burger__barres::after { top: 6px; }
.burger[aria-expanded="true"] .burger__barres { background: transparent; }
.burger[aria-expanded="true"] .burger__barres::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__barres::after { transform: translateY(-6px) rotate(-45deg); }

/* ----- Câble de progression (signature visuelle, grands écrans) --------- */
.cable { display: none; }
@media (min-width: 1380px) {
  .cable {
    display: block; position: fixed; z-index: 40; top: 0;
    left: calc((100vw - var(--largeur)) / 2 - 70px);
    width: 22px; height: calc(96px + var(--progres, 0) * (100vh - 150px));
    pointer-events: none; opacity: 0; transition: opacity .4s;
  }
  .a-defile .cable { opacity: 1; }
  .cable__fil {
    position: absolute; left: 8px; top: 0; bottom: 30px; width: 6px; border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--bleu-fonce), var(--ciel) 45%, var(--bleu));
  }
  .cable__prise { position: absolute; left: 0; bottom: 0; }
}

/* ----- Accueil : héros --------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6.5rem); }
.hero::before {
  content: ""; position: absolute; z-index: -1; right: -12%; top: -30%;
  width: min(900px, 90vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d8eefc 38%, #9fd6f7 70%, rgba(110, 198, 245, 0) 72%);
  opacity: .75;
}
:root[data-theme="sombre"] .hero::before {
  background: radial-gradient(circle at 35% 35%, #1a4a94 0%, #0e2f66 45%, rgba(14, 47, 102, 0) 72%);
}
.hero__orbite { position: absolute; z-index: -1; right: -27%; top: 4%; width: min(1100px, 110vw); color: var(--bleu); opacity: .55; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__slogan {
  display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.25rem;
  font-family: var(--police-titre); font-weight: 700; color: var(--lien);
}
.hero__slogan::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 4px color-mix(in srgb, var(--or) 25%, transparent); }
.hero h1 { margin-bottom: .45em; }
.hero__faits { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 2rem; color: var(--texte-doux); font-size: .98rem; }
.hero__faits li { display: flex; align-items: center; gap: .4rem; }
.hero__faits .ico { color: var(--lien); }

/* Panneau de brassage interactif */
.panneau {
  position: relative; padding: 1.4rem; border-radius: var(--rayon-grand);
  background: linear-gradient(155deg, #123a80 0%, var(--marine) 55%, #071d44 100%);
  color: #fff; box-shadow: var(--ombre-forte);
}
.panneau__titre { display: flex; align-items: center; justify-content: space-between; margin: 0 .25rem 1rem; font-family: var(--police-titre); font-weight: 700; font-size: .98rem; color: #cfe6fb; }
.panneau__vis { display: flex; gap: .4rem; }
.panneau__vis i { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #9bb6d8, #3d5c8a); }
.panneau__ports { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.port {
  position: relative; display: grid; justify-items: center; gap: .45rem;
  padding: 1rem .4rem .75rem; border-radius: 14px; cursor: pointer;
  background: rgba(3, 16, 40, .55); border: 1px solid rgba(255, 255, 255, .1);
  color: #cfe6fb; font: 600 .9rem/1.2 var(--police-texte);
  transition: background-color .2s, border-color .2s, color .2s;
}
.port:hover { border-color: var(--ciel); color: #fff; }
.port__led { position: absolute; top: .55rem; right: .6rem; width: 7px; height: 7px; border-radius: 50%; background: #2c4670; }
.port__prise { width: 46px; height: 38px; }
.port__prise .fond { fill: #020b1d; stroke: #4c6c9c; stroke-width: 1.500; }
.port__prise .fiche { fill: var(--bleu); opacity: 0; transition: opacity .25s; }
.port__prise .broches { stroke: #5a779f; stroke-width: 1.300; transition: stroke .25s; }
.port[aria-pressed="true"] { background: rgba(22, 103, 217, .28); border-color: var(--ciel); color: #fff; }
.port[aria-pressed="true"] .port__led { background: #5ef08d; box-shadow: 0 0 10px 2px rgba(94, 240, 141, .7); animation: clignote 2.400s ease-in-out infinite; }
.port[aria-pressed="true"] .fiche { opacity: 1; }
.port[aria-pressed="true"] .broches { stroke: var(--or); }
@keyframes clignote { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.panneau__ecran {
  margin-top: .9rem; padding: 1.25rem 1.35rem; border-radius: 16px; min-height: 11.5rem;
  background: #fff; color: #0f2444;
}
.panneau__ecran h2 { font-size: 1.2rem; margin-bottom: .35em; color: var(--marine); letter-spacing: -.01em; }
.panneau__ecran p { font-size: .98rem; margin-bottom: .7em; color: #3b5174; }
.panneau__ecran a { font-weight: 700; color: var(--bleu); }

/* ----- Accueil : piliers ------------------------------------------------- */
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--trait); }
.pilier { padding: 2.25rem 2rem 2rem 0; }
.pilier + .pilier { padding-left: 2rem; border-left: 1px solid var(--trait); }
.pilier__ico {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.25rem;
  border-radius: 16px; background: var(--halo); color: var(--lien);
}
.pilier p { color: var(--texte-doux); }
.pilier__lien { font-weight: 700; }

.coches { display: grid; gap: .55rem; margin-block: 1rem 1.25rem; }
.coches li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .5rem; align-items: start; }
.coches .ico { color: var(--bleu); margin-top: .22em; }
:root[data-theme="sombre"] .coches .ico { color: var(--ciel); }

/* ----- Accueil : méthode (vraie séquence, donc numérotée) ---------------- */
.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: etape; position: relative; }
.etapes::before { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--bleu), var(--ciel)); }
.etapes li { counter-increment: etape; position: relative; padding-top: 4rem; }
.etapes li::before {
  content: counter(etape); position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--fond-doux); border: 4px solid var(--bleu); color: var(--titre);
  font: 800 1.1rem var(--police-titre);
}
.etapes p { color: var(--texte-doux); font-size: 1rem; margin: 0; }

/* ----- Accueil : duo support / formation --------------------------------- */
.duo { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; }
.bloc { padding: clamp(1.75rem, 4vw, 3rem); border-radius: var(--rayon-grand); }
.bloc--marine { background: linear-gradient(150deg, #123a80, var(--marine) 60%); color: #dcecfb; }
.bloc--marine h2, .bloc--marine h3 { color: #fff; }
.bloc--halo { background: var(--halo); border: 1px solid var(--trait); }
.bloc h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bloc .actions { margin-top: 1.5rem; }

/* ----- Appel final : la prise ------------------------------------------- */
.appel { text-align: center; }
.appel__carte {
  position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  border-radius: var(--rayon-grand); color: #dcecfb;
  background: radial-gradient(circle at 50% -20%, #2a7de6 0%, var(--marine) 62%);
}
.appel__carte h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.2rem); }
.appel__carte p { max-width: 34rem; margin-inline: auto; }
.appel__carte .actions { justify-content: center; }

/* ----- Pages intérieures -------------------------------------------------- */
.tete { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.75rem) clamp(2rem, 4vw, 3rem); }
.tete::before {
  content: ""; position: absolute; z-index: -1; right: -8%; top: -120%;
  width: min(640px, 80vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0%, #d8eefc 40%, #9fd6f7 70%, rgba(110, 198, 245, 0) 72%);
  opacity: .7;
}
:root[data-theme="sombre"] .tete::before { background: radial-gradient(circle at 35% 35%, #1a4a94 0%, #0e2f66 45%, rgba(14, 47, 102, 0) 72%); }
.tete h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18em; }

.famille { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr); gap: clamp(1.5rem, 4vw, 4rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--trait); }
.famille__titre p { color: var(--texte-doux); }
.prestations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 2.25rem; }
.prestation { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
.prestation__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: var(--halo); color: var(--lien); }
.prestation h3 { font-size: 1.08rem; margin-bottom: .25em; }
.prestation p { margin: 0; color: var(--texte-doux); font-size: .98rem; }

/* Tarifs */
.grille-tarifs { display: grid; gap: 2.5rem; }
.tarifs { width: 100%; border-collapse: collapse; }
.tarifs caption { text-align: left; font: 750 1.4rem var(--police-titre); color: var(--titre); padding-bottom: .9rem; letter-spacing: -.01em; }
.tarifs th, .tarifs td { padding: 1rem .5rem; border-top: 1px solid var(--trait); text-align: left; vertical-align: top; }
.tarifs thead th { font-size: .9rem; font-weight: 600; color: var(--texte-doux); border-top: 0; padding-block: .4rem; }
.tarifs tbody th { font-weight: 650; color: var(--titre); width: 34%; }
.tarifs td { color: var(--texte-doux); }
.tarifs .prix { text-align: right; white-space: nowrap; font: 750 1.05rem var(--police-titre); color: var(--titre); width: 20%; }
.tarifs .prix small { display: block; font: 500 .85rem var(--police-texte); color: var(--texte-doux); }
.tarifs .prix--devis { color: var(--lien); }
.note { padding: 1.25rem 1.5rem; border-radius: var(--rayon); background: var(--halo); border-left: 5px solid var(--bleu); }
.note p:last-child { margin: 0; }

/* Cartes d'accès (support, formation) */
.acces { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.acces--2 { grid-template-columns: repeat(2, 1fr); }
.carte {
  display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--rayon-grand);
  background: var(--surface); border: 1px solid var(--trait); box-shadow: var(--ombre);
}
.carte__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.1rem; border-radius: 15px; background: var(--halo); color: var(--lien); }
.carte p { color: var(--texte-doux); flex: 1; }
.carte .btn { align-self: flex-start; margin-top: .5rem; }
.carte--vedette { background: linear-gradient(150deg, #123a80, var(--marine) 60%); border-color: transparent; }
.carte--vedette h3 { color: #fff; }
.carte--vedette p { color: #cfe3f8; }
.carte--vedette .carte__ico { background: rgba(255, 255, 255, .12); color: #fff; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.etiquettes { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.etiquettes li { padding: .3rem .8rem; border-radius: 999px; background: var(--halo); border: 1px solid var(--trait); font-size: .9rem; font-weight: 600; color: var(--titre); }

.domaines { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--trait); border-left: 1px solid var(--trait); }
.domaine { padding: 1.75rem; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: var(--surface); }
.domaine .prestation__ico { margin-bottom: 1rem; }
.domaine p { color: var(--texte-doux); font-size: .98rem; margin: 0; }

/* Contact */
.coordonnees { display: grid; gap: 1.1rem; margin-block: 1.75rem; }
.coordonnees li { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: center; }
.coordonnees span.prestation__ico { grid-row: span 1; }
.coordonnees small { display: block; color: var(--texte-doux); font-size: .88rem; }
.coordonnees a, .coordonnees strong { font: 700 1.1rem var(--police-titre); color: var(--titre); text-decoration: none; }
.coordonnees a:hover { color: var(--lien); text-decoration: underline; }

.formulaire { padding: clamp(1.5rem, 3.5vw, 2.5rem); border-radius: var(--rayon-grand); background: var(--surface); border: 1px solid var(--trait); box-shadow: var(--ombre); }
.formulaire__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; align-items: end; }
.champ { display: grid; gap: .4rem; }
.champ--large { grid-column: 1 / -1; }
.champ label { font-weight: 650; font-size: .96rem; color: var(--titre); }
.champ label span { color: var(--texte-doux); font-weight: 500; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: .8rem .95rem; border-radius: 11px; border: 1.500px solid var(--trait);
  background: var(--fond); color: var(--texte); font: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.champ textarea { min-height: 9.5rem; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bleu) 22%, transparent); }
.champ .erreur { color: #c0262d; font-size: .9rem; font-weight: 600; }
:root[data-theme="sombre"] .champ .erreur { color: #ff9aa0; }
.champ [aria-invalid="true"] { border-color: #c0262d; }
.consentement { display: grid; grid-template-columns: 1.4rem 1fr; gap: .7rem; align-items: start; font-size: .95rem; color: var(--texte-doux); }
.consentement input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--bleu); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alerte { padding: 1rem 1.25rem; border-radius: var(--rayon); margin-bottom: 1.5rem; font-weight: 600; border-left: 5px solid; }
.alerte--ok { background: #e4f7ea; color: #14532d; border-color: #22a55b; }
.alerte--ko { background: #fde8e8; color: #7f1d1d; border-color: #c0262d; }
.alerte a { color: inherit; }

/* Pages légales */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.45rem; margin-top: 2.25em; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.5rem; margin: 0 0 1em; }
.prose dt { font-weight: 650; color: var(--titre); }
.prose dd { margin: 0; }

/* ----- Pied de page ------------------------------------------------------ */
.pied { margin-top: clamp(3rem, 6vw, 5rem); background: var(--fond-doux); border-top: 1px solid var(--trait); font-size: .98rem; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.pied h2 { font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0; }
.pied ul { display: grid; gap: .55rem; }
.pied a { color: var(--texte); text-decoration: none; }
.pied a:hover { color: var(--lien); text-decoration: underline; }
.pied__marque p { margin: 1rem 0 1.25rem; color: var(--texte-doux); max-width: 20rem; }
.reseaux { display: flex !important; gap: .5rem !important; }
.reseaux a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--trait); color: var(--titre); transition: background-color .2s, color .2s, border-color .2s; }
.reseaux a:hover { background: var(--bleu); border-color: var(--bleu); color: #fff; }
.pied__contact li { display: flex; align-items: center; gap: .6rem; }
.pied__contact .ico { color: var(--lien); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--trait); color: var(--texte-doux); font-size: .92rem; }
.pied__bas p { margin: 0; }
.pied__bas ul { display: flex; gap: 1.5rem; }
.pied__bas a { color: var(--texte-doux); }

/* ----- Animations -------------------------------------------------------- */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .revele.est-visible { opacity: 1; transform: none; }
.hero__orbite ellipse { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: trace 2.200s .2s cubic-bezier(.3, .6, .2, 1) forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .revele { opacity: 1; transform: none; }
  .hero__orbite ellipse { stroke-dashoffset: 0; }
}

/* ----- Adaptation aux écrans -------------------------------------------- */
@media (max-width: 1020px) {
  .burger { display: block; }
  .hero__orbite { display: none; }
  .menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.25rem 1.5rem; background: var(--fond);
    border-bottom: 1px solid var(--trait); box-shadow: var(--ombre);
    display: none;
  }
  .menu.est-ouvert { display: flex; }
  .menu ul { flex-direction: column; }
  .menu ul a { padding: .8rem 1rem; font-size: 1.05rem; }
  .menu__actions { justify-content: space-between; padding-inline: .25rem; }
  .hero__grille, .duo, .deux-colonnes, .famille { grid-template-columns: 1fr; }
  .piliers { grid-template-columns: 1fr; }
  .pilier, .pilier + .pilier { padding: 2rem 0; border-left: 0; }
  .pilier + .pilier { border-top: 1px solid var(--trait); }
  .etapes { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .etapes::before { display: none; }
  .acces, .domaines { grid-template-columns: 1fr 1fr; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .etapes, .acces, .acces--2, .domaines, .prestations, .formulaire__grille, .pied__grille { grid-template-columns: 1fr; }
  .panneau { padding: 1rem; }
  .port { font-size: .8rem; padding-inline: .2rem; }
  .tarifs thead { display: none; }
  .tarifs tr { display: grid; padding-block: 1rem; border-top: 1px solid var(--trait); }
  .tarifs th, .tarifs td, .tarifs .prix { border: 0; padding: .1rem 0; width: auto; text-align: left; }
  .tarifs .prix { margin-top: .4rem; }
  .prose dl { grid-template-columns: 1fr; gap: .1rem; }
  .prose dd { margin-bottom: .7rem; }
  .actions .btn { width: 100%; }
}
