/* =========================================================================
   VB Juricomptables SARL — feuille de style
   Esthétique : institutionnel raffiné / éditorial.
   Navy dominant · rouge en accent précis · or pour les petits labels sombres.
   ========================================================================= */

/* ----------------------------- Variables ------------------------------- */
:root {
  --navy:        #1A2B6D;
  --navy-deep:   #121E4D;
  --navy-darker: #0D1638;
  --red:         #D41317;
  --paper:       #F6F5F1;
  --gold:        #B89A5E;
  --gold-soft:   #CDB682;
  --ink:         #10162E;
  --muted:       #5B637E;

  --line:        rgba(26, 43, 109, .14);   /* filets fins sur fond clair */
  --line-light:  rgba(255, 255, 255, .16); /* filets sur fond sombre     */

  --radius:      3px;
  --maxw:        1280px;
  --gutter:      clamp(18px, 5vw, 64px);

  /* Encoches / zones sûres (notch, home indicator). 0 si non concerné. */
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
  /* Hauteur réelle de l'en-tête, encoche comprise. */
  --header-total: calc(var(--header-h) + var(--safe-top));

  /* En-tête + logo : pilotés par variables pour s'adapter à chaque écran. */
  --header-h:          92px;
  --header-h-scrolled: 72px;
  --logo-h:            74px;   /* hauteur du logo dans l'en-tête          */
  --logo-h-scrolled:   54px;   /* hauteur du logo une fois défilé / détail */

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);     /* sorties luxueuses, longues */

  /* ---- Couche « premium » : platine, or métallique, profondeur ---------- */
  --platinum:    #EDEDF0;     /* gris platine très clair (fonds alternés)    */
  --platinum-2:  #E3E4E9;
  --ink-2:       #1C2342;     /* encre légèrement plus claire                */
  --gold-bright: #E6D6A8;

  /* dégradé or métallique (texte clé, filets, séparateurs) */
  --gold-grad:   linear-gradient(120deg, #B89A5E 0%, #E6D6A8 38%, #CDB682 55%, #9C814B 100%);
  /* halo doré très discret (hero) */
  --gold-glow:   radial-gradient(60% 60% at 80% 12%, rgba(205,182,130,.16), transparent 70%);

  --shadow-sm:   0 10px 28px -18px rgba(13, 22, 56, .45);
  --shadow-md:   0 24px 54px -28px rgba(13, 22, 56, .55);
  --shadow-lg:   0 44px 90px -40px rgba(8, 14, 38, .7);

  --maxw-wide:   1320px;      /* sections cinématiques plus larges          */
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-total);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;          /* casse les mots trop longs */
}
/* Verrou de défilement quand le menu mobile est ouvert */
body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
/* e-mails, téléphones, adresses : ne débordent jamais */
a[href^="mailto:"], a[href^="tel:"], .office a, .office p { overflow-wrap: anywhere; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0;
}
p { margin: 0; }

[hidden] { display: none !important; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 2px;
}

/* lien d'évitement */
.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
}
.skip-link:focus { left: 12px; top: 12px; }

/* --------------------------- Helpers ----------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  /* marge latérale fluide, jamais sous une encoche (paysage notché) */
  padding-left: max(var(--gutter), var(--safe-left));
  padding-right: max(var(--gutter), var(--safe-right));
}

.section { padding-block: clamp(48px, 6vw, 88px); }

/* Eyebrow : Montserrat 11px, lettrage .32em, MAJUSCULES, rouge + filet */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--red);
  display: inline-block;
  flex: none;
}
.eyebrow.on-dark { color: var(--gold); }
.eyebrow.on-dark::before { background: var(--gold); }

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  color: var(--muted);
  max-width: 62ch;
}
.lead--on-dark { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3.6vw, 48px); }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.section-head .lead { margin-top: 18px; }

em, .italic { font-style: italic; }

/* --------------------------- Boutons ----------------------------------- */
.btn {
  --bg: var(--red);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(212, 19, 23, .55);
}

/* lien souligné « Découvrir nos métiers → » */
.link-underline {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  transition: color .3s var(--ease);
  display: inline-flex;
  gap: 8px;
}
.link-underline:hover { color: var(--gold-soft); }

/* ============================== HEADER ================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-total);          /* encoche supérieure comprise */
  padding-top: var(--safe-top);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease),
              height .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: var(--logo-h);
  width: auto;
  transition: height .4s var(--ease), opacity .3s var(--ease);
}
.brand .logo-color { display: none; }
.brand .logo-light { display: block; }

/* état défilé / page de détail ouverte */
.site-header.scrolled {
  background: rgba(246, 245, 241, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(16, 22, 46, .5);
  height: calc(var(--header-h-scrolled) + var(--safe-top));
  border-bottom-color: var(--line);
}
.site-header.scrolled .brand img { height: var(--logo-h-scrolled); }
.site-header.scrolled .brand .logo-color { display: block; }
.site-header.scrolled .brand .logo-light { display: none; }

/* nav */
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  position: relative;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: #fff;
  padding: 6px 0;
  transition: color .3s var(--ease);
}
.site-header.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--red);
  transition: width .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

.nav .btn.nav-cta { color: #fff; }

/* Le CTA « mobile » (dans la liste de nav) n'apparaît que dans le menu
   déroulant ≤760px ; masqué sur desktop pour éviter un doublon avec .nav-cta. */
.nav-links .cta-mobile { display: none; }

/* Sélecteur de langue FR | EN */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.lang-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .08em;
  background: transparent;
  border: 0;
  /* cible tactile ≥ 44px */
  min-height: 44px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, .6);
  transition: color .3s var(--ease);
  line-height: 1;
}
.lang-btn:hover { color: #fff; }
.lang-btn.is-active { color: #fff; }
.lang-sep { color: rgba(255, 255, 255, .35); font-size: .8rem; }

.site-header.scrolled .lang-btn { color: var(--muted); }
.site-header.scrolled .lang-btn:hover,
.site-header.scrolled .lang-btn.is-active { color: var(--ink); }
.site-header.scrolled .lang-sep { color: var(--line); }
.lang-btn.is-active { position: relative; }
.lang-btn.is-active::after {
  content: "";
  position: absolute;
  left: 6px; right: 6px;
  /* juste sous le texte centré verticalement dans la cible de 44px */
  top: 50%; margin-top: .72em;
  height: 2px;
  background: var(--red);
}

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  flex: none;
}
.site-header.scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .2s var(--ease),
              background .3s var(--ease);
}
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after { background: var(--ink); }
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%,  7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ============================== HERO =================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;      /* contenu en haut, bandeau de stats au bas */
  color: #fff;
  overflow: hidden;
  padding-top: var(--header-total);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(35, 56, 140, .55), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 48%, var(--navy-darker) 100%);
}
/* grille fine en filigrane */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(110% 90% at 50% 0%, #000 35%, transparent 78%);
          mask-image: radial-gradient(110% 90% at 50% 0%, #000 35%, transparent 78%);
  pointer-events: none;
}
/* gros monogramme « VB » en très faible opacité */
.hero__monogram {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  bottom: -6%;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20rem, 42vw, 48rem);
  line-height: .8;
  color: #fff;
  opacity: .035;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

/* Le conteneur principal occupe l'espace libre et centre verticalement le
   contenu ; le bandeau de stats (.hero__stats) reste collé au bas du hero. */
.hero > .container {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
}
.hero__inner { max-width: 880px; padding-block: clamp(32px, 5vw, 64px); }
.hero h1 {
  font-size: clamp(2.5rem, 6.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 26px;
}
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero .lead { color: rgba(255,255,255,.8); max-width: 62ch; margin-bottom: 38px; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* bandeau de chiffres clés */
.hero__stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line-light);
  margin-top: 0;               /* collé au bas grâce au flex du conteneur */
  padding-bottom: clamp(8px, 2vw, 20px);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 30px clamp(14px, 2.4vw, 34px);
  border-left: 1px solid var(--line-light);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -.01em;
  display: block;
  margin-bottom: 8px;
}
.stat__num.accent { color: var(--gold-soft); }
.stat__label {
  font-size: .78rem;
  color: rgba(255,255,255,.62);
  letter-spacing: .02em;
  line-height: 1.45;
}

/* ============================ LE CABINET =============================== */
.cabinet { background: var(--paper); }
.cabinet__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.cabinet h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 32px; }

.devise {
  border-left: 3px solid var(--red);
  padding: 6px 0 6px 24px;
  margin: 0 0 30px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--navy);
  line-height: 1.4;
}
.cabinet__text p { margin-bottom: 20px; color: var(--muted); }
.cabinet__text p strong { color: var(--ink); font-weight: 600; }

/* piliers */
.pillars { display: grid; gap: 18px; }
.pillar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 3px; height: 0;
  background: var(--red);
  transition: height .4s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -28px rgba(16,22,46,.45); }
.pillar:hover::before { height: 100%; }
.pillar__num { font-family: var(--serif); font-size: .95rem; color: var(--red); letter-spacing: .04em; }
.pillar h3 { font-size: 1.25rem; margin: 4px 0 10px; font-weight: 500; }
.pillar p { color: var(--muted); font-size: .95rem; }

/* ============================ NOS MÉTIERS ============================== */
.metiers { background: var(--ink); color: #fff; }
.metiers .section-head h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.metier {
  background: var(--ink);
  padding: 38px 32px;
  min-height: 244px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background .4s var(--ease);
  position: relative;
}
.metier:hover { background: #161d3a; }
.metier__num {
  font-family: var(--serif);
  font-size: .9rem;
  color: var(--gold-soft);
  margin-bottom: 16px;
}
.metier h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 14px; }
.metier p { color: rgba(255,255,255,.66); font-size: .92rem; flex: 1; }
.metier__foot {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;          /* tag + « en savoir plus » s'empilent si trop étroit */
  gap: 10px 14px;
}

/* Anti-débordement : les items de grille peuvent rétrécir sous leur piste
   (évite qu'un contenu nowrap force la carte au-delà de la colonne). */
.services-grid > *, .feature-grid > *, .sectors-grid > *, .tech-grid > *,
.intl-grid > *, .others-grid > *, .insights-grid > *, .detail-grid > *,
.outcomes-grid > *, .pillars > *, .footer-grid > *, .cabinet__grid > *,
.contact__grid > * { min-width: 0; }
.footer-brand img { max-width: 100%; }
.metier__tag {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.metier__more {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255,255,255,.85);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.metier__more .arrow { transition: transform .3s var(--ease); }
.metier:hover .metier__more { color: #fff; }
.metier:hover .metier__more .arrow { transform: translateX(5px); }

/* tuile CTA rouge */
.metier--cta {
  background: var(--red);
  justify-content: center;
}
.metier--cta:hover { background: #b9100f; }
.metier--cta h3 { color: #fff; display: flex; align-items: center; gap: 12px; }
.metier--cta .metier__tag { color: rgba(255,255,255,.9); margin-top: 14px; }
.metier--cta .arrow { transition: transform .3s var(--ease); }
.metier--cta:hover .arrow { transform: translateX(6px); }

/* ======================== TECHNOLOGIE & QUALITÉ ======================== */
.tech {
  background:
    radial-gradient(120% 120% at 12% -10%, rgba(35,56,140,.45), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-darker) 100%);
  color: #fff;
}
.tech .section-head h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 28px 24px 30px;
  background: rgba(255,255,255,.02);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: rgba(255,255,255,.05);
}
.tech-card h3 {
  font-size: 1.2rem; font-weight: 500; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.tech-card h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-soft); flex: none;
}
.tech-card p { color: rgba(255,255,255,.68); font-size: .9rem; }

.quality-bar {
  margin-top: 32px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 22px 26px;
  background: rgba(255,255,255,.02);
}
.pill {
  flex: none;
  font-family: var(--sans);
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-darker);
  background: var(--gold-soft);
  padding: 8px 16px;
  border-radius: 100px;
}
.quality-bar p { color: rgba(255,255,255,.78); font-size: .95rem; flex: 1; min-width: 240px; }
.quality-bar p strong { color: #fff; font-weight: 600; }

/* ========================== POURQUOI NOUS ============================= */
.why { background: var(--paper); }
/* reflow naturel 3 → 2 → 1 sans points de rupture manuels */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  background: #fff;
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -30px rgba(16,22,46,.5); }
.feature__mark { width: 28px; height: 2px; background: var(--red); margin-bottom: 20px; }
.feature h3 { font-size: 1.18rem; font-weight: 500; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .92rem; }

/* ========================= SECTEURS D'EXPERTISE ======================== */
.sectors { background: #fff; }
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.sector {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.sector:hover { transform: translateY(-3px); border-color: var(--navy); }
.sector__mark { width: 28px; height: 1px; background: var(--red); margin-bottom: 18px; }
.sector h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; }
.sector p { color: var(--muted); font-size: .9rem; }

/* ============================== L'ÉQUIPE ==============================
   Section réservée (placeholder) — voir commentaire dans index.html.       */
.team { background: var(--paper); }
.team-placeholder {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  background: #fff;
}
.team-placeholder p { color: var(--muted); font-size: 1rem; max-width: 52ch; margin-inline: auto; }

/* ============================== CONTACT ================================ */
.contact {
  background:
    radial-gradient(120% 120% at 90% 110%, rgba(35,56,140,.5), transparent 55%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-darker) 100%);
  color: #fff;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 22px; }
.contact h2 em { color: var(--gold-soft); font-style: italic; }
.contact__left .lead { color: rgba(255,255,255,.78); margin-bottom: 32px; }

.offices { display: grid; gap: 16px; }
.office {
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 24px 26px;
  background: rgba(255,255,255,.02);
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.office:hover { border-color: var(--gold); background: rgba(255,255,255,.04); }
.office__head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.office__city { font-family: var(--serif); font-size: 1.3rem; }
.office__badge {
  font-family: var(--sans);
  font-size: .64rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--navy-darker);
  background: var(--gold-soft);
  padding: 4px 10px; border-radius: 100px;
}
.office p { color: rgba(255,255,255,.74); font-size: .9rem; margin-bottom: 8px; }
.office a {
  color: #fff; text-decoration: none;
  font-size: .9rem; font-weight: 500;
  border-bottom: 1px solid var(--line-light);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.office a:hover { color: var(--gold-soft); border-color: var(--gold-soft); }
.office__contacts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 4px; }

/* ====================================================================== */
/*  PAGES DE DÉTAIL (métiers)                                              */
/* ====================================================================== */
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: calc(var(--header-total) + clamp(40px, 8vw, 96px)) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(35, 56, 140, .55), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 48%, var(--navy-darker) 100%);
}
.detail-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(100% 90% at 50% 0%, #000 35%, transparent 80%);
          mask-image: radial-gradient(100% 90% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}
.detail-hero__monogram {
  position: absolute;
  right: clamp(-20px, 2vw, 40px);
  bottom: -14%;
  font-family: var(--serif);
  font-size: clamp(16rem, 34vw, 34rem);
  line-height: .8;
  color: #fff;
  opacity: .04;
  pointer-events: none;
  user-select: none;
}
.detail-hero .container { position: relative; z-index: 1; }
.detail-back {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-decoration: none;
  color: var(--gold-soft);
  margin-bottom: 28px;
  transition: color .3s var(--ease);
}
.detail-back:hover { color: #fff; }
.detail-hero__num {
  display: block;
  font-family: var(--serif);
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.detail-hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 3.8rem);
  font-weight: 500;
  letter-spacing: -.02em;
  margin-bottom: 22px;
}
.detail-hero .lead { color: rgba(255,255,255,.8); max-width: 64ch; }

.detail-includes { background: var(--paper); }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.detail-item {
  display: flex;
  gap: 22px;
  padding: 32px 30px;
  background: var(--paper);
  transition: background .35s var(--ease);
}
.detail-item:hover { background: #fff; }
.detail-item__num {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--line);
  line-height: 1;
  flex: none;
  transition: color .35s var(--ease);
}
.detail-item:hover .detail-item__num { color: var(--red); }
.detail-item__body h3 { font-size: 1.18rem; font-weight: 500; margin-bottom: 8px; }
.detail-item__body p { color: var(--muted); font-size: .92rem; }

/* CTA de page détail */
.detail-cta-wrap { background: var(--paper); padding-block: 0 clamp(56px, 8vw, 110px); }
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 56px);
  color: #fff;
  background:
    radial-gradient(120% 140% at 90% 0%, rgba(35,56,140,.5), transparent 60%),
    linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-darker) 100%);
}
.detail-cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 10px; }
.detail-cta p { color: rgba(255,255,255,.78); max-width: 52ch; }
.detail-cta .btn { flex: none; }

/* Nos autres métiers */
.detail-others-wrap { background: var(--paper); padding-block: 0 clamp(72px, 9vw, 132px); }
.others-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.other-service {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.other-service:hover { transform: translateY(-3px); border-color: var(--navy); }
.other-service__num { font-family: var(--serif); font-size: .85rem; color: var(--red); flex: none; }
.other-service h4 { font-size: 1.05rem; font-weight: 500; flex: 1; }
.other-service .arrow { color: var(--muted); transition: transform .3s var(--ease); }
.other-service:hover .arrow { transform: translateX(4px); color: var(--red); }

/* =============================== FOOTER ================================ */
.site-footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,.7);
  padding-top: clamp(56px, 7vw, 84px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
}
.footer-brand img { width: min(340px, 82%); height: auto; margin-bottom: 22px; }
.footer-brand p { font-size: .88rem; max-width: 42ch; margin-bottom: 22px; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-soft);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a {
  text-decoration: none; font-size: .9rem; color: rgba(255,255,255,.7);
  transition: color .3s var(--ease);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid var(--line-light);
  padding-block: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
  font-size: .8rem; color: rgba(255,255,255,.5);
}
.footer-bottom .tags { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom .tags span::before { content: "•"; margin-right: 8px; color: var(--gold-soft); }

/* ====================== Révélation au défilement ======================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .reveal-up, .reveal-mask { opacity: 1 !important; transform: none !important; }
  .btn, .pillar, .tech-card, .feature, .sector, .metier, .office, .other-service { transition: none; }
  .hero__scroll .dot { animation: none; opacity: 1; }
  .btn::after { display: none; }
}

/* =======================================================================
   ███  COUCHE PREMIUM — flagship homepage
   Hybride : hero cinématique sombre → corps clair éditorial, or métallique.
   ======================================================================= */

/* — Mot-clé métallique (or) du hero & des titres — */
.hero h1 em,
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-style: italic;
}

/* — Hero plus cinématographique (fond plus profond + halo doré) — */
.hero {
  background:
    var(--gold-glow),
    radial-gradient(120% 120% at 85% -8%, rgba(40, 64, 150, .55), transparent 55%),
    linear-gradient(158deg, #0A1130 0%, var(--navy-deep) 46%, var(--navy-darker) 100%);
}
.hero__inner { max-width: 940px; }
.hero h1 { letter-spacing: -.025em; }
/* filet doré sous l'eyebrow du hero, façon « marque » */
.hero .eyebrow.on-dark { color: var(--gold-bright); }

/* indicateur de défilement */
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 118px;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: 600 .62rem/1 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: color .3s var(--ease);
}
.hero__scroll:hover { color: var(--gold-bright); }
.hero__scroll::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--gold-soft), transparent);
  position: relative; overflow: hidden;
}
.hero__scroll .dot {
  position: absolute; left: 50%; bottom: 0;
  width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--gold-bright);
  animation: scrollDot 2.2s var(--ease-out) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-46px); opacity: 0; }
  30% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(0); opacity: 0; }
}

/* — Bandeau de stats : panneau « verre » + filet doré + compteurs — */
.hero__stats {
  border-top: 0;
  background: rgba(255, 255, 255, .025);
  -webkit-backdrop-filter: blur(3px);
          backdrop-filter: blur(3px);
}
.hero__stats::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 1px;
  background: var(--gold-grad); opacity: .7;
}
.stat__num { font-variant-numeric: tabular-nums; }
.stat { transition: background .4s var(--ease); }
.stat:hover { background: rgba(255, 255, 255, .03); }

/* — Boutons : reflet « shine » au survol — */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
  transform: translateX(-130%) skewX(-16deg);
  transition: transform .7s var(--ease-out);
}
.btn:hover::after { transform: translateX(130%) skewX(-16deg); }

/* bouton secondaire « contour or » sur fond sombre */
.btn--gold {
  background: transparent;
  color: var(--gold-bright);
  border-color: rgba(205, 182, 130, .5);
}
.btn--gold:hover {
  background: rgba(205, 182, 130, .08);
  border-color: var(--gold-soft);
  box-shadow: 0 14px 34px -18px rgba(205, 182, 130, .4);
}

/* =================== Méga-menu « Nos Métiers » ===================== */
.has-mega { position: relative; }
.has-mega > a { display: inline-flex; align-items: center; gap: 7px; }
.has-mega > a::before {            /* petit chevron */
  content: "";
  order: 2;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease);
  opacity: .8;
}
.has-mega:hover > a::before,
.has-mega:focus-within > a::before { transform: translateY(0) rotate(225deg); }

.mega {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(660px, 78vw);
  padding: 16px;
  margin-top: 14px;
  background: rgba(11, 18, 46, .97);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
  border: 1px solid var(--line-light);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease-out), transform .32s var(--ease-out), visibility .32s;
  z-index: 130;
}
.mega::before {                    /* filet doré supérieur */
  content: "";
  position: absolute; inset: 0 16px auto 16px; height: 1px; top: 0;
  background: var(--gold-grad); opacity: .6;
}
.mega::after {                     /* pont invisible (anti-fermeture) */
  content: "";
  position: absolute; left: 0; right: 0; top: -16px; height: 16px;
}
.has-mega:hover .mega,
.has-mega:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__item {
  display: block;
  padding: 13px 15px;
  border-radius: 7px;
  text-decoration: none;
  color: #fff;
  transition: background .25s var(--ease);
}
.mega__item:hover { background: rgba(255, 255, 255, .06); }
.mega__item .t {
  font-family: var(--serif); font-size: 1.04rem; font-weight: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mega__item .t .arrow { color: var(--gold-soft); transition: transform .3s var(--ease); }
.mega__item:hover .t .arrow { transform: translateX(4px); }
.mega__item .d {
  color: rgba(255, 255, 255, .58); font-size: .78rem; line-height: 1.5;
  margin-top: 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mega__cta {
  grid-column: 1 / -1;
  margin-top: 6px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 16px;
  border-radius: 7px;
  background: linear-gradient(120deg, var(--red), #b3100f);
  color: #fff; text-decoration: none;
  font: 600 .82rem var(--sans); letter-spacing: .03em;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mega__cta:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(212, 19, 23, .6); }
.mega__cta .arrow { transition: transform .3s var(--ease); }
.mega__cta:hover .arrow { transform: translateX(5px); }

/* ==================== Bandeau normes & accréditations ================ */
.credentials {
  background:
    linear-gradient(180deg, var(--navy-darker), #0b1230);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(20px, 3vw, 30px);
  border-bottom: 1px solid var(--line);
}
.credentials .container {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(16px, 3vw, 44px); flex-wrap: wrap;
}
.cred-label {
  font: 700 .64rem/1.2 var(--sans);
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-soft);
  white-space: nowrap;
}
.cred-list {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 30px);
}
.cred-item {
  position: relative;
  font: 600 .84rem/1 var(--sans);
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .86);
  white-space: nowrap;
}
.cred-item + .cred-item::before {
  content: "";
  position: absolute; left: clamp(-7px, -1.1vw, -15px); top: 50%;
  width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: var(--gold-soft);
}

/* ==================== Cartes Métiers — accent or ==================== */
.metier::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.metier:hover::before { transform: scaleX(1); }
.metier__num { transition: color .4s var(--ease); }
.metier:hover .metier__num { color: var(--gold-bright); }

/* ==================== Tech : panneaux « verre » ===================== */
.tech-card {
  background: rgba(255, 255, 255, .035);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
}

/* ==================== Section Perspectives (placeholder) ============= */
.insights { background: var(--platinum); }
.insights-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.insight-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  min-height: 230px;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.insight-card__cat {
  font: 700 .64rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--red);
}
.insight-card__title {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 500; line-height: 1.2;
  margin: 16px 0 auto;
}
.insight-card__soon {
  align-self: flex-start;
  margin-top: 22px;
  font: 600 .64rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 100px; padding: 7px 13px;
}
.insight-card--feature {
  background: linear-gradient(155deg, var(--navy), var(--navy-darker));
  color: #fff; border-color: transparent;
}
.insight-card--feature .insight-card__title { color: #fff; }
.insight-card--feature .insight-card__cat { color: var(--gold-bright); }
.insight-card--feature .insight-card__soon { color: rgba(255,255,255,.7); border-color: var(--line-light); }

/* ==================== Révélations enrichies ======================== */
.reveal-up {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal-up.is-visible { opacity: 1; transform: none; }

/* ----- Responsive des composants premium ----- */
@media (max-width: 980px) {
  .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .insight-card--feature { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .mega { display: none !important; }          /* le menu déroulant mobile prend le relais */
  .has-mega > a::before { display: none; }
  .hero__scroll { display: none; }
  .credentials .container { gap: 14px; }
  .cred-label { width: 100%; text-align: center; }
  .cred-list { justify-content: center; }
}
@media (max-width: 680px) {
  .insights-grid { grid-template-columns: 1fr; }
}

/* =======================================================================
   ███  PAGE « LE CABINET » (À propos)
   ======================================================================= */

/* — Vision & Mission — */
.about-vm { background: var(--paper); }
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}
.vm-card h2 { font-size: clamp(1.5rem, 2.7vw, 2.15rem); margin: 14px 0 16px; }
.vm-card p { color: var(--muted); }
.vm-card--accent {
  position: relative; overflow: hidden;
  border-color: transparent; color: #fff;
  background:
    radial-gradient(120% 140% at 90% 0%, rgba(35,56,140,.5), transparent 60%),
    linear-gradient(155deg, var(--navy), var(--navy-darker));
}
.vm-card--accent::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--gold-grad); opacity: .7;
}
.vm-card--accent h2 { color: #fff; }
.vm-card--accent p { color: rgba(255, 255, 255, .82); }

/* — Valeurs / gouvernance : réutilisent .feature-grid / .feature — */
.about-values { background: #fff; }
.about-gov { background: #fff; }
.about-lead { background: var(--paper); }

/* — Frise « Notre parcours » (sombre) — */
.about-journey {
  color: #fff;
  background:
    radial-gradient(120% 120% at 12% -10%, rgba(35,56,140,.45), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-darker) 100%);
}
.about-journey .section-head h2 { color: #fff; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 860px; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px;
  background: linear-gradient(to bottom, var(--gold-soft), rgba(205, 182, 130, .08));
}
.timeline__item { position: relative; padding: 0 0 clamp(26px, 3vw, 38px) 42px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__node {
  position: absolute; left: 0; top: 5px;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--navy-darker); border: 1.5px solid var(--gold-soft);
}
.timeline__node::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--gold-grad);
}
.timeline__body h3 { font-size: 1.22rem; font-weight: 500; margin-bottom: 7px; }
.timeline__body p { color: rgba(255, 255, 255, .66); font-size: .94rem; max-width: 62ch; }

/* — Dimension internationale — */
.about-intl { background: var(--platinum); }
.intl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.intl-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.intl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.intl-card__label {
  font: 700 .66rem/1 var(--sans);
  letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.intl-card__value {
  font-family: var(--serif); font-size: 1.16rem; line-height: 1.4;
  color: var(--ink); margin-top: 12px;
}

/* — Présence (sombre) — */
.about-presence {
  color: #fff;
  background:
    radial-gradient(120% 120% at 90% 110%, rgba(35,56,140,.5), transparent 55%),
    linear-gradient(155deg, var(--navy) 0%, var(--navy-deep) 55%, var(--navy-darker) 100%);
}
.about-presence .section-head h2 { color: #fff; }
.offices--2col { grid-template-columns: 1fr 1fr; }
a.office__map {
  display: inline-block; margin-top: 16px;
  border-bottom: 0;
  color: var(--gold-soft);
  font: 600 .8rem var(--sans); letter-spacing: .04em;
  transition: color .3s var(--ease), transform .3s var(--ease);
}
a.office__map:hover { color: #fff; border-bottom: 0; }

/* — CTA — */
.about-cta-wrap { background: var(--paper); padding-block: 0 clamp(72px, 9vw, 120px); }

/* — Responsive À propos — */
@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .offices--2col { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .intl-grid { grid-template-columns: 1fr; }
}

/* =======================================================================
   ███  HUBS MÉTIERS — enrichissement des pages de détail
   ======================================================================= */

/* — Puces de référentiels dans le hero — */
.detail-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.detail-chip {
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .08em;
  color: var(--gold-bright);
  border: 1px solid rgba(205, 182, 130, .42);
  background: rgba(205, 182, 130, .06);
  border-radius: 100px;
  padding: 9px 16px;
}

/* — Notre approche — */
.detail-approach { background: var(--paper); }
.detail-approach .approach-inner { max-width: 860px; }
.approach-text {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  line-height: 1.45;
  color: var(--navy);
  border-left: 2px solid var(--gold);
  padding-left: clamp(20px, 3vw, 32px);
  margin-top: 4px;
}

/* — Nos prestations : fond blanc pour contraster avec « approche » — */
.detail-includes { background: #fff; }

/* — Ce que vous obtenez (sombre) — */
.detail-outcomes {
  color: #fff;
  background:
    radial-gradient(120% 120% at 88% -10%, rgba(35,56,140,.45), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 60%, var(--navy-darker) 100%);
}
.outcomes-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px 48px;
  max-width: 940px;
}
.outcome {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-light);
}
.outcome span:last-child { color: rgba(255, 255, 255, .86); font-size: 1.02rem; line-height: 1.5; }
.outcome__check {
  flex: none; margin-top: 1px;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(205, 182, 130, .16);
  color: var(--gold-bright);
  font-size: .72rem; font-weight: 700;
}

@media (max-width: 680px) {
  .outcomes-grid { grid-template-columns: 1fr; gap: 0; }
}

/* =======================================================================
   ███  SECTEURS — cartes cliquables (accueil) + pages secteur
   ======================================================================= */
.sector {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  min-height: 218px;
}
.sector p { flex: 1; }
.sector__more {
  margin-top: 20px;
  font: 600 .72rem/1 var(--sans);
  letter-spacing: .06em;
  color: var(--red);
  display: inline-flex; align-items: center; gap: 7px;
}
.sector:hover { border-color: var(--gold); }
.sector::before {
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease-out);
}
.sector:hover::before { transform: scaleX(1); }
.sector__more .arrow { transition: transform .3s var(--ease); }
.sector:hover .sector__more .arrow { transform: translateX(4px); }

/* Enjeux du secteur (pages secteur) */
.industry-challenges { background: var(--paper); }

/* =======================================================================
   ███  CONVERSION — formulaire, newsletter, WhatsApp
   ======================================================================= */

/* Honeypot anti-spam (caché) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* — Formulaire de consultation (section Contact, fond sombre) — */
.contact-form { margin-top: 30px; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font: 600 .68rem/1 var(--sans);
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--sans); font-size: .92rem; color: #fff;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 112px; }
.contact-form select {
  -webkit-appearance: none; appearance: none;
  padding-right: 38px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23cdb682' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 11px,
    rgba(255, 255, 255, .04);
}
.contact-form select option { color: var(--ink); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--gold-soft); background: rgba(255, 255, 255, .07);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255, 255, 255, .4); }
.contact-form .btn { justify-self: start; margin-top: 4px; }

.form-status { font-size: .88rem; line-height: 1.45; padding: 12px 15px; border-radius: var(--radius); }
.form-status.is-success { color: #d8f6e3; background: rgba(60, 180, 110, .14); border: 1px solid rgba(120, 210, 160, .32); }
.form-status.is-error { color: #ffdcdc; background: rgba(212, 19, 23, .16); border: 1px solid rgba(212, 19, 23, .42); }

.form-alt { margin-top: 18px; font-size: .9rem; color: rgba(255, 255, 255, .6); }
.form-alt a {
  color: var(--gold-soft); text-decoration: none;
  border-bottom: 1px solid var(--line-light);
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.form-alt a:hover { color: #fff; border-color: var(--gold-soft); }

/* — Newsletter (pied de page sombre) — */
.newsletter { margin-top: 26px; }
.newsletter__label {
  display: block;
  font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 11px;
}
.newsletter__row { display: flex; gap: 8px; max-width: 360px; }
.newsletter__row input {
  flex: 1; min-width: 0;
  font-family: var(--sans); font-size: .88rem; color: #fff;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 11px 13px;
  transition: border-color .3s var(--ease);
}
.newsletter__row input:focus { outline: none; border-color: var(--gold-soft); }
.newsletter__row input::placeholder { color: rgba(255, 255, 255, .45); }
.newsletter__row button {
  flex: none;
  font: 600 .78rem var(--sans); letter-spacing: .03em;
  color: #fff; background: var(--red); border: 1px solid var(--red);
  border-radius: var(--radius); padding: 11px 18px; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.newsletter__row button:hover { background: #b3100f; transform: translateY(-1px); }
.newsletter .form-status { max-width: 360px; margin-top: 10px; }

/* — Bouton flottant WhatsApp — */
.wa-float {
  position: fixed;
  right: max(clamp(16px, 3vw, 28px), var(--safe-right));
  bottom: max(clamp(16px, 3vw, 28px), var(--safe-bottom));
  z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 42px -12px rgba(37, 211, 102, .72); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* ============================ RESPONSIVE =============================== */

/* ≤980px : grilles en 2 colonnes ; splits en 1 colonne ;
            items de détail et autres métiers en 1 colonne. */
@media (max-width: 980px) {
  :root {
    --header-h: 82px;
    --header-h-scrolled: 68px;
    --logo-h: 62px;
    --logo-h-scrolled: 48px;
  }
  .cabinet__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  /* .feature-grid / .sectors-grid : gérés par auto-fit (pas de règle ici) */
  .detail-grid { grid-template-columns: 1fr; }
  .others-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ≤760px : menu hamburger à la place des liens de nav. */
@media (max-width: 760px) {
  :root {
    --header-h: 76px;
    --header-h-scrolled: 64px;
    --logo-h: 56px;
    --logo-h-scrolled: 46px;
  }
  .nav-toggle { display: block; }
  .nav .btn.nav-cta { display: none; } /* CTA disponible dans le menu déroulant */

  /* Menu mobile plein écran (du bas de l'en-tête jusqu'en bas de l'écran) */
  .nav-links {
    position: fixed;
    inset: var(--header-total) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: rgba(11, 18, 46, .985);
    -webkit-backdrop-filter: blur(16px);
            backdrop-filter: blur(16px);
    padding: 8px max(var(--gutter), var(--safe-left)) calc(28px + var(--safe-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  }
  .nav-links.open { opacity: 1; transform: none; visibility: visible; }
  .nav-links a {
    color: #fff !important;
    min-height: 56px;                 /* grandes lignes tappables */
    display: flex; align-items: center;
    border-bottom: 1px solid var(--line-light);
    font-size: 1.05rem; letter-spacing: .01em;
  }
  .nav-links a::after { display: none; }
  .nav-links li.cta-mobile { display: block; margin-top: 22px; }
  .nav-links li.cta-mobile a { border: 0; min-height: 0; }
  .nav-links .btn { display: inline-flex; color: #fff; width: 100%; justify-content: center; padding-block: 16px; }

  /* le sélecteur de langue reste toujours visible dans la barre (clair même au-dessus du hero) */
}

/* ≤680px : tout en une colonne ; on masque le grand monogramme du hero. */
@media (max-width: 680px) {
  body { font-size: 16px; }

  /* eyebrow : lettrage resserré pour éviter les retours à la ligne hachés */
  .eyebrow { letter-spacing: .2em; gap: 10px; }
  .eyebrow::before { width: 22px; }

  .services-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr; }
  /* .feature-grid / .sectors-grid : gérés par auto-fit */
  .others-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 1px solid var(--line-light); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-light); }

  .hero__monogram { display: none; }
  .hero__cta { gap: 18px; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  .detail-cta { flex-direction: column; align-items: flex-start; }
}

/* ≤480px : petits téléphones — logo et marges resserrés, stats sur 1 colonne. */
@media (max-width: 480px) {
  :root {
    --logo-h: 50px;
    --logo-h-scrolled: 44px;
  }
  .nav { gap: 12px; }
  .lang-switch { gap: 6px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat,
  .stat:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--line-light);
  }
  .stat:first-child { border-top: 0; }
}

/* ===================== Affinages responsive supplémentaires =========== */

/* Pied de page : zone sûre basse + empilement propre du bas de page */
.site-footer { padding-bottom: var(--safe-bottom); }
@media (max-width: 680px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom .tags { gap: 10px 18px; }
}

/* Écrans bas en paysage (téléphones couchés) : le hero ne se verrouille
   pas à 100svh, pour garder titre, accroche et CTA atteignables. */
@media (orientation: landscape) and (max-height: 540px) {
  .hero { min-height: auto; padding-block: calc(var(--header-total) + 22px) 26px; }
  .hero__monogram, .hero__scroll { display: none; }
  .hero__inner { padding-block: 12px; }
  .hero__stats { margin-top: 20px; }
  .detail-hero { padding-top: calc(var(--header-total) + 28px); }
}

/* Cibles tactiles ≥ 44px sur appareils tactiles (sans alourdir le desktop) */
@media (hover: none) and (pointer: coarse) {
  .detail-back, .footer-col a, .office a, .link-underline {
    min-height: 44px; display: inline-flex; align-items: center;
  }
  .office__contacts a { min-height: 40px; }
}

/* Très petits téléphones : marge de sécurité contre tout débordement. */
@media (max-width: 360px) {
  .nav { gap: 10px; }
  .lang-switch { gap: 4px; }
}
