/* ==========================================================================
   GARYSOFT — feuille de style, version 2 (« dashboard »)
   Verre dépoli, composants superposés, formes arrondies, cadres circulaires.
   Palette : bleu nuit + verts du logo (#178A00 sur clair, #5FD43A sur sombre)
   Typo : Outfit (titres, chiffres, interface) + Plus Jakarta Sans (texte)
   ========================================================================== */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Couleurs */
  --nuit: #0E2140;
  --nuit-2: #18335F;
  --nuit-3: #0A1830;
  --encre: #1B2536;
  --ardoise: #586579;
  --sur-nuit: #B8C4D6;
  --vert: #5FD43A;        /* vert vif, uniquement sur fonds bleu nuit */
  --vert-logo: #178A00;   /* vert du logo : boutons sur fond clair (texte blanc 4,5:1) */
  --vert-texte: #147D00;  /* icônes et soulignés sur fond clair */
  --menthe: #E8F7E2;
  --menthe-2: #CDEFC1;
  --fond: #F3F6FA;
  --blanc: #FFFFFF;
  --trait: #DCE3ED;
  --trait-2: #E8EDF4;

  /* Verre dépoli */
  --verre: rgba(255, 255, 255, .62);
  --verre-fort: rgba(255, 255, 255, .8);
  --verre-bord: rgba(255, 255, 255, .9);
  --verre-nuit: rgba(255, 255, 255, .07);
  --flou: saturate(170%) blur(18px);

  /* Profondeur */
  --ombre-1: 0 1px 2px rgba(14, 33, 64, .05), 0 8px 20px -10px rgba(14, 33, 64, .16);
  --ombre-2: 0 2px 6px rgba(14, 33, 64, .06), 0 26px 50px -22px rgba(14, 33, 64, .30);
  --ombre-3: 0 4px 10px rgba(14, 33, 64, .06), 0 50px 90px -34px rgba(14, 33, 64, .45);

  /* Typographie */
  --f-titre: "Outfit", "Segoe UI", system-ui, sans-serif;
  --f-texte: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.03rem;
  --fs-lead: 1.15rem;
  --fs-h4: 1.15rem;
  --fs-h3: 1.4rem;
  --fs-h2: clamp(1.85rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.1rem, 1.45rem + 2.8vw, 3.65rem);

  /* Formes */
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --pill: 999px;

  /* Mise en page */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --header-h: 96px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--encre);
  background:
    radial-gradient(1100px 620px at 8% -6%, rgba(95, 212, 58, .14), transparent 62%),
    radial-gradient(900px 640px at 100% 4%, rgba(70, 120, 210, .12), transparent 60%),
    var(--fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--nuit); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 700; }
sup { font-size: 0.62em; line-height: 0; vertical-align: 0.55em; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  font-family: var(--f-titre);
  color: var(--nuit);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); letter-spacing: -0.01em; }

:focus-visible { outline: 3px solid var(--vert-logo); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--vert); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--nuit); color: var(--blanc); padding: 10px 18px; font-weight: 700; border-radius: var(--pill); }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--brume { background: transparent; }

/* Bandes pleine largeur aux bords ondulés, soulignés d'un liseré vert, pour marquer les transitions */
.section--blanc, .section--menthe {
  --vague-h: 64px;
  background: #FFFFFF;
  margin-block: var(--vague-h);
}
.section--menthe { background: linear-gradient(180deg, #E6F5DF, #F0F9EB); }
.section--blanc::before, .section--blanc::after,
.section--menthe::before, .section--menthe::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--vague-h); pointer-events: none;
  background-size: 100% 100%; background-repeat: no-repeat;
}
.section--blanc::before, .section--menthe::before { top: calc(1px - var(--vague-h)); }
.section--blanc::after, .section--menthe::after { bottom: calc(1px - var(--vague-h)); }
.section--blanc::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V36C240 4 480 2 720 28C960 54 1200 58 1440 22V64Z' fill='%23FFFFFF'/%3E%3Cpath d='M0 36C240 4 480 2 720 28C960 54 1200 58 1440 22' fill='none' stroke='%23178A00' stroke-opacity='.45' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.section--blanc::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V22C1200 56 960 56 720 34C480 12 240 4 0 40Z' fill='%23FFFFFF'/%3E%3Cpath d='M1440 22C1200 56 960 56 720 34C480 12 240 4 0 40' fill='none' stroke='%23178A00' stroke-opacity='.45' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); }
.section--menthe::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64V36C240 4 480 2 720 28C960 54 1200 58 1440 22V64Z' fill='%23E6F5DF'/%3E%3Cpath d='M0 36C240 4 480 2 720 28C960 54 1200 58 1440 22' fill='none' stroke='%23178A00' stroke-opacity='.45' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); transform: scaleX(-1); }
.section--menthe::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 0H1440V22C1200 56 960 56 720 34C480 12 240 4 0 40Z' fill='%23F0F9EB'/%3E%3Cpath d='M1440 22C1200 56 960 56 720 34C480 12 240 4 0 40' fill='none' stroke='%23178A00' stroke-opacity='.45' stroke-width='2' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); transform: scaleX(-1); }
@media (max-width: 760px) {
  .section--blanc, .section--menthe { --vague-h: 36px; }
}

.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ardoise); max-width: 62ch; }
.muted { color: var(--ardoise); }
.measure { max-width: 68ch; }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--ardoise); font-size: var(--fs-lead); margin: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Pastille : icône dans un cercle */
.pastille {
  display: inline-grid; place-items: center; flex: none;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(145deg, #F2FBEE 0%, var(--menthe-2) 100%);
  color: var(--vert-texte);
  box-shadow: inset 0 0 0 1px rgba(23, 138, 0, .14), 0 6px 14px -8px rgba(23, 138, 0, .45);
}
.pastille .icon { width: 24px; height: 24px; }

/* Orbes décoratives (fond des héros) */
.orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.orbs span { position: absolute; border-radius: 50%; }
.orbs span:nth-child(1) { width: 520px; height: 520px; left: -160px; top: -140px; background: radial-gradient(closest-side, rgba(95, 212, 58, .30), transparent); }
.orbs span:nth-child(2) { width: 640px; height: 640px; right: -200px; top: 40px; background: radial-gradient(closest-side, rgba(70, 120, 210, .22), transparent); }
.orbs span:nth-child(3) { width: 380px; height: 380px; left: 42%; bottom: -200px; background: radial-gradient(closest-side, rgba(23, 138, 0, .16), transparent); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  border-radius: var(--pill); border: 1.5px solid transparent;
  font-family: var(--f-titre); font-weight: 600; font-size: 1.02rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn .icon { width: 20px; height: 20px; }
.btn--logo { background: var(--vert-logo); color: var(--blanc); box-shadow: 0 10px 22px -12px rgba(23, 138, 0, .8); }
.btn--logo:hover { background: #127000; }
.btn--nuit { background: var(--nuit); color: var(--blanc); box-shadow: 0 10px 22px -12px rgba(14, 33, 64, .7); }
.btn--nuit:hover { background: var(--nuit-2); }
.btn--vert { background: var(--vert); color: var(--nuit); }
.btn--vert:hover { background: #7BE05A; }
.btn--glass, .btn--contour {
  background: var(--verre-fort); color: var(--nuit); border-color: var(--trait);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
}
.btn--glass:hover, .btn--contour:hover { border-color: var(--nuit); background: var(--blanc); }
.on-dark .btn--contour, .section--nuit .btn--contour { background: var(--verre-nuit); color: var(--blanc); border-color: rgba(255, 255, 255, .28); }
.on-dark .btn--contour:hover, .section--nuit .btn--contour:hover { background: var(--blanc); color: var(--nuit); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.lien { font-weight: 650; color: var(--nuit); text-decoration: underline; text-decoration-color: var(--vert-logo); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.lien:hover { text-decoration-color: var(--nuit); }

/* Lien avec bouton rond */
.rond-lien {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-titre); font-weight: 600; color: var(--nuit); text-decoration: none;
}
.rond-lien .rond {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--nuit); color: var(--blanc); transition: transform .2s ease, background-color .2s ease;
}
.rond-lien .rond .icon { width: 18px; height: 18px; }
.rond-lien:hover .rond { background: var(--vert-logo); transform: translateX(3px); }
.rond-lien:hover span:first-child { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- En-tête flottant en verre ---------- */
.site-header { position: sticky; top: 10px; z-index: 50; padding-inline: var(--gutter); margin-top: 10px; }
.site-header .wrap {
  display: flex; align-items: center; gap: 16px; min-height: 89px;
  padding: 6px 8px 6px 10px;
  background: var(--verre-fort);
  -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord);
  border-radius: 24px;
  box-shadow: var(--ombre-1);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.site-header.is-scrolled .wrap { box-shadow: var(--ombre-2); }
.logo { display: block; flex: none; border-radius: 50%; }
.logo img { width: 77px; height: 77px; border-radius: 50%; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 4px; display: flex; align-items: center; gap: 2px; background: rgba(23, 138, 0, .07); border-radius: var(--pill); }
.nav a {
  display: block; padding: 9px 13px; color: var(--vert-texte); text-decoration: none; white-space: nowrap;
  font-family: var(--f-titre); font-weight: 600; font-size: 0.97rem; border-radius: var(--pill);
  transition: background-color .15s ease;
}
.nav a:hover { background: var(--blanc); color: #0F5A00; }
.nav a[aria-current="page"] { background: var(--vert-logo); color: var(--blanc); box-shadow: 0 8px 18px -10px rgba(23, 138, 0, .9); }
.nav a[aria-current="page"]::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--blanc); margin-right: 7px; vertical-align: 2px;
}
.header-tel { flex: none; }
.header-tel .btn { min-height: 48px; padding: 10px 18px; }
.nav-toggle {
  display: none; background: var(--blanc); border: 1px solid var(--trait); color: var(--nuit);
  width: 48px; height: 48px; padding: 11px; cursor: pointer; border-radius: 50%;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 1180px) {
  .nav-toggle { display: inline-grid; place-items: center; order: 3; }
  .header-tel { order: 2; margin-left: auto; }
  .site-header .wrap { position: relative; }
  .nav {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); margin: 0;
    background: rgba(255, 255, 255, .98); /* opaque : le flou ne s'applique pas dans un parent déjà flouté */
    border: 1px solid var(--verre-bord); border-radius: 24px; box-shadow: var(--ombre-2);
    max-height: calc(100dvh - 120px); overflow: auto; display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 4px; padding: 10px; background: none; }
  .nav a { padding: 14px 18px; font-size: 1.06rem; }
}
@media (max-width: 560px) {
  .header-tel .btn span { display: none; }
  .header-tel .btn { width: 48px; padding: 0; justify-content: center; }
  .logo img { width: 65px; height: 65px; }
  .site-header .wrap { min-height: 77px; border-radius: 20px; }
}

/* Puce d'état (ouvert / fermé) */
.statut-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: 7px 14px 7px 10px; border-radius: var(--pill);
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-1);
  font-family: var(--f-titre); font-size: var(--fs-sm); font-weight: 500; color: var(--nuit);
}
.statut-chip__dot { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #9AA5B5; box-shadow: 0 0 0 4px rgba(154, 165, 181, .2); }
.statut-chip.is-open .statut-chip__dot { background: var(--vert-logo); box-shadow: 0 0 0 4px rgba(23, 138, 0, .18); }
.statut-chip--dark { background: var(--verre-nuit); border-color: rgba(255, 255, 255, .14); color: var(--blanc); box-shadow: none; }
.statut-chip--dark.is-open .statut-chip__dot { background: var(--vert); box-shadow: 0 0 0 4px rgba(95, 212, 58, .22); }

/* ---------- Accueil : héros « tableau de bord » ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 104px) clamp(88px, 10vw, 136px); overflow-x: clip; }
.hero__grid {
  position: relative; z-index: 1; display: grid;
  grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
  grid-template-areas: "head head" "text visual";
  column-gap: clamp(32px, 4.5vw, 64px); row-gap: clamp(20px, 3vw, 40px); align-items: center;
}
.hero__head { grid-area: head; }
.hero__head .statut-chip { margin: 26px 0 0; }
.hero__text { grid-area: text; }
.hero__visual { grid-area: visual; }
.hero h1 {
  /* Taille calculée pour que la 2e ligne (la plus longue, ≈ 17,5 em) tienne dans la largeur du contenu */
  font-size: clamp(2.1rem, calc((100vw - 64px) / 18.2), 4rem); line-height: 1.1; letter-spacing: -0.04em;
  max-width: none; margin: 0;
}

/* Effet du titre : apparition mot par mot, puis cercle tracé autour de « rond » */
.titre-anime .mot { display: inline-block; }
.titre-anime .mot--rond { position: relative; }
.rond-trace {
  position: absolute; left: -17%; top: -14%; width: 134%; height: 130%; max-width: none;
  overflow: visible; pointer-events: none;
}
.rond-trace path {
  fill: none; stroke: var(--vert-logo); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke; stroke-dasharray: 100;
}
/* « GARYSOFT » du titre : lettres vertes en relief, qui se redressent puis pivotent doucement en 3D.
   Le relief est fait d'ombres empilées (sans texte transparent) : le mot reste vert dans tous les navigateurs. */
.marque-3d {
  display: inline-block;
  color: var(--vert-logo); -webkit-text-fill-color: currentColor;
  text-shadow: 0.010em 0.014em 0 #137A00, 0.020em 0.028em 0 #116C00, 0.030em 0.042em 0 #0E5E00, 0.040em 0.056em 0 #0C5000, 0.050em 0.070em 0 #0A4300, 0.070em 0.110em 0.140em rgba(14, 33, 64, .32);
  transform-origin: 50% 60%;
}
@media (prefers-reduced-motion: no-preference) {
  .marque-3d {
    animation: marque-3d-entree .9s cubic-bezier(.2, .7, .2, 1) 1.7s both, marque-3d-pivot 9s ease-in-out 2.6s infinite;
  }
  @keyframes marque-3d-entree {
    from { transform: perspective(1400px) rotateX(75deg); text-shadow: 0 0 0 #137A00, 0 0 0 #116C00, 0 0 0 #0E5E00, 0 0 0 #0C5000, 0 0 0 #0A4300, 0 0 0 rgba(14, 33, 64, 0); }
    to { transform: perspective(1400px) rotateX(0deg); text-shadow: 0.010em 0.014em 0 #137A00, 0.020em 0.028em 0 #116C00, 0.030em 0.042em 0 #0E5E00, 0.040em 0.056em 0 #0C5000, 0.050em 0.070em 0 #0A4300, 0.070em 0.110em 0.140em rgba(14, 33, 64, .32); }
  }
  @keyframes marque-3d-pivot {
    0%, 100% { transform: perspective(1400px) rotateY(0deg); text-shadow: 0.010em 0.014em 0 #137A00, 0.020em 0.028em 0 #116C00, 0.030em 0.042em 0 #0E5E00, 0.040em 0.056em 0 #0C5000, 0.050em 0.070em 0 #0A4300, 0.070em 0.110em 0.140em rgba(14, 33, 64, .32); }
    30% { transform: perspective(1400px) rotateY(-8deg); text-shadow: 0.016em 0.014em 0 #137A00, 0.032em 0.028em 0 #116C00, 0.048em 0.042em 0 #0E5E00, 0.064em 0.056em 0 #0C5000, 0.080em 0.070em 0 #0A4300, 0.110em 0.110em 0.140em rgba(14, 33, 64, .30); }
    70% { transform: perspective(1400px) rotateY(8deg); text-shadow: -0.006em 0.014em 0 #137A00, -0.012em 0.028em 0 #116C00, -0.018em 0.042em 0 #0E5E00, -0.024em 0.056em 0 #0C5000, -0.030em 0.070em 0 #0A4300, -0.020em 0.110em 0.140em rgba(14, 33, 64, .30); }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .titre-anime .mot { animation: mot-in .75s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 85ms + 120ms); }
  .rond-trace path { animation: rond-trace 1s cubic-bezier(.6, .05, .3, 1) 1s both; }
  @keyframes mot-in {
    from { opacity: 0; transform: translateY(.45em); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: blur(0); }
  }
  @keyframes rond-trace {
    from { stroke-dashoffset: 100; }
    to { stroke-dashoffset: 0; }
  }
}
.hero .lead { margin-bottom: 30px; }
.hero__facts {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr); margin: 36px 0 0; padding: 6px;
  background: var(--verre); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); border-radius: var(--r); box-shadow: var(--ombre-1);
}
.hero__facts > div { padding: 10px 18px; }
.hero__facts > div + div { border-left: 1px solid var(--trait); }
.hero__facts dt { font-size: var(--fs-xs); color: var(--ardoise); }
.hero__facts dd { margin: 2px 0 0; font-family: var(--f-titre); font-weight: 650; font-size: 1.35rem; color: var(--nuit); line-height: 1.2; }
.hero__facts > div:last-child dd { font-size: 1.05rem; padding-top: 4px; }
.hero__visual { position: relative; padding: 34px 20px 46px 26px; }
/* Anneaux décoratifs derrière le tableau de bord */
.hero__visual::before, .hero__visual::after {
  content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
}
.hero__visual::before { width: 118%; aspect-ratio: 1; border: 1.5px dashed rgba(23, 138, 0, .28); }
.hero__visual::after { width: 88%; aspect-ratio: 1; border: 1px solid rgba(14, 33, 64, .07); background: radial-gradient(closest-side, rgba(255, 255, 255, .55), transparent); }

/* Le tableau de bord */
.dash {
  position: relative; z-index: 1;
  background: var(--verre); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); border-radius: var(--r-xl);
  box-shadow: var(--ombre-3); padding: 12px;
}
.dash__top { display: flex; align-items: center; gap: 10px; padding: 6px 10px 12px; }
.dash__top img { width: 30px; height: 30px; border-radius: 50%; box-shadow: var(--ombre-1); }
.dash__brand { font-family: var(--f-titre); font-weight: 700; color: var(--nuit); letter-spacing: .02em; }
.dash__title { color: var(--ardoise); font-size: var(--fs-sm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__dots { margin-left: auto; display: flex; gap: 6px; }
.dash__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--trait); }
.dash__dots i:last-child { background: var(--menthe-2); }
.dash__body { display: grid; grid-template-columns: 226px minmax(0, 1fr); gap: 12px; min-height: 410px; }
.dash__side { display: flex; flex-direction: column; gap: 4px; padding: 8px; background: rgba(14, 33, 64, .035); border-radius: 24px; }
.dash__tab {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 12px 7px 7px; border: 0; background: none; border-radius: var(--pill);
  font-family: var(--f-titre); font-size: 0.95rem; font-weight: 500; color: var(--encre); text-align: left; cursor: pointer;
  transition: background-color .15s ease;
}
.dash__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blanc); color: var(--ardoise); flex: none; box-shadow: inset 0 0 0 1px var(--trait-2); }
.dash__ico .icon { width: 17px; height: 17px; }
.dash__tab:hover { background: rgba(255, 255, 255, .75); }
.dash__tab[aria-selected="true"] { background: var(--blanc); color: var(--nuit); font-weight: 650; box-shadow: var(--ombre-1); }
.dash__tab[aria-selected="true"] .dash__ico { background: var(--vert-logo); color: var(--blanc); box-shadow: none; }
.dash__pane { background: var(--blanc); border-radius: 24px; padding: 24px 26px 20px; display: flex; flex-direction: column; box-shadow: inset 0 0 0 1px var(--trait-2); }
.dash__pane[hidden] { display: none; }
.dash__crumb { font-size: var(--fs-xs); color: var(--ardoise); margin: 0 0 6px; }
.dash__pane h3 { font-size: 1.55rem; margin-bottom: 0.35em; }
.dash__pane > p { color: var(--ardoise); margin-bottom: 16px; }
.dash__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.dash__list li { display: flex; gap: 10px; align-items: flex-start; }
.dash__list .icon { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--menthe); color: var(--vert-texte); stroke-width: 2.5; }
.dash__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--trait-2); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.dash__logos { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dash__logos img { height: 22px; width: auto; }
.dash__logos img.is-badge { height: 40px; }
.dash__note { font-size: var(--fs-xs); color: var(--ardoise); }
.dash .rond-lien { font-size: 0.95rem; }
.dash .rond-lien .rond { width: 34px; height: 34px; }

/* Cartes flottantes superposées */
.float-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 22px;
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-2);
  text-decoration: none; color: var(--nuit);
}
.float-card__text { display: flex; flex-direction: column; line-height: 1.3; }
.float-card__text strong { font-family: var(--f-titre); font-weight: 650; font-size: 0.95rem; }
.float-card__text span { font-size: var(--fs-xs); color: var(--ardoise); }
.float-card--fe { top: 0; right: 0; }
.float-card--fe:hover { box-shadow: var(--ombre-3); }
.float-card--badge { left: 0; bottom: 6px; }
.float-card--badge img { height: 38px; width: auto; }

/* Anneau de progression */
.ring { position: relative; display: grid; place-items: center; width: 64px; height: 64px; flex: none; }
.ring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--trait-2); stroke-width: 6; }
.ring__value { fill: none; stroke: var(--vert-logo); stroke-width: 6; stroke-linecap: round; stroke-dasharray: calc(var(--p, 0) * 100) 100; }
.ring__label { position: relative; font-family: var(--f-titre); font-weight: 700; font-size: 0.9rem; color: var(--nuit); text-align: center; line-height: 1.1; }
.ring--lg { width: 200px; height: 200px; }
.ring--lg .ring__track { stroke: rgba(255, 255, 255, .12); stroke-width: 4.5; }
.ring--lg .ring__value { stroke: var(--vert); stroke-width: 4.5; }
.ring--lg .ring__label { display: flex; flex-direction: column; gap: 4px; color: var(--blanc); }
.ring--lg .ring__label strong { font-size: 2.6rem; font-weight: 650; letter-spacing: -0.02em; }
.ring--lg .ring__label small { font-family: var(--f-texte); font-size: var(--fs-xs); font-weight: 500; color: var(--sur-nuit); }

@media (max-width: 1040px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "text" "visual"; }
  .hero h1 br { display: none; }
  .hero__visual { padding: 34px 0 46px; }
}
@media (max-width: 680px) {
  .hero__visual::before, .hero__visual::after { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts > div:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--trait); }
  .hero__visual { padding: 0; display: grid; gap: 12px; }
  .float-card { position: static; }
  .float-card--fe { order: -1; }
  .dash { padding: 8px; border-radius: var(--r-lg); }
  .dash__body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash__side { flex-direction: row; overflow-x: auto; border-radius: var(--pill); scrollbar-width: none; }
  .dash__side::-webkit-scrollbar { display: none; }
  .dash__tab { flex: none; width: auto; white-space: nowrap; }
  .dash__pane { padding: 20px 18px 18px; }
  .dash__title { display: none; }
}

/* ---------- Partenaires ---------- */
.partners { position: relative; z-index: 1; margin-top: -24px; }
.partners__panel {
  display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: center;
  padding: 18px 18px 18px 28px; border-radius: var(--r-lg);
  background: var(--verre); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-1);
}
.partners__title { font-size: 1.15rem; letter-spacing: -0.01em; margin: 0; }
.partners__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.partners__grid li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 10px 12px; background: var(--blanc); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--trait-2); text-align: center; }
.partners__logo { height: 56px; display: grid; place-items: center; }
.partners__logo img { height: 28px; width: auto; max-width: 100%; }
.partners__logo img.is-badge { height: 52px; }
.partners__meta { font-size: 0.75rem; line-height: 1.3; color: var(--ardoise); font-weight: 500; }
@media (max-width: 1040px) {
  .partners__panel { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .partners__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) { .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bento des métiers ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile {
  grid-column: span 4; position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px; border-radius: var(--r-lg); background: var(--blanc);
  box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2);
}
.tile .pastille { margin-bottom: 18px; }
.tile h3 { margin-bottom: 0.35em; }
.tile p { color: var(--ardoise); }
.tile .rond-lien { margin-top: auto; }
.tile--dev { grid-column: span 7; flex-direction: row; gap: 28px; align-items: stretch; overflow: hidden; background: linear-gradient(160deg, #FFFFFF 40%, #EEF8EA 100%); }
.tile--dev .tile__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1 1 0; min-width: 0; }
.tile--gestion { grid-column: span 5; }
.tags { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: var(--fs-xs); font-weight: 500; padding: 5px 12px; border-radius: var(--pill); background: var(--menthe); color: #1F5200; box-shadow: inset 0 0 0 1px rgba(23, 138, 0, .18); }

.code-card {
  flex: 0 0 300px; align-self: center; margin: 0 -60px 0 0;
  background: var(--nuit); color: #D6E2F3; border-radius: var(--r); box-shadow: var(--ombre-2); overflow: hidden;
  transform: rotate(-2deg);
}
.code-card figcaption { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: rgba(255, 255, 255, .05); font-size: 0.75rem; color: var(--sur-nuit); }
.code-card figcaption i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.code-card figcaption i:first-child { background: var(--vert); }
.code-card figcaption span { margin-left: 6px; }
.code-card pre { margin: 0; padding: 16px 18px 20px; font-family: Consolas, "Cascadia Mono", "Courier New", monospace; font-size: 0.78rem; line-height: 1.7; white-space: pre; overflow: hidden; }
.code-card .k { color: var(--vert); }
.code-card .c { color: #7F8EA6; }

@media (max-width: 1040px) {
  .tile, .tile--gestion { grid-column: span 6; }
  .tile--dev { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .tile, .tile--gestion, .tile--dev { grid-column: 1 / -1; }
  .tile--dev { flex-direction: column; }
  .code-card { flex-basis: auto; margin: 0 0 -40px; transform: none; width: 100%; }
}

/* ---------- Bandeaux bleu nuit : panneaux arrondis flottants ---------- */
.section--nuit { color: var(--sur-nuit); }
.section--nuit > .wrap {
  position: relative; overflow: hidden;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter));
  padding: clamp(28px, 5vw, 64px);
  background:
    radial-gradient(600px 360px at 100% 0%, rgba(95, 212, 58, .18), transparent 60%),
    radial-gradient(520px 380px at 0% 100%, rgba(70, 120, 210, .25), transparent 60%),
    var(--nuit);
  border-radius: var(--r-xl);
  box-shadow: var(--ombre-3);
}
.section--nuit h2, .section--nuit h3, .section--nuit h4 { color: var(--blanc); }
.section--nuit .lead, .section--nuit .section-head p { color: var(--sur-nuit); }

/* Facturation électronique */
.fe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.fe h2 { margin-bottom: 0.4em; }
.fe__data { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px; align-items: center; }
.fe__ring { display: grid; place-items: center; padding: 14px; border-radius: 50%; background: var(--verre-nuit); border: 1px solid rgba(255, 255, 255, .1); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { position: relative; padding: 18px 20px 18px 56px; border-radius: var(--r); background: var(--verre-nuit); border: 1px solid rgba(255, 255, 255, .1); }
.timeline li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--vert); background: var(--nuit); }
.timeline li.is-past::before { background: var(--vert); }
.timeline li + li::after { content: ""; position: absolute; left: 28px; top: -16px; height: 18px; border-left: 2px dashed rgba(95, 212, 58, .5); }
.timeline time { display: inline-block; color: var(--blanc); font-family: var(--f-titre); font-weight: 650; font-size: 1.2rem; margin: 0 10px 6px 0; }
.timeline .tag { display: inline-block; font-size: 0.75rem; font-weight: 600; color: var(--nuit); background: var(--vert); padding: 3px 10px; border-radius: var(--pill); vertical-align: 2px; }
.timeline p { margin: 0; font-size: 0.95rem; }
@media (max-width: 1040px) { .fe { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .fe__data { grid-template-columns: minmax(0, 1fr); justify-items: center; } .timeline { width: 100%; } }

/* ---------- Étapes ---------- */
.steps-wrap { position: relative; }
.steps__curve { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 80px; z-index: 0; }
.steps__curve path { fill: none; stroke: var(--vert-logo); stroke-opacity: .4; stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; z-index: 1; }
.step { counter-increment: step; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 8px; }
.step__num {
  display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; margin-bottom: 18px;
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-2);
}
.step__num::before {
  content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(145deg, var(--nuit-2), var(--nuit)); color: var(--vert);
  font-family: var(--f-titre); font-weight: 650; font-size: 1.35rem;
}
.step h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.step p { color: var(--ardoise); font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .steps__curve { display: none; }
}
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Étapes verticales (assistance) */
.steps--v { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
.steps--v .step {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 18px; align-items: start; text-align: left;
  padding: 18px 20px; border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2);
}
.steps--v .step__num { grid-row: span 2; width: 52px; height: 52px; margin: 0; box-shadow: none; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.steps--v .step__num::before { width: 48px; height: 48px; font-size: 1.15rem; }

/* ---------- Pour qui : cadres circulaires superposés ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.audience__visual { position: relative; aspect-ratio: 1 / 1; max-width: 520px; width: 100%; margin-inline: auto; }
.audience__visual::before { content: ""; position: absolute; inset: 2%; border-radius: 50%; border: 1.5px dashed rgba(23, 138, 0, .35); }
.audience__visual::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(95, 212, 58, .22), transparent); }
.cercle { position: absolute; border-radius: 50%; overflow: hidden; border: 8px solid rgba(255, 255, 255, .85); box-shadow: var(--ombre-2); z-index: 1; }
.cercle img { width: 100%; height: 100%; object-fit: cover; }
.cercle--xl { width: 74%; aspect-ratio: 1; left: 6%; top: 8%; }
.cercle--md { width: 40%; aspect-ratio: 1; right: 0; bottom: 4%; z-index: 2; }
.cercle--sm { width: 26%; aspect-ratio: 1; right: 6%; top: 2%; z-index: 2; }
.audience__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.audience__list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 18px 20px; border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); }
.audience__list h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.25em; }
.audience__list p { margin: 0; color: var(--ardoise); font-size: 0.97rem; }
@media (max-width: 900px) { .audience { grid-template-columns: minmax(0, 1fr); } .audience__visual { max-width: 420px; } }

/* ---------- Arguments : tuiles de tableau de bord ---------- */
.args { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.arg { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); display: flex; flex-direction: column; align-items: flex-start; }
.arg .pastille { margin-bottom: 18px; }
.arg h3 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.arg p { color: var(--ardoise); font-size: 0.95rem; margin: 0; }
.arg--annee { background: linear-gradient(160deg, var(--nuit-2), var(--nuit)); box-shadow: var(--ombre-2); }
.arg--annee h3 { color: var(--blanc); }
.arg--annee p { color: var(--sur-nuit); }
.arg__label { font-size: var(--fs-xs); color: var(--sur-nuit); }
.arg__year { font-family: var(--f-titre); font-size: 3.6rem; line-height: 1; font-weight: 650; letter-spacing: -0.04em; color: var(--vert); margin: 4px 0 18px; }
.avatar {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px; flex: none;
  font-family: var(--f-titre); font-weight: 650; font-size: 1.1rem; color: var(--blanc);
  background: linear-gradient(145deg, var(--vert-logo), #0F5A00);
  box-shadow: 0 0 0 4px var(--blanc), 0 0 0 6px var(--menthe-2), var(--ombre-1);
}
.avatar--vide { width: 40px; height: 40px; margin: 0; background: var(--fond); box-shadow: none; border: 2px dashed #B9C3D1; }
.mini-steps { display: flex; gap: 6px; margin-top: 18px; }
.mini-steps i { width: 28px; height: 6px; border-radius: var(--pill); background: var(--vert-logo); }
.mini-steps i:nth-child(2) { opacity: .75; }
.mini-steps i:nth-child(3) { opacity: .5; }
.mini-steps i:nth-child(4) { opacity: .3; }
@media (max-width: 1040px) { .args { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .args { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zone d'intervention : radar ---------- */
.zone { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.zone__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.zone__groups > div { padding: 18px 20px; border-radius: var(--r); background: var(--blanc); box-shadow: inset 0 0 0 1px var(--trait-2); }
.zone__groups h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 0.4em; display: flex; align-items: center; gap: 8px; }
.zone__groups h3 .icon { color: var(--vert-texte); width: 20px; height: 20px; }
.zone__groups p { margin: 0; color: var(--ardoise); font-size: 0.92rem; }
.radar { margin: 0 0 40px; padding: 18px; border-radius: 50%; background: var(--verre); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou); border: 1px solid var(--verre-bord); box-shadow: var(--ombre-2); aspect-ratio: 1; position: relative; }
.radar svg { width: 100%; height: 100%; overflow: visible; }
.radar figcaption { position: absolute; left: 50%; top: calc(100% + 14px); transform: translateX(-50%); width: 90%; text-align: center; font-size: 0.75rem; color: var(--ardoise); }
.radar__ring { fill: none; stroke: rgba(14, 33, 64, .16); stroke-width: 1.2; stroke-dasharray: 3 5; }
.radar__ring--in { stroke: rgba(23, 138, 0, .45); stroke-dasharray: none; }
.radar__axe { stroke: rgba(14, 33, 64, .08); stroke-width: 1; }
.radar__n { font: 600 12px var(--f-titre); fill: var(--ardoise); }
.radar__villes circle { fill: var(--nuit); }
.radar__villes text { font: 500 13px var(--f-titre); fill: var(--nuit); }
.radar__centre { fill: var(--vert-logo); stroke: var(--blanc); stroke-width: 3; }
.radar__pulse { fill: rgba(23, 138, 0, .18); }
.radar__base { font: 650 14px var(--f-titre); fill: var(--vert-texte); }
@media (prefers-reduced-motion: no-preference) {
  .radar__pulse { transform-origin: 200px 200px; animation: pulse 2.6s ease-out infinite; }
  @keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
}
@media (max-width: 960px) { .zone { grid-template-columns: minmax(0, 1fr); } .radar { max-width: 460px; width: 100%; margin: 0 auto 56px; } }
@media (max-width: 520px) { .zone__groups { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Nos engagements ---------- */
.engagements { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.engagement {
  flex: 1 1 200px; max-width: 300px; display: flex; flex-direction: column; align-items: flex-start;
  padding: 26px 24px; border-radius: var(--r-lg);
  background: linear-gradient(170deg, var(--fond) 0%, #FFFFFF 100%);
  box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2);
}
.engagement .pastille { margin-bottom: 18px; }
.engagement h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.4em; }
.engagement p { margin: 0; color: var(--ardoise); font-size: 0.95rem; }
@media (max-width: 560px) { .engagement { max-width: none; flex-basis: 100%; } }

/* ---------- Emplacements à compléter ---------- */
.placeholder-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.slot {
  margin: 0; border: 2px dashed #B9C3D1; border-radius: var(--r-lg); padding: 26px;
  background: var(--verre); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  color: var(--ardoise); min-height: 190px; display: flex; flex-direction: column; gap: 12px;
}
.slot__tag { align-self: flex-start; font-size: 0.75rem; font-weight: 650; color: var(--nuit); background: #FFF4C2; border: 1px solid #E8D27A; padding: 3px 10px; border-radius: var(--pill); }
.slot blockquote { margin: 0; font-size: 1.05rem; color: var(--encre); }
.slot figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.slot cite { font-style: normal; font-size: var(--fs-sm); }
.slot--logo { align-items: center; justify-content: center; text-align: center; border-radius: 50%; aspect-ratio: 1; min-height: 0; padding: 12px; font-size: var(--fs-sm); }
.slot--logo .slot__tag { align-self: center; }
.logo-slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .placeholder-grid { grid-template-columns: minmax(0, 1fr); } .logo-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .logo-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Bandeau d'appel (CTA) ---------- */
.band {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 32px; align-items: center;
  width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--wrap) - 2 * var(--gutter));
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3.5vw, 44px);
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); border-radius: var(--r-xl); box-shadow: var(--ombre-2);
}
.band:has(.band__logo) { grid-template-columns: auto minmax(0, 1fr) auto; }
.band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 0.3em; }
.band p { margin: 0; }
.band__logo { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); padding: 18px; }
.band__logo img { width: 100%; height: auto; }
@media (max-width: 860px) { .band, .band:has(.band__logo) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bandeau contact ---------- */
.contact-band .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-band__tel {
  display: inline-flex; align-items: center; gap: 16px; color: var(--vert); text-decoration: none;
  font-family: var(--f-titre); font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.4rem); font-weight: 650; letter-spacing: -0.02em; line-height: 1;
}
.contact-band__tel .icon { width: 0.95em; height: 0.95em; padding: 0.2em; border-radius: 50%; background: rgba(95, 212, 58, .14); }
.contact-band__tel:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.contact-band__fixe { margin: 16px 0 0; font-family: var(--f-titre); font-size: 1.15rem; color: var(--sur-nuit); }
.contact-band__fixe a { color: var(--blanc); font-weight: 600; text-decoration-color: rgba(95, 212, 58, .7); text-underline-offset: 4px; }
.contact-band__card { padding: 26px; border-radius: var(--r-lg); background: var(--verre-nuit); border: 1px solid rgba(255, 255, 255, .12); }
.contact-band dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; }
.contact-band dt { color: var(--sur-nuit); font-size: var(--fs-sm); }
.contact-band dd { margin: 0; color: var(--blanc); overflow-wrap: anywhere; }
.contact-band dd a { color: var(--blanc); }
@media (max-width: 900px) { .contact-band .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .contact-band dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .contact-band dd { margin-bottom: 10px; } }

/* ---------- Pages intérieures ---------- */
.page-hero { position: relative; padding-block: clamp(36px, 5vw, 72px) clamp(48px, 6vw, 88px); overflow: hidden; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.page-hero::before { width: 560px; height: 560px; left: -180px; top: -220px; background: radial-gradient(closest-side, rgba(95, 212, 58, .24), transparent); }
.page-hero::after { width: 620px; height: 620px; right: -220px; top: -120px; background: radial-gradient(closest-side, rgba(70, 120, 210, .18), transparent); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.page-hero--simple .wrap { grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { margin-bottom: 0.4em; }
.page-hero .lead { margin: 0; }
.page-hero__media { position: relative; display: grid; place-items: center; padding: 6%; }
.page-hero__media::before { content: ""; position: absolute; inset: 0; margin: auto; width: 100%; max-width: 440px; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(23, 138, 0, .38); }
.page-hero__media::after { content: ""; position: absolute; width: 18%; aspect-ratio: 1; right: 8%; bottom: 10%; border-radius: 50%; background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou); border: 1px solid var(--verre-bord); box-shadow: var(--ombre-2); }
.page-hero__media img { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid rgba(255, 255, 255, .85); box-shadow: var(--ombre-3); }
.breadcrumb { margin-bottom: 20px; }
.breadcrumb ol {
  list-style: none; margin: 0; padding: 6px 14px; display: inline-flex; flex-wrap: wrap; gap: 6px;
  font-size: var(--fs-sm); color: var(--ardoise);
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); border-radius: var(--pill); box-shadow: var(--ombre-1);
}
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #9AA5B5; }
.breadcrumb a { color: var(--ardoise); }
@media (max-width: 860px) {
  .page-hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .page-hero__media { order: -1; max-width: 300px; margin-inline: auto; }
}

/* Sections à volet latéral */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 3.5vw, 48px); align-items: start; }
.split + .split { margin-top: clamp(40px, 5vw, 64px); }
.split__aside {
  position: sticky; top: calc(var(--header-h) + 32px);
  padding: 28px; border-radius: var(--r-lg);
  background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou);
  border: 1px solid var(--verre-bord); box-shadow: var(--ombre-1);
}
.split__aside h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.4em; }
.split__aside p:last-child { margin-bottom: 0; }
.split__aside .badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.split__aside .badges img { height: 84px; width: auto; }
.split__aside .brand { height: 44px; width: auto; margin-bottom: 20px; }
.split__aside .brand--sm { height: 30px; }
.split__aside .statut { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-weight: 600; color: var(--vert-texte); font-size: 0.95rem; margin: 4px 0 0; padding: 5px 12px 5px 8px; background: var(--menthe); border-radius: var(--pill); }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split__aside { position: static; } }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product { padding: 22px 24px; border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); }
.product h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 0.45em; display: flex; align-items: center; gap: 12px; }
.product h3 .icon { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: linear-gradient(145deg, #F2FBEE, var(--menthe-2)); color: var(--vert-texte); flex: none; }
.product p { margin: 0; color: var(--ardoise); font-size: 0.97rem; }
@media (max-width: 640px) { .products { grid-template-columns: minmax(0, 1fr); } }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start; }
.checklist .icon { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--menthe); color: var(--vert-texte); stroke-width: 2.5; }
.section--nuit .checklist li { padding: 14px 16px; border-radius: var(--r-sm); background: var(--verre-nuit); border: 1px solid rgba(255, 255, 255, .08); }
.section--nuit .checklist .icon { background: rgba(95, 212, 58, .16); color: var(--vert); }
.checklist--2 { grid-template-columns: 1fr 1fr; column-gap: 12px; }
@media (max-width: 640px) { .checklist--2 { grid-template-columns: minmax(0, 1fr); } }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { padding: 24px; border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); }
.service .icon { width: 50px; height: 50px; padding: 12px; border-radius: 50%; background: linear-gradient(145deg, #F2FBEE, var(--menthe-2)); color: var(--vert-texte); margin-bottom: 14px; }
.service h3 { font-size: 1.12rem; letter-spacing: -0.01em; margin-bottom: 0.35em; }
.service p { margin: 0; color: var(--ardoise); font-size: 0.97rem; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: minmax(0, 1fr); } }

.callout { padding: 20px 24px; border-radius: var(--r); background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou); border: 1px solid var(--verre-bord); box-shadow: var(--ombre-1), inset 4px 0 0 var(--vert-logo); }
.callout p:last-child { margin: 0; }
.callout--note { background: #FFF9E0; border-color: #F2E3A6; box-shadow: var(--ombre-1), inset 4px 0 0 #E8B500; }

/* Téléchargements */
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dl-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 32px; align-items: center; padding: 20px 22px; border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); }
.dl-item h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin: 0 0 4px; }
.dl-item p { margin: 0; color: var(--ardoise); font-size: 0.95rem; }
@media (max-width: 640px) { .dl-item { grid-template-columns: minmax(0, 1fr); } }

/* Assistance */
.remote { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.remote__card { position: sticky; top: calc(var(--header-h) + 32px); padding: 30px; border-radius: var(--r-xl); background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou); border: 1px solid var(--verre-bord); box-shadow: var(--ombre-2); }
.remote__card img { height: 34px; width: auto; margin-bottom: 18px; }
.remote__card .btn { width: 100%; justify-content: center; margin: 8px 0 14px; }
.remote__card small { color: var(--ardoise); display: block; line-height: 1.5; }
@media (max-width: 860px) { .remote { grid-template-columns: minmax(0, 1fr); } .remote__card { position: static; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact > div:first-child { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-2), inset 0 0 0 1px var(--trait-2); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-family: var(--f-titre); font-weight: 600; font-size: 0.95rem; color: var(--nuit); }
.field .opt { font-weight: 400; color: var(--ardoise); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--encre); background: var(--fond);
  border: 1.5px solid var(--trait); border-radius: var(--r-sm); padding: 12px 16px; min-height: 50px; width: 100%;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--blanc); border-color: var(--vert-logo); box-shadow: 0 0 0 4px rgba(23, 138, 0, .15); }
.field [aria-invalid="true"] { border-color: #B42318; background: #FFF6F5; }
.field .err { color: #B42318; font-size: 0.875rem; display: none; }
.field [aria-invalid="true"] ~ .err { display: block; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 0.925rem; color: var(--ardoise); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--vert-logo); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; padding: 14px 18px; border-radius: var(--r-sm); font-weight: 500; }
.form-status--ok { background: var(--menthe); color: #1F5200; border: 1px solid #A9D98A; }
.form-status--err { background: #FDECEA; color: #8A1C12; border: 1px solid #F1B0A8; }
.form-status[hidden] { display: none; }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .form { grid-template-columns: minmax(0, 1fr); } }

.coords { display: grid; gap: 10px; }
.coord { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r); background: var(--verre-fort); -webkit-backdrop-filter: var(--flou); backdrop-filter: var(--flou); border: 1px solid var(--verre-bord); box-shadow: var(--ombre-1); }
.coord .icon { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: linear-gradient(145deg, #F2FBEE, var(--menthe-2)); color: var(--vert-texte); }
.coord h3 { font-size: 1rem; letter-spacing: 0; margin: 0 0 2px; }
.coord p { margin: 0; color: var(--ardoise); overflow-wrap: anywhere; }
.hours { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.hours th { text-align: left; vertical-align: top; font-weight: 500; color: var(--encre); padding: 3px 14px 3px 0; }
.hours td { color: var(--ardoise); padding: 3px 0; }

.map { margin-top: clamp(32px, 4vw, 48px); border-radius: var(--r-xl); overflow: hidden; background: var(--blanc); height: clamp(320px, 36vw, 460px); position: relative; box-shadow: var(--ombre-2), inset 0 0 0 1px var(--trait-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 14px; padding: 24px; background-image: radial-gradient(circle at 1px 1px, #CCD4DF 1px, transparent 0); background-size: 18px 18px; }
.map__consent p { margin: 0; color: var(--ardoise); max-width: 46ch; font-size: 0.95rem; background: var(--blanc); padding: 6px 12px; border-radius: var(--pill); }
.map__consent .btn { justify-self: center; }

/* ---------- Texte long (mentions légales) ---------- */
.prose { max-width: 820px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-xl); background: var(--blanc); box-shadow: var(--ombre-1), inset 0 0 0 1px var(--trait-2); }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; }
.prose dt { font-weight: 600; color: var(--nuit); }
.prose dd { margin: 0; }
.todo { background: #FFF4C2; border-bottom: 1px dashed #C9A400; padding: 0 3px; }
@media (max-width: 560px) { .prose dl { grid-template-columns: minmax(0, 1fr); } .prose dd { margin-bottom: 8px; } }

/* ---------- Pied de page ---------- */
.site-footer {
  position: relative; margin-top: clamp(40px, 6vw, 80px);
  background: radial-gradient(700px 400px at 90% 0%, rgba(95, 212, 58, .12), transparent 60%), var(--nuit-3);
  color: var(--sur-nuit); font-size: 0.95rem;
  border-radius: 48px 48px 0 0;
}
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 140px; height: 6px; transform: translateX(-50%); border-radius: 0 0 var(--pill) var(--pill); background: var(--vert); }
.site-footer a { color: var(--blanc); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-main { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 40px; padding-block: 72px 48px; }
.footer-main img.flogo { width: 106px; height: 106px; border-radius: 50%; margin-bottom: 18px; box-shadow: 0 0 0 6px rgba(255, 255, 255, .06); }
.footer-main h2 { font-size: 1rem; letter-spacing: 0; color: var(--blanc); margin-bottom: 14px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-main address { font-style: normal; line-height: 1.7; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 20px; font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: minmax(0, 1fr); } .site-footer { border-radius: 32px 32px 0 0; } }

/* ---------- Mouvement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .dash__pane:not([hidden]) { animation: pane-in .25s ease-out; }
  @keyframes pane-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
  .ring__value { transition: stroke-dasharray .8s ease; }
}

/* Navigateurs sans flou d'arrière-plan : verre plus opaque */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --verre: rgba(255, 255, 255, .92); --verre-fort: rgba(255, 255, 255, .96); }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .nav-toggle, .map, .btn-row, .orbs, .float-card { display: none !important; }
  body { background: #fff; color: #000; }
}
