/* ============================================================
   Synesis — Direction "Graphique & audacieux" (motif réseau)
   Palette : bleu nuit · bleu électrique · accent orange ambré
   Typo : Clash Display (titres) + Switzer (texte) — auto-hébergées
   ============================================================ */

@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/ClashDisplay-Variable.woff2") format("woff2"),
       url("/assets/fonts/ClashDisplay-Variable.woff") format("woff");
  font-weight: 200 700; font-display: swap; font-style: normal;
}
@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/Switzer-Variable.woff2") format("woff2"),
       url("/assets/fonts/Switzer-Variable.woff") format("woff");
  font-weight: 300 700; font-display: swap; font-style: normal;
}

:root {
  /* Socle — bleu de marque (globe du logo), plus vif et plus clair */
  --nuit:      #16365E;
  --nuit-2:    #1B4474;
  --nuit-3:    #225089;
  --bleu:      #1389CE;
  --bleu-700:  #0E6FA8;

  /* Accent — JAUNE de marque (l'anneau du logo) + ink pour le texte dessus */
  --jaune:     #F0E000;
  --jaune-600: #D7C900;
  --jaune-ink: #1A2A0A;
  --rouge:     #A8122A;
  /* alias historiques (mappés sur le jaune) */
  --orange:    var(--jaune);
  --orange-600:var(--jaune-600);

  /* Neutres */
  --blanc:     #FFFFFF;
  --creme:     #F5F7FB;
  --creme-2:   #EAEFF7;
  --encre:     #14233A;
  --gris:      #54637A;
  --gris-2:    #6B7888; /* contraste AA ~4.5:1 sur fond clair (textes secondaires) */
  --trait:     #E4E9F1;
  --trait-d:   rgba(255,255,255,.14);

  --radius:    16px;
  --radius-sm: 10px;
  --ombre:     0 2px 4px rgba(11,30,54,.04), 0 12px 32px rgba(11,30,54,.07);
  --ombre-f:   0 24px 60px rgba(11,30,54,.18);
  --t:         .28s cubic-bezier(.2,.7,.2,1);
  --max:       1180px;

  --font-d: "Clash Display", ui-sans-serif, system-ui, sans-serif;
  --font:   "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); color: var(--encre); background: var(--blanc);
  line-height: 1.6; font-size: 17px; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-decoration: none; transition: color var(--t); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 600; line-height: 1.22; letter-spacing: .002em; color: var(--encre); padding-top: .04em; }
h1 { font-size: clamp(2.6rem, 6.6vw, 4.8rem); font-weight: 600; line-height: 1.12; }
h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { text-wrap: pretty; }

/* ----- Utilitaires ----- */
.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }
.section--cream { background: var(--creme); }
.section--dark  { background: var(--nuit); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--gris); font-size: 1.12rem; margin-top: 16px; }
.section--dark .section__head p { color: rgba(255,255,255,.72); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bleu); margin-bottom: 24px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--bleu); display: inline-block; }
.section--dark .kicker { color: #9CCBF0; }
.section--dark .kicker::before, .hero .kicker::before { background: var(--jaune); }

.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: -999px; top: 0; z-index: 200; background: var(--orange); color: #08182c; padding: 8px 16px; font-weight: 600; }
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: 4px; }

.text-accent { color: var(--orange); }
.text-bleu   { color: var(--bleu); }
.text-glow   { color: var(--jaune); font-weight: 600; text-shadow: 0 0 10px rgba(240,224,0,.3); }

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font-family: var(--font); font-weight: 600; font-size: 1rem; padding: 16px 28px;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--jaune); color: var(--jaune-ink); box-shadow: 0 8px 24px rgba(240,224,0,.30); }
.btn--primary:hover { background: var(--jaune-600); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(240,224,0,.40); color: var(--jaune-ink); }
.btn--blue { background: var(--bleu); color: #fff; }
.btn--blue:hover { background: var(--bleu-700); color: #fff; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--encre); border-color: var(--trait); }
.btn--ghost:hover { border-color: var(--encre); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.06); color: #fff; }
.btn--block { width: 100%; }

/* ----- Motif réseau (texture de fond) ----- */
.nodes-bg::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(currentColor 1.4px, transparent 1.4px);
  background-size: 30px 30px; color: rgba(255,255,255,.07);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000, transparent);
}
.nodes-bg > * { position: relative; z-index: 1; }

/* ============================================================
   En-tête (clair) + navigation
   ============================================================ */
.mainnav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--trait); }
.mainnav__inner { display: flex; align-items: center; gap: 16px; min-height: 62px; }
.mainnav__menu { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 8px; }
.mainnav__menu > li > a { display: block; font-weight: 600; font-size: .97rem; color: var(--encre); padding: 12px 16px; border-radius: 999px; transition: background var(--t), color var(--t); }
.mainnav__menu > li > a:hover { background: var(--creme); }
.mainnav__menu > li > a.active { color: var(--bleu); }
.mainnav__cta { display: none; }

.mainnav__toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 12px; }
.mainnav__bars, .mainnav__bars::before, .mainnav__bars::after { display: block; width: 26px; height: 2.5px; background: var(--encre); border-radius: 2px; transition: var(--t); }
.mainnav__bars { position: relative; }
.mainnav__bars::before, .mainnav__bars::after { content: ""; position: absolute; left: 0; }
.mainnav__bars::before { top: -8px; } .mainnav__bars::after { top: 8px; }

@media (max-width: 980px) {
  .mainnav__toggle { display: block; }
  .mainnav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: #fff; border-bottom: 1px solid var(--trait); padding: 8px 16px 20px;
    margin: 0; display: none; box-shadow: var(--ombre-f);
  }
  .mainnav__menu.open { display: flex; }
  .mainnav__menu > li > a { padding: 16px 8px; border-radius: 0; border-bottom: 1px solid var(--trait); }
  .mainnav__cta { margin-top: 16px; }
  .mainnav__toggle[aria-expanded="true"] .mainnav__bars { background: transparent; }
  .mainnav__toggle[aria-expanded="true"] .mainnav__bars::before { top: 0; transform: rotate(45deg); }
  .mainnav__toggle[aria-expanded="true"] .mainnav__bars::after { top: 0; transform: rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { background: linear-gradient(125deg, #14375F 0%, #1B5290 64%, #1E63A8 100%); color: #fff; position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: clamp(64px, 10vw, 120px) 0; }
.hero__grid > * { min-width: 0; }
.hero__content { max-width: 100%; }
.kicker { flex-wrap: wrap; max-width: 100%; }
.hero__title { color: #fff; margin-bottom: 24px; }
.hero__title .line { display: block; }
.hero__lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.78); max-width: 30ch; margin-bottom: 16px; }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; margin: 32px 0; }
.hero__metrics { display: flex; margin-top: 40px; }
.hero__metrics > div { padding: 4px 24px; border-left: 1px solid rgba(255,255,255,.22); }
.hero__metrics > div:first-child { padding-left: 0; border-left: 0; }
.hero__metrics strong { display: block; font-family: var(--font-d); font-weight: 600; font-size: 1.85rem; color: #fff; line-height: 1.15; }
.hero__metrics span { font-size: .88rem; color: rgba(255,255,255,.66); }
@media (max-width: 420px) { .hero__metrics > div { padding: 4px 16px; } .hero__metrics strong { font-size: 1.5rem; } }
.hero__glow { position: absolute; width: 620px; height: 620px; right: -160px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,224,0,.16), transparent 62%); pointer-events: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { display: none; }   /* en mobile : l'info d'abord, pas le décor */
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.1rem, 9vw, 3rem); letter-spacing: -.01em; }
  h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
}

/* Graphique réseau animé */
.netgraph { width: 100%; height: auto; }
.netgraph .edge { stroke: rgba(143,190,255,.45); stroke-width: 1.5; stroke-dasharray: 5 5; animation: dash 9s linear infinite; }
.netgraph .node { fill: #9CC9F0; }
.netgraph .node--center { fill: #fff; }
.netgraph .node--accent { fill: var(--jaune); }
.netgraph .ring { fill: none; stroke: var(--jaune); stroke-width: 7; stroke-linecap: round; opacity: .92; }
.netgraph .sq { fill: var(--rouge); }
.netgraph .sq--accent { fill: var(--jaune); }
.netgraph .sq--white { fill: #fff; }
.netgraph .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; }
.netgraph .pulse:nth-child(odd) { animation-delay: 1.2s; }
@keyframes dash { to { stroke-dashoffset: -100; } }
@keyframes pulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }

/* ============================================================
   Services — cartes audacieuses numérotées
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 2px solid var(--trait); border-radius: var(--radius);
  padding: 32px 28px 28px; color: var(--encre); transition: transform var(--t), border-color var(--t);
  overflow: hidden;
}
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--bleu); transform: scaleX(0); transform-origin: left; transition: transform var(--t); }
.svc:hover { transform: translateY(-6px); border-color: var(--bleu); }
.svc:hover::after { transform: scaleX(1); }
.svc__ico { width: 46px; height: 46px; margin: 0 0 16px; }
.svc__ico svg { width: 100%; height: 100%; fill: none; stroke: var(--bleu); stroke-width: 1.7; }
.svc h3 { margin-bottom: 8px; }
.svc p { color: var(--gris); font-size: .98rem; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 16px; font-weight: 600; font-size: .92rem; color: var(--bleu); }
.svc__more svg { width: 15px; height: 15px; fill: currentColor; transition: transform var(--t); }
.svc:hover .svc__more svg { transform: translateX(4px); }

/* ============================================================
   Stats — bande nuit, gros chiffres orange
   ============================================================ */
.stats { background: var(--nuit-2); color: #fff; position: relative; }
.stats h2, .stats h3 { color: #fff; }
.stats .section__head p { color: rgba(255,255,255,.74); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { text-align: left; padding-left: 20px; border-left: 2px solid rgba(255,255,255,.14); }
.stat__num { font-family: var(--font-d); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; color: var(--orange); line-height: 1; letter-spacing: -.02em; }
.stat__num small { font-size: .5em; }
.stat__label { color: rgba(255,255,255,.7); margin-top: 8px; font-size: .96rem; }
@media (max-width: 680px) { .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; } }

/* ============================================================
   Approche / "le réseau" — bloc explicatif avec étapes reliées
   ============================================================ */
.approach { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .approach { grid-template-columns: 1fr; gap: 32px; } }
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 46px; bottom: 0; width: 2px; background: rgba(255,255,255,.16); }
.step__dot { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid; display: grid; place-items: center; font-family: var(--font-d); font-weight: 600; z-index: 1; }
/* Pastilles : 1 blanc · 2 bleu clair · 3 vert (lisibles sur le bleu nuit) */
.steps .step:nth-child(1) .step__dot { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.55); color: #fff; }
.steps .step:nth-child(2) .step__dot { background: rgba(99,179,255,.16);  border-color: rgba(99,179,255,.6);  color: #8FBEFF; }
.steps .step:nth-child(3) .step__dot { background: rgba(74,222,128,.16);  border-color: rgba(74,222,128,.6);  color: #4ADE80; }
.step h3 { color: #fff; margin-bottom: 8px; font-size: 1.2rem; }
.step p { color: rgba(255,255,255,.66); font-size: .98rem; }

/* ============================================================
   Témoignages
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }
.quote { background: #fff; border: 2px solid var(--trait); border-radius: var(--radius); padding: 32px; transition: border-color var(--t), transform var(--t); }
.quote:hover { border-color: var(--bleu); transform: translateY(-4px); }
.quote__mark { font-family: var(--font-d); font-size: 3.4rem; line-height: .4; color: var(--bleu); }
.quote p { color: var(--encre); font-size: 1.04rem; margin: 16px 0 24px; }
.quote__who { font-family: var(--font-d); font-weight: 600; font-size: 1rem; }
.quote__role { color: var(--gris-2); font-size: .9rem; }

/* ============================================================
   CTA final
   ============================================================ */
.cta { background: var(--nuit); color: #fff; border-radius: 26px; padding: clamp(40px, 7vw, 80px); text-align: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; max-width: 16ch; margin-inline: auto; }
.cta p { color: rgba(255,255,255,.74); max-width: 52ch; margin: 16px auto 32px; font-size: 1.1rem; }
.cta__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Page intérieure — bandeau titre
   ============================================================ */
.pagehead { background: var(--nuit); color: #fff; padding: clamp(60px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); position: relative; overflow: hidden; }
.pagehead h1 { color: #fff; max-width: 18ch; }
.pagehead p { color: rgba(255,255,255,.74); margin-top: 16px; font-size: 1.15rem; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.5); margin-bottom: 24px; font-weight: 500; }
.breadcrumb a { color: rgba(255,255,255,.78); }
.breadcrumb a:hover { color: var(--orange); }

/* ============================================================
   Blocs services (page services) — alternés
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.feature + .feature { margin-top: clamp(48px, 8vw, 96px); }
.feature--rev .feature__visual { order: 2; }
.feature__panel { background: var(--nuit); border-radius: var(--radius); padding: 48px; color: #fff; position: relative; overflow: hidden; min-height: 280px; display: grid; place-content: center; }
.feature__panel .big { font-family: var(--font-d); font-size: clamp(3rem, 7vw, 5rem); font-weight: 600; color: #fff; line-height: 1.08; padding-top: 0; }
.feature__panel .big .hl { color: var(--orange); }
.feature ul.checks { display: grid; gap: 12px; margin-top: 20px; }
.checks li { position: relative; padding-left: 32px; color: var(--gris); }
.checks li strong { color: var(--encre); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 6px; background: var(--bleu);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='white'/%3E%3C/svg%3E") center/15px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='white'/%3E%3C/svg%3E") center/15px no-repeat; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  /* Sur mobile : kicker, puis la statistique en bandeau, puis le détail */
  .feature__body { display: contents; }
  .feature__body > .kicker { order: 1; margin-bottom: 0; }
  .feature__visual { order: 2; }
  .feature__content { order: 3; }
  .feature__panel { padding: 24px; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .feature__panel .big { font-size: clamp(1.9rem, 9vw, 2.5rem); line-height: 1.1; text-align: center; }
}

/* ============================================================
   Assistance — actions
   ============================================================ */
.actions-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.actions-row .action { padding: 24px; }
@media (max-width: 760px) { .actions-row { grid-template-columns: 1fr; } }
.assist-note { max-width: 820px; margin: 36px auto 0; text-align: justify; color: var(--gris); background: var(--creme); border: 1px solid var(--trait); border-radius: var(--radius); padding: 24px 32px; line-height: 1.9; }
.assist-note strong { color: var(--encre); }
.action { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: #fff; border: 2px solid var(--trait); border-radius: var(--radius); transition: all var(--t); }
.action:hover { border-color: var(--bleu); }
.action--accent { background: var(--orange); border-color: var(--orange); }
.action--accent:hover { background: var(--orange-600); border-color: var(--orange-600); }
.action--accent strong, .action--accent small { color: var(--jaune-ink); }
.action--accent .action__ico { background: rgba(0,0,0,.12); }
.action--accent .action__ico svg { stroke: var(--jaune-ink); }
.action__ico { width: 48px; height: 48px; border-radius: 12px; background: var(--creme); display: grid; place-items: center; flex: none; }
.action__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--bleu); stroke-width: 1.8; }
.action strong { display: block; font-family: var(--font-d); font-weight: 600; }
.action small { color: var(--gris); }

/* ============================================================
   Timeline (à propos)
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--trait); }
.timeline li { position: relative; padding: 0 0 32px 30px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 0 4px rgba(19,137,206,.16); }
.timeline time { font-family: var(--font-d); font-weight: 600; color: var(--bleu); font-size: .95rem; }
.timeline p { color: var(--gris); margin-top: 4px; }

/* ============================================================
   Formulaire / contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--encre); padding: 16px;
  border: 2px solid var(--trait); border-radius: 12px; background: #fff; transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px rgba(43,127,255,.14); }
.field textarea { resize: vertical; min-height: 140px; }
.field--hp { position: absolute; left: -9999px; }
.form-card { background: #fff; border: 2px solid var(--trait); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); }
.info-card { background: var(--nuit); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); position: relative; overflow: hidden; }
.info-card h3 { color: #fff; } .info-card a { color: var(--orange); }
.info-card address { font-style: normal; line-height: 2; margin-top: 8px; color: rgba(255,255,255,.84); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); margin-top: 28px; }
.alert { padding: 16px; border-radius: 12px; margin-bottom: 24px; font-weight: 500; }
.alert--ok { background: #e7f8ee; color: #126b3b; border: 1.5px solid #b9e8cc; }
.alert--err { background: #fdecec; color: #a32424; border: 1.5px solid #f5c6c6; }

/* ============================================================
   Contenu riche (prose)
   ============================================================ */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { margin: 40px 0 16px; }
.prose h3 { margin: 24px 0 8px; }
.prose p, .prose li { color: var(--gris); }
.prose ul { list-style: disc; padding-left: 24px; display: grid; gap: 8px; }
.prose a { word-break: break-word; }

/* ============================================================
   Pied de page
   ============================================================ */
/* Partenaires — bande claire pour des logos lisibles */
.partners-strip { background: var(--creme); border-top: 1px solid var(--trait); padding: clamp(36px,5vw,56px) 0; text-align: center; }
.partners__title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gris-2); margin-bottom: 28px; }
.partners__grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 44px; }
.partners__grid img { height: 28px; width: auto; filter: grayscale(1); opacity: .62; transition: filter var(--t), opacity var(--t); }
.partners__grid img:hover { filter: none; opacity: 1; }

/* Pied de page sombre — moderne */
.site-footer { background: var(--nuit); color: rgba(255,255,255,.7); position: relative; overflow: hidden; border-top: 3px solid var(--jaune); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(40px,6vw,64px) 0 36px; }
.footer-top__txt { max-width: 480px; }
.footer__brand { font-family: var(--font-d); font-size: 1.7rem; font-weight: 600; color: #fff; letter-spacing: .03em; }
.footer-top p { margin-top: 8px; color: rgba(255,255,255,.7); }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid var(--trait-d); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-top { flex-direction: column; align-items: flex-start; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { font-family: var(--font); color: #fff; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { color: rgba(255,255,255,.7); font-weight: 500; }
.footer-col a:hover { color: var(--jaune); }
.footer-col address { font-style: normal; line-height: 2; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--trait-d); font-size: .85rem; }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .made { color: var(--gris-2); }

/* ============================================================
   Barre unique (logo + nav + actions) — remplace l'ancien header
   ============================================================ */
.mainnav__inner { gap: 16px; min-height: 74px; }
.mainnav__logo { display: inline-flex; align-items: center; flex: none; }
.mainnav__logo img { height: 42px; width: auto; display: block; }
.mainnav__menu { margin: 0 auto; }
.mainnav__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.mainnav__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--encre); font-weight: 700; white-space: nowrap; }
.mainnav__tel svg { width: 18px; height: 18px; fill: var(--bleu); }
@media (max-width: 1040px) { .mainnav__tel span { display: none; } }
@media (max-width: 980px) {
  .mainnav__actions { display: none; }
  .mainnav__menu .mainnav__cta { display: block; margin-top: 8px; }
  .mainnav__menu .mainnav__cta .btn { width: 100%; border-radius: 999px; border-bottom: 2px solid transparent; }
}

/* ============================================================
   Animations d'apparition
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Sous-navigation collante (onglets d'ancrage — page Services)
   ============================================================ */
.subnav { position: sticky; top: 74px; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--trait); }
.subnav__inner { display: flex; gap: 8px; padding: 12px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.subnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--encre); white-space: nowrap; border: 1.5px solid var(--trait); transition: all var(--t); }
.subnav a:hover, .subnav a.is-active { border-color: var(--bleu); color: var(--bleu); background: var(--creme); }
.anchor { scroll-margin-top: 150px; }

/* ============================================================
   Lignes de formulaire à 2 colonnes
   ============================================================ */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* ============================================================
   Polish mobile — hiérarchie, densité, confort tactile (2026)
   ============================================================ */
.mainnav__tv { padding: 8px 16px; font-size: .9rem; }
.mainnav__tv svg { margin-right: 4px; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .section__head { margin-bottom: 32px; }
  .section__head p { font-size: 1.02rem; }
  /* Boutons pleine largeur = cibles tactiles confortables */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .cta { padding: 36px 24px; }
  .cta__btns { flex-direction: column; }
  .cta__btns .btn { width: 100%; }
  /* Cartes services : un peu plus respirantes */
  .svc { padding: 24px; }
  /* Pied de page : CTA pleine largeur */
  .footer-top .btn { width: 100%; }
  /* Témoignages et chiffres : plus d'air entre items */
  .quotes { gap: 16px; }
}

@media (max-width: 380px) {
  .hero__metrics strong { font-size: 1.35rem; }
  .hero__metrics > div { padding: 4px 12px; }
}
