/* ==========================================================================
   RÉGIE COM — feuille de styles du site
   Un seul thème clair, ambiance « matin ».
   ========================================================================== */

/* ---------- Polices hébergées avec le site (voir assets/fonts/LISEZMOI.txt) ---------- */
@font-face {
  font-family: "Lexend";
  src: url("../fonts/Lexend-VariableFont_wght.ttf") format("truetype"), url("https://6ae0f2ff56004ab726513fdb--roaring-kulfi-9c1510.netlify.app/assets/fonts/Lexend-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/Figtree-VariableFont_wght.ttf") format("truetype"), url("https://6ae0f2ff56004ab726513fdb--roaring-kulfi-9c1510.netlify.app/assets/fonts/Figtree-VariableFont_wght.ttf") format("truetype");
  font-weight: 300 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat Brush";
  src: url("../fonts/CaveatBrush-Regular.ttf") format("truetype"), url("https://6ae0f2ff56004ab726513fdb--roaring-kulfi-9c1510.netlify.app/assets/fonts/CaveatBrush-Regular.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  --marine: #30358c;
  --marine-2: #262a72;
  --cyan: #37bde7;
  --cyan-texte: #5fd0f2;
  --cyan-fonce: #0c1638;
  --encre: #e7ebf7;
  --encre-douce: #a3add0;
  --fond: #060b1d;
  --surface: #0e1531;
  --surface-2: #141d40;
  --bande: #0a1128;
  --filet: rgba(255, 255, 255, .09);
  --titre: #f3f5ff;
  --verre: rgba(16, 24, 54, .62);
  --peche: #ffc996;
  --whatsapp: #1fa855;
  --ciel: linear-gradient(180deg, #040818 0%, #0a1338 34%, #1a1d5a 60%, #3b2a6a 80%, #6a3b6c 100%);

  --f-titre: "Lexend", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-texte: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --f-main: "Caveat Brush", "Segoe Print", "Bradley Hand", cursive;

  --r-btn: 12px; --r-carte: 16px; --r-grande: 20px;
  --ombre-1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 18px rgba(0, 0, 0, .28);
  --ombre-2: 0 2px 6px rgba(0, 0, 0, .3), 0 24px 50px -16px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .04);
  --gouttiere: clamp(16px, 4vw, 40px);
  --largeur: 1200px;
  --entete: 72px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); }
body {
  margin: 0; background: var(--fond); color: var(--encre);
  font-family: var(--f-texte); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-titre); color: var(--titre); line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--marine); color: #fff; padding: 10px 16px; border-radius: var(--r-btn); text-decoration: none; font-weight: 600; transition: top .2s; }
.lien-evitement:focus { top: 12px; }

.conteneur { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section--bande { background: var(--bande); }

.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-titre); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-texte);
}
.surtitre::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--cyan); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.titre-section { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; margin-top: 14px; }
.chapo { font-size: clamp(17px, 1.6vw, 19px); color: var(--encre-douce); max-width: 60ch; margin-top: 16px; }
.entete-section { margin-bottom: clamp(36px, 5vw, 56px); }
.entete-section--centre { text-align: center; }
.entete-section--centre .chapo { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--r-btn); border: 1.5px solid transparent;
  font-family: var(--f-titre); font-weight: 600; font-size: 16px; letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--petit { --h: 44px; padding: 0 16px; font-size: 15px; }
.btn--primaire { background: var(--cyan); color: var(--cyan-fonce); box-shadow: 0 10px 24px -10px rgba(55, 189, 231, .8); }
.btn--primaire:hover { box-shadow: 0 16px 30px -12px rgba(55, 189, 231, .9); }
.btn--brillant::after {
  content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-20deg); animation: reflet 4.2s ease-in-out infinite 1.6s;
}
@keyframes reflet { 0% { left: -60%; } 28%, 100% { left: 130%; } }
.btn--marine { background: var(--marine); color: #fff; box-shadow: 0 10px 24px -12px rgba(48, 53, 140, .8); }
.btn--marine:hover { background: var(--marine-2); }
.btn--contour { background: var(--verre); color: var(--titre); border-color: rgba(48, 53, 140, .28); backdrop-filter: blur(6px); }
.btn--contour:hover { border-color: var(--titre); background: var(--surface); }
.btn--clair { background: var(--surface); color: var(--titre); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--lien { background: none; padding: 0; min-height: 0; color: var(--cyan-texte); border-radius: 4px; }
.btn--lien:hover { transform: none; text-decoration: underline; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 90; height: var(--entete);
  background: rgba(6, 11, 29, .55);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.entete.est-defile { border-bottom-color: rgba(255, 255, 255, .08); background: rgba(6, 11, 29, .82); }
.entete__in { height: 100%; display: flex; align-items: center; gap: 24px; }
.entete__logo { display: flex; align-items: center; flex: none; border-radius: 8px; }
.entete__logo img { height: 42px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav__lien {
  position: relative; padding: 10px 14px; border-radius: 10px; text-decoration: none;
  font-family: var(--f-titre); font-weight: 500; font-size: 15.5px; color: var(--encre);
  transition: color .2s, background-color .2s;
}
.nav__lien:hover { color: var(--titre); background: rgba(48, 53, 140, .06); }
.nav__lien[aria-current="page"] { color: var(--titre); }
.nav__lien[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--cyan); }
.nav .btn { margin-left: 10px; }
.progression { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--marine), var(--cyan)); pointer-events: none; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 1.5px solid var(--filet); border-radius: var(--r-btn); background: var(--verre); align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--marine); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* Menu plein écran (téléphone) */
.menu-mobile {
  position: fixed; inset: 0; z-index: 120; background: var(--ciel); padding: 0;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.menu-mobile.est-ouvert { opacity: 1; visibility: visible; }
.menu-mobile__haut { height: var(--entete); display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gouttiere); }
.menu-mobile__haut img { height: 40px; width: auto; }
.menu-mobile__fermer { width: 48px; height: 48px; border-radius: var(--r-btn); border: 1.5px solid rgba(48, 53, 140, .2); background: var(--verre); display: grid; place-items: center; color: var(--titre); }
.menu-mobile__fermer svg { width: 22px; height: 22px; }
.menu-mobile nav { padding: 24px var(--gouttiere); display: flex; flex-direction: column; gap: 4px; }
.menu-mobile nav a { font-family: var(--f-titre); font-weight: 700; font-size: 34px; color: var(--titre); text-decoration: none; padding: 8px 0; letter-spacing: -.02em; transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.menu-mobile.est-ouvert nav a { transform: none; opacity: 1; }
.menu-mobile.est-ouvert nav a:nth-child(2) { transition-delay: .05s; } .menu-mobile.est-ouvert nav a:nth-child(3) { transition-delay: .1s; } .menu-mobile.est-ouvert nav a:nth-child(4) { transition-delay: .15s; }
.menu-mobile nav a .tri { display: inline-block; margin-right: 10px; border-left: 12px solid var(--cyan); border-top: 8px solid transparent; border-bottom: 8px solid transparent; vertical-align: middle; }
.menu-mobile__bas { margin-top: auto; padding: 24px var(--gouttiere) calc(28px + env(safe-area-inset-bottom)); display: grid; gap: 12px; }
.menu-mobile__bas .btn { width: 100%; }
.menu-mobile__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Statut ouvert / fermé */
.statut { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.statut::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #c43d3d; box-shadow: 0 0 0 4px rgba(196, 61, 61, .15); flex: none; }
.statut.est-ouvert::before { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); animation: battement 2.4s ease-in-out infinite; }
@keyframes battement { 50% { box-shadow: 0 0 0 7px rgba(31, 157, 85, .06); } }

/* ---------- Héros « ciel du matin » ---------- */
.ciel { position: relative; background: var(--ciel); overflow: hidden; isolation: isolate; }
.ciel__soleil {
  position: absolute; z-index: -3; left: 58%; top: 52%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
  background: radial-gradient(circle, #fff8dc 0 22%, #ffe08a 34%, rgba(255, 196, 102, .6) 50%, rgba(255, 180, 90, 0) 70%);
  filter: blur(2px); animation: lever 3.2s var(--ease) both .2s;
}
.ciel__soleil::after { content: ""; position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 214, 140, .45), rgba(255, 214, 140, 0) 62%); }
@keyframes lever { from { transform: translateY(70%) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
.ciel__nuages { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.nuage { position: absolute; width: var(--l, 260px); aspect-ratio: 3 / 1; opacity: var(--o, .75); animation: derive var(--t, 90s) linear infinite; animation-delay: var(--d, 0s); filter: blur(1px); }
.nuage svg { width: 100%; height: 100%; }
@keyframes derive { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }
.ciel__oiseaux { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.heros { min-height: min(calc(100svh - var(--entete)), 860px); display: flex; align-items: center; padding-block: 48px 64px; margin-top: calc(-1 * var(--entete)); padding-top: calc(var(--entete) + 32px); }
.heros__grille { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.heros__surtitre { color: var(--titre); }
.heros__surtitre::before { border-left-color: var(--titre); }
.heros h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin-top: 18px; }
.mot-rotatif { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.mot-rotatif > span { grid-area: 1 / 1; color: var(--cyan-texte); transform: translateY(105%); opacity: 0; transition: transform .7s var(--ease), opacity .5s; }
.mot-rotatif > span.est-actif { transform: none; opacity: 1; }
.mot-rotatif > span.est-sorti { transform: translateY(-105%); opacity: 0; }
.heros__texte { font-size: clamp(18px, 1.8vw, 21px); color: var(--encre-douce); max-width: 34em; margin-top: 22px; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chiffres { display: flex; gap: clamp(20px, 4vw, 48px); margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(48, 53, 140, .16); list-style: none; }
.chiffres li { display: flex; flex-direction: column; }
.chiffres strong { font-family: var(--f-titre); font-weight: 800; font-size: clamp(30px, 3.4vw, 42px); color: var(--titre); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.chiffres span { font-size: 14.5px; color: var(--encre-douce); margin-top: 6px; }

.apparition > * { opacity: 0; transform: translateY(18px); animation: apparait .9s var(--ease) forwards; }
.apparition > *:nth-child(1) { animation-delay: .25s; } .apparition > *:nth-child(2) { animation-delay: .4s; }
.apparition > *:nth-child(3) { animation-delay: .55s; } .apparition > *:nth-child(4) { animation-delay: .7s; }
.apparition > *:nth-child(5) { animation-delay: .85s; }
@keyframes apparait { to { opacity: 1; transform: none; } }

/* Phare */
.phare { position: relative; justify-self: center; width: min(100%, 380px); aspect-ratio: 803 / 1956; max-height: calc(100svh - var(--entete) - 80px); animation: phare-entre 1.4s var(--ease) both .3s; }
@keyframes phare-entre { from { opacity: 0; transform: translateY(30px); } }
.phare img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(130, 70, 20, .22)); }
/* Phare du héros : posé sur le bas de la section, fondu qui remonte depuis le bas */
.heros { align-items: stretch; padding-bottom: 0; }
.heros__grille { align-items: stretch; }
.heros__grille > .apparition { align-self: center; padding-bottom: 64px; }
.heros .phare { align-self: end; height: calc(min(calc(100svh - var(--entete)), 860px) - 40px); width: auto; max-width: 100%; max-height: none; }
.heros .phare img { -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, .35) 8%, #000 26%); mask-image: linear-gradient(to top, transparent 0%, rgba(0, 0, 0, .35) 8%, #000 26%); filter: none; }
.heros .phare::after { content: ""; position: absolute; z-index: 4; left: -40%; right: -40%; bottom: -12px; height: 18%; background: linear-gradient(to top, #6a3b6c 15%, rgba(106, 59, 108, .6) 50%, rgba(106, 59, 108, 0)); filter: blur(12px); pointer-events: none; }
.phare__halo { position: absolute; z-index: 0; left: 50%; top: 24%; width: 230%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 222, 150, .75) 0%, rgba(255, 200, 120, .35) 26%, rgba(255, 190, 110, 0) 60%); }
.phare__lampe { position: absolute; z-index: 3; left: 60%; top: 21.4%; width: 46%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 252, 230, .95) 0 10%, rgba(255, 226, 140, .55) 28%, rgba(255, 210, 120, 0) 66%); mix-blend-mode: screen; animation: pulse 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes pulse { 0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.82); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } }
.phare__faisceau { position: absolute; z-index: 1; left: 60%; top: 21%; width: 340%; height: 26%; margin-top: -13%; transform-origin: 0 50%; pointer-events: none; perspective: 900px; }
.phare__faisceau span { position: absolute; inset: 0; transform-origin: 0 50%; clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); background: linear-gradient(90deg, rgba(255, 246, 210, .8), rgba(255, 236, 180, .26) 35%, rgba(255, 236, 180, 0) 82%); filter: blur(2.5px); animation: tourne 10s linear infinite; }
@keyframes tourne { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* ---------- Qui sommes-nous ---------- */
.agence { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.agence__texte p { font-size: clamp(17px, 1.5vw, 19px); color: #2f3650; margin-top: 18px; }
.agence__texte .accroche { font-size: clamp(19px, 1.8vw, 22px); color: var(--encre); font-weight: 500; }
.note-main { font-family: var(--f-main); font-size: clamp(28px, 3vw, 36px); color: var(--cyan-texte); line-height: 1.15; margin-top: 30px; transform: rotate(-2.5deg); transform-origin: 0 50%; display: inline-block; }
.note-main::after { content: ""; display: block; height: 10px; margin-top: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c60-6 120-6 180-3s80 2 116-2' fill='none' stroke='%2337bde7' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0 / 100% 100%; }
.valeurs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; }
.valeur {
  --mx: 50%; --my: 50%;
  position: relative; padding: 24px; border-radius: var(--r-carte); background: var(--surface); border: 1px solid var(--filet);
  box-shadow: var(--ombre-1); overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.valeur::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(55, 189, 231, .18), transparent 60%); }
.valeur:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); border-color: rgba(55, 189, 231, .45); }
.valeur:hover::before { opacity: 1; }
.valeur:last-child { grid-column: 1 / -1; }
.valeur__icone { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, #eef4ff, #e3f6fd); color: var(--titre); }
.valeur__icone svg { width: 26px; height: 26px; }
.valeur h3 { font-size: 20px; margin-top: 16px; font-weight: 700; }
.valeur p { color: var(--encre-douce); font-size: 16px; margin-top: 6px; }
.valeur__num { position: absolute; top: 18px; right: 20px; font-family: var(--f-titre); font-weight: 700; font-size: 13px; color: #b3bdd2; letter-spacing: .08em; }

/* ---------- Expertises : explorateur ---------- */
.expertises { overflow: hidden; }
.impression { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.impression canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.repere { position: absolute; width: 26px; height: 26px; border-color: rgba(48, 53, 140, .28); border-style: solid; border-width: 0; }
.repere--hg { top: 24px; left: 24px; border-top-width: 1px; border-left-width: 1px; }
.repere--hd { top: 24px; right: 24px; border-top-width: 1px; border-right-width: 1px; }
.repere--bg { bottom: 24px; left: 24px; border-bottom-width: 1px; border-left-width: 1px; }
.repere--bd { bottom: 24px; right: 24px; border-bottom-width: 1px; border-right-width: 1px; }
.repere::before, .repere::after { content: ""; position: absolute; background: rgba(48, 53, 140, .28); }
.repere--hg::before { width: 1px; height: 14px; left: -8px; top: -22px; } .repere--hg::after { height: 1px; width: 14px; top: -8px; left: -22px; }
.repere--hd::before { width: 1px; height: 14px; right: -8px; top: -22px; } .repere--hd::after { height: 1px; width: 14px; top: -8px; right: -22px; }
.repere--bg::before { width: 1px; height: 14px; left: -8px; bottom: -22px; } .repere--bg::after { height: 1px; width: 14px; bottom: -8px; left: -22px; }
.repere--bd::before { width: 1px; height: 14px; right: -8px; bottom: -22px; } .repere--bd::after { height: 1px; width: 14px; bottom: -8px; right: -22px; }
.mire { position: absolute; top: 40px; left: 50%; width: 28px; height: 28px; margin-left: -14px; opacity: .45; }
.gamme { position: absolute; bottom: 36px; right: 64px; display: flex; gap: 0; opacity: .8; }
.gamme span { width: 18px; height: 12px; }
.expertises .conteneur { position: relative; z-index: 1; }

.explorateur { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.onglets { display: flex; flex-direction: column; gap: 8px; }
.onglet {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 2px 12px; align-items: center; text-align: left;
  padding: 16px 18px; border-radius: var(--r-carte); border: 1px solid rgba(255, 255, 255, .08); background: var(--verre);
  backdrop-filter: blur(6px); overflow: hidden; transition: background-color .3s, border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.onglet:hover { background: var(--surface); transform: translateX(3px); }
.onglet__num { grid-row: span 2; font-family: var(--f-titre); font-weight: 700; font-size: 14px; color: #7d88ad; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--bande); transition: background-color .3s, color .3s; }
.onglet__nom { font-family: var(--f-titre); font-weight: 600; font-size: 17px; color: var(--encre); line-height: 1.2; }
.onglet__sous { font-size: 14px; color: var(--encre-douce); line-height: 1.3; }
.onglet[aria-selected="true"] { background: var(--surface); border-color: rgba(55, 189, 231, .55); box-shadow: var(--ombre-2); }
.onglet[aria-selected="true"] .onglet__num { background: var(--marine); color: #fff; }
.onglet[aria-selected="true"] .onglet__nom { color: var(--titre); }
.onglet__barre { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--marine), var(--cyan)); }
.onglet[aria-selected="true"] .onglet__barre.en-cours { animation: remplit var(--duree, 7s) linear forwards; }
@keyframes remplit { to { transform: scaleX(1); } }

.panneaux { position: relative; min-height: 560px; border-radius: var(--r-grande); overflow: hidden; background: var(--marine); box-shadow: var(--ombre-2); }
.panneau { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .6s, visibility .6s; }
.panneau.est-actif { visibility: visible; opacity: 1; }
.panneau picture, .panneau img { position: absolute; inset: 0; width: 100%; height: 100%; }
.panneau img { object-fit: cover; transform: scale(1.02); }
.panneau.est-actif img { animation: zoom-lent 16s ease-out forwards; }
@keyframes zoom-lent { to { transform: scale(1.14); } }
.panneau::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 22, 56, 0) 12%, rgba(12, 22, 56, .62) 46%, rgba(12, 22, 56, .95) 100%); }
.panneau__contenu { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3.4vw, 40px); color: #fff; }
.panneau__contenu > * { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .7s var(--ease); }
.panneau.est-actif .panneau__contenu > * { opacity: 1; transform: none; }
.panneau.est-actif .panneau__contenu > *:nth-child(2) { transition-delay: .1s; } .panneau.est-actif .panneau__contenu > *:nth-child(3) { transition-delay: .2s; } .panneau.est-actif .panneau__contenu > *:nth-child(4) { transition-delay: .3s; }
.panneau__pole { font-family: var(--f-titre); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.panneau h3 { color: #fff; font-size: clamp(26px, 3vw, 38px); font-weight: 700; margin-top: 8px; max-width: 20ch; }
.prestations { display: flex; flex-wrap: wrap; gap: 6px 6px; margin-top: 18px; list-style: none; max-width: 760px; }
.prestations li { font-size: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(4px); }
.prestations li.groupe { background: none; border: 0; padding-left: 0; font-weight: 700; color: var(--cyan); }
.panneau .btn { margin-top: 22px; }

/* ---------- Cartes de réalisations ---------- */
.grille-real { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; list-style: none; }
.carte-real { position: relative; border-radius: var(--r-carte); background: var(--surface); border: 1px solid var(--filet); overflow: hidden; box-shadow: var(--ombre-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.carte-real:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); }
.carte-real__bouton { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; border-radius: inherit; text-decoration: none; color: inherit; }
.carte-real__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bande); }
.carte-real__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.carte-real:hover .carte-real__media img { transform: scale(1.06); }
.carte-real__lecture { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--titre); box-shadow: 0 10px 30px rgba(12, 22, 56, .35); transition: transform .3s var(--ease); }
.carte-real__lecture svg { width: 24px; height: 24px; margin-left: 3px; }
.carte-real:hover .carte-real__lecture { transform: scale(1.1); }
.carte-real__infos { padding: 16px 18px 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-titre); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-texte); }
.carte-real__infos h3 { font-size: 18px; font-weight: 600; margin-top: 6px; color: var(--encre); line-height: 1.3; }
.carte-real__infos p { font-size: 15px; color: var(--encre-douce); margin-top: 2px; }
.carte-real--exemple .badge::after { content: "Exemple"; margin-left: 4px; padding: 2px 7px; border-radius: 6px; background: var(--bande); color: var(--encre-douce); letter-spacing: .02em; text-transform: none; }
.squelette { aspect-ratio: 4 / 3.9; border-radius: var(--r-carte); background: linear-gradient(100deg, #0e1531 30%, #172149 50%, #0e1531 70%) 0 0 / 300% 100%; animation: chatoie 1.4s linear infinite; }
@keyframes chatoie { to { background-position: -150% 0; } }
.centre-bas { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Références ---------- */
.defile { display: grid; gap: 16px; overflow: hidden; padding-block: 6px 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.defile__rang { display: flex; width: max-content; gap: 16px; animation: glisse var(--duree, 46s) linear infinite; }
.defile__rang--inverse { animation-direction: reverse; }
.defile:hover .defile__rang { animation-play-state: paused; }
@keyframes glisse { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.tuile { flex: none; width: 200px; height: 118px; border-radius: var(--r-carte); background: var(--surface); border: 1px solid var(--filet); display: grid; place-items: center; padding: 18px 22px; box-shadow: var(--ombre-1); }
.tuile img { max-width: 100%; max-height: 74px; width: auto; height: auto; object-fit: contain; }

/* ---------- Bande contact ---------- */
.bande-contact { position: relative; background: var(--marine); color: #fff; overflow: hidden; isolation: isolate; }
.bande-contact::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -40%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(55, 189, 231, .28), transparent 62%); }
.fantome { position: absolute; z-index: -1; left: 50%; bottom: -.18em; transform: translateX(-50%); font-family: var(--f-titre); font-weight: 800; font-size: clamp(110px, 21vw, 330px); line-height: 1; letter-spacing: -.05em; white-space: nowrap; color: rgba(255, 255, 255, .06); pointer-events: none; user-select: none; }
.bande-contact h2 { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
.bande-contact h2 em { font-style: normal; color: var(--cyan); }
.bande-contact .chapo { color: rgba(255, 255, 255, .78); }
.bande-contact .surtitre { color: var(--cyan); }
.cartes-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin-top: 44px; }
.carte-contact { display: flex; align-items: center; gap: 16px; height: 100%; padding: 20px; border-radius: var(--r-carte); text-decoration: none; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); transition: background-color .3s, transform .35s var(--ease), border-color .3s; }
.carte-contact:hover { background: rgba(255, 255, 255, .13); border-color: rgba(55, 189, 231, .6); transform: translateY(-3px); }
.carte-contact__icone { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(55, 189, 231, .16); color: var(--cyan); }
.carte-contact__icone svg { width: 24px; height: 24px; }
.carte-contact--wa .carte-contact__icone { background: rgba(31, 168, 85, .2); color: #5fe39a; }
.carte-contact small { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .65); }
.carte-contact strong { display: block; font-family: var(--f-titre); font-weight: 600; font-size: 17px; color: #fff; word-break: break-word; }
.reseaux { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; list-style: none; }
.reseaux a { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background-color .25s, transform .3s var(--ease); }
.reseaux a:hover { background: var(--cyan); color: var(--cyan-fonce); transform: translateY(-2px); }
.reseaux svg { width: 20px; height: 20px; }

/* ---------- Pied de page ---------- */
.pied { background: #10152a; color: rgba(255, 255, 255, .78); font-size: 15.5px; padding-top: 64px; }
.pied__grille { display: grid; grid-template-columns: 1.3fr .8fr 1.4fr 1fr; gap: 40px; }
.pied__logo img { height: 52px; width: auto; }
.pied p { margin-top: 16px; max-width: 30ch; }
.pied h2 { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.pied ul { list-style: none; display: grid; gap: 8px; }
.pied a { text-decoration: none; color: rgba(255, 255, 255, .82); border-radius: 4px; }
.pied a:hover { color: var(--cyan); }
.coordonnee { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.copier { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .18); background: none; color: rgba(255, 255, 255, .75); font-size: 12.5px; font-weight: 600; transition: background-color .2s, color .2s; }
.copier:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.copier svg { width: 14px; height: 14px; }
.copier--clair { border-color: var(--filet); color: var(--encre-douce); }
.copier--clair:hover { background: var(--bande); color: var(--titre); }
.pied .statut { color: #fff; margin-top: 4px; }
.pied__bas { margin-top: 56px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: 14px; }
.pied__bas button { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .78); text-decoration: underline; text-underline-offset: 3px; border-radius: 4px; }
.pied__bas button:hover { color: var(--cyan); }
.pied__bas .espace { margin-right: auto; }

/* ---------- Fenêtres (dialog) ---------- */
dialog { padding: 0; border: 0; color: inherit; background: none; max-width: none; max-height: none; }
dialog::backdrop { background: rgba(12, 22, 56, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fenetre { width: min(100% - 32px, 720px); max-height: min(100% - 32px, 820px); margin: auto; border-radius: var(--r-grande); background: var(--surface); box-shadow: 0 30px 80px rgba(12, 22, 56, .35); overflow: auto; overscroll-behavior: contain; }
.fenetre[open] { animation: fenetre-entre .35s var(--ease); }
@keyframes fenetre-entre { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.fenetre__haut { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--filet); }
.fenetre__haut h2 { font-size: 22px; }
.fermer { flex: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--filet); background: var(--surface); display: grid; place-items: center; color: var(--titre); }
.fermer:hover { background: var(--bande); }
.fermer svg { width: 20px; height: 20px; }
.fenetre__corps { padding: 8px 24px 28px; }
.fenetre__corps h3 { font-size: 17px; margin-top: 22px; }
.fenetre__corps p, .fenetre__corps li { font-size: 15.5px; color: #3a4260; margin-top: 8px; }
.fenetre__corps ul { padding-left: 20px; }

/* Bandeau de consentement */
.consentement { position: fixed; z-index: 110; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(400px, calc(100% - 32px)); padding: 20px; border-radius: var(--r-grande); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border: 1px solid var(--filet); box-shadow: 0 20px 50px -10px rgba(12, 22, 56, .3); animation: fenetre-entre .5s var(--ease) both .8s; }
.consentement h2 { font-size: 17px; }
.consentement p { font-size: 14.5px; color: var(--encre-douce); margin-top: 6px; }
.consentement p button { background: none; border: 0; padding: 0; color: var(--cyan-texte); text-decoration: underline; font-size: inherit; }
.consentement__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }

/* Notification */
.toast { position: fixed; z-index: 300; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 12px; background: var(--encre); color: #fff; font-weight: 600; font-size: 15px; box-shadow: 0 14px 30px rgba(12, 22, 56, .3); transition: opacity .3s, transform .3s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.est-visible { opacity: 1; transform: translate(-50%, 0); }

/* Apparition au défilement */
[data-revele] { opacity: 0; transform: translateY(26px); transition: opacity .8s, transform .9s var(--ease); transition-delay: var(--retard, 0s); }
[data-revele].est-vu { opacity: 1; transform: none; }

/* ---------- Page Réalisations ---------- */
.entete-real { padding-top: calc(var(--entete) + clamp(40px, 7vw, 88px)); margin-top: calc(-1 * var(--entete)); padding-bottom: clamp(56px, 7vw, 90px); text-align: center; }
.entete-real h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.035em; margin-top: 16px; }
.entete-real .chapo { margin-inline: auto; color: var(--encre-douce); }
/* ---------- Réalisations : mur « à la une » plein écran ---------- */
.mur { display: grid; gap: 4px; padding: 4px; background: var(--cyan-fonce); grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, clamp(200px, 30vw, 380px)); grid-template-areas: "a a b c" "a a d e"; }
.mur__tuile { position: relative; overflow: hidden; padding: 0; border: 0; background: #1b2550; color: #fff; text-align: left; cursor: zoom-in; isolation: isolate; }
.mur__tuile:nth-child(1) { grid-area: a; } .mur__tuile:nth-child(2) { grid-area: b; } .mur__tuile:nth-child(3) { grid-area: c; } .mur__tuile:nth-child(4) { grid-area: d; } .mur__tuile:nth-child(5) { grid-area: e; }
.mur__tuile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter .6s var(--ease); z-index: -2; }
.mur__tuile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 22, 56, 0) 45%, rgba(12, 22, 56, .82) 100%); transition: opacity .5s var(--ease); }
.mur__legende { position: absolute; left: clamp(14px, 2vw, 28px); right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 26px); display: grid; gap: 4px; transform: translateY(10px); opacity: .92; transition: transform .6s var(--ease), opacity .6s var(--ease); }
.mur__pole { font-family: var(--f-titre); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.mur__titre { font-family: var(--f-titre); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; }
.mur__tuile:nth-child(1) .mur__titre { font-size: clamp(22px, 3vw, 40px); max-width: 16ch; }
.mur__tuile:nth-child(1) .mur__pole { font-size: 13px; }
.mur.est-vu .mur__tuile img { transform: scale(1.02); }
.mur__tuile:hover img, .mur__tuile:focus-visible img { transform: scale(1.08); }
.mur__tuile:hover .mur__legende, .mur__tuile:focus-visible .mur__legende { transform: none; opacity: 1; }
.mur:has(.mur__tuile:hover) .mur__tuile:not(:hover) img { filter: saturate(.55) brightness(.7); }
.mur__tuile:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }
.mur__tuile .mur__lecture { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--titre); }
.mur__tuile .mur__lecture svg { width: 18px; height: 18px; margin-left: 2px; }
.mur .squelette { border-radius: 0; aspect-ratio: auto; background: linear-gradient(100deg, #1b2550 30%, #253166 50%, #1b2550 70%) 0 0 / 300% 100%; }
@media (max-width: 760px) {
  .mur { grid-template-columns: 1fr 1fr; grid-template-rows: 62vw 44vw 44vw; grid-template-areas: "a a" "b c" "d e"; gap: 3px; padding: 3px; }
  .mur__legende { transform: none; }
}

/* ---------- Réalisations : galerie sur fond sombre ---------- */
.galerie-sombre { position: relative; background: var(--cyan-fonce); color: #e9eefc; padding-block: clamp(56px, 8vw, 110px) clamp(72px, 9vw, 130px); overflow: hidden; }
.galerie-sombre::before { content: ""; position: absolute; inset: -20% -10% auto; height: 520px; background: radial-gradient(closest-side, rgba(55, 189, 231, .18), transparent 70%) 15% 0 / 60% 100% no-repeat, radial-gradient(closest-side, rgba(255, 201, 150, .12), transparent 70%) 95% 30% / 50% 100% no-repeat; pointer-events: none; }
.galerie-sombre .conteneur { position: relative; }
.galerie-sombre__tete { display: grid; gap: 10px; margin-bottom: 36px; }
.galerie-sombre__tete h2 { font-family: var(--f-titre); font-size: clamp(32px, 4.6vw, 58px); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; color: #fff; max-width: 14ch; }
.surtitre--clair { color: var(--cyan); }
.galerie-sombre .segment { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.galerie-sombre .segment button { color: #b9c3e2; }
.galerie-sombre .segment button[aria-pressed="true"] { background: var(--surface); color: var(--cyan-fonce); }
.galerie-sombre .segment button[aria-pressed="true"] .compteur { background: var(--bande); color: var(--titre); }
.galerie-sombre .compteur { background: rgba(255, 255, 255, .1); color: #d6ddf2; }
.galerie-sombre .puce { background: transparent; border-color: rgba(255, 255, 255, .18); color: #e3e8f7; }
.galerie-sombre .puce:hover { border-color: var(--cyan); }
.galerie-sombre .puce[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--cyan-fonce); }
.galerie-sombre .puce[aria-pressed="true"] .compteur { background: rgba(12, 22, 56, .15); color: var(--cyan-fonce); }
.galerie-sombre .alerte--info { background: rgba(55, 189, 231, .1); border-color: rgba(55, 189, 231, .3); color: #cfe9f6; }
.galerie-sombre .vide { color: #b9c3e2; } .galerie-sombre .vide strong { color: #fff; }
.galerie-sombre .squelette { background: linear-gradient(100deg, #18224a 30%, #222d5c 50%, #18224a 70%) 0 0 / 300% 100%; aspect-ratio: auto; }

.grille-expo { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 20vw, 260px); grid-auto-flow: dense; gap: 14px; }
.grille-expo > li:nth-child(12n+1) { grid-column: 1 / span 2; grid-row: span 2; }
.grille-expo > li:nth-child(12n+7) { grid-column: 2 / span 2; grid-row: span 2; }
.expo { position: relative; border-radius: 18px; overflow: hidden; background: #18224a; isolation: isolate; opacity: 0; transform: translateY(26px); animation: expo-entre .8s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes expo-entre { to { opacity: 1; transform: none; } }
.expo__bouton { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; color: #fff; text-align: left; cursor: zoom-in; border-radius: inherit; }
.expo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.expo__bouton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(8, 14, 38, .88)); }
.expo__infos { position: absolute; left: 18px; right: 18px; bottom: 16px; display: grid; gap: 4px; }
.expo__pole { justify-self: start; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.expo__titre { font-family: var(--f-titre); font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); line-height: 1.2; text-wrap: balance; }
.grille-expo > li:is(:nth-child(12n+1), :nth-child(12n+7)) .expo__titre { font-size: clamp(22px, 2.6vw, 34px); max-width: 18ch; }
.expo__client { font-size: 14px; color: #b9c3e2; }
.expo__lecture { position: absolute; top: 16px; right: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--titre); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .35s var(--ease); }
.expo__lecture svg { width: 20px; height: 20px; margin-left: 3px; }
.expo:hover img { transform: scale(1.07); }
.expo:hover .expo__lecture { transform: scale(1.1); }
.expo__bouton:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.expo--exemple .expo__pole::after { content: " · exemple"; opacity: .7; font-weight: 500; }
@media (max-width: 900px) { .grille-expo { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; } .grille-expo > li:nth-child(n) { grid-column: auto; grid-row: span 1; } .grille-expo > li:nth-child(6n+1), .grille-expo > li:nth-child(6n) { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .grille-expo { grid-template-columns: 1fr 1fr; grid-auto-rows: 46vw; gap: 8px; }
  .grille-expo > li:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .grille-expo > li:nth-child(6n+1), .grille-expo > li:nth-child(6n):last-child, .grille-expo > li:nth-child(6n) { grid-column: 1 / -1; }
  .expo { border-radius: 12px; }
  .expo__infos { left: 10px; right: 10px; bottom: 10px; }
  .expo__client { display: none; }
  .expo__titre { font-size: 14px; }
  .expo__pole { font-size: 10px; padding: 3px 8px; }
}

.filtres { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.segment { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--filet); align-self: flex-start; box-shadow: var(--ombre-1); }
.segment button { min-height: 42px; padding: 0 16px; border-radius: 10px; border: 0; background: none; font-family: var(--f-titre); font-weight: 600; font-size: 15px; color: var(--encre-douce); transition: background-color .25s, color .25s; }
.segment button[aria-pressed="true"] { background: var(--marine); color: #fff; }
.compteur { display: inline-block; margin-left: 6px; min-width: 22px; padding: 1px 6px; border-radius: 999px; font-size: 12px; background: var(--bande); color: var(--encre-douce); }
.segment button[aria-pressed="true"] .compteur { background: rgba(255, 255, 255, .2); color: #fff; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; }
.puce { position: relative; display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--filet); background: var(--surface); font-weight: 600; font-size: 15px; color: var(--encre); transition: border-color .2s, background-color .2s, color .2s; }
.puce:hover { border-color: var(--cyan); }
.puce[aria-pressed="true"], .puce:has(input:checked) { border-color: var(--titre); background: var(--marine); color: #fff; }
.puce[aria-pressed="true"] .compteur { background: rgba(255, 255, 255, .2); color: #fff; }
.vide { text-align: center; padding: 60px 20px; border-radius: var(--r-grande); border: 1.5px dashed var(--filet); color: var(--encre-douce); }
.vide strong { display: block; font-family: var(--f-titre); color: var(--titre); font-size: 20px; margin-bottom: 6px; }

/* Visionneuse */
.visionneuse { width: 100%; height: 100%; margin: 0; background: rgba(8, 12, 30, .96); color: #fff; }
.visionneuse::backdrop { background: rgba(8, 12, 30, .9); }
.visionneuse[open] { display: grid; grid-template-rows: auto 1fr auto; animation: fondu .3s; }
@keyframes fondu { from { opacity: 0; } }
.visionneuse__haut { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px var(--gouttiere); padding-top: calc(14px + env(safe-area-inset-top)); }
.visionneuse__compte { font-family: var(--f-titre); font-weight: 600; color: rgba(255, 255, 255, .7); font-size: 15px; font-variant-numeric: tabular-nums; }
.visionneuse__outils { display: flex; gap: 8px; }
.bouton-rond { width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.bouton-rond:hover { background: rgba(255, 255, 255, .16); }
.bouton-rond svg { width: 20px; height: 20px; }
.visionneuse__scene { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(8px, 7vw, 96px); touch-action: pan-y; }
.visionneuse__media { position: absolute; inset: 0 clamp(8px, 7vw, 96px); display: flex; align-items: center; justify-content: center; min-height: 0; }
.visionneuse__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; animation: fondu .35s; user-select: none; -webkit-user-drag: none; }
.visionneuse__media iframe { width: min(100%, 1200px); aspect-ratio: 16 / 9; max-height: 100%; border: 0; border-radius: 12px; background: #000; }
.visionneuse__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.visionneuse__nav--prec { left: max(10px, env(safe-area-inset-left)); } .visionneuse__nav--suiv { right: max(10px, env(safe-area-inset-right)); }
.visionneuse__legende { padding: 16px var(--gouttiere) calc(20px + env(safe-area-inset-bottom)); text-align: center; }
.visionneuse__legende .badge { color: var(--cyan); }
.visionneuse__legende h2 { color: #fff; font-size: 20px; margin-top: 4px; font-weight: 600; }
.visionneuse__legende p { color: rgba(255, 255, 255, .68); font-size: 15px; }

/* ---------- Page Contact ---------- */
.entete-contact { padding-top: calc(var(--entete) + clamp(40px, 6vw, 72px)); margin-top: calc(-1 * var(--entete)); padding-bottom: clamp(110px, 12vw, 150px); }
.entete-contact h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -.035em; margin-top: 14px; max-width: 14ch; }
.entete-contact .chapo { color: var(--encre-douce); }
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: start; gap: 24px; margin-top: clamp(-110px, -9vw, -80px); position: relative; z-index: 2; padding-bottom: clamp(72px, 9vw, 110px); }
.carte { background: var(--surface); border: 1px solid var(--filet); border-radius: var(--r-grande); box-shadow: var(--ombre-2); padding: clamp(22px, 3.4vw, 36px); }
.carte h2 { font-size: 24px; }
.carte > p { color: var(--encre-douce); margin-top: 6px; font-size: 16px; }
.formulaire { display: grid; gap: 20px; margin-top: 26px; }
.formulaire__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ { display: grid; gap: 7px; }
.champ label, .champ legend { font-family: var(--f-titre); font-weight: 600; font-size: 15px; color: var(--encre); padding: 0; }
.champ .puce { padding: 0 16px; font-family: var(--f-texte); font-size: 15px; gap: 0; }
.champ label span, .champ legend span { font-family: var(--f-texte); font-weight: 400; color: var(--encre-douce); }
.champ input, .champ textarea { width: 100%; min-height: 52px; padding: 13px 15px; border-radius: var(--r-btn); border: 1.5px solid var(--filet); background: var(--surface-2); font-size: 16.5px; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.champ textarea { min-height: 168px; resize: vertical; line-height: 1.55; }
.champ input:hover, .champ textarea:hover { border-color: rgba(255, 255, 255, .22); }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(55, 189, 231, .2); background: var(--surface); }
.champ.est-invalide input, .champ.est-invalide textarea { border-color: #c43d3d; box-shadow: 0 0 0 4px rgba(196, 61, 61, .12); }
.champ.est-valide input, .champ.est-valide textarea { border-color: #7fc9a0; }
.champ__erreur { display: none; font-size: 14px; color: #b02e2e; font-weight: 600; }
.champ.est-invalide .champ__erreur { display: block; }
.champ__aide { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--encre-douce); }
.champ__aide .est-limite { color: #b02e2e; font-weight: 700; }
fieldset.champ { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset .puces { margin-top: 4px; }
.puce input { position: absolute; opacity: 0; pointer-events: none; }
.puce:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 2px; }
.secousse { animation: secousse .45s; }
@keyframes secousse { 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(2px); } }
.piege { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.formulaire__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.formulaire__envoi p { font-size: 14px; color: var(--encre-douce); flex: 1 1 220px; }
.alerte { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-btn); background: #fff6e8; border: 1px solid #ffd59a; font-size: 15px; color: #6a4410; }
.alerte--info { background: rgba(55, 189, 231, .1); border-color: rgba(55, 189, 231, .3); color: #cfe9f6; }
.alerte svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alerte button { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-weight: 600; }

.infos { display: grid; gap: 18px; align-content: start; }
.liste-contacts { list-style: none; display: grid; gap: 4px; margin-top: 16px; }
.liste-contacts li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--bande); }
.liste-contacts li:last-child { border-bottom: 0; }
.liste-contacts .ic { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--bande); color: var(--titre); }
.liste-contacts .ic svg { width: 20px; height: 20px; }
.liste-contacts .ic--wa { background: #e4f7ec; color: var(--whatsapp); }
.liste-contacts small { display: block; color: var(--encre-douce); font-size: 13px; }
.liste-contacts a { font-weight: 600; text-decoration: none; color: var(--encre); }
.liste-contacts a:hover { color: var(--titre); text-decoration: underline; }
.liste-contacts .copier { margin-left: auto; }
.horaires { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 15.5px; }
.horaires th, .horaires td { text-align: left; padding: 9px 10px; font-weight: 500; }
.horaires td { text-align: right; color: var(--encre-douce); font-variant-numeric: tabular-nums; }
.horaires tr + tr th, .horaires tr + tr td { border-top: 1px solid var(--bande); }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { background: rgba(55, 189, 231, .1); color: var(--titre); font-weight: 700; }
.horaires tr.aujourdhui th { border-radius: 10px 0 0 10px; } .horaires tr.aujourdhui td { border-radius: 0 10px 10px 0; }
.carte__entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.carte-map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-carte); overflow: hidden; margin-top: 16px; background: linear-gradient(135deg, #dfe8f6, #f2e9de); }
.carte-map__fond { position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(rgba(48, 53, 140, .1) 1px, transparent 1px), linear-gradient(90deg, rgba(48, 53, 140, .1) 1px, transparent 1px); background-size: 28px 28px; }
.carte-map__bouton { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; border: 0; background: none; text-align: center; padding: 16px; color: var(--titre); }
.carte-map__bouton svg { width: 40px; height: 40px; }
.carte-map__bouton strong { font-family: var(--f-titre); font-size: 17px; }
.carte-map__bouton small { color: var(--encre-douce); font-size: 13.5px; max-width: 32ch; }
.carte-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.actions-carte { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }

/* Animation d'envoi : appareil photo */
.studio { width: 100%; height: 100%; margin: 0; background: transparent; display: none; place-items: center; overflow: auto; padding: 24px 16px; }
.studio[open] { display: grid; }
.studio::backdrop { background: rgba(12, 22, 56, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.studio__scene { width: min(100%, 420px); display: grid; justify-items: center; text-align: center; color: #fff; }
.appareil { position: relative; width: min(78vw, 300px); z-index: 2; }
.appareil svg { width: 100%; height: auto; overflow: visible; }
.studio[open] .appareil { animation: rebond .8s cubic-bezier(.34, 1.56, .64, 1) both; }
@keyframes rebond { 0% { transform: translateY(-60px) scale(.6); opacity: 0; } 60% { transform: translateY(8px) scale(1.03); opacity: 1; } 100% { transform: none; } }
.appareil .objectif-mp { transform-box: fill-box; transform-origin: center; }
.studio.envoi .objectif-mp { animation: mise-au-point 1.3s ease-in-out infinite; }
@keyframes mise-au-point { 0%, 100% { transform: scale(1); } 35% { transform: scale(.82); } 65% { transform: scale(1.07); } }
.appareil .led { transition: opacity .2s; }
.studio.envoi .led { animation: clignote .7s steps(2, start) infinite; }
@keyframes clignote { to { visibility: hidden; } }
.appareil .lamelles path { transform-box: view-box; transition: transform .35s cubic-bezier(.6, .05, .3, 1); }
.appareil .lamelles { opacity: 0; transition: opacity .1s; }
.studio.clic .lamelles { opacity: 1; }
.appareil .declencheur { transform-box: fill-box; transform-origin: center bottom; transition: transform .12s; }
.studio.clic .declencheur { transform: scaleY(.45); }
.studio.echec .appareil { animation: tremble .5s; }
@keyframes tremble { 20%, 60% { transform: translateX(-8px) rotate(-2deg); } 40%, 80% { transform: translateX(8px) rotate(2deg); } }
.flash { position: fixed; inset: 0; z-index: 10; background: var(--surface); opacity: 0; pointer-events: none; }
.flash.eclair { animation: eclair .55s ease-out; }
@keyframes eclair { 0% { opacity: 0; } 12% { opacity: .95; } 100% { opacity: 0; } }
.tirage { position: relative; z-index: 1; width: min(56vw, 210px); margin-top: -38px; height: 0; transition: height .9s cubic-bezier(.3, .8, .3, 1); }
.tirage__clip { position: relative; overflow: hidden; height: 100%; }
.polaroid { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 10px 0; background: var(--surface); border-radius: 4px; box-shadow: 0 16px 30px rgba(0, 0, 0, .35); color: var(--encre); transform: rotate(-1.5deg); }
.polaroid__photo { aspect-ratio: 1; border-radius: 2px; background: var(--ciel); display: grid; place-items: center; }
.polaroid__photo svg { width: 46%; height: auto; }
.polaroid__mot { font-family: var(--f-main); font-size: 25px; color: var(--titre); padding: 6px 0 10px; line-height: 1.1; }
.studio.reussi .tirage { height: var(--haut-tirage, 262px); }
.studio__texte { margin-top: 26px; min-height: 120px; }
.studio__texte h2 { color: #fff; font-size: clamp(24px, 4.5vw, 30px); font-weight: 700; }
.studio__texte p { margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: 16px; }
.studio__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* ---------- 404 ---------- */
.page-404 { min-height: calc(100svh - var(--entete)); margin-top: calc(-1 * var(--entete)); padding-top: var(--entete); display: grid; place-items: center; text-align: center; }
.page-404 .phare { width: 150px; margin: 0 auto 8px; max-height: none; }
.page-404 h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; max-width: 16ch; margin-inline: auto; }
.page-404 p { font-size: 19px; color: var(--encre-douce); margin-top: 14px; }
.page-404 .btn { margin-top: 28px; }

/* ---------- Adaptations ---------- */
@media (max-width: 1080px) {
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .cartes-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .heros { min-height: 0; padding-bottom: 56px; }
  .heros__grille { grid-template-columns: 1fr; gap: 8px; }
  .phare { order: -1; width: 128px; max-height: none; }
  .heros .phare { align-self: center; height: 300px; width: auto; }
  .heros .phare::after { display: none; }
  .heros__grille > .apparition { padding-bottom: 56px; }
  .phare__faisceau { width: 520%; }
  .ciel__soleil { left: 60%; top: 18%; width: 240px; height: 240px; margin: -120px 0 0 -120px; }
  .agence { grid-template-columns: 1fr; }
  .explorateur { grid-template-columns: 1fr; }
  .onglets { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gouttiere)); padding: 4px var(--gouttiere) 10px; scrollbar-width: none; }
  .onglets::-webkit-scrollbar { display: none; }
  .onglet { flex: none; scroll-snap-align: start; grid-template-columns: 32px auto; padding: 12px 14px; }
  .onglet__num { grid-row: auto; width: 32px; height: 32px; font-size: 13px; }
  .onglet__sous { display: none; }
  .onglet:hover { transform: none; }
  .panneaux { min-height: 600px; }
  .contact-grille { grid-template-columns: 1fr; }
  .repere, .mire, .gamme { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .heros h1 { font-size: clamp(38px, 11vw, 52px); }
  .heros__actions .btn { flex: 1 1 100%; }
  .chiffres { gap: 18px; justify-content: space-between; }
  .chiffres span { font-size: 13px; }
  .valeurs { grid-template-columns: 1fr; gap: 10px; }
  .valeur { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 18px; align-items: center; }
  .valeur__icone { grid-row: span 2; width: 44px; height: 44px; }
  .valeur h3 { margin-top: 0; font-size: 18px; }
  .valeur p { margin-top: 0; font-size: 15px; }
  .valeur__num { top: 14px; right: 16px; }
  .consentement { padding: 16px; left: 10px; width: calc(100% - 20px); }
  .consentement p { font-size: 13.5px; }
  .cartes-contact { grid-template-columns: 1fr; }
  .pied__grille { grid-template-columns: 1fr; gap: 32px; }
  .formulaire__ligne { grid-template-columns: 1fr; }
  .panneaux { min-height: 640px; }
  .prestations li { font-size: 13px; }
  .tuile { width: 156px; height: 96px; padding: 14px 16px; }
  .tuile img { max-height: 60px; }
  .segment { align-self: stretch; }
  .segment button { flex: 1; padding: 0 8px; }
  .visionneuse__nav { top: auto; bottom: 8px; transform: none; }
  .visionneuse__scene { padding-bottom: 64px; }
  .visionneuse__media { bottom: 64px; }
  .consentement__actions { grid-template-columns: 1fr 1fr; }
  .fenetre { width: 100%; max-height: 92%; margin: auto 0 0; border-radius: var(--r-grande) var(--r-grande) 0 0; }
}

/* Réduire les animations */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .defile__rang, .nuage, .phare__faisceau span, .phare__lampe, .btn--brillant::after { animation: none !important; }
  .defile { -webkit-mask-image: none; mask-image: none; }
  .defile__rang { flex-wrap: wrap; width: auto; justify-content: center; }
  .defile__rang [aria-hidden="true"] { display: none; }
  .expo { opacity: 1; transform: none; }
}
.pause-anim, .pause-anim * { animation-play-state: paused !important; }
.apparition > .phare { opacity: 1; transform: none; }
@media (max-width: 560px) {
  .galerie-sombre .puces { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gouttiere)); padding: 2px var(--gouttiere); scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 24px), transparent); }
  .galerie-sombre .puces::-webkit-scrollbar { display: none; }
  .galerie-sombre .puce { flex: none; }
}

/* ==========================================================================
   THÈME SOMBRE — finitions
   ========================================================================== */
body { background: radial-gradient(1200px 600px at 85% -10%, rgba(55, 189, 231, .07), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(48, 53, 140, .18), transparent 60%), var(--fond); background-attachment: fixed; }
::selection { background: rgba(55, 189, 231, .35); color: var(--t-fort); }
.btn--marine { background: var(--cyan); color: #04102b; box-shadow: 0 10px 30px -10px rgba(55, 189, 231, .7); }
.btn--marine:hover { background: #5fd0f2; }
.btn--contour { background: rgba(255, 255, 255, .04); color: var(--titre); border-color: rgba(255, 255, 255, .22); }
.btn--contour:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn--clair { background: #fff; color: #30358c; }
.nav__lien:hover { background: rgba(255, 255, 255, .07); }
.heros__surtitre::before { border-left-color: var(--cyan); }
.burger { color: var(--titre); background: rgba(255, 255, 255, .05); }
.galerie-sombre { background: linear-gradient(180deg, #060b1d, #0a1230 40%, #060b1d); }
.galerie-sombre .segment button[aria-pressed="true"] { background: #fff; color: var(--cyan-fonce); }
.expo__lecture, .mur__tuile .mur__lecture, .carte-real__lecture { background: #fff; color: #30358c; }
.flash { background: #fff; }
.polaroid { background: #fff; }
.polaroid__mot { color: #30358c; }
.tuile { background: #fff; border-color: transparent; }
.puce[aria-pressed="true"], .puce:has(input:checked) { border-color: var(--cyan); background: var(--cyan); color: #04102b; }
.puce[aria-pressed="true"] .compteur { background: rgba(4, 16, 43, .15); color: #04102b; }
.segment button[aria-pressed="true"] { background: var(--cyan); color: #04102b; }
.segment button[aria-pressed="true"] .compteur { background: rgba(4, 16, 43, .15); color: #04102b; }
.carte, .carte-real, .valeur, .onglet, .fenetre { border-color: var(--filet); }
.carte { background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)) , var(--surface); }
/* Ciel de nuit : lune, étoiles, nuages discrets */
.ciel::before { content: ""; position: absolute; inset: 0; z-index: -4; pointer-events: none; opacity: .85;
  background-image: radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 44% 26%, #cfe9ff 50%, transparent 51%), radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%), radial-gradient(1.6px 1.6px at 78% 30%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 90% 10%, #cfe9ff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 6% 42%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 36% 46%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 56% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 84% 50%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 20% 60%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 70% 64%, #cfe9ff 50%, transparent 51%);
  animation: scintille 6s ease-in-out infinite alternate; }
@keyframes scintille { to { opacity: .45; } }
.ciel__soleil { background: radial-gradient(circle, #fdfbf2 0 16%, #e9ecff 22%, rgba(190, 205, 255, .35) 34%, rgba(160, 180, 255, 0) 62%); }
.ciel__soleil::after { background: radial-gradient(circle, rgba(170, 190, 255, .22), rgba(170, 190, 255, 0) 62%); }
.nuage { opacity: calc(var(--o, .75) * .22); }
.ciel__oiseaux { opacity: .35; }
.heros .phare img { filter: brightness(.82) saturate(1.1); }
.entete-real h1, .entete-contact h1 { text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.champ input::placeholder, .champ textarea::placeholder { color: #6f7aa0; }
.squelette { background: linear-gradient(100deg, #0e1531 30%, #172149 50%, #0e1531 70%) 0 0 / 300% 100%; }
@media (prefers-reduced-motion: reduce) { .ciel::before { animation: none; } }
.valeur__icone { background: linear-gradient(140deg, rgba(55, 189, 231, .18), rgba(48, 53, 140, .35)); color: #8fe0f7; border: 1px solid rgba(55, 189, 231, .25); }
.liste-contacts .ic { background: rgba(55, 189, 231, .12); color: #8fe0f7; }
.liste-contacts .ic--wa { background: rgba(31, 168, 85, .16); color: #4fd88a; }
.alerte { background: rgba(255, 196, 102, .1); border-color: rgba(255, 196, 102, .35); color: #ffd9a3; }
.alerte--info { background: rgba(55, 189, 231, .1); border-color: rgba(55, 189, 231, .3); color: #cfe9f6; }
.carte-map { background: linear-gradient(135deg, #111a3d, #241a3e); }

/* ==========================================================================
   VERSION 3 — refonte complète du design
   Direction : « Nuit de Dakar » — éditorial, lumineux, un phare qui balaie la page.
   ========================================================================== */
:root { --t-fort: #fff; --t-moyen: #aeb8da; --t-doux: #8f9cc4; --largeur: 1240px; --r-carte: 22px; --r-grande: 28px; --ligne: rgba(255, 255, 255, .08); --or-doux: #ffc996; }
body { background: #05081a; }
body::after { content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* --- En-tête flottant --- */
.entete { position: fixed; left: 0; right: 0; top: 14px; height: auto; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.entete.est-defile { background: none; border: 0; }
.entete__in { height: 64px; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); padding-inline: 12px 12px; margin-inline: auto; width: calc(100% - 2 * var(--gouttiere));
  border-radius: 999px; background: rgba(9, 14, 36, .55); border: 1px solid rgba(255, 255, 255, .09);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8); transition: background-color .3s; }
.entete.est-defile .entete__in { background: rgba(6, 10, 28, .86); }
.entete__logo { padding-left: 14px; }
.entete__logo img { height: 36px; }
.nav__lien { border-radius: 999px; font-size: 15px; color: var(--t-moyen); }
.nav__lien[aria-current="page"] { color: var(--t-fort); background: rgba(255, 255, 255, .08); }
.nav__lien[aria-current="page"]::after { display: none; }
.nav .btn { border-radius: 999px; }
.progression { bottom: auto; top: 0; left: 50%; width: min(100% - 2 * var(--gouttiere) - 60px, var(--largeur) - 60px); transform-origin: 0 50%; margin-left: calc(min(100% - 2 * var(--gouttiere) - 60px, var(--largeur) - 60px) / -2); height: 2px; border-radius: 2px; }
main#contenu { padding-top: 0; }

/* --- Boutons --- */
.btn { border-radius: 999px; }
.btn--primaire { background: linear-gradient(135deg, #5fd0f2, #37bde7 55%, #2aa6d3); color: #04102b; box-shadow: 0 14px 40px -14px rgba(55, 189, 231, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--primaire:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -16px rgba(55, 189, 231, 1), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--grand { min-height: 60px; padding-inline: 30px; font-size: 17px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-weight: 600; font-size: 15px; color: var(--cyan); text-decoration: none; }
.lien-fleche svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.lien-fleche:hover svg { transform: translateX(4px); }

/* --- Titres éditoriaux --- */
.surtitre { color: var(--t-doux); letter-spacing: .18em; }
.surtitre::before { display: none; }
.surtitre .numero { display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid rgba(55, 189, 231, .45); color: var(--cyan); font-size: 11.5px; letter-spacing: .06em; margin-right: 2px; }
.titre-bloc { font-family: var(--f-titre); font-size: clamp(36px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-top: 18px; color: var(--t-fort); text-wrap: balance; }
.titre-bloc em, .appel__titre em { font-style: normal; background: linear-gradient(100deg, #37bde7, #8fe0f7 45%, #ffc996); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bloc { position: relative; padding-block: clamp(84px, 11vw, 150px); }
.bloc--sombre { background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0) 40%), #070c22; border-block: 1px solid var(--ligne); }
.entete-bloc { margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.entete-bloc--centre { margin-inline: auto; text-align: center; }
.entete-bloc--centre .chapo { margin-inline: auto; }
.entete-bloc--ligne { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; max-width: none; }

/* --- Héros --- */
.h3ros { position: relative; min-height: min(100svh, 960px); display: flex; flex-direction: column; justify-content: center; padding: 130px 0 40px; overflow: hidden; isolation: isolate; }
.h3ros__ciel { position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 90% at 75% 10%, #1b2260 0%, #0b1236 38%, #05081a 72%); }
.h3ros__aurore { position: absolute; inset: -20% -10% auto; height: 80%; background: radial-gradient(40% 50% at 30% 40%, rgba(55, 189, 231, .22), transparent 70%), radial-gradient(35% 45% at 80% 30%, rgba(124, 77, 196, .28), transparent 70%), radial-gradient(30% 40% at 60% 80%, rgba(255, 201, 150, .12), transparent 70%); filter: blur(30px); animation: aurore 18s ease-in-out infinite alternate; }
@keyframes aurore { to { transform: translate3d(4%, 3%, 0) scale(1.06); } }
.h3ros__etoiles { position: absolute; inset: 0; opacity: .8; background-image: radial-gradient(1.3px 1.3px at 8% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 32%, #dbe8ff 50%, transparent 51%), radial-gradient(1.4px 1.4px at 36% 9%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 47% 24%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 58% 6%, #cfe9ff 50%, transparent 51%), radial-gradient(1px 1px at 66% 38%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 94% 44%, #cfe9ff 50%, transparent 51%), radial-gradient(1.1px 1.1px at 14% 56%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 30% 70%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 52% 60%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 76% 72%, #fff 50%, transparent 51%); animation: scintille 5s ease-in-out infinite alternate; }
.h3ros__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(20px, 4vw, 60px); }
.etiquette-haut { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--ligne); font-family: var(--f-titre); font-size: 13px; font-weight: 500; color: var(--t-moyen); letter-spacing: .02em; }
.point-live { width: 9px; height: 9px; border-radius: 50%; background: #2ee07a; box-shadow: 0 0 0 0 rgba(46, 224, 122, .6); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(46, 224, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 224, 122, 0); } }
.h3ros h1 { margin-top: 26px; font-size: clamp(46px, 7.6vw, 108px); font-weight: 800; letter-spacing: -.05em; line-height: .95; color: var(--t-fort); }
.h3ros .mot-rotatif > span { background: linear-gradient(100deg, #37bde7, #9fe6fa 50%, #ffc996); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h3ros__chapo { margin-top: 26px; max-width: 34em; font-size: clamp(17px, 1.7vw, 20px); color: var(--t-moyen); }
.h3ros__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.h3ros__visuel { position: relative; height: min(76svh, 720px); display: flex; justify-content: center; align-items: flex-end; }
.h3ros__phare { position: relative; z-index: 2; height: 100%; width: auto; max-width: none; object-fit: contain; filter: brightness(.85) saturate(1.1) drop-shadow(0 30px 60px rgba(0, 0, 0, .6));
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 18%); mask-image: linear-gradient(to top, transparent 0, #000 18%); }
.faisceau { position: absolute; z-index: 1; left: 50%; top: 12%; width: 1800px; height: 1800px; margin: -900px 0 0 -900px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(255, 238, 190, .32) 0deg, rgba(255, 238, 190, 0) 22deg, rgba(255, 238, 190, 0) 180deg, rgba(255, 238, 190, .22) 180deg, rgba(255, 238, 190, 0) 200deg, rgba(255, 238, 190, 0) 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 4%, rgba(0, 0, 0, .6) 30%, transparent 62%); mask-image: radial-gradient(circle, #000 4%, rgba(0, 0, 0, .6) 30%, transparent 62%);
  animation: balaye 9s linear infinite; mix-blend-mode: screen; }
@keyframes balaye { to { transform: rotate(360deg); } }
.halo { position: absolute; z-index: 3; left: 50%; top: 12%; width: 220px; height: 220px; margin: -110px 0 0 -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 250, 225, .95) 0 8%, rgba(255, 220, 140, .5) 26%, rgba(255, 200, 120, 0) 68%); mix-blend-mode: screen; animation: respire 3.2s ease-in-out infinite; pointer-events: none; }
@keyframes respire { 50% { transform: scale(1.15); opacity: .8; } }
.badge-flottant { position: absolute; z-index: 4; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: rgba(12, 18, 46, .7); border: 1px solid rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); animation: flotte 7s ease-in-out infinite; }
.badge-flottant strong { font-family: var(--f-titre); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--t-fort); line-height: 1; }
.badge-flottant span { font-size: 13px; color: var(--t-doux); }
.badge-flottant--a { left: 0; top: 18%; }
.badge-flottant--b { right: 0; top: 42%; animation-delay: -2.4s; }
.badge-flottant--c { left: 6%; bottom: 14%; animation-delay: -4.6s; }
@keyframes flotte { 50% { transform: translateY(-12px); } }
.h3ros__poles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: clamp(30px, 5vw, 60px); padding-top: 26px; border-top: 1px solid var(--ligne); list-style: none; font-family: var(--f-titre); font-size: 15px; font-weight: 500; color: var(--t-doux); letter-spacing: .02em; }
.h3ros__poles li { display: inline-flex; align-items: center; gap: 12px; }
.h3ros__poles li::before { content: ""; width: 0; height: 0; border-left: 8px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* En-tête des pages intérieures */
.tete-page { position: relative; isolation: isolate; overflow: hidden; margin-top: 0 !important; padding-top: clamp(150px, 16vw, 200px) !important; background: none !important; }
.tete-page .ciel__soleil { display: none; }
.tete-page h1 { font-size: clamp(44px, 7vw, 92px) !important; font-weight: 800; letter-spacing: -.05em !important; line-height: .96; color: var(--t-fort); }

/* --- Agence --- */
.agence3 { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 4vw, 60px) clamp(20px, 3vw, 40px); }
.agence3 > div:first-child { grid-column: 1 / span 12; }
.agence3__texte { grid-column: 1 / span 7; font-size: 17px; color: var(--t-moyen); display: grid; gap: 16px; align-content: start; }
.agence3__texte .grand { font-family: var(--f-titre); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; color: var(--t-fort); font-weight: 400; letter-spacing: -.01em; }
.agence3__texte .note-main { color: var(--or-doux); }
.valeurs3 { grid-column: 8 / span 5; list-style: none; border-top: 1px solid var(--ligne); align-self: start; }
.valeurs3 li { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; padding: 20px 0; border-bottom: 1px solid var(--ligne); transition: padding .4s var(--ease); }
.valeurs3 li:hover { padding-left: 10px; }
.valeurs3 span { grid-row: span 2; font-family: var(--f-titre); font-size: 13px; color: var(--cyan); padding-top: 5px; }
.valeurs3 strong { font-family: var(--f-titre); font-size: 21px; font-weight: 600; color: var(--t-fort); }
.valeurs3 em { font-style: normal; color: var(--t-doux); font-size: 15px; }

/* --- Bento des pôles --- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.pole { grid-column: span 2; display: flex; flex-direction: column; border-radius: var(--r-grande); overflow: hidden; background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01)); border: 1px solid var(--ligne); transition: border-color .4s, transform .5s var(--ease), box-shadow .5s; }
.pole--1, .pole--4 { grid-column: span 4; }
.pole:hover { border-color: rgba(55, 189, 231, .45); transform: translateY(-6px); box-shadow: 0 30px 70px -36px rgba(55, 189, 231, .55); }
.pole__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.pole--1 .pole__media, .pole--4 .pole__media { aspect-ratio: 21 / 9; }
.pole__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.pole:hover .pole__media img { transform: scale(1.1); }
.pole__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 26, 0) 40%, rgba(7, 12, 34, .9)); }
.pole__num { position: absolute; z-index: 1; left: 18px; top: 16px; font-family: var(--f-titre); font-size: 13px; font-weight: 600; color: var(--t-fort); padding: 5px 11px; border-radius: 999px; background: rgba(5, 8, 26, .5); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.pole__corps { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; margin-top: -40px; position: relative; z-index: 1; }
.pole__nom { font-family: var(--f-titre); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.pole h3 { font-size: clamp(21px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; color: var(--t-fort); text-wrap: balance; }
.pole__prestations { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pole__prestations li { font-size: 13px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); color: var(--t-moyen); }
.pole__prestations li.groupe { background: none; border-color: transparent; padding-left: 0; color: var(--or-doux); font-family: var(--f-titre); font-weight: 600; flex-basis: 100%; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; }
.pole .lien-fleche { margin-top: auto; }

/* --- Méthode --- */
.etapes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: e; position: relative; }
.etapes::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, rgba(55, 189, 231, .6), rgba(255, 201, 150, .4), transparent); }
.etapes li { position: relative; padding-top: 74px; }
.etapes__num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-titre); font-weight: 700; color: #04102b; background: linear-gradient(135deg, #8fe0f7, #37bde7); box-shadow: 0 0 0 8px #05081a, 0 12px 30px -8px rgba(55, 189, 231, .7); }
.etapes h3 { font-size: 22px; font-weight: 700; color: var(--t-fort); }
.etapes p { margin-top: 10px; color: var(--t-doux); font-size: 15.5px; max-width: 28ch; }

/* --- Derniers projets (accueil) --- */
.grille-expo--accueil { grid-auto-rows: clamp(200px, 22vw, 290px); }
.grille-expo--accueil > li:nth-child(n) { grid-column: auto; grid-row: span 1; }
.grille-expo--accueil > li:first-child { grid-column: span 2; grid-row: span 2; }

/* --- Logos --- */
.logos { list-style: none; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.logos li { aspect-ratio: 16 / 10; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 14px; transition: transform .4s var(--ease), box-shadow .4s; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9); }
.logos li:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 24px 50px -22px rgba(55, 189, 231, .6); }
.logos img { width: 100%; height: 100%; object-fit: contain; }

/* --- Appel final --- */
.appel { overflow: hidden; isolation: isolate; }
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 100%, rgba(55, 189, 231, .28), transparent 70%), radial-gradient(40% 50% at 15% 20%, rgba(124, 77, 196, .25), transparent 70%), #060a20; }
.appel__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.appel__titre { margin-top: 18px; font-family: var(--f-titre); font-size: clamp(48px, 9vw, 128px); font-weight: 800; letter-spacing: -.055em; line-height: .92; color: var(--t-fort); }
.appel .chapo { margin-inline: auto; color: var(--t-moyen); }
.appel__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 54px; }
.appel .cartes-contact { width: 100%; text-align: left; }
.appel .carte-contact { background: rgba(255, 255, 255, .04); border-color: var(--ligne); }

/* --- Pied de page --- */
.pied { background: #03050f; border-top: 1px solid var(--ligne); }

/* --- Confirmation d'envoi (simple) --- */
.envoi-ok { text-align: center; padding: clamp(30px, 6vw, 60px) 10px; animation: apparait .5s var(--ease) both; }
.envoi-ok:focus { outline: none; }
.envoi-ok__coche { width: 76px; height: 76px; margin: 0 auto 18px; color: #2ee07a; }
.envoi-ok__coche circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: trace .7s var(--ease) forwards; }
.envoi-ok__coche path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: trace .45s var(--ease) forwards .55s; }
.envoi-ok.est-echec .envoi-ok__coche { color: #ffb55f; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.envoi-ok h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; color: var(--t-fort); letter-spacing: -.02em; }
.envoi-ok p { margin: 10px auto 0; max-width: 42ch; color: var(--t-moyen); }
.envoi-ok__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.btn.est-envoi { pointer-events: none; opacity: .85; }
.btn.est-envoi svg { display: none; }
.btn.est-envoi::after { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: tourne .7s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }

/* --- Responsive --- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pole, .pole--1, .pole--4 { grid-column: span 1; }
  .pole--1 .pole__media, .pole--4 .pole__media { aspect-ratio: 16 / 9; }
  .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etapes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .etapes::before { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: grid; }
  .h3ros { padding-top: 110px; min-height: 0; }
  .h3ros__grille { grid-template-columns: 1fr; }
  .h3ros__visuel { order: -1; height: 46vh; margin-bottom: -10px; }
  .badge-flottant { padding: 10px 14px; }
  .badge-flottant strong { font-size: 22px; }
  .badge-flottant--a { left: 2%; top: 14%; } .badge-flottant--b { right: 2%; top: 40%; } .badge-flottant--c { left: 4%; bottom: 10%; }
  .agence3__texte, .valeurs3 { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .entete { top: 10px; }
  .entete__in { height: 58px; }
  .bento { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .etapes { grid-template-columns: 1fr; }
  .h3ros h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .h3ros__poles { gap: 8px 18px; font-size: 13.5px; }
  .grille-expo--accueil > li:first-child { grid-column: 1 / -1; grid-row: span 1; }
  .appel__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .faisceau, .halo, .h3ros__aurore, .h3ros__etoiles, .badge-flottant, .point-live { animation: none !important; }
}
.pole--5, .pole--6 { grid-column: span 3; }
.logos li { aspect-ratio: auto; height: 116px; }
.logos img { width: auto; height: auto; max-width: 100%; max-height: 84px; }
.grille-expo--accueil { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .pole--5, .pole--6 { grid-column: span 1; } }
@media (max-width: 900px) { .grille-expo--accueil { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grille-expo--accueil > li:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { .logos li { height: 92px; padding: 10px; } .logos img { max-height: 64px; } }
.envoi-ok__x { display: none; }
.envoi-ok.est-echec .envoi-ok__v { display: none; }
.envoi-ok.est-echec .envoi-ok__x { display: inline; }

/* ==========================================================================
   THÈME « JOUR » (de 5 h à 20 h, heure de Dakar) — posé par assets/js/theme.js
   ========================================================================== */
html[data-theme="jour"] {
  --encre: #161c30; --encre-douce: #556080; --fond: #f4f7fc; --surface: #ffffff; --surface-2: #f7f9fd; --bande: #e9eef8;
  --filet: #dde4ef; --titre: #1f2470; --verre: rgba(255, 255, 255, .78); --cyan-texte: #1d6c98; --ligne: rgba(22, 28, 48, .09);
  --t-fort: #141a3d; --t-moyen: #4a5577; --t-doux: #6b7593;
  --ombre-1: 0 1px 2px rgba(22, 28, 48, .05), 0 6px 18px rgba(22, 28, 48, .06);
  --ombre-2: 0 2px 6px rgba(22, 28, 48, .05), 0 22px 46px -18px rgba(48, 53, 140, .22);
  color-scheme: light;
}
html[data-theme="jour"] body { background: #f4f7fc; }
html[data-theme="jour"] body::after { opacity: .03; mix-blend-mode: multiply; }
html[data-theme="jour"] .entete__in { background: rgba(255, 255, 255, .7); border-color: rgba(22, 28, 48, .08); box-shadow: 0 18px 40px -26px rgba(22, 28, 48, .35); }
html[data-theme="jour"] .entete.est-defile .entete__in { background: rgba(255, 255, 255, .92); }
html[data-theme="jour"] .nav__lien { color: #3b4566; }
html[data-theme="jour"] .nav__lien:hover, html[data-theme="jour"] .nav__lien[aria-current="page"] { background: rgba(48, 53, 140, .07); color: #1f2470; }
html[data-theme="jour"] .burger { background: rgba(255, 255, 255, .8); color: #1f2470; border-color: rgba(22, 28, 48, .1); }
html[data-theme="jour"] .btn--contour { background: rgba(255, 255, 255, .6); color: #1f2470; border-color: rgba(31, 36, 112, .22); }
html[data-theme="jour"] .btn--contour:hover { background: #fff; border-color: #1f2470; }
html[data-theme="jour"] .surtitre { color: #4c5a86; }
html[data-theme="jour"] .surtitre .numero { color: #1d6c98; border-color: rgba(29, 108, 152, .4); }
html[data-theme="jour"] .titre-bloc em, html[data-theme="jour"] .h3ros .mot-rotatif > span { background: linear-gradient(100deg, #1d8fc4, #37bde7 45%, #30358c); -webkit-background-clip: text; background-clip: text; }
/* Ciel du matin */
html[data-theme="jour"] .h3ros__ciel { background: linear-gradient(180deg, #7dbbea 0%, #b3dbf6 34%, #e7eff5 62%, #ffe3c2 86%, #ffd0a3 100%); }
html[data-theme="jour"] .h3ros__aurore { background: radial-gradient(40% 50% at 70% 20%, rgba(255, 244, 214, .9), transparent 70%), radial-gradient(35% 40% at 20% 70%, rgba(255, 255, 255, .5), transparent 70%); }
html[data-theme="jour"] .h3ros__etoiles { display: none; }
html[data-theme="jour"] .etiquette-haut { background: rgba(255, 255, 255, .6); border-color: rgba(22, 28, 48, .08); color: #2a3460; }
html[data-theme="jour"] .h3ros__phare { filter: drop-shadow(0 30px 50px rgba(48, 53, 140, .25)); }
html[data-theme="jour"] .faisceau { opacity: .45; }
html[data-theme="jour"] .halo { opacity: .55; }
html[data-theme="jour"] .badge-flottant { background: rgba(255, 255, 255, .78); border-color: rgba(255, 255, 255, .9); box-shadow: 0 20px 40px -24px rgba(48, 53, 140, .45); }
html[data-theme="jour"] .h3ros__poles { color: #3b4566; border-color: rgba(22, 28, 48, .1); }
html[data-theme="jour"] .tete-page h1 { color: #141a3d; }
/* Sections */
html[data-theme="jour"] .bloc--sombre { background: #eaf0f9; border-color: rgba(22, 28, 48, .06); }
html[data-theme="jour"] .pole { background: #fff; border-color: rgba(22, 28, 48, .07); box-shadow: 0 20px 44px -30px rgba(22, 28, 48, .35); }
html[data-theme="jour"] .pole:hover { border-color: rgba(55, 189, 231, .6); box-shadow: 0 30px 60px -32px rgba(48, 53, 140, .4); }
html[data-theme="jour"] .pole__media::after { background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #fff); }
html[data-theme="jour"] .pole__num { color: #fff; }
html[data-theme="jour"] .pole__nom, html[data-theme="jour"] .lien-fleche { color: #1d6c98; }
html[data-theme="jour"] .pole__prestations li { background: #f1f5fb; border-color: #e3e9f3; color: #3b4566; }
html[data-theme="jour"] .pole__prestations li.groupe { background: none; color: #b26a1f; }
html[data-theme="jour"] .agence3__texte .note-main { color: #1d6c98; }
html[data-theme="jour"] .etapes__num { box-shadow: 0 0 0 8px #f4f7fc, 0 12px 30px -10px rgba(55, 189, 231, .7); }
html[data-theme="jour"] .logos li { box-shadow: 0 16px 34px -24px rgba(22, 28, 48, .4); border: 1px solid #e6ebf3; }
/* Sections qui restent sombres le jour : vitrines et appel final */
html[data-theme="jour"] .appel, html[data-theme="jour"] .galerie-sombre, html[data-theme="jour"] .mur { --t-fort: #fff; --t-moyen: #c9d0ea; --t-doux: #9fb0d8; --titre: #fff; }
html[data-theme="jour"] .appel .surtitre { color: #9fb0d8; }
html[data-theme="jour"] .appel .surtitre .numero { color: #37bde7; border-color: rgba(55, 189, 231, .45); }
html[data-theme="jour"] .appel .titre-bloc em, html[data-theme="jour"] .appel__titre em { background: linear-gradient(100deg, #37bde7, #8fe0f7 45%, #ffc996); -webkit-background-clip: text; background-clip: text; }
html[data-theme="jour"] .appel .carte-contact { color: #fff; }
/* Cartes, formulaires, tableaux */
html[data-theme="jour"] .carte { background: #fff; border-color: rgba(22, 28, 48, .07); }
html[data-theme="jour"] .champ input, html[data-theme="jour"] .champ textarea { background: #f7f9fd; border-color: #dbe2ee; color: #161c30; }
html[data-theme="jour"] .champ input:hover, html[data-theme="jour"] .champ textarea:hover { border-color: #b8c4da; }
html[data-theme="jour"] .champ input::placeholder, html[data-theme="jour"] .champ textarea::placeholder { color: #8b95b0; }
html[data-theme="jour"] .puce { background: #fff; border-color: #dbe2ee; color: #1f2470; }
html[data-theme="jour"] .valeur__icone, html[data-theme="jour"] .liste-contacts .ic { background: #eaf5fd; color: #1d6c98; border-color: transparent; }
html[data-theme="jour"] .liste-contacts .ic--wa { background: #e4f7ec; color: #1fa855; }
html[data-theme="jour"] .alerte { background: #fff6e8; border-color: #ffd59a; color: #6a4410; }
html[data-theme="jour"] .alerte--info { background: #eef7fd; border-color: #b9e3f6; color: #164e70; }
html[data-theme="jour"] .carte-map { background: linear-gradient(135deg, #dfe8f6, #f2e9de); }
html[data-theme="jour"] .horaires tr.aujourdhui th, html[data-theme="jour"] .horaires tr.aujourdhui td { background: #eef7fd; }
html[data-theme="jour"] .squelette { background: linear-gradient(100deg, #e6ecf5 30%, #f3f6fb 50%, #e6ecf5 70%) 0 0 / 300% 100%; }
html[data-theme="jour"] .envoi-ok h3 { color: #141a3d; }
html[data-theme="jour"] .fenetre, html[data-theme="jour"] .consentement { background: #fff; color: #161c30; }
html[data-theme="jour"] .menu-mobile { background: rgba(244, 247, 252, .97); }
html[data-theme="jour"] .page-404 { background: var(--ciel-jour, linear-gradient(180deg, #7dbbea 0%, #b3dbf6 34%, #e7eff5 62%, #ffe3c2 86%, #ffd0a3 100%)); }
html[data-theme="jour"] .page-404::before { display: none; }
html[data-theme="jour"] .page-404 .nuage { opacity: var(--o, .75); }
html[data-theme="jour"] .page-404 .ciel__soleil { background: radial-gradient(circle, #fff8dc 0 22%, #ffe08a 34%, rgba(255, 196, 102, .6) 50%, rgba(255, 180, 90, 0) 70%); }
html[data-theme="jour"] .page-404 .phare img { filter: none; }

/* ==========================================================================
   Intro : le R de Régie Com, 2 secondes à chaque arrivée sur une page
   ========================================================================== */
html.intro body::before { content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background: #05081a url("../img/marque/intro-r-nuit.svg") center / min(46vw, 230px) no-repeat; animation: intro-fond 2s ease forwards; }
html.intro[data-theme="jour"] body::before { background-color: #f4f7fc; }
@keyframes intro-fond { 0%, 76% { opacity: 1; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }

/* ==========================================================================
   Faisceau du phare : balayage horizontal (gauche ↔ droite)
   ========================================================================== */
.faisceau { left: 50%; top: 12%; width: 120vw; height: 230px; margin: -115px 0 0 0; border-radius: 0; transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255, 244, 205, .75), rgba(255, 236, 180, .28) 35%, rgba(255, 236, 180, 0) 80%);
  clip-path: polygon(0 47%, 100% 0, 100% 100%, 0 53%); -webkit-mask-image: none; mask-image: none; filter: blur(3px);
  animation: balaye-h 6s ease-in-out infinite; mix-blend-mode: screen; }
@keyframes balaye-h { 0% { transform: scaleX(1); opacity: .95; } 25% { transform: scaleX(.12); opacity: .4; } 50% { transform: scaleX(-1); opacity: .95; } 75% { transform: scaleX(-.12); opacity: .4; } 100% { transform: scaleX(1); opacity: .95; } }
html[data-theme="jour"] .faisceau { mix-blend-mode: normal; background: linear-gradient(90deg, rgba(255, 255, 240, .9), rgba(255, 250, 225, .35) 35%, rgba(255, 250, 225, 0) 80%); opacity: .7; }
@media (prefers-reduced-motion: reduce) { html.intro body::before { display: none; } }

/* ==========================================================================
   Menu mobile : panneau qui descend ; toucher à côté le referme
   ========================================================================== */
.menu-mobile { background: rgba(3, 6, 20, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: block; padding: 10px; }
html[data-theme="jour"] .menu-mobile { background: rgba(20, 26, 61, .35); }
.menu-mobile__panneau { display: flex; flex-direction: column; border-radius: 28px; background: #0a1030; border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
  transform: translateY(-24px) scale(.98); opacity: 0; transition: transform .45s var(--ease), opacity .3s; max-height: calc(100svh - 20px); overflow: auto; }
html[data-theme="jour"] .menu-mobile__panneau { background: #fff; border-color: rgba(22, 28, 48, .08); }
.menu-mobile.est-ouvert .menu-mobile__panneau { transform: none; opacity: 1; }
.menu-mobile__haut { height: 64px; padding-inline: 18px 10px; }
.menu-mobile__haut img { height: 34px; }
html[data-theme="jour"] .menu-mobile__haut img { content: url("../img/marque/logo.svg"); }
.menu-mobile__fermer { border-radius: 999px; border-color: rgba(255, 255, 255, .15); }
.menu-mobile nav { padding: 8px 22px 10px; }
.menu-mobile nav a { font-size: 28px; padding: 10px 0; border-bottom: 1px solid var(--ligne); }
.menu-mobile__bas { margin-top: 0; padding: 16px 18px 20px; }
.menu-mobile__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html[data-theme="jour"] .entete__logo img { content: url("../img/marque/logo.svg"); }
html.intro[data-theme="jour"] body::before { background-image: url("../img/marque/intro-r-jour.svg"); }

/* ==========================================================================
   Réalisations : diaporama plein écran (façon grand écran de cinéma)
   ========================================================================== */
.diapo { position: relative; height: 100svh; min-height: 560px; max-height: 1000px; overflow: hidden; background: #05081a; color: #fff; isolation: isolate; }
.diapo__piste { position: absolute; inset: 0; }
.diapo__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.diapo__slide.est-actif { opacity: 1; visibility: visible; transition: opacity 1.1s ease, visibility 0s; z-index: 1; }
.diapo__slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.diapo__slide.est-actif img { animation: zoom-lent 7s linear forwards; }
@keyframes zoom-lent { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.diapo__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 26, .78) 0%, rgba(5, 8, 26, .35) 45%, rgba(5, 8, 26, .05) 70%), linear-gradient(0deg, rgba(5, 8, 26, .7), transparent 35%), linear-gradient(180deg, rgba(5, 8, 26, .55), transparent 22%); }
.diapo__texte { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-40%); }
.diapo__titre { font-family: var(--f-titre); font-weight: 800; font-size: clamp(52px, 9vw, 130px); letter-spacing: -.05em; line-height: .92; color: #fff; max-width: 10ch; }
.diapo__accroche { margin-top: 18px; max-width: 30ch; font-size: clamp(17px, 1.8vw, 22px); color: rgba(255, 255, 255, .85); }
.diapo__voir { margin-top: 28px; }
.diapo__slide .diapo__titre, .diapo__slide .diapo__accroche, .diapo__slide .diapo__voir { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.diapo__slide.est-actif .diapo__titre { opacity: 1; transform: none; transition-delay: .35s; }
.diapo__slide.est-actif .diapo__accroche { opacity: 1; transform: none; transition-delay: .5s; }
.diapo__slide.est-actif .diapo__voir { opacity: 1; transform: none; transition-delay: .65s; }
.diapo__bas { position: absolute; z-index: 3; left: 0; right: 0; bottom: clamp(26px, 5vh, 54px); display: flex; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.diapo__compteur { font-family: var(--f-titre); font-weight: 300; color: rgba(255, 255, 255, .6); display: flex; align-items: baseline; gap: 10px; font-size: 22px; }
.diapo__compteur b { font-weight: 700; font-size: clamp(44px, 5vw, 68px); color: #fff; line-height: 1; }
.diapo__fleches { display: flex; gap: 10px; pointer-events: auto; }
.diapo__fleche { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .45); background: rgba(5, 8, 26, .3); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.diapo__fleche:hover { background: #fff; color: #05081a; border-color: #fff; transform: scale(1.06); }
.diapo__fleche svg { width: 22px; height: 22px; }
.diapo__barre { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .15); }
.diapo__barre span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; background: linear-gradient(90deg, #37bde7, #ffc996); animation: barre-diapo 5500ms linear forwards; }
.diapo.est-pause .diapo__barre span { animation-play-state: paused; }
@keyframes barre-diapo { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.diapo + .galerie-sombre { border-top: 0; }
@media (max-width: 640px) {
  .diapo { height: 88svh; min-height: 520px; }
  .diapo__texte { top: auto; bottom: 120px; transform: none; }
  .diapo__titre { font-size: clamp(44px, 14vw, 64px); }
  .diapo__fleche { width: 48px; height: 48px; }
  .diapo__compteur { font-size: 18px; } .diapo__compteur b { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) { .diapo__slide.est-actif img { animation: none; transform: none; } .diapo__barre { display: none; } }
/* Menu mobile : pied sobre, sans gros boutons */
.menu-mobile nav a { font-size: 22px; font-weight: 600; letter-spacing: -.01em; padding: 14px 0; }
.menu-mobile nav a .tri { border-left-width: 8px; border-top-width: 5px; border-bottom-width: 5px; margin-right: 12px; }
.menu-mobile__bas { gap: 8px; padding: 18px 22px 22px; }
.menu-mobile__infos { font-size: 14px; line-height: 1.7; color: var(--t-doux); }
.menu-mobile__infos a { color: var(--t-moyen); text-decoration: none; }
.menu-mobile__infos a:hover { color: var(--cyan); }
.menu-mobile__fermer, .burger, .menu-mobile nav a { -webkit-tap-highlight-color: transparent; }
.menu-mobile__fermer:focus { outline: none; }
.menu-mobile__fermer:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
