/* ============================================================
   Groupe Numeris, site du groupe (numeris-groupe.fr)
   Base : gabarit des sites des cabinets (Bexco), jetons du groupe : marine, or, nuit pour l'univers.
   ============================================================ */

:root {
  --navy: #1e2f55;
  --navy-dark: #0d1c3f;
  --navy-deep: #0d162b;
  --accent: #b19f69;
  --accent-dark: #8e7d4b;
  --accent-soft: rgba(177, 159, 105, .16);
  --accent-light: #d8cba0;
  --accent-ink: #0d1c3f;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --text: #1f2937;
  --muted: #6b7386;
  --line: #e4e8ee;
  --line-ink: rgba(255, 255, 255, .14);
  --f-title: 'Poppins', system-ui, sans-serif;
  --f-body: 'Lato', system-ui, sans-serif;
  --max: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 6.5rem);
  --radius: 10px;
  --shadow: 0 6px 24px rgba(13, 28, 63, .08);
  --shadow-lg: 0 18px 50px rgba(13, 28, 63, .14);
  --ease: cubic-bezier(.25, .6, .25, 1);
  --dur: .7s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a, button, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4 {
  font-family: var(--f-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-dark);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.13rem; }
h1 em, h2 em { font-style: normal; color: var(--accent-dark); }
p { margin: 0 0 1.1em; }
.muted { color: var(--muted); }
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
::selection { background: var(--navy); color: #fff; }

/* ---------- Lien d'évitement (clavier) ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -100%; z-index: 300;
  font-family: var(--f-title); font-size: .85rem; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1.1rem; border-radius: 6px; box-shadow: var(--shadow-lg);
}
.skip-link:focus { top: 1rem; }

/* ---------- Filet accent sous les titres ---------- */
.total-rule {
  width: 54px; height: 4px; border: 0; border-radius: 2px;
  background: var(--accent); margin: 1.6rem auto 0;
  transform: scaleX(0); transform-origin: center;
  transition: transform .8s var(--ease);
}
.total-rule.is-in { transform: scaleX(1); }

/* ---------- Étiquettes ---------- */
.eyebrow {
  display: block;
  font-family: var(--f-title); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 .9rem;
}
.section-dark .eyebrow, .section-navy .eyebrow { color: var(--accent-light); }
.section-dark h2 em, .section-navy h2 em { color: var(--accent-light); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-title); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .95rem 1.7rem; border-radius: 5px;
  border: 2px solid var(--navy); color: var(--navy);
  background: transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s, transform .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-solid { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #fff; border-color: #fff; color: var(--accent-dark); }
.section-white .btn-accent:hover, .section .btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 78px; }
.brand { flex: 0 0 auto; display: flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.site-footer .brand img { height: 42px; }
.main-nav { margin-left: auto; overscroll-behavior: contain; }
.main-nav > ul { display: flex; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .6rem .75rem;
  font-family: var(--f-title); font-size: .85rem; font-weight: 500;
  color: var(--navy-dark); white-space: nowrap;
  transition: color .25s;
}
.main-nav a:hover, .main-nav li.current > a { color: var(--accent-dark); }
.nav-phone { display: none; }
.header-cta { flex: 0 0 auto; padding: .75rem 1.4rem; }

/* Burger */
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: .6rem; }
.nav-toggle span {
  display: block; width: 25px; height: 3px; margin: 5px 0; border-radius: 2px;
  background: var(--navy-dark); transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Héros (gabarit de la v1 conservé) ----------
   Panneau marine, photo fondue à droite sous un dégradé marine → violet,
   texte à gauche centré verticalement : surtitre, titre, accroche, boutons. */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(88vh, 780px); background: var(--navy-dark); color: #fff; overflow: hidden;
}
.hero-media { position: absolute; inset: -6% 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .42; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,28,63,.94) 18%, rgba(13,28,63,.6) 58%, rgba(13,28,63,.35) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-block: clamp(4rem, 8vw, 5.5rem); }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); max-width: 16ch; margin-bottom: 0; }
.hero-home h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); }
.hero .eyebrow { color: var(--accent-light); margin-bottom: 1.1rem; }
.hero h1 em { color: var(--accent-light); }
.hero .lead { max-width: 56ch; font-size: 1.12rem; color: rgba(255,255,255,.86); margin-top: 1.4rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.page-hero { min-height: 360px; }
.page-hero .container { padding-block: clamp(3rem, 6vw, 4rem); }
.page-hero .lead { font-size: 1.04rem; }

/* Révélation ligne à ligne du titre */
.line { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(110%); transition: transform .85s var(--ease); }
body.loaded .line-inner { transform: none; }
.line:nth-child(2) .line-inner { transition-delay: .1s; }
.line:nth-child(3) .line-inner { transition-delay: .2s; }
.hero [data-hero-fade] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .8s var(--ease) .4s, transform .8s var(--ease) .4s;
}
body.loaded .hero [data-hero-fade] { opacity: 1; transform: none; }

/* Carte de chiffres qui chevauche le héros de l'accueil */
.hero-figures {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.9rem 2rem;
  margin-top: clamp(2.4rem, 4vw, 3.6rem);
  margin-bottom: calc(-1 * clamp(2.4rem, 4vw, 3.6rem) - var(--section) * .25);
}
.hero-figures .fig { text-align: center; }
.hero-figures .fig strong {
  display: block; font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.hero-figures .fig span {
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--navy-dark);
}
.hero:has(.hero-figures) + .section { padding-top: calc(var(--section) * 1.35); }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-dark { background: var(--navy-dark); color: rgba(255,255,255,.85); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-navy { background: var(--navy); color: rgba(255,255,255,.85); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-white { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 auto clamp(2.2rem, 4.5vw, 3.4rem); text-align: center; }
.section-head p:not(.eyebrow) { color: var(--muted); }
.section-dark .section-head p:not(.eyebrow),
.section-navy .section-head p:not(.eyebrow) { color: rgba(255,255,255,.7) !important; }

/* ---------- Rangées éditoriales ---------- */
.edit-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding-block: clamp(2rem, 4vw, 3.2rem);
}
.edit-row.reverse .edit-media { order: 2; }
.edit-media { position: relative; }
.edit-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.edit-row h3, .edit-row h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.edit-row .eyebrow { margin-bottom: .5rem; }
.edit-row .lead { color: var(--muted); }
.edit-list { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; }
.edit-list li { position: relative; padding: .4rem 0 .4rem 1.7rem; font-size: .97rem; }
.edit-list li::before {
  content: ""; position: absolute; left: 0; top: .85rem;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
}
.text-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--f-title); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark);
}
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link:hover { color: var(--navy-dark); }
.section-dark .text-link, .section-navy .text-link { color: var(--accent); }
.section-dark .text-link:hover, .section-navy .text-link:hover { color: #fff; }

/* ---------- Révélation des images ---------- */
.img-reveal { overflow: hidden; border-radius: var(--radius); }
.img-reveal img { transform: scale(1.06); transition: transform 1s var(--ease); }
.img-reveal.is-in img { transform: scale(1); }

/* ---------- Manifeste ---------- */
.intro-duo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.manifesto {
  font-family: var(--f-title); font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.4;
  color: var(--navy-dark); max-width: 24ch; margin: 0;
}
.manifesto em { color: var(--accent-dark); font-style: normal; }

/* ---------- Cartes ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .35rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.panel:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.panel h3 { margin-bottom: .3rem; }
.panel p { color: var(--muted); font-size: .94rem; margin: 0; }
.panel .text-link { margin-top: auto; padding-top: 1.2rem; }
.panel-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-dark);
}
.panel-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel-list { list-style: none; margin: .6rem 0 0; padding: 0; }
.panel-list li { position: relative; padding: .28rem 0 .28rem 1.4rem; font-size: .93rem; color: var(--text); }
.panel-list li::before { content: ""; position: absolute; left: 0; top: .78rem; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.stat {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 1.7rem 1.4rem; text-align: center;
}
.stat .num {
  font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.1;
  color: var(--accent-light); font-variant-numeric: tabular-nums;
}
.stat .label { margin-top: .5rem; font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.65); }

/* ---------- Deux temps (présent / futur) ---------- */
.duo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.duo-card {
  background: rgba(255,255,255,.05); border: 1px solid var(--line-ink);
  border-radius: var(--radius); padding: 2rem 1.9rem;
}
.duo-card h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.duo-card > p { color: rgba(255,255,255,.72); margin-bottom: 1rem; }
.duo-card .edit-list { margin: .6rem 0 0; }
.duo-card .edit-list li { color: rgba(255,255,255,.88); }

/* ---------- Clientèle : pastilles ---------- */
.client-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.client {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.6rem 1.4rem; text-align: center;
}
.client h3 { font-size: 1.02rem; margin: .8rem 0 .3rem; }
.client p { color: var(--muted); font-size: .9rem; margin: 0; }
.client .panel-icon { margin: 0 auto; }

/* ---------- Cabinets : deux fiches ---------- */
.office-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 3vw, 2.4rem); }
.office {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; display: flex; flex-direction: column;
}
.office-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.office-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.office:hover .office-media img { transform: scale(1.03); }
.office-media .dept {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--f-title); font-size: .64rem; font-weight: 700;
  letter-spacing: .14em; color: var(--navy-dark);
  background: rgba(255,255,255,.92); border-radius: 4px; padding: .22rem .6rem;
}
.office-body { padding: 1.9rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.office-body h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.cd-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.cd-list li {
  display: grid; grid-template-columns: 96px 1fr; gap: .9rem;
  padding: .6rem 0; border-bottom: 1px solid var(--line);
  font-size: .93rem;
}
.cd-list strong {
  font-family: var(--f-title); font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent-dark);
  padding-top: .15rem;
}
.cd-list a { color: var(--navy-dark); font-weight: 700; }
.cd-list a:hover { color: var(--accent-dark); }
.cd-contact {
  display: flex; align-items: center; gap: .9rem;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px;
  padding: .8rem 1rem; margin-bottom: 1.1rem;
}
.cd-contact img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; }
.cd-contact strong { display: block; font-family: var(--f-title); font-size: .95rem; color: var(--navy-dark); }
.cd-contact span { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.cd-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: auto; padding-top: .6rem; }
.cd-actions .btn { padding: .8rem 1.3rem; font-size: .72rem; }
.office-map iframe { width: 100%; height: 260px; border: 0; display: block; filter: grayscale(1) contrast(1.06); }

/* ---------- Bande CTA ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 26ch; margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-top: 2.2rem; }
.cta-band .sub { color: rgba(255,255,255,.7); max-width: 54ch; margin-inline: auto; }
.cta-band .eyebrow { text-align: center; }

/* ---------- Formulaires ---------- */
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-family: var(--f-title); font-size: .74rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--navy-dark);
  margin-bottom: .45rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; font: inherit; color: var(--text);
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: .84rem; color: var(--muted); }
.form-success {
  border: 1px solid var(--accent); background: var(--accent-soft); border-radius: 6px;
  padding: 1.1rem 1.3rem; margin-top: 1rem; font-size: .95rem; color: var(--navy-dark);
}
.form-error {
  border: 1px solid #d8a0a0; background: #fdf3f3; border-radius: 6px;
  padding: 1.1rem 1.3rem; margin-top: 1rem; font-size: .95rem; color: #8c2f2f;
}
.form-error a { color: inherit; }
.field.consent { display: flex; gap: .7rem; align-items: flex-start; }
.field.consent input { width: auto; flex: none; margin-top: .25rem; }
.field.consent label {
  font-family: var(--f-body); font-size: .86rem; font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0;
}
.field.consent label a { color: var(--navy-dark); }
/* Envoi en cours : champs grisés et figés, bouton avec roue de chargement.
   Bloc commun à tous les sites du groupe (même code dans chaque style.css). */
form[aria-busy="true"] { cursor: progress; }
form[aria-busy="true"] label { opacity: .6; }
form[aria-busy="true"] :is(input, select, textarea):disabled {
  background: #eef1f5; border-color: #dde2ea; color: #6b7280; opacity: 1; cursor: progress;
}
form button[type="submit"]:disabled { opacity: .7; cursor: progress; transform: none; }
.spinner {
  display: inline-block; width: .85em; height: .85em; margin-right: .55em; vertical-align: -.1em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; border-right-color: currentColor; opacity: .6; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact-office { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.contact-office:first-of-type { border-top: 1px solid var(--line); }
.contact-office h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.contact-office p { margin: 0 0 .25rem; font-size: .95rem; }
.contact-office a { color: var(--navy-dark); font-weight: 700; }
.contact-office a:hover { color: var(--accent-dark); }

/* ---------- Liens utiles ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.links-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem 1.7rem; }
.links-group h3 { margin-bottom: .9rem; }
.links-group ul { list-style: none; margin: 0; padding: 0; }
.links-group li { padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.links-group li:last-child { border-bottom: 0; }
.links-group a { color: var(--navy-dark); font-weight: 700; }
.links-group a:hover { color: var(--accent-dark); }
.links-group small { display: block; color: var(--muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: .85rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--f-title); font-weight: 600; font-size: 1rem; color: var(--navy-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%); color: var(--accent-dark);
  font-family: var(--f-title); font-weight: 600; font-size: 1.35rem;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-a { padding: 0 1.4rem 1.3rem; color: var(--muted); }

/* ---------- Page équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1000px; margin-inline: auto; }
.team-grid--two { grid-template-columns: repeat(2, 1fr); max-width: 660px; }
.team-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team-card figcaption { padding: 1.15rem 1.3rem 1.25rem; text-align: center; }
.team-card h3 { margin-bottom: .15rem; font-size: 1.05rem; }
.team-card .role { margin: 0; font-size: .85rem; color: var(--muted); }
.role-associe { font-weight: 600; color: var(--accent-dark); text-transform: uppercase;
  font-size: .72rem !important; letter-spacing: .08em; margin-top: .25rem !important; }
.team-monogram { width: 100%; aspect-ratio: 3/4; display: flex; align-items: center;
  justify-content: center; background: linear-gradient(160deg, #f4f7f9, #e6ebf0); }
.team-monogram span { font-family: var(--f-title); font-size: 2.6rem; font-weight: 600;
  color: var(--navy-dark); opacity: .35; letter-spacing: .04em; }

/* ---------- Pages texte (mentions légales) ---------- */
.prose { max-width: 780px; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; }
.prose h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--navy-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-dark); }

/* ---------- Révélations au défilement ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }
.footer-sign { padding-block: clamp(2.8rem, 5vw, 4rem) 0; }
.footer-sign p {
  font-family: var(--f-title); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff; line-height: 1.25; max-width: 22ch; margin: 0;
}
.footer-sign .footer-tagline { margin-top: 1.6rem; }
.footer-sign em { color: var(--accent); font-style: normal; }
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 2.2rem; padding-block: clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line-ink); margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-ink);
}
.footer-grid .foot-title {
  font-family: var(--f-title); font-weight: 700; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .92rem; }
.footer-grid .footer-affiliation { margin-top: .8rem; font-size: .85rem; opacity: .75; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.3rem 1.6rem;
  font-size: .78rem; color: rgba(255,255,255,.58);
}
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Accessibilité ---------- */
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; }
.hero :focus-visible, .section-dark :focus-visible, .section-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .line-inner, .hero [data-hero-fade], [data-reveal], .img-reveal img, .total-rule { transition: none !important; transform: none !important; opacity: 1 !important; }
  [data-parallax] { transform: none !important; }
  .office-media img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .links-grid { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 98;
    background: #fff;
    padding: 120px var(--gutter) 3rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .3s var(--ease), visibility .3s;
  }
  .site-header.nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav a {
    font-size: 1.15rem; font-weight: 600; padding: .95rem .2rem;
    border-bottom: 1px solid var(--line); white-space: normal;
  }
  .header-cta { display: none; }
  .nav-phone { display: block; margin-top: 1.5rem; }
  .nav-phone a {
    border: 0; background: var(--accent); color: var(--accent-ink);
    text-align: center; font-size: .85rem !important;
    letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
    border-radius: 6px; padding: 1rem !important;
  }
  body.nav-locked { overflow: hidden; }
}
@media (max-width: 940px) {
  .hero-home { min-height: min(72vh, 640px); }
  .page-hero { min-height: 0; }
  .hero-figures { grid-template-columns: repeat(3, 1fr); padding: 1.4rem; margin-bottom: 0; }
  .hero:has(.hero-figures) + .section { padding-top: var(--section); }

  .edit-row { grid-template-columns: 1fr; gap: 1.6rem; }
  .edit-row.reverse .edit-media { order: 0; }
  .intro-duo { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; }
  .office-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .panel-grid, .links-grid, .client-grid { grid-template-columns: 1fr; }
  form .row { grid-template-columns: 1fr; }
  .hero .actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr; }
  .hero-figures { grid-template-columns: 1fr 1fr; }
  .hero-figures .fig:last-child { grid-column: 1 / -1; }
  .office-body { padding: 1.5rem 1.3rem 1.6rem; }
  .cd-list li { grid-template-columns: 80px 1fr; }
  .team-grid, .team-grid--two { grid-template-columns: 1fr; max-width: 340px; }
}
@media (max-width: 900px) and (min-width: 621px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Témoignages (Bexco) ---------- */
.temoignages { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.temoignage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.9rem 1.8rem; display: flex; flex-direction: column;
}
.temoignage blockquote { margin: 0 0 1.2rem; font-size: 1rem; line-height: 1.7; color: var(--text); }
.temoignage .stars { color: var(--accent); letter-spacing: .1em; font-size: .95rem; margin-bottom: .4rem; }
.temoignage .who { margin-top: auto; font-family: var(--f-title); font-weight: 600; color: var(--navy-dark); font-size: .95rem; }
.temoignage .who small { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: .85rem; }
@media (max-width: 720px) { .temoignages { grid-template-columns: 1fr; } }
/* Besoins d'entrepreneur */
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.goal {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.2rem 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.goal:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.goal .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: .55rem; }
.goal strong { display: block; font-family: var(--f-title); font-weight: 600; color: var(--navy-dark); }
.goal small { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .goals { grid-template-columns: 1fr; } }
.card-soft { background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow); }
.card-soft h3 { margin: .3rem 0 .6rem; }
.text-link.is-disabled { opacity: .5; cursor: default; }

/* ---------- Actualités et articles (gabarit commun aux sites du groupe, repris de SECAB) ---------- */
/* ---------- Actualités ---------- */
.news-intro { max-width: 700px; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.news-intro h2 { margin-bottom: .65rem; }
.news-intro p { color: var(--muted); }
.news-intro a { color: var(--navy-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.news-intro a:hover { color: var(--accent-dark); }

.news-meta {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center;
  margin-bottom: 1rem;
  font-family: var(--f-title); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.news-meta span { color: var(--accent-dark); }
.news-meta time { color: var(--muted); }

.news-featured {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg);
}
.news-featured-media { display: block; min-height: 430px; overflow: hidden; }
.news-featured-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.news-featured:hover .news-featured-media img { transform: scale(1.025); }
.news-featured-body {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  padding: clamp(2rem, 4vw, 3.4rem);
}
.news-featured-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.news-featured-body h2 a:hover { color: var(--accent-dark); }
.news-featured-body p { color: var(--muted); margin-bottom: 1.6rem; }

.news-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem); margin-top: clamp(1.2rem, 2.5vw, 2rem);
}
.news-card {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.news-card-media { display: block; overflow: hidden; }
.news-card-media img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .7s var(--ease);
}
.news-card:hover .news-card-media img { transform: scale(1.03); }
.news-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 3vw, 2rem); }
.news-card h2 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
.news-card h2 a:hover { color: var(--accent-dark); }
.news-card p { color: var(--muted); }
.news-card .text-link { margin-top: auto; padding-top: .7rem; }
.news-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.news-card--wide .news-card-media img { height: 100%; }

.news-all {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-top: clamp(2.6rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--line);
}
.news-all p { margin: 0; color: var(--muted); }
.news-all .btn { flex: 0 0 auto; }

/* ---------- Pages articles ---------- */
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem;
  max-width: 780px; margin: 0 auto 2.4rem;
  font-size: .88rem; color: var(--muted);
}
.article-meta .badge {
  font-family: var(--f-title); font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--navy-dark);
  background: var(--accent); border-radius: 4px; padding: .3rem .7rem;
}
.article-meta .badge-soft {
  font-family: var(--f-title); font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy-dark);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 4px; padding: .3rem .7rem;
}
.article-body { max-width: 780px; margin-inline: auto; }
.article-body .article-subtitle {
  font-family: var(--f-title); font-weight: 600; font-size: 1.3rem;
  color: var(--navy-dark); line-height: 1.4; margin-bottom: 1.4rem;
}
.article-body h2 { font-size: 1.45rem; margin: 2.4em 0 .7em; }
.article-body h3 { font-size: 1.12rem; margin: 1.9em 0 .55em; }
.article-body h4 { font-size: 1rem; margin: 1.6em 0 .5em; color: var(--navy-dark); }
.article-body hr {
  border: 0; width: 54px; height: 4px; border-radius: 2px;
  background: var(--accent); margin: 3rem auto;
}
.table-wrap { overflow-x: auto; margin: 1.6rem 0; border: 1px solid var(--line); border-radius: 8px; }
.article-body table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.article-body th {
  background: var(--navy-dark); color: #fff; text-align: left;
  font-family: var(--f-title); font-weight: 600; font-size: .8rem;
  letter-spacing: .04em; padding: .75rem .95rem;
}
.article-body td { padding: .68rem .95rem; border-top: 1px solid var(--line); vertical-align: top; }
.article-body tbody tr:nth-child(even) td { background: var(--bg-soft); }
.article-cta {
  max-width: 780px; margin: 3rem auto 0;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.9rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem;
  justify-content: space-between;
}
.article-cta p { margin: 0; max-width: 46ch; }

/* ---------- Bandeau de consentement (mesure d'audience, assets/js/analytics.js) ---------- */
.cookie-banner {
  position: fixed; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 95;
  display: flex; justify-content: flex-start; pointer-events: none;
}
/* L'attribut hidden (posé par analytics.js) doit gagner sur le display: flex ci-dessus. */
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  pointer-events: auto; width: 100%; max-width: 460px;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 1.4rem 1.5rem 1.5rem;
}
.cookie-banner-title {
  font-family: var(--f-title); font-weight: 600; color: var(--navy-dark);
  font-size: 1rem; margin: 0 0 .5rem;
}
.cookie-banner-inner p { margin: 0; font-size: .92rem; line-height: 1.55; }
.cookie-banner-inner a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.1rem; }
.cookie-banner-actions .btn { padding: .8rem 1.3rem; }
@media (max-width: 620px) {
  .cookie-banner { left: .75rem; right: .75rem; bottom: .75rem; }
  .cookie-banner-actions .btn { flex: 1 1 0; justify-content: center; }
}
@media print { .cookie-banner { display: none; } }

/* Bouton habillé en lien : « Gérer les cookies » dans le pied de page */
.link-button {
  background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  letter-spacing: inherit; cursor: pointer;
}
.footer-bottom .link-button:hover { color: var(--accent); }


/* ============================================================
   Ajouts Numeris : grilles génériques, cartes, sections, marques
   ============================================================ */
.section-soft { background: var(--bg-soft); }
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.3rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .4rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .2rem; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card .btn, .card .text-link { margin-top: auto; align-self: flex-start; }
.card .eyebrow { margin-bottom: .2rem; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.section-navy .split h2, .section-navy .split .sub { color: #fff; }
.section-navy .split .sub { color: rgba(255,255,255,.8); }
.form-card { padding: 2rem; }
.form-card:hover { transform: none; }
.section-navy .form-card label { color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; }
p.actions { justify-content: center; margin-top: 2rem; }
.btn-navy { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-navy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.marques-strip { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; align-items: center; justify-content: center; margin: 2rem 0 2.6rem; }
.marques-strip img { height: 30px; width: auto; opacity: .85; transition: opacity .3s; }
.marques-strip a:hover img { opacity: 1; }
.temoignage .qui { margin-top: auto; font-family: var(--f-title); font-weight: 600; color: var(--navy-dark); font-size: .95rem; }
.temoignage .qui span { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: .85rem; }
.news-card .news-logo { padding: 1.4rem 1.6rem 0; }
.news-card .news-logo img { height: 34px; width: auto; }
.news-card .news-meta { padding: .8rem 1.6rem 0; color: var(--accent-dark); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.news-card > h3 { padding: .3rem 1.6rem 0; font-size: 1.15rem; }
.news-card > p { padding: .4rem 1.6rem 0; color: var(--muted); }
.news-card > .text-link { margin: auto 1.6rem 1.4rem; }
.muted { color: var(--muted); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .split { grid-template-columns: 1fr; } }
.hero-figures--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.hero-figures--4 { grid-template-columns: repeat(4, 1fr); }
.hero-figures--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 720px) { .hero-figures--4, .hero-figures--5 { grid-template-columns: repeat(2, 1fr); } }

/* ---- L'univers Numeris ---- */
.univers { background: var(--navy-deep); color: #fff; }
.univers-scene { position: relative; min-height: min(calc(100vh - 72px), 920px); display: grid; place-items: center; overflow: hidden; }
.univers-intro { position: absolute; top: 2.5rem; left: var(--gutter); max-width: 34ch; z-index: 2; }
.univers-intro h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin: .3rem 0 .6rem; }
.univers-intro .lead { color: rgba(255, 255, 255, .78); }
.univers-intro .eyebrow { color: var(--accent-light); }
.constellation { width: min(92vmin, 900px); height: auto; display: block; transition: transform .8s var(--ease); }
.constellation .orbite { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.constellation .lien { stroke: rgba(255, 255, 255, .22); stroke-width: 1.2; transition: stroke .3s; }
.constellation .lien--satellite { stroke-dasharray: 4 6; }
.constellation .noyau circle, .constellation .satellite circle { fill: #1a2a52; stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; transition: transform .3s var(--ease), stroke .3s; transform-box: fill-box; transform-origin: center; }
.constellation .noyau { cursor: pointer; }
.constellation .noyau:hover circle, .constellation .noyau:focus-visible circle, .constellation .noyau.actif circle { transform: scale(1.08); stroke: var(--accent); }
.constellation .lien.actif { stroke: var(--accent); stroke-width: 2; }
.constellation .noyau:focus { outline: none; }
.constellation--compact .noyau { cursor: inherit; }
.univers-scene.ouvert .constellation { transform: translateX(-22%) scale(.9); }
.univers-panneau { position: absolute; right: 0; top: 0; bottom: 0; width: min(520px, 100%); background: #fff; color: var(--text); overflow-y: auto; padding: 3rem 2.2rem 2.2rem; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .6s var(--ease); z-index: 3; }
.univers-panneau[hidden] { display: none; }
.univers-scene.ouvert .univers-panneau { transform: none; }
.univers-panneau .fiche-marque { box-shadow: none; padding: 0; border: 0; }
.panneau-fermer { position: absolute; top: .8rem; right: .8rem; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--navy-dark); font-size: 1.4rem; cursor: pointer; }
.panneau-suivant { margin-top: 1.5rem; border: 1px solid var(--line); background: #fff; color: var(--navy-dark); border-radius: 999px; padding: .6rem 1.2rem; font-family: var(--f-title); font-weight: 600; cursor: pointer; }
.etiquette { position: absolute; pointer-events: none; background: #fff; color: var(--navy-dark); font-family: var(--f-title); font-weight: 600; font-size: .9rem; padding: .35rem .7rem; border-radius: 6px; transform: translate(-50%, -140%); white-space: nowrap; opacity: 0; transition: opacity .2s; z-index: 4; }
.etiquette.visible { opacity: 1; }
.etiquette span { display: block; font-family: var(--f-body); font-weight: 400; color: var(--muted); font-size: .8rem; }
.univers-apercu { background: var(--navy-deep); color: #fff; }
.univers-apercu h2, .univers-apercu .section-head p { color: #fff; }
.univers-apercu .section-head p { color: rgba(255,255,255,.75); }
.univers-apercu .eyebrow { color: var(--accent-light); }
.univers-apercu .constellation { margin: 0 auto; width: min(70vmin, 560px); }
.apercu-lien { display: block; }
/* fiches */
.fiches { display: grid; gap: 1.6rem; }
.fiche-marque { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }
.fiche-marque header { display: grid; gap: .4rem; margin-bottom: 1rem; justify-items: start; }
.fiche-logo { height: 48px; width: auto; }
.fiche-logo--texte { font-family: var(--f-title); font-weight: 700; color: var(--navy-dark); font-size: 1.4rem; margin: 0; }
.fiche-marque .metier { color: var(--muted); margin: 0; }
.chiffres-marque { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; padding: 0; margin: 0 0 1.2rem; list-style: none; color: var(--navy-dark); font-weight: 700; font-size: .95rem; }
.fiche-corps { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.6rem; align-items: start; }
.fiche-corps h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-dark); margin: 0 0 .6rem; }
.bureaux { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.bureaux strong { color: var(--navy-dark); }
.bureaux em { font-style: normal; color: var(--accent-dark); font-size: .85rem; }
.bureaux span { color: var(--muted); font-size: .92rem; }
.sous-marque { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.sous-marque-nom { font-family: var(--f-title); font-weight: 600; color: var(--navy-dark); margin: 0 0 .2rem; }
.sous-marque p { color: var(--muted); font-size: .95rem; margin: 0 0 .6rem; }
.mini-carte { margin: 0; color: var(--navy-dark); }
.mini-carte svg { width: 100%; height: auto; display: block; }
.mini-carte .point { fill: var(--accent); stroke: #fff; stroke-width: 2; }
.hors-carte { font-size: .85rem; color: var(--muted); margin: .4rem 0 0; }
.fiche-actions { margin: 1.2rem 0 0; }
.villes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.villes h3 { font-size: 1rem; color: var(--accent-dark); margin-bottom: .5rem; }
.villes ul { list-style: none; padding: 0; margin: 0; }
.villes li a { color: var(--navy-dark); text-decoration: none; display: block; padding: .25rem 0; }
.villes li a:hover { color: var(--accent-dark); }
.villes li a span { color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) {
  .univers-intro { position: static; padding: 2rem var(--gutter) 0; max-width: none; }
  .univers-scene { min-height: 0; padding-bottom: 2rem; }
  .constellation { width: 94vw; }
  .univers-scene.ouvert .constellation { transform: none; }
  .univers-panneau { position: fixed; inset: 0; width: 100%; }
  .fiche-corps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .constellation, .univers-panneau, .constellation .noyau circle { transition: none; }
}
.team-grid--four { grid-template-columns: repeat(4, 1fr); max-width: none; }
@media (max-width: 900px) { .team-grid--four { grid-template-columns: repeat(2, 1fr); } }
.form-card label { color: var(--text); }
.section-navy .form-card { color: var(--text); }
.section-navy .form-card .consent label a { color: var(--navy-dark); }
.expertises .card .portee { margin-top: auto; padding-top: .8rem; font-size: .85rem; color: var(--muted); }
.expertises .card .portee a { color: var(--accent-dark); text-decoration: none; font-weight: 600; }
.expertises .card .portee a:hover { text-decoration: underline; }
/* ---- Vidéos et témoignages ---- */
.video-wrap { margin: 0; }
.video-wrap video { display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.video-wrap figcaption { margin-top: .9rem; color: var(--muted); font-size: .95rem; }
.video-wrap figcaption strong { color: var(--navy-dark); display: block; font-family: var(--f-title); font-weight: 600; }
.video-wrap--large { max-width: 960px; margin-inline: auto; }
.temoignage-logo { height: 30px; width: auto; margin-bottom: 1rem; align-self: flex-start; }
.fondateurs { max-width: none; }

/* ============================================================
   Refonte des composants (24 septembre 2026) : patrons repris des sites de grands groupes
   (Baker Tilly : tuiles blanches à titre, texte + photo arrondie, section bureaux sombre avec la
   France en points, gros chiffres ; Exco : bande photo pleine largeur ; Cerfrance : chiffres à filets).
   ============================================================ */
:root { --radius: 14px; --radius-lg: 22px; }
.btn { border-radius: 999px; padding: .9rem 1.5rem .9rem 1.7rem; letter-spacing: .08em; }
.btn .arrow { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: rgba(13,28,63,.12); font-size: .9rem; }
.btn-accent .arrow { background: rgba(13,28,63,.18); }
.btn-navy .arrow, .btn-solid .arrow { background: rgba(255,255,255,.2); }
.btn-light .arrow { background: rgba(255,255,255,.18); }
.card, .panel, .team-card, .temoignage, .news-card, .fiche-marque, .form-card { border-radius: var(--radius); }

/* Héros en deux colonnes : texte à gauche, photo arrondie à droite */
.hero.hero-split { display: block; min-height: 0; background: var(--navy-dark); }
.hero.hero-split .hero-media { position: static; inset: auto; }
.hero.hero-split .hero-media::after { display: none; }
.hero.hero-split .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.hero.hero-split .hero-photo { margin: 0; order: 2; }
.hero.hero-split .hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); opacity: 1; display: block; }
.hero.hero-split .hero-texte { order: 1; }
.hero.hero-split.hero-home h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); max-width: 18ch; }
.hero.hero-split h1 { max-width: 20ch; }
.hero.hero-split .lead { max-width: 52ch; }
@media (max-width: 900px) {
  .hero.hero-split .container { grid-template-columns: 1fr; }
  .hero.hero-split .hero-photo { order: 0; }
  .hero.hero-split .hero-photo img { aspect-ratio: 16 / 10; }
}

/* Deux portes d'entrée sous le héros (Baker Tilly) */
.entrees { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: calc(-1 * clamp(2rem, 4vw, 3rem)); position: relative; z-index: 3; }
.entree { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1.7rem 1.9rem; color: var(--text); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.entree:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(13,28,63,.18); }
.entree h3 { font-size: 1.15rem; margin: 0 0 .35rem; color: var(--navy-dark); }
.entree p { margin: 0; color: var(--muted); font-size: .95rem; }
.entree .rond { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--navy-dark); display: grid; place-items: center; font-size: 1.1rem; transition: background .3s, color .3s; }
.entree:hover .rond { background: var(--navy-dark); color: #fff; }
.section.section-entrees { padding-top: 0; padding-bottom: clamp(3rem, 6vw, 4.5rem); }
@media (max-width: 800px) { .entrees { grid-template-columns: 1fr; margin-top: 1.5rem; } }

/* Bande de chiffres (Cerfrance, Baker Tilly) */
.chiffres { display: grid; grid-template-columns: repeat(5, 1fr); }
.chiffre { padding: 1.4rem 1.2rem; text-align: center; border-left: 1px solid var(--line); }
.chiffre:first-child { border-left: 0; }
.chiffre strong { display: block; font-family: var(--f-title); font-weight: 700; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1; color: var(--navy-dark); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.chiffre strong small { font-size: .5em; font-weight: 700; color: var(--accent-dark); margin-left: .1em; }
.chiffre span { display: block; margin-top: .6rem; font-size: .9rem; color: var(--muted); }
.section-navy .chiffre strong, .section-dark .chiffre strong { color: #fff; }
.section-navy .chiffre span { color: rgba(255,255,255,.7); }
.section-navy .chiffre { border-color: rgba(255,255,255,.14); }
@media (max-width: 1000px) { .chiffres { grid-template-columns: repeat(3, 1fr); } .chiffre:nth-child(4) { border-left: 0; } .chiffre { border-top: 1px solid var(--line); } .chiffre:nth-child(-n+3) { border-top: 0; } }
@media (max-width: 600px) { .chiffres { grid-template-columns: 1fr 1fr; } .chiffre:nth-child(odd) { border-left: 0; } .chiffre:nth-child(3), .chiffre:nth-child(4) { border-left: 1px solid var(--line); } .chiffre:nth-child(3) { border-left: 0; } .chiffre:nth-child(-n+2) { border-top: 0; } .chiffre:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Titre à gauche, texte et bouton à droite (Baker Tilly) */
.titre-row { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem); }
.titre-row h2 { margin: 0; max-width: 18ch; }
.titre-row .eyebrow { margin-bottom: .6rem; }
.titre-row .texte p { color: var(--muted); margin: 0 0 1.2rem; }
.titre-row .texte p:last-child { margin-bottom: 0; }
.section-navy .titre-row .texte p, .section-dark .titre-row .texte p { color: rgba(255,255,255,.78); }
@media (max-width: 800px) { .titre-row { grid-template-columns: 1fr; align-items: start; } }

/* Tuiles (services, expertises, piliers) : blanches, titre en avant, texte court, flèche ; marine au survol */
.tuiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tuiles--3 { grid-template-columns: repeat(3, 1fr); }
.tuile { position: relative; display: flex; flex-direction: column; gap: .5rem; min-height: 190px; padding: 1.6rem 1.5rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.tuile h3 { font-size: 1.05rem; margin: 0; color: var(--navy-dark); transition: color .35s; }
.tuile p { margin: 0; font-size: .9rem; color: var(--muted); transition: color .35s; }
.tuile .portee { margin-top: auto; padding-top: .8rem; font-size: .8rem; color: var(--accent-dark); }
.tuile .fleche { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: .9rem; color: var(--navy-dark); transition: background .35s, color .35s, border-color .35s; }
.tuile:hover { background: var(--navy-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--navy-dark); }
.tuile:hover h3, .tuile:hover p { color: #fff; }
.tuile:hover p { color: rgba(255,255,255,.78); }
.tuile:hover .portee { color: var(--accent-light); }
.tuile:hover .fleche { background: var(--accent); color: var(--navy-dark); border-color: var(--accent); }
.tuile--statique:hover { background: #fff; transform: none; box-shadow: var(--shadow); border-color: var(--line); }
.tuile--statique:hover h3 { color: var(--navy-dark); }
.tuile--statique:hover p { color: var(--muted); }
@media (max-width: 1000px) { .tuiles, .tuiles--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tuiles, .tuiles--3 { grid-template-columns: 1fr; } .tuile { min-height: 0; padding-right: 3.5rem; } }

/* Texte + photo arrondie (Baker Tilly « Le Groupe », « L'esprit ») */
.split-photo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-photo.inverse .media { order: -1; }
.split-photo .media { margin: 0; }
.split-photo .media img, .split-photo .media video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.split-photo .media .video-wrap video { aspect-ratio: 16 / 9; }
.split-photo h2 { margin-top: .4rem; }
.split-photo .texte p { color: var(--muted); }
.split-photo .texte .actions { margin-top: 1.6rem; }
.section-navy .split-photo .texte p, .section-dark .split-photo .texte p { color: rgba(255,255,255,.78); }
.section-navy .split-photo h2 { color: #fff; }
@media (max-width: 900px) { .split-photo { grid-template-columns: 1fr; } .split-photo.inverse .media { order: 0; } }

/* Nos implantations : section sombre, France en points, bureaux en or */
.implantations { background: var(--navy-deep); color: #fff; }
.implantations .split-photo .texte p { color: rgba(255,255,255,.78); }
.implantations h2 { color: #fff; }
.carte-points { width: 100%; max-width: 520px; height: auto; display: block; margin-inline: auto; }
.carte-points .trame circle { fill: rgba(255,255,255,.22); }
.carte-points .cartouche rect { fill: none; stroke: rgba(255,255,255,.25); }
.carte-points .cartouche text { fill: rgba(255,255,255,.6); font-size: 11px; font-family: var(--f-body); }
.carte-points .bureau .halo { fill: rgba(177,159,105,.22); }
.carte-points .bureau .point { fill: var(--accent); stroke: var(--navy-deep); stroke-width: 2; }
.implantations .villes-resume { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.implantations .villes-resume li { font-size: .82rem; padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: rgba(255,255,255,.85); }

/* Bande photo pleine largeur (Exco) */
.cta-photo { position: relative; color: #fff; overflow: hidden; }
.cta-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,22,43,.92) 0%, rgba(13,22,43,.72) 55%, rgba(13,22,43,.45) 100%); }
.cta-photo .container { position: relative; z-index: 2; padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.cta-photo h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 22ch; }
.cta-photo .sub { color: rgba(255,255,255,.82); max-width: 56ch; margin: 1rem 0 2rem; }
.cta-photo .actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Actualités : barre de couleur en tête (Baker Tilly) */
.news-card.news-card--barre { border-top: 4px solid var(--accent); }
.news-card .news-logo { padding-top: 1.2rem; }

/* ---- Les marques en onglets (page univers) ---- */
.onglets-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.onglet { display: inline-flex; align-items: center; gap: .6rem; padding: .7rem 1rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-family: var(--f-title); font-weight: 600; font-size: .85rem; color: var(--navy-dark); transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.onglet img { height: 26px; width: auto; display: block; }
.onglet:hover { border-color: var(--navy-dark); transform: translateY(-2px); }
.onglet[aria-selected="true"] { border-color: var(--navy-dark); box-shadow: 0 0 0 2px var(--navy-dark) inset; }
.onglet:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fiches-onglets.actif .fiche-marque[hidden] { display: none; }
.onglets-pied { display: none; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; }
.fiches-onglets.actif .onglets-pied { display: flex; }
.onglet-prec, .onglet-suiv { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy-dark); font-family: var(--f-title); font-weight: 600; font-size: .82rem; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.onglet-prec:hover, .onglet-suiv:hover { background: var(--navy-dark); color: #fff; border-color: var(--navy-dark); }
.onglet-compteur { color: var(--muted); font-size: .9rem; }
@media (max-width: 600px) { .onglet { padding: .6rem .8rem; } .onglet img { height: 22px; } }
