/* ==========================================================================
   AVS TEAM — Feuille de styles principale
   Design system « bleu marine + orange »
   Palette : bleu nuit et orange (référence Domodias)
   + rouge / or / vert repris du logo AVS Team en accents secondaires
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices auto-hébergées (aucun appel externe — conformité RGPD/CNIL)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  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: 'Space Grotesk';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  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;
}

/* --------------------------------------------------------------------------
   2. Jetons de design
   -------------------------------------------------------------------------- */
:root {
  /* Fonds — bleu marine, référence Domodias */
  --navy-950: #06101d;
  --navy-900: #0b1f36;
  --navy-850: #0f2a44;
  --navy-800: #16304c;
  --navy-700: #1e2f47;
  --navy-600: #2a415f;

  /* Accent principal — orange Domodias, en écho à l'or du logo AVS */
  --accent-300: #ffa64d;
  --accent-400: #ff7a00;
  --accent-500: #f97316;
  --accent-600: #e06400;

  /* Couleurs du logo AVS Team, en accents secondaires */
  --gold-400: #ffc93c;
  --gold-500: #f0ad1e;
  --red-400: #ff5c69;
  --red-500: #e63946;
  --leaf-400: #2fc46b;
  --leaf-500: #12c863;

  /* Texte */
  --text: #ffffff;
  --text-soft: #d3dded;
  --muted: #9fb0c6;
  /* Texte posé SUR l'orange : le bleu nuit donne 7,2:1 là où le blanc
     ne donnerait que 2,6:1 — en dessous du minimum WCAG AA. */
  --on-accent: #06101d;

  /* Lignes & surfaces */
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);

  /* Effets */
  --glow-accent: 0 0 0 1px rgba(255, 122, 0, 0.4), 0 12px 40px -12px rgba(255, 122, 0, 0.5);
  --shadow-md: 0 18px 40px -22px rgba(2, 8, 18, 0.85);
  --shadow-lg: 0 40px 80px -40px rgba(2, 8, 18, 1);

  /* Typo */
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  /* Rythme */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1220px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.32s var(--ease);
  --t-slow: 0.6s var(--ease);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-soft);
  /* Bleu marine dégradé traversé d'un halo orange en diagonale (réf. Domodias) */
  background-color: var(--navy-900);
  background-image:
    radial-gradient(1200px 900px at 108% 78%, rgba(255, 122, 0, 0.4), transparent 58%),
    radial-gradient(900px 700px at -12% 12%, rgba(255, 122, 0, 0.14), transparent 60%),
    linear-gradient(168deg, var(--navy-700) 0%, var(--navy-900) 46%, var(--navy-950) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Icônes insérées au fil du texte : taille calée sur la ligne courante.
   Les composants qui dimensionnent leurs icônes surchargent cette règle. */
p > svg,
span > svg,
li > svg,
strong > svg {
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.18em;
  flex: none;
}

a {
  color: var(--accent-400);
  text-decoration-color: rgba(255, 122, 0, 0.4);
  text-underline-offset: 3px;
  transition: color var(--t-fast);
}
a:hover { color: var(--accent-300); }

ul, ol { padding-left: 1.15rem; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-400);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--accent-400);
  color: var(--on-accent);
}

/* Titres */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.5rem + 2.9vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.75vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem); }
h4 { font-size: 1.075rem; letter-spacing: -0.01em; }

/* `pretty` n'est pas encore reconnu partout ; la condition évite un
   avertissement dans la console des navigateurs qui ne le gèrent pas. */
@supports (text-wrap: pretty) {
  p { text-wrap: pretty; }
}

/* Lien d'évitement (accessibilité) */
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--accent-400);
  color: var(--on-accent);
  font-weight: 700;
  padding: 0.7rem 1.35rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform var(--t);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--on-accent); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.022) 18%, rgba(255, 255, 255, 0.022) 82%, transparent);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head p {
  margin-top: 1rem;
  font-size: 1.075rem;
  color: var(--muted);
}

/* Soulignement orange sous les titres principaux (signature Domodias) */
.page-hero h1::after,
.section-head h2::after,
.cta-block h2::after {
  content: '';
  display: block;
  width: 62px;
  height: 4px;
  margin-top: 1.15rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-400), var(--gold-400));
}
.section-head--center h2::after,
.cta-block h2::after { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-400);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-400), transparent);
}
.section-head--center .eyebrow::before,
.eyebrow--icon::before { display: none; }
.eyebrow--icon svg { width: 1.15em; height: 1.15em; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
  color: var(--text-soft);
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* --------------------------------------------------------------------------
   4 bis. Classes utilitaires
   Elles remplacent les attributs style="…", que la politique de sécurité
   du site (Content-Security-Policy) interdit sur le serveur.
   -------------------------------------------------------------------------- */

/* Couleur d'accent d'un bloc : reprise du logo AVS Team */
.t-orange { --accent: #ff7a00; }
.t-gold   { --accent: #ffc93c; }
.t-green  { --accent: #2fc46b; }
.t-red    { --accent: #ff5c69; }

/* Couleurs de texte */
.c-accent { color: var(--accent, var(--accent-400)); }
.c-accent-strong { color: var(--accent-400); font-weight: 600; }
.c-text { color: var(--text); }
.c-muted { color: var(--muted); }

/* Marges */
.mt-05 { margin-top: 0.75rem; }
.mt-1 { margin-top: 1rem; }
.mt-15 { margin-top: 1.25rem; }
.mt-175 { margin-top: 1.5rem; }
.m-0 { margin: 0; }
.pt-0 { padding-top: 0; }

/* Liens dont la couleur suit celle du texte environnant */
.u-plain { color: inherit; text-decoration: none; }

/* Petites dispositions récurrentes */
.u-row { display: flex; gap: 0.6rem; }
.u-center { justify-content: center; }
.u-list-reset { list-style: none; padding: 0; margin: 0; }
.nav__list { display: flex; list-style: none; padding: 0; margin: 0; gap: 0.15rem; }

/* Mentions discrètes */
.note {
  font-size: 0.82rem;
  color: var(--muted);
}
.fineprint {
  margin-top: 0.9rem;
  font-size: 0.8rem;
}

/* Intitulé en capitales espacées (encadrés latéraux, bandeau marques) */
.overline {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.overline--brands { font-size: 0.8rem; margin-bottom: 1.75rem; }

/* Ville / sous-titre d'une carte réalisation */
.card-meta {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* Page « 404 » */
.section--404 { text-align: center; padding-block: clamp(4rem, 12vw, 9rem); }
.section--404__links { margin-top: 3.5rem; text-align: left; }
.card__title-sm { font-size: 1.05rem; }

/* Introduction des pastilles de zones */
.zone-pills__intro {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 1rem;
}

/* Ligne « jour → horaire » des encadrés latéraux */
.hours-row {
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--accent-400);
  --btn-fg: var(--on-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.92rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), color var(--t), border-color var(--t);
}
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
  box-shadow: 0 14px 34px -16px rgba(255, 122, 0, 0.85);
}
.btn--primary:hover {
  color: var(--on-accent);
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -16px rgba(255, 122, 0, 0.95);
}

.btn--ghost {
  background: var(--surface-2);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  color: var(--text);
  border-color: var(--accent-400);
  background: rgba(255, 122, 0, 0.1);
  transform: translateY(-2px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  box-shadow: 0 14px 34px -16px rgba(255, 201, 60, 0.8);
}
.btn--gold:hover { color: var(--on-accent); transform: translateY(-2px); }

.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.9rem; }
.btn--lg { padding: 1.075rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.arrow-link svg { width: 16px; height: 16px; transition: transform var(--t); }
.arrow-link:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   6. Badges & pastilles
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-soft);
  backdrop-filter: blur(8px);
}
.badge--pulse::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 0 rgba(255, 122, 0, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255, 122, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 0, 0); }
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}
.chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Cartes
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(1.4rem, 2.4vw, 1.95rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, var(--accent, var(--accent-400)), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.card:hover,
.card:focus-within {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
}
.card:hover::after,
.card:focus-within::after { opacity: 1; }

.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

/* Icône de carte */
.card-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  margin-bottom: 1.15rem;
  color: var(--accent, var(--accent-400));
  background: color-mix(in srgb, var(--accent, var(--accent-400)) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent, var(--accent-400)) 30%, transparent);
  transition: transform var(--t), box-shadow var(--t);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent, var(--accent-400)) 90%, transparent);
}

/* Carte service cliquable intégralement */
.card--link .stretched::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card--link { display: flex; flex-direction: column; }
.card--link .card-foot { margin-top: auto; padding-top: 1.15rem; }

.card-list {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.55rem;
}
.card-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  color: var(--muted);
}
.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, var(--accent-400));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--accent-400)) 18%, transparent);
}

/* --------------------------------------------------------------------------
   8. En-tête / navigation
   -------------------------------------------------------------------------- */
.topbar {
  background: rgba(9, 24, 42, 0.9);
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
}
.topbar__info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--muted);
  flex-wrap: wrap;
}
.topbar__info a { color: var(--text-soft); text-decoration: none; }
.topbar__info a:hover { color: var(--accent-400); }
.topbar__info span,
.topbar__info a { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__info svg { width: 15px; height: 15px; color: var(--accent-400); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 24, 42, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-stuck {
  background: rgba(9, 24, 42, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 18px 40px -30px #000;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-right: auto;
  flex: none; /* le bloc marque ne doit jamais être compressé */
}
/* Le logo porte lui-même le nom et la baseline : il est donc affiché seul,
   à une hauteur qui garde « AVS TEAM » lisible. */
.brand picture { display: block; flex: none; }
/* Le logo occupe environ 60 % de la hauteur de la barre : en deçà il paraît
   perdu, au-delà il semble déborder — d'autant que ses halos lumineux
   dépassent visuellement du cadre de l'image. */
.brand img,
.brand svg {
  height: 50px;
  width: auto;
  flex: none;
  transition: transform var(--t);
}
.brand:hover img { transform: scale(1.03); }
/* Dans le pied de page, la place permet le logo entier, arcs compris */
.site-footer .brand img { height: 118px; }
@media (max-width: 720px) {
  .site-footer .brand img { height: 96px; }
}

.nav { display: flex; align-items: center; gap: 0.15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--text); background: var(--surface-2); }
.nav__link[aria-current='page'] { color: var(--accent-400); }
.nav__link svg { width: 13px; height: 13px; opacity: 0.7; transition: transform var(--t-fast); }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

/* Méga-menu services */
.nav__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  width: min(680px, 86vw);
  padding: 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(11, 31, 54, 0.98);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav__panel a {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background var(--t-fast);
}
.nav__panel a:hover { background: var(--surface-2); }
.nav__panel .mm-ico {
  width: 34px; height: 34px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--accent, var(--accent-400));
  background: color-mix(in srgb, var(--accent, var(--accent-400)) 14%, transparent);
}
.nav__panel .mm-ico svg { width: 18px; height: 18px; }
.nav__panel strong { display: block; font-size: 0.93rem; font-weight: 600; }
.nav__panel span { display: block; font-size: 0.8rem; color: var(--muted); line-height: 1.4; }

.header-cta { display: flex; align-items: center; gap: 0.6rem; flex: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background var(--t-fast);
}
.burger span::before,
.burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(9, 24, 42, 0.98);
  backdrop-filter: blur(20px);
  padding: 100px var(--gutter) 2.5rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
/* `:not(.btn)` est indispensable : sans lui, cette règle écraserait le
   display des boutons d'appel à l'action, qui sont aussi des liens. */
.mobile-nav a:not(.btn) {
  display: block;
  padding: 0.95rem 0.5rem;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.mobile-nav a:not(.btn):hover { color: var(--accent-400); }
.mobile-nav .sub a {
  font-size: 0.98rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--muted);
  padding-left: 0.5rem;
}
.mobile-nav__cta {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}
/* Les deux boutons occupent la même largeur et la même hauteur */
.mobile-nav__cta .btn {
  width: 100%;
  min-height: 52px;
  text-align: center;
}
body.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 32%, #000 35%, transparent 78%);
  pointer-events: none;
}
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.55;
  animation: float 14s ease-in-out infinite;
}
.hero__orb--1 { width: 460px; height: 460px; background: rgba(255, 122, 0, 0.34); top: -140px; right: -80px; }
.hero__orb--2 { width: 380px; height: 380px; background: rgba(255, 201, 60, 0.16); bottom: -160px; left: -100px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(0, -28px, 0) scale(1.07); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { margin: 1.1rem 0 1.25rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent-300), var(--accent-500) 55%, var(--gold-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem);
  color: var(--text-soft);
  max-width: 56ch;
}
.hero .btn-row { margin-top: 2rem; }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-left: 0;
}
.hero__proof li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__proof svg { width: 17px; height: 17px; color: var(--accent-400); flex: none; }

/* Carte visuelle du hero */
.hero__visual { position: relative; }
.hero__panel {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(30, 47, 71, 0.94), rgba(11, 31, 54, 0.96));
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  box-shadow: var(--shadow-lg);
}
.hero__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.hero__panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__panel-title::before {
  content: '';
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 12px var(--accent-400);
  animation: blink 2s infinite;
}
@keyframes blink { 50% { opacity: 0.35; } }
.hero__panel-time { font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; }

.hero__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
.hero__tile {
  padding: 0.9rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  gap: 0.7rem;
  align-items: center;
  transition: border-color var(--t), transform var(--t);
}
.hero__tile:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); transform: translateY(-3px); }
.hero__tile-ico {
  width: 36px; height: 36px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.hero__tile-ico svg { width: 19px; height: 19px; }
.hero__tile strong { display: block; font-size: 0.87rem; color: var(--text); font-weight: 600; }
/* Cible le seul sous-titre, qui suit le titre : viser tous les span
   écraserait le display:grid de l'encart d'icône, qui est aussi un span. */
.hero__tile strong + span { display: block; font-size: 0.75rem; color: var(--muted); }

.hero__panel-foot {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.83rem;
  color: var(--muted);
}
.hero__badge-float {
  position: absolute;
  right: -14px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 122, 0, 0.35);
  background: rgba(11, 31, 54, 0.97);
  box-shadow: var(--glow-accent);
  animation: float 8s ease-in-out infinite;
}
.hero__badge-float strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-400);
  line-height: 1;
}
.hero__badge-float span { font-size: 0.75rem; color: var(--muted); line-height: 1.25; display: block; }

/* --------------------------------------------------------------------------
   10. Bandeau de réassurance
   -------------------------------------------------------------------------- */
.trust-bar {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
}
.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem clamp(0.75rem, 2vw, 1.5rem);
  border-right: 1px solid var(--line);
}
.trust-bar__item:last-child { border-right: 0; }
.trust-bar__item svg { width: 26px; height: 26px; color: var(--accent-400); flex: none; }
.trust-bar__item strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.02rem;
}
.trust-bar__item span { font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   11. Statistiques (compteurs)
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--navy-900);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat__num em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent-300), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { margin-top: 0.6rem; font-size: 0.9rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   12. Grille des services (modèle catalogue)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  /* 255px permet 4 colonnes sur grand écran (8 services = 2 rangées pleines) */
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 255px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.service-card { position: relative; }
.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  margin: calc(-1 * clamp(1.4rem, 2.4vw, 1.95rem)) calc(-1 * clamp(1.4rem, 2.4vw, 1.95rem)) 1.35rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow), filter var(--t);
  filter: saturate(0.85) contrast(1.05);
}
/* Voile bleu nuit : la photo doit rester derrière le texte, pas rivaliser avec */
.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 16, 29, 0.12) 0%, rgba(6, 16, 29, 0.55) 74%, rgba(6, 16, 29, 0.82) 100%),
    linear-gradient(120deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent 62%);
  pointer-events: none;
}
.service-card:hover .service-card__img {
  transform: scale(1.06);
  filter: saturate(1) contrast(1.05);
}
.service-card__num {
  position: absolute;
  z-index: 1;
  top: 0.7rem;
  right: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}
/* Pastille d'icône posée sur la photo */
.service-card__badge {
  position: absolute;
  z-index: 1;
  left: 0.9rem;
  bottom: 0.9rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(6, 16, 29, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  backdrop-filter: blur(6px);
  transition: transform var(--t);
}
.service-card__badge svg { width: 22px; height: 22px; }
.service-card:hover .service-card__badge { transform: translateY(-3px) scale(1.06); }

/* Carte générique avec photo (réalisations) */
.card--photo .card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  margin: calc(-1 * clamp(1.4rem, 2.4vw, 1.95rem)) calc(-1 * clamp(1.4rem, 2.4vw, 1.95rem)) 1.35rem;
  border-bottom: 1px solid var(--line);
}
.card--photo .card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
  filter: saturate(0.85);
}
.card--photo .card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 29, 0.1), rgba(6, 16, 29, 0.66));
  pointer-events: none;
}
.card--photo:hover .card__media img { transform: scale(1.06); }
.card__badge {
  position: absolute;
  z-index: 1;
  left: 0.9rem;
  bottom: 0.9rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(6, 16, 29, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.card__badge svg { width: 22px; height: 22px; }

/* Visuel des cartes Particuliers / Professionnels */
.split-card__media {
  margin: calc(-1 * clamp(1.75rem, 3vw, 2.6rem)) calc(-1 * clamp(1.75rem, 3vw, 2.6rem)) 1.6rem;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  position: relative;
}
.split-card__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.split-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 16, 29, 0.15), rgba(11, 31, 54, 0.95));
}

/* --------------------------------------------------------------------------
   12 bis. Univers de services et vignettes rondes (modèle Domodias)
   -------------------------------------------------------------------------- */

/* Pastilles de zones d'intervention */
.zone-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
}
.zone-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.87rem;
  color: var(--text-soft);
}
.zone-pills li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
  background: var(--accent-400);
}
.zone-pills--gold li::before { background: var(--gold-400); }

/* Deux grands panneaux thématiques */
.universes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.universe {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.018));
  box-shadow: var(--shadow-md);
}
.universe__head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 3vw, 2.15rem);
}
.universe__head h2 {
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.universe__head h2 svg { width: 1.05em; height: 1.05em; color: var(--accent, var(--accent-400)); }
.universe__head h2::after { display: none; }
.universe__head p {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Grille de vignettes */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 2vw, 1.5rem);
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.8rem;
  padding: 0.75rem 0.35rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: transform var(--t), background var(--t);
}
.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  background: var(--surface-2);
}
.tile__medal {
  width: clamp(74px, 10vw, 100px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(125% 125% at 32% 22%, color-mix(in srgb, var(--accent) 34%, transparent), rgba(255, 255, 255, 0.05));
  border: 1px solid color-mix(in srgb, var(--accent) 48%, transparent);
  box-shadow: inset 0 0 26px rgba(3, 12, 24, 0.45);
  transition: box-shadow var(--t), transform var(--t);
}
.tile__medal svg {
  width: 44%;
  height: 44%;
  color: var(--accent);
}
.tile:hover .tile__medal {
  transform: scale(1.05);
  box-shadow: 0 14px 34px -14px color-mix(in srgb, var(--accent) 85%, transparent);
}
.tile__label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  line-height: 1.25;
  color: var(--text);
  /* Réserve deux lignes et pousse le trait en bas : traits et descriptions
     restent alignés d'une vignette à l'autre, quelle que soit la longueur. */
  min-height: calc(2.5em + 0.6rem + 3px); /* 2 lignes + la marge et l'épaisseur du trait */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.tile__label::after {
  content: '';
  display: block;
  width: 22px;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: var(--accent-400);
}
.tile__desc {
  font-size: 0.79rem;
  line-height: 1.45;
  color: var(--muted);
  max-width: 22ch;
}

/* --------------------------------------------------------------------------
   13. Cibles (particuliers / professionnels)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}
.split-card {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 10%, transparent), rgba(255, 255, 255, 0.015));
  overflow: hidden;
  transition: transform var(--t), border-color var(--t);
}
.split-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.split-card__label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.split-card h3 { margin: 0.75rem 0 0.85rem; }
.split-card ul { margin: 1.35rem 0 1.75rem; }

/* --------------------------------------------------------------------------
   14. Processus
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}
.step {
  position: relative;
  padding-top: 2.75rem;
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 122, 0, 0.55);
}
.step::after {
  content: '';
  position: absolute;
  top: 1.1rem;
  left: 3.4rem;
  right: -1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.4), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   15. Marques partenaires (défilement)
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding-block: 0.5rem;
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}
.marquee__item {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0.65;
  white-space: nowrap;
  transition: color var(--t), opacity var(--t);
}
.marquee__item:hover { color: var(--text); opacity: 1; }

/* --------------------------------------------------------------------------
   16. Témoignages
   -------------------------------------------------------------------------- */
.quote { display: flex; flex-direction: column; }
.quote__stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.quote__stars svg { width: 17px; height: 17px; color: var(--gold-400); }
.quote blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}
.quote figcaption {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--on-accent);
  background: linear-gradient(135deg, var(--accent-300), var(--accent-500));
  flex: none;
}
.quote__who strong { display: block; color: var(--text); font-size: 0.93rem; }
.quote__who span { font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   17. FAQ (accordéon accessible)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}
.faq__item:has(.faq__btn[aria-expanded='true']) {
  border-color: rgba(255, 122, 0, 0.35);
  background: rgba(255, 122, 0, 0.045);
}
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
}
.faq__btn .ico {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  position: relative;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.faq__btn .ico::before,
.faq__btn .ico::after {
  content: '';
  position: absolute;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--t), background var(--t);
}
.faq__btn .ico::before { width: 11px; height: 1.5px; }
.faq__btn .ico::after { width: 1.5px; height: 11px; }
.faq__btn[aria-expanded='true'] .ico {
  background: var(--accent-400);
  border-color: var(--accent-400);
  transform: rotate(180deg);
}
.faq__btn[aria-expanded='true'] .ico::before,
.faq__btn[aria-expanded='true'] .ico::after { background: var(--on-accent); }
.faq__btn[aria-expanded='true'] .ico::after { transform: scaleY(0); }
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}
.faq__panel.is-open { grid-template-rows: 1fr; }
.faq__panel > div { overflow: hidden; }
.faq__panel p {
  padding: 0 1.35rem 1.25rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* --------------------------------------------------------------------------
   18. Bloc CTA
   -------------------------------------------------------------------------- */
.cta-block {
  position: relative;
  padding: clamp(2.25rem, 5vw, 4rem);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 122, 0, 0.28);
  background:
    radial-gradient(120% 140% at 12% 0%, rgba(255, 122, 0, 0.16), transparent 58%),
    radial-gradient(100% 130% at 92% 100%, rgba(255, 201, 60, 0.11), transparent 60%),
    linear-gradient(160deg, var(--navy-800), var(--navy-950));
  overflow: hidden;
  text-align: center;
}
.cta-block h2 { margin-bottom: 1rem; }
.cta-block p {
  max-width: 60ch;
  margin-inline: auto;
  color: var(--text-soft);
}
.cta-block .btn-row { justify-content: center; margin-top: 2rem; }
.cta-block__note { margin-top: 1.35rem; font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   19. Formulaires
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 1.1rem;
}
.field { display: grid; gap: 0.45rem; }
.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.field label .req { color: var(--accent-400); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 0.97rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 148px; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238d9bb2' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.field select option { background: var(--navy-850); color: var(--text); }
.field input::placeholder,
.field textarea::placeholder { color: #6d7c94; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-400);
  background: rgba(255, 122, 0, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.14);
}
.field__error {
  font-size: 0.82rem;
  color: var(--red-400);
  min-height: 1.1em;
}
.field input[aria-invalid='true'],
.field textarea[aria-invalid='true'],
.field select[aria-invalid='true'] { border-color: var(--red-400); }

.check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.check input {
  appearance: none;
  width: 20px; height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.check input:checked {
  background: var(--accent-400);
  border-color: var(--accent-400);
}
.check input:checked::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 5px; height: 10px;
  border: solid var(--on-accent);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.form__status {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  display: none;
}
.form__status.is-ok {
  display: block;
  border: 1px solid rgba(255, 122, 0, 0.4);
  background: rgba(255, 122, 0, 0.1);
  color: var(--accent-300);
}
.form__status.is-ko {
  display: block;
  border: 1px solid rgba(255, 92, 105, 0.4);
  background: rgba(255, 92, 105, 0.1);
  color: var(--red-400);
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   20. Contenu éditorial (pages service / légales)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  top: -420px; right: -180px;
  background: color-mix(in srgb, var(--accent, var(--accent-400)) 22%, transparent);
  filter: blur(110px);
  pointer-events: none;
}
.page-hero h1 { margin: 1rem 0 1.15rem; }
.page-hero p { max-width: 68ch; font-size: 1.075rem; }

/* En-tête de page illustré */
.page-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.page-hero__media {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, transparent 40%, color-mix(in srgb, var(--accent) 26%, transparent));
  pointer-events: none;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: var(--line-strong); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-400); }

.prose { max-width: 76ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 2.75rem; }
.prose h3 { margin-top: 2rem; }
.prose ul, .prose ol { display: grid; gap: 0.5rem; }
.prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose a { font-weight: 500; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.prose th { color: var(--text); font-weight: 600; }
.prose td { color: var(--muted); }

.callout {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--accent-400);
  background: var(--surface);
}
.callout strong { color: var(--text); }

/* Encart « interventions à l'international » */
.callout--intl {
  border-left-color: var(--gold-400);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(255, 201, 60, 0.12), transparent 60%),
    var(--surface);
}
.callout--intl h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.12rem;
  margin-bottom: 0.75rem;
}
.callout--intl h3 svg { width: 1.15em; height: 1.15em; color: var(--gold-400); flex: none; }
.callout--intl p { font-size: 0.94rem; color: var(--muted); }
.callout--intl p + p { margin-top: 0.7rem; }

/* Mention internationale sous les pastilles de départements */
.intl-note { margin-top: 1.5rem; }
.intl-note p {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.intl-note p svg { width: 1.1em; height: 1.1em; color: var(--gold-400); flex: none; }
.intl-note strong { color: var(--gold-400); font-weight: 600; }

.layout-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 340px);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}
.aside-card {
  position: sticky;
  top: 100px;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: linear-gradient(170deg, rgba(255, 122, 0, 0.08), rgba(255, 255, 255, 0.02));
}
.aside-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.aside-card p { font-size: 0.93rem; color: var(--muted); margin-bottom: 1.35rem; }
.aside-card .btn { width: 100%; }
.aside-card .btn + .btn { margin-top: 0.6rem; }
.aside-nav { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 0.15rem; }
.aside-nav a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 9px;
  font-size: 0.9rem;
  color: var(--text-soft);
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.aside-nav a:hover { background: var(--surface-2); color: var(--text); }
.aside-nav a[aria-current='page'] {
  background: rgba(255, 122, 0, 0.12);
  color: var(--accent-300);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   21. Zone d'intervention
   -------------------------------------------------------------------------- */
.zone {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.zone__map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  min-height: 320px;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
}
.zone__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(0.4) invert(0.92) hue-rotate(180deg) contrast(0.9); }
.zone__list {
  columns: 2;
  column-gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.zone__list li {
  break-inside: avoid;
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
  font-size: 0.93rem;
  color: var(--muted);
}
.zone__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-400);
}

/* --------------------------------------------------------------------------
   22. Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line);
  /* Pied de page noir traversé d'un halo orange (réf. Domodias) */
  background:
    radial-gradient(760px 460px at 6% 118%, rgba(255, 122, 0, 0.26), transparent 62%),
    radial-gradient(620px 420px at 96% -10%, rgba(255, 122, 0, 0.12), transparent 60%),
    linear-gradient(180deg, #081726, #03080f);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
}
.footer__brand p {
  margin-top: 1.15rem;
  font-size: 0.93rem;
  color: var(--muted);
  max-width: 38ch;
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 1.15rem;
}
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.footer ul a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
/* Chevron orange devant les liens de rubrique (réf. Domodias) */
.footer ul a::before {
  content: '›';
  color: var(--accent-400);
  font-weight: 700;
  line-height: 1;
  transition: transform var(--t-fast);
}
.footer ul a:hover::before { transform: translateX(3px); }
.footer a {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}
.footer a:hover { color: var(--accent-400); }
.footer address {
  font-style: normal;
  font-size: 0.92rem;
  color: var(--muted);
  display: grid;
  gap: 0.7rem;
}
.footer address a { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer address svg { width: 16px; height: 16px; color: var(--accent-400); flex: none; margin-top: 2px; }

.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.socials a:hover {
  color: var(--on-accent);
  background: var(--accent-400);
  border-color: var(--accent-400);
  transform: translateY(-2px);
}
.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }

/* Bouton présenté comme un lien : utilisé pour rouvrir le bandeau cookies,
   qui déclenche une action et ne mène pas à une page. */
.lien-bouton {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent-400);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 122, 0, 0.4);
}
.lien-bouton:hover { color: var(--accent-300); text-decoration-color: currentColor; }
.footer__bottom .lien-bouton,
.footer ul .lien-bouton {
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}
.footer__bottom .lien-bouton:hover,
.footer ul .lien-bouton:hover { color: var(--accent-400); }
.card-list .lien-bouton { color: var(--accent-400); }

/* Signature du concepteur, discrète mais lisible */
.footer__credit {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.82rem;
}
.footer__credit a {
  color: var(--text-soft);
  font-size: inherit;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.footer__credit a:hover {
  color: var(--accent-400);
  border-bottom-color: currentColor;
}

/* Barre d'action mobile */
.mobile-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  display: none;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 0.5rem;
  background: rgba(11, 31, 54, 0.96);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}
.mobile-bar a svg { width: 17px; height: 17px; color: var(--accent-400); }
.mobile-bar a.is-primary { background: var(--accent-400); color: var(--on-accent); }
.mobile-bar a.is-primary svg { color: var(--on-accent); }

/* --------------------------------------------------------------------------
   23. Bandeau cookies (RGPD)
   -------------------------------------------------------------------------- */
.cookie {
  position: fixed;
  left: var(--gutter);
  bottom: var(--gutter);
  z-index: 120;
  width: min(430px, calc(100vw - 2 * var(--gutter)));
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  background: rgba(11, 31, 54, 0.985);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%);
  transition: transform var(--t-slow);
}
.cookie.is-visible { transform: none; }
.cookie h2 {
  font-size: 1.075rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.cookie h2 svg { width: 20px; height: 20px; color: var(--accent-400); }
.cookie p { font-size: 0.89rem; color: var(--muted); }
.cookie__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.cookie__actions .btn { flex: 1 1 130px; }

/* --------------------------------------------------------------------------
   24. Animations d'apparition
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--delay, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Halo suivant le curseur sur les grilles de cartes */
.spotlight { position: relative; }
.spotlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 122, 0, 0.09),
    transparent 62%
  );
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
  z-index: 0;
}
.spotlight:hover::before { opacity: 1; }

/* Bouton retour en haut */
.to-top {
  position: fixed;
  right: var(--gutter);
  bottom: calc(var(--gutter) + 0px);
  z-index: 80;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(11, 31, 54, 0.9);
  color: var(--text);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--t);
  backdrop-filter: blur(10px);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent-400); color: var(--on-accent); border-color: var(--accent-400); }
.to-top svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   25. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__media { max-width: 520px; aspect-ratio: 16 / 10; }
}

@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .layout-aside { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

@media (max-width: 940px) {
  .nav, .header-cta .btn--ghost { display: none; }
  .burger { display: grid; }
  .site-header .container { min-height: 74px; }
  .topbar__info span:nth-child(2) { display: none; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 80px; }
  body { padding-bottom: 58px; }
  /* La barre d'action fixe en bas remplace la barre d'infos du haut */
  .topbar { display: none; }
  .mobile-bar { display: flex; }
  .to-top { bottom: calc(var(--gutter) + 58px); }
  .cookie { bottom: calc(var(--gutter) + 58px); }
  .trust-bar__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .zone__list { columns: 1; }
  .step::after { display: none; }
  .hero__badge-float { right: 0; bottom: -18px; }
  .footer__bottom { justify-content: flex-start; }
}

@media (max-width: 620px) {
  /* Le CTA « Devis gratuit » reste accessible via la barre fixe du bas */
  .header-cta .btn--primary { display: none; }
  .brand img, .brand svg { height: 42px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .hero__tiles { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .cookie__actions .btn { flex: 1 1 100%; }
  .hero__badge-float { position: static; margin-top: 1rem; width: fit-content; }
}

/* --------------------------------------------------------------------------
   26. Préférences utilisateur & impression
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #b9c5d6;
    --line: rgba(255, 255, 255, 0.22);
    --line-strong: rgba(255, 255, 255, 0.38);
  }
}

@media print {
  .site-header, .topbar, .mobile-bar, .cookie, .to-top, .hero__orb, .site-footer nav { display: none !important; }
  body { background: #fff; color: #000; }
  h1, h2, h3, h4 { color: #000; }
  a { color: #000; text-decoration: underline; }
}
