/* =========================================================
   Veltharis — feuille de style
   Palette dérivée du logo (VELTHARIS_Consulting_Group_logo.pdf)
   Navy + Teal du logo · accent bronze/or repris de veltharis-landing.pdf
   ========================================================= */

:root {
  /* Couleurs de marque */
  --navy: #132e3a;
  --navy-deep: #0d2129;
  --teal: #0e9494;       /* accents, bordures, éléments non-textuels — plus sur les boutons d'action, voir --action */
  --teal-dark: #0b7676;  /* liens, eyebrows, texte sur clair (AA) */
  --teal-deep: #095f5f;  /* état hover des éléments teal restants */
  --teal-tint: #e4f2f1;

  /* Bleu d'action — CTA uniquement, depuis le 2026-09-04 (remplace le teal
     sur les boutons). Unifié au navy le plus foncé sur demande (2026-09-04)
     — un seul bleu pour tous les CTA du site, --primary et --action
     rendent désormais exactement la même couleur. Ratio texte blanc
     mesuré : 14.2:1 (AAA), encore meilleur que la variante intermédiaire
     testée avant (8.39:1). */
  --action: var(--navy);
  --action-deep: var(--navy-deep); /* hover */

  --gold: #8f6128;        /* bronze — texte sur fond clair (AA 5:1) */
  --gold-bright: #c9954f; /* décoratif uniquement, jamais comme texte sur clair */
  --gold-soft: #efe2cd;   /* accent clair, réservé aux fonds sombres */

  /* Neutres chauds */
  --ink: #1f2a30;
  --body: #46555c;
  --muted: #5c6a70;   /* assombri pour rester ≥ 4.5:1 sur --paper */
  --line: #e7e3dc;
  --paper: #fbfaf8;
  --paper-2: #fbfaf8; /* = --paper depuis le 2026-09-04, sur demande : blanc
                          partout, plus de fond beige pour .section--alt.
                          L'alternance de rythme vient maintenant des
                          sections navy et de l'espacement, pas de la
                          couleur de fond. */
  --white: #ffffff;

  /* Rythme */
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.5rem;
  --space-6: 5rem;

  /* Système */
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(19, 46, 58, .05), 0 1px 6px rgba(19, 46, 58, .04);
  --shadow-md: 0 10px 28px rgba(19, 46, 58, .10);
  --container: 1080px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Mouvement — une seule échelle, une seule courbe */
  --ease: cubic-bezier(.22, .7, .24, 1);
  --dur-1: 140ms;
  --dur-2: 220ms;
}

/* Points de rupture — deux paliers pour toutes les grilles (640 / 780),
   un troisième dédié à la nav (860, elle a besoin de plus de place que
   les grilles de cartes). Custom properties non utilisables dans les
   media queries : valeurs répétées en dur, mais toujours ces trois-là. */

/* ----------  Base  ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1.08; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.45rem); }

p { margin: 0 0 1rem; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; color: var(--gold); }

img { max-width: 100%; display: block; }

/* Focus clavier — un seul langage visuel, partout */
:focus-visible {
  outline: 2px solid var(--teal-dark);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 760px; }

.section { padding: var(--space-6) 0; }
.section--tight { padding: var(--space-4) 0; }
.section--alt { background: var(--paper-2); }
.section--navy { background: var(--navy); color: #cdd8dc; }
.section--navy h2, .section--navy h3 { color: #fff; }

/* Le doré est réservé aux accents qui comptent vraiment (emphase du hero,
   citation de la section de différenciation, alertes RGPD/juridique) —
   pas aux libellés de section, sinon il perd sa rareté. Les eyebrows
   utilisent le teal, qui porte déjà l'identité de marque au quotidien. */
.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin: 0 0 var(--space-2);
}

.lead { font-size: 1.15rem; color: var(--body); max-width: 40ch; }

.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.cta-row { margin-top: var(--space-4); }
.cta-row--flush { margin-top: 0; }
.section-divider { margin-top: var(--space-5); }

/* ----------  Boutons  ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 600;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease), background var(--dur-2) var(--ease),
    box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); box-shadow: var(--shadow-md); }
.btn--action { background: var(--action); color: #fff; }
.btn--action:hover { background: var(--action-deep); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); background: var(--white); }
.btn--block { width: 100%; justify-content: center; }
.arrow { display: inline-block; transition: transform var(--dur-1) var(--ease); }
.btn:hover .arrow, .porte:hover .arrow, .signature__more:hover .arrow { transform: translateX(3px); }

/* ----------  En-tête  ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 248, .88);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 66px;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__word {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: .12em;
  color: var(--navy);
}
.brand__word b { color: var(--teal); font-weight: 400; }
.site-footer .brand__word { color: #fff; }
.site-footer .brand__word b { color: var(--teal); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
/* :not(.btn) exclu explicitement : sans ça, .nav a (0,0,1,1) bat
   .btn--primary (0,0,1,0) et repeint le bouton CTA en texte navy sur
   fond navy — invisible. Un lien contextuel ne doit jamais pouvoir
   écraser la couleur d'un composant bouton. */
.nav a:not(.btn) {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
}
.nav a[aria-current="page"]:not(.btn) { color: var(--teal-dark); }
.nav .btn { padding: .6rem 1.15rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform var(--dur-2) var(--ease), opacity var(--dur-1) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.25rem 1.25rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; align-self: stretch; justify-content: center; padding: .85rem 1.15rem; }
  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 66px 0 0 0;
    background: rgba(13, 33, 41, .35);
    z-index: 40;
  }
}

/* ----------  Hero  ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.75rem, 6vw, 3.5rem);
  text-align: center;
}
/* Échelle éditoriale dédiée au hero — plus grande que le h1 générique
   des pages intérieures, pour l'impact "déclaration" demandé. */
.hero h1 {
  max-width: 18ch; margin-left: auto; margin-right: auto;
  font-size: clamp(2.6rem, 7vw, 4.6rem);
}
/* Le doré reste rare : un seul déclencheur d'attention dans le hero,
   pas trois — il guide l'œil, il ne décore pas. */
.hero em { color: var(--ink); }
.hero em.em--gold { color: var(--gold); }
.hero .lead { margin: var(--space-3) auto var(--space-4); text-align: center; }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.hero__cta .btn .arrow { color: var(--gold-bright); }
.hero__note { font-size: .9rem; color: var(--muted); }
.hero__secondary {
  margin-top: .4rem; font-family: var(--font-sans); font-size: .92rem; font-weight: 600;
  color: var(--navy); display: inline-flex; align-items: center; gap: 6px;
}
.hero__secondary:hover { text-decoration: underline; }
.hero__secondary .arrow { transition: transform var(--dur-1) var(--ease); }
.hero__secondary:hover .arrow { transform: translateX(3px); }

/* Le texte du hero doit toujours dominer le fond */
.hero > .container { position: relative; z-index: 2; }

/* Fond ambiant — deux lignes ascendantes (teal + or) qui se dessinent en
   boucle, écho graphique du même motif que le logo. Plein-large, fondue
   au papier au centre pour que le titre reste net. */
.hero__lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.hero__lines svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Anciennement en style="" inline sur chaque élément SVG — déplacé ici
   pour permettre une Content-Security-Policy sans 'unsafe-inline' sur
   style-src. */
.hero-arrow-teal path { fill: var(--teal-dark); }
.hero-arrow-gold path { fill: var(--gold); }
.hero-line { fill: none; stroke-linecap: round; stroke-dasharray: 1400; animation: heroLineDraw 7s ease-in-out infinite; }
.hero-line--teal { stroke: var(--teal-dark); stroke-opacity: .4; stroke-width: 5; }
.hero-line--gold { stroke: var(--gold); stroke-opacity: .3; stroke-width: 3.5; animation-delay: .9s; }
.hero-dot { fill: var(--teal-dark); animation: heroDotPulse 4s ease-in-out infinite; }
.hero-dot--2 { animation-delay: 1s; }
.hero-dot--3 { animation-delay: 2s; }
.hero__lines::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 42%,
    color-mix(in srgb, var(--paper) 60%, transparent), var(--paper) 82%);
}
@keyframes heroLineDraw {
  0%   { stroke-dashoffset: 1400; }
  65%  { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
@keyframes heroDotPulse {
  0%, 100% { opacity: .3; }
  50%      { opacity: .9; }
}
@media (max-width: 767px) {
  /* Le viewBox 1600×900 en preserveAspectRatio="none" s'étire trop sur un
     écran étroit et haut — simplifié plutôt que déformé sur mobile. */
  .hero__lines { display: none; }
}

/* ----------  Bandeau de preuve  ---------- */
/* Un vrai temps fort navy juste après le hero — pas une nuance de beige
   de plus. Deuxième teinte de navy (--navy-deep) pour se distinguer de
   la section de différenciation plus bas, qui utilise --navy. */
.proof {
  padding: var(--space-4) 0;
  background: var(--navy-deep);
}
.proof__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  text-align: center;
}
@media (min-width: 780px) {
  .proof__row { grid-template-columns: repeat(3, 1fr); }
  .proof__item { border-left: 1px solid rgba(255, 255, 255, .16); }
  .proof__item:first-child { border-left: 0; }
}
.proof__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: #fff;
}
.proof__label {
  display: block;
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #a9b7bc;
  margin-top: .25rem;
}

/* ----------  Portes d'entrée  ---------- */
.portes {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .portes { grid-template-columns: repeat(3, 1fr); } }

.porte {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--dur-2) var(--ease), background var(--dur-2) var(--ease);
}
.porte:hover {
  text-decoration: none;
  border-left-color: var(--teal);
  border-color: var(--line);
  border-left-width: 3px;
  background: #f4fbfa;
}
.porte__icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--space-2);
  color: var(--navy);
}
.porte h2 { font-size: clamp(1.2rem, 3vw, 1.45rem); margin-bottom: .35rem; }
.porte p { font-size: .97rem; margin-bottom: 1rem; }
.porte__keywords {
  margin: auto 0 0;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--teal-dark);
}
.porte__go {
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--navy);
}

/* ----------  Étapes (Comment ça marche)  ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-4);
  position: relative;
}
@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
  .steps::before {
    content: "";
    position: absolute;
    top: 15px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: var(--line);
    z-index: 0;
  }
}
.step { position: relative; padding-left: 2.75rem; }
@media (min-width: 780px) { .step { padding-left: 0; padding-top: 2.5rem; } }
.step__num {
  position: absolute;
  top: 0; left: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-serif);
  font-size: .95rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { font-size: .95rem; margin: 0; }

/* ----------  Section différenciation (navy, composition asymétrique)  ---------- */
.split {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 780px) {
  .split { grid-template-columns: 1.15fr .85fr; align-items: center; }
}
.claim {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.05rem);
  line-height: 1.3;
  color: #fff;
  margin: 0;
  max-width: 26ch;
}
.claim em { color: var(--gold-soft); }

.diffs { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.diffs li { position: relative; padding-left: 1.3rem; font-size: .96rem; color: #b7c4c9; }
.diffs li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 9px; height: 1.5px;
  background: var(--teal);
}
.diffs strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.08rem;
  color: #fff;
  margin-bottom: .15rem;
}

/* ----------  Témoignages  ----------
   Exception délibérée à la règle "pas de CSS mort" : le balisage
   correspondant est actuellement commenté dans notre-approche.html
   (aucun témoignage réel disponible). Ces règles sont prêtes à l'emploi
   pour le jour où quelqu'un décommentera ce bloc et y collera du contenu
   réel — ne pas les supprimer sous prétexte qu'elles sont "inutilisées". */
.testimonials__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: var(--space-3);
}
@media (min-width: 780px) { .testimonials__grid { grid-template-columns: repeat(2, 1fr); } }
.testimonial {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.testimonial__quote {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 1rem;
}
.testimonial__author { display: flex; flex-direction: column; }
.testimonial__name { font-weight: 600; color: var(--ink); font-size: .95rem; }
.testimonial__role { font-size: .85rem; color: var(--muted); }

/* ----------  Signature de clôture  ---------- */
.signature { background: var(--paper-2); text-align: center; }
.signature__logo { max-width: 200px; margin: 0 auto var(--space-3); }
.signature__claim {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: var(--space-3);
}
.signature__more {
  display: inline-block;
  margin-top: var(--space-2);
  font-size: .9rem;
  color: var(--teal-dark);
  font-weight: 500;
}
.signature__more:hover { text-decoration: none; }

/* ----------  Offres, par palier (contenu, pas de prix)  ---------- */
.tier-group { margin-bottom: var(--space-5); }
.tier-group > h2 {
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  padding-bottom: .6rem;
  border-bottom: 2px solid var(--teal);
  margin-bottom: var(--space-3);
}
.tier-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 780px) { .tier-grid { grid-template-columns: repeat(3, 1fr); } }

.tier-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.tier-card--core { border-top-color: var(--teal); }
.tier-card__label {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: .5rem;
}
.tier-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 .5rem;
}
.tier-card__meta { font-size: .88rem; color: var(--muted); margin: 0 0 auto; }

/* ----------  Callout — un seul langage pour tous les encarts  ---------- */
.callout {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--line);
  background: var(--paper-2);
  font-size: .95rem;
}
.callout + .callout { margin-top: var(--space-2); }
.callout--gold { border-left-color: var(--gold-bright); }
.callout--teal { border-left-color: var(--teal); background: var(--teal-tint); }
.callout--muted { border-left-color: var(--line); font-size: .84rem; color: var(--muted); }

/* ----------  Formulaire  ---------- */
.form-wrap { max-width: 680px; margin: 0 auto; }

.field { margin-bottom: var(--space-3); }
.field > label,
.fieldset > legend {
  display: block;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  margin-bottom: .5rem;
}
.hint { font-size: .85rem; color: var(--muted); font-weight: 400; }
.field .hint { margin: .2rem 0 .55rem; }
.hint.center { margin-top: var(--space-3); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8b98a0; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px var(--teal-tint);
}

.grid-2 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.fieldset { border: 0; padding: 0; margin: 0 0 var(--space-3); }

.radio-cards { display: grid; gap: .7rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .radio-cards { grid-template-columns: repeat(3, 1fr); } }
.radio-card {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  cursor: pointer;
  background: var(--white);
  transition: border-color var(--dur-1) var(--ease), background var(--dur-1) var(--ease);
}
.radio-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-card__title { font-weight: 600; color: var(--ink); font-size: .95rem; }
.radio-card__desc { display: block; font-size: .82rem; color: var(--muted); }
.radio-card:has(input:checked) { border-color: var(--teal-dark); background: var(--teal-tint); }
.radio-card:has(input:focus-visible) { outline: 2px solid var(--teal-dark); outline-offset: 2px; }

.checkbox-row {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--body);
  cursor: pointer;
}
.checkbox-row input { margin-top: .25rem; flex-shrink: 0; }

/* Aperçu du routage */
.routing-preview {
  border-radius: var(--radius);
  border: 1px solid var(--teal);
  background: var(--teal-tint);
  padding: 1.3rem 1.4rem;
  margin-bottom: var(--space-3);
}
.routing-preview[hidden] { display: none; }
.routing-preview h2 { font-size: 1.05rem; margin-bottom: .4rem; }
.routing-preview__intro { font-size: .9rem; color: var(--body); margin-bottom: 1rem; }
.routing-match { padding: .9rem 0; border-top: 1px solid rgba(11, 118, 118, .22); }
.routing-match:first-of-type { border-top: 0; }
.routing-match__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}
.routing-match__label { font-weight: 600; color: var(--navy); }
.routing-match__depts { font-size: .82rem; color: var(--teal-dark); }
.routing-match__deliverable { font-size: .9rem; margin: .3rem 0 .4rem; }
.routing-match__skills { display: flex; flex-wrap: wrap; gap: .35rem; }
.skill-chip {
  font-family: var(--font-sans);
  font-size: .72rem;
  background: var(--white);
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  border-radius: 6px;
  padding: .15rem .45rem;
}
.routing-legal {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--navy-deep);
  background: var(--gold-soft);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
}

.form-error {
  color: #a3341f;
  font-size: .88rem;
  margin-top: .4rem;
}
.form-error[hidden] { display: none; }

.form-guard { margin-top: var(--space-4); }

/* ----------  Équipe  ---------- */
.team {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-top: var(--space-3);
}
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
.member {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.member__avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: .9rem;
}
.member h3 { margin-bottom: .1rem; }
.member__role { font-size: .85rem; color: var(--teal-dark); font-weight: 600; margin-bottom: .7rem; }
.member p { font-size: .95rem; margin: 0; }


/* ----------  Carte des implantations (a-propos.html)  ---------- */
.globe-wrap {
  position: relative;
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
  align-items: center;
  margin-top: var(--space-3);
}
.globe-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  transform: translate(-50%, -130%);
  background: var(--navy); color: #fff;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  padding: .3rem .6rem; border-radius: 6px;
  opacity: 0; transition: opacity var(--dur-1) var(--ease);
  white-space: nowrap;
}
.globe-tooltip.is-visible { opacity: 1; }
@media (min-width: 640px) {
  .globe-wrap { grid-template-columns: 240px 1fr; }
}
.globe-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 240px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, rgba(201, 149, 79, .12), transparent 72%);
}
.globe-scene canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 900ms var(--ease);
}
.globe-scene canvas.is-ready { opacity: .95; }
.globe-countries {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .6rem 1.5rem;
}
.globe-countries li {
  position: relative;
  padding-left: 1.1rem;
  font-size: .95rem;
  color: var(--body);
}
.globe-countries li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-bright);
}

/* ----------  Merci  ---------- */
.thanks { text-align: center; max-width: 620px; margin: 0 auto; padding: var(--space-6) 0; }
.thanks__badge {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
}
.thanks__lead { margin: 0 auto; text-align: center; }
.thanks__recap {
  text-align: left;
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin: var(--space-3) 0;
  font-size: .95rem;
}
.thanks__recap dt { font-weight: 600; color: var(--ink); }
.thanks__recap dd { margin: 0 0 .7rem; }
.thanks__disclaimer { font-size: .9rem; }
.thanks__back { margin-top: var(--space-3); }

/* ----------  Pied de page  ---------- */
.site-footer {
  background: var(--navy);
  color: #a9b7bc;
  padding: var(--space-5) 0 var(--space-4);
  font-size: .92rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
.site-footer a { color: #cdd8dc; }
.site-footer__claim {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: #fff;
  margin: .3rem 0 0;
}
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__legal {
  width: 100%;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .82rem;
  color: #8b9a9f;
}

/* ----------  Utilitaires  ---------- */
[hidden] { display: none !important; }
.hidden { display: none; } /* honeypot Netlify Forms, voir demande.html */

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
