/* ==========================================================
   ACC — Expertise comptable & Commissariat aux comptes
   Feuille de style principale
   ========================================================== */

:root {
  /* Charte « Institutionnel » — noms historiques conservés pour la structure */
  --petrol: #0e1f36;        /* Encre marine */
  --petrol-2: #1b3150;
  --petrol-dark: #0a1628;
  --petrol-soft: #ece7df;   /* Grège clair */
  --sand: #9cc8ee;          /* Bleu clair (sur fond marine) */
  --sand-dark: #2c6aa3;     /* Bleu moyen (sur fond clair) */
  --sand-soft: #e7f0f9;
  --grege: #e6e1d9;         /* Grège */
  --ardoise: #53647b;       /* Ardoise */
  --surface: #fbfaf7;
  --ink: #0e1f36;
  --text: #333b47;
  --muted: #6b7482;
  --line: #ddd7cd;
  --bg: #f6f3ee;            /* Papier */
  --radius: 18px;
  --shadow: 0 2px 6px rgba(14, 31, 54, .05), 0 14px 34px rgba(14, 31, 54, .08);
  --shadow-lg: 0 4px 10px rgba(14, 31, 54, .06), 0 28px 60px rgba(14, 31, 54, .16);
  --container: 1200px;
  --header-h: 100px;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--petrol-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--sand-dark); }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 400; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; font-weight: 500; }
h4 { font-family: var(--font-sans); }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 2px; border-radius: 4px; }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 80; background: var(--petrol); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 30px rgba(10, 22, 40, .25); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-logo { display: block; flex: none; }
.brand-logo img { height: 78px; width: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28)); transition: transform .3s cubic-bezier(.2, .65, .25, 1); }
.brand:hover .brand-logo img { transform: scale(1.04) rotate(-1deg); }
.brand-text { display: flex; flex-direction: column; gap: 3px; padding-left: 18px; border-left: 1px solid rgba(255, 255, 255, .2); }
.brand-text span {
  font-family: var(--font-sans); font-size: .7rem; font-weight: 500; line-height: 1.3;
  letter-spacing: .18em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.brand-text span + span { color: var(--sand); }
@media (min-width: 1081px) and (max-width: 1200px) { .header .brand-text { display: none; } }

.nav { display: flex; align-items: center; gap: 10px; }
.nav > ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 2px; }
.nav li { position: relative; display: flex; align-items: center; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 14px; border-radius: 999px; line-height: 1.3; height: 42px;
  font-size: .94rem; font-weight: 500; color: rgba(255, 255, 255, .88);
  background: none; border: 0; cursor: pointer; font-family: inherit; white-space: nowrap;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-link.is-active { color: var(--sand); }
.nav-link svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translate(-50%, 8px);
  min-width: 340px; padding: 10px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.dropdown a:hover { background: var(--sand-soft); color: var(--ink); }
.dropdown a.is-active { background: var(--petrol-soft); }
.dropdown .dd-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: var(--sand); }
.dropdown .dd-icon svg { width: 18px; height: 18px; }
.dropdown .dd-title { display: block; font-weight: 500; font-size: .93rem; line-height: 1.3; }
.dropdown .dd-desc { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: .95rem; font-family: inherit; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-sand, .btn-primary { background: var(--sand); color: var(--petrol-dark); }
.btn-sand:hover, .btn-primary:hover { background: #fff; color: var(--petrol-dark); transform: translateY(-1px); }
.btn-petrol { background: var(--petrol); color: #fff; }
.btn-petrol:hover { background: var(--petrol-2); color: #fff; transform: translateY(-1px); }
.btn-outline-light, .btn-outline { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover, .btn-outline:hover { background: #fff; color: var(--petrol); border-color: #fff; }
.btn-ghost { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-ghost:hover { background: var(--petrol); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.section .btn-primary:not(.aside-card .btn-primary) { background: var(--petrol); color: #fff; }
.section .btn-primary:not(.aside-card .btn-primary):hover { background: var(--petrol-2); color: #fff; }

/* ---------- Hero plein écran (accueil) ---------- */
.hero-full {
  position: relative; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #e4edf1; padding: 80px 0 120px; overflow: hidden;
  background-color: var(--petrol-dark); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.hero-full::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 22, 40, .55) 0%, rgba(14, 31, 54, .7) 60%, rgba(10, 22, 40, .92) 100%);
}
.hero-full .container { position: relative; z-index: 1; max-width: 1040px; }
.hero-full h1 { color: #fff; margin-bottom: .4em; }
.hero-full .hero-lead { margin: 0 auto; max-width: 680px; font-size: 1.15rem; color: #d6e2e8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-full .hero-actions { justify-content: center; }
.kicker { display: inline-block; font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--sand); margin-bottom: 14px; letter-spacing: .01em; }
.scroll-icon {
  position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 1;
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px;
}
.scroll-icon::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--sand); border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Hero des pages internes ---------- */
.page-hero {
  position: relative; color: #d6e2e8; padding: 90px 0 100px; overflow: hidden;
  background-color: var(--petrol-dark); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 22, 40, .95) 0%, rgba(14, 31, 54, .86) 55%, rgba(14, 31, 54, .55) 100%); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; max-width: 900px; font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.page-hero .hero-lead { max-width: 720px; font-size: 1.12rem; margin: 0; color: #d6e2e8; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 26px; font-size: .8rem; font-family: var(--font-mono); color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: var(--sand); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; opacity: .6; }

/* ---------- Sections numérotées ---------- */
main { counter-reset: sec; }
.section { position: relative; padding: 110px 0; overflow: hidden; }
.section-sm { padding: 70px 0; }
.section-soft { background: var(--grege); }
.section-dark { background: var(--petrol); color: #cfdde4; }
.section-dark h2, .section-dark h3, .section-dark strong { color: #fff; }
.section-head { position: relative; max-width: 760px; margin: 0 0 56px; z-index: 0; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.numbered { counter-increment: sec; padding-top: 34px; }
.section-head.numbered::before {
  content: counter(sec, decimal-leading-zero);
  position: absolute; z-index: -1; left: -.06em; top: -.28em;
  font-family: var(--font-serif); font-size: clamp(9rem, 20vw, 17rem); font-weight: 300; line-height: 1; letter-spacing: -.04em;
  color: rgba(44, 106, 163, .08); pointer-events: none;
}
.section-head.center.numbered::before { left: 50%; transform: translateX(-50%); }
.section-dark .section-head.numbered::before { color: rgba(255, 255, 255, .06); }
.section-head h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--sand-dark); margin-top: 22px; border-radius: 2px; }
.section-head.center h2::after { margin-left: auto; margin-right: auto; }
.section-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; color: var(--sand-dark); margin-bottom: 8px; }
.section-icon svg { width: 34px; height: 34px; stroke-width: 1.4; }
.section-dark .section-icon { color: var(--sand); }
.eyebrow { display: block; font-size: .74rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-dark); margin-bottom: 12px; }
.eyebrow::before { content: "– "; }
.section-dark .eyebrow { color: var(--sand); }
.lead { font-size: 1.15rem; }
.section-dark .lead { color: #fff; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.split.center { align-items: center; }

/* ---------- Cartes ---------- */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.card h3 { margin-bottom: .5em; }
.card p { font-size: .96rem; margin-bottom: 0; }
a.card { display: flex; flex-direction: column; color: inherit; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.card .more { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .92rem; color: var(--petrol-2); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }
.icon-badge { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 22px; background: var(--sand-soft); color: var(--petrol); }
.icon-badge svg { width: 25px; height: 25px; }
.icon-badge.red { background: var(--petrol); color: var(--sand); }
.card-tint-blue { background: var(--petrol-soft); border-color: transparent; }
.card-tint-red { background: var(--sand-soft); border-color: transparent; }
.card-tint-red .icon-badge, .card-tint-blue .icon-badge { background: #fff !important; }

/* Cartes pétrole (secteurs) */
.sector-card { padding: 0; overflow: hidden; background: var(--petrol); border: 0; color: #cfdde4; }
.sector-card h3 { color: #fff; font-size: 1.15rem; }
.sector-card .thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--petrol-2); }
.sector-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14, 31, 54, .9)); }
.sector-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.sector-card:hover .thumb img { transform: scale(1.06); }
.sector-card .body { padding: 8px 28px 30px; display: flex; flex-direction: column; flex: 1; position: relative; }
.sector-card .s-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); color: var(--petrol-dark); display: grid; place-items: center; margin: -34px 0 16px; position: relative; z-index: 1; box-shadow: 0 0 0 5px var(--petrol); }
.sector-card .s-icon svg { width: 24px; height: 24px; }
.sector-card .more { color: var(--sand); }
a.sector-card, a.sector-card:hover { color: #c5cedb; }
.sector-card.no-thumb .thumb { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, var(--petrol-2), var(--petrol-dark)); color: var(--sand); }
.sector-card.no-thumb .thumb svg { width: 64px; height: 64px; stroke-width: 1.2; opacity: .9; }

/* Carte « mission » (carrousel) */
.mission-card { min-height: 340px; }
.mission-card .m-num { position: absolute; right: 26px; top: 18px; font-family: var(--font-serif); font-weight: 300; font-size: 3rem; color: var(--sand-dark); line-height: 1; opacity: .45; }

/* ---------- Carrousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 52px) / 3); gap: 26px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 2px 30px; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.carousel-nav button {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--petrol); background: transparent; color: var(--petrol);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s, opacity .2s;
}
.carousel-nav button:hover { background: var(--petrol); color: #fff; }
.carousel-nav button:disabled { opacity: .3; cursor: default; background: transparent; color: var(--petrol); }
.carousel-nav button svg { width: 20px; height: 20px; }
.carousel-nav .prev svg { transform: rotate(180deg); }
.carousel-progress { flex: 1; height: 3px; background: var(--line); border-radius: 2px; margin-left: 16px; position: relative; overflow: hidden; }
.carousel-progress span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--sand-dark); border-radius: 2px; width: 30%; transition: left .3s, width .3s; }

/* ---------- Listes à coches ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 14px; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23072a3b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.checklist.blue li::before { background-color: var(--petrol); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239cc8ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.checklist.compact { gap: 9px; font-size: .95rem; }
.section-dark .checklist li { color: #e4edf1; }

/* Liste numérotée façon « FAQ » */
.num-list { list-style: none; padding: 0; margin: 0; counter-reset: nl; border-top: 1px solid rgba(255, 255, 255, .14); }
.num-list li { counter-increment: nl; display: flex; gap: 22px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); color: #e4edf1; }
.num-list li::before { content: counter(nl, decimal-leading-zero); font-family: var(--font-serif); font-size: 1.6rem; line-height: 1.1; color: var(--sand); min-width: 38px; }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 80px; border-top: 1px solid rgba(255, 255, 255, .14); }
.stats div { padding: 30px 26px 0 0; }
.stats b { display: block; font-family: var(--font-serif); font-weight: 300; font-size: 2.7rem; line-height: 1; color: var(--sand); margin-bottom: 8px; }
.stats span { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: #aab5c4; }

/* ---------- Contenu éditorial ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.5em; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink); }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { padding: 8px 16px; border-radius: 999px; background: var(--sand-soft); font-size: .88rem; color: var(--ink); }

.callout { border-radius: var(--radius); padding: 30px 32px; background: var(--petrol-soft); border-left: 4px solid var(--petrol); }
.callout h3 { display: flex; align-items: center; gap: 10px; }
.callout h3 svg { width: 22px; height: 22px; color: var(--petrol); flex: none; }
.callout.red { background: var(--sand-soft); border-left-color: var(--sand-dark); }
.callout.red h3 svg { color: var(--sand-dark); }

.threshold-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 8px; }
.threshold { background: var(--petrol); border-radius: 14px; padding: 20px 22px; }
.threshold b { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 2rem; color: var(--sand); line-height: 1.1; }
.threshold span { font-size: .85rem; color: #cfdde4; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--petrol); color: #cfdde4; border-radius: var(--radius); padding: 34px; overflow: hidden; position: relative; }
.aside-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 180px; height: 180px; border-radius: 50%; border: 30px solid rgba(211, 201, 156, .08); }
.aside-card h3 { color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: 1.8rem; }
.aside-card p { font-size: .95rem; }
.aside-card .btn { width: 100%; margin-top: 8px; position: relative; z-index: 1; }
.aside-card .aside-contact { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: 10px; font-size: .92rem; position: relative; z-index: 1; }
.aside-card .aside-contact a { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.aside-card .aside-contact a:hover { color: var(--sand); }
.aside-card .aside-contact svg { width: 16px; height: 16px; color: var(--sand); }

/* ---------- Associés ---------- */
.team-card { text-align: center; padding: 34px 22px; }
.team-card .avatar { width: 128px; height: 128px; border-radius: 50%; overflow: hidden; margin: 0 auto 20px; box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--sand); }
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.12rem; margin-bottom: 2px; }
.team-card .role { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.team-card a.linkedin { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--petrol); color: #fff; transition: background .2s, color .2s; }
.team-card a.linkedin:hover { background: var(--sand); color: var(--petrol-dark); }
.team-card a.linkedin svg { width: 18px; height: 18px; }

/* ---------- Implantations ---------- */
.office { display: flex; flex-direction: column; }
.office .tag { align-self: flex-start; font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--petrol); color: var(--sand); margin-bottom: 18px; }
.office .tag.blue { background: var(--sand-soft); color: var(--petrol); }
.office address { font-style: normal; margin-bottom: 18px; }
.office .phone { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); color: var(--ink); font-size: 1rem; }
.office .phone svg { width: 18px; height: 18px; color: var(--sand-dark); }

/* Bloc « agences » de l'accueil */
.agencies { display: grid; grid-template-columns: 420px 1fr; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.agencies-list { background: var(--petrol-dark); color: #cfdde4; padding: 36px 34px; }
.agencies-list h3 { color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: 1.9rem; margin-bottom: 20px; }
.agency { padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.agency h4 { color: var(--sand); font-size: 1.05rem; margin-bottom: 4px; font-weight: 500; }
.agency address { font-style: normal; font-size: .93rem; line-height: 1.55; }
.agency a { color: #fff; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--font-mono); font-size: .92rem; }
.agency a svg { width: 15px; height: 15px; color: var(--sand); }
.agency a:hover { color: var(--sand); }
.agency { position: relative; transition: padding-left .25s; }
.agency::before { content: ""; position: absolute; left: -34px; top: 20px; bottom: 20px; width: 3px; border-radius: 2px; background: var(--sand); transform: scaleY(0); transition: transform .25s; }
.agency.is-active::before { transform: scaleY(1); }
.agency.is-active h4 { color: #fff; }
.agency-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 6px; }
.agency-actions a { margin-top: 0; }
.agency-locate {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(156, 200, 238, .45); color: var(--sand);
  font-family: var(--font-sans); font-size: .8rem; cursor: pointer; transition: background .2s, color .2s;
}
.agency-locate svg { width: 14px; height: 14px; }
.agency-locate:hover { background: var(--sand); color: var(--petrol-dark); }
.agencies-map { position: relative; min-height: 460px; background: var(--petrol-soft); }
.agencies-map .acc-map { position: absolute; inset: 0; }
.agencies-map .btn { position: absolute; right: 22px; bottom: 34px; z-index: 1001; }
.agencies-hours { position: absolute; z-index: 1001; left: 22px; bottom: 26px; background: #fff; border-radius: 14px; padding: 16px 20px; box-shadow: var(--shadow); font-size: .86rem; line-height: 1.5; color: var(--ink); }
.agencies-hours b { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.agencies-hours svg { width: 16px; height: 16px; color: var(--sand-dark); }

.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }
.hours-row b { color: var(--ink); font-weight: 500; }
.hours-row span { text-align: right; font-family: var(--font-mono); font-size: .92rem; }

.map-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--petrol-soft); position: relative; box-shadow: var(--shadow); }
.map-frame .acc-map { position: absolute; inset: 0; }
.map-frame .map-link { position: absolute; right: 16px; bottom: 30px; z-index: 1001; }

/* ---------- Presse ---------- */
.press-item { display: flex; gap: 22px; align-items: flex-start; }
.press-item .icon-badge { margin: 0; flex: none; }
.press-item h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.35rem; margin-bottom: 10px; line-height: 1.25; }
.press-item .links { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; }
.press-item .links a { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.press-item .links svg { width: 14px; height: 14px; }
.article-card { padding: 0; overflow: hidden; }
.article-card .a-top { background: var(--petrol); color: var(--sand); padding: 26px 28px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.article-card .a-top svg { width: 30px; height: 30px; stroke-width: 1.3; }
.article-card .a-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.article-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 1.4rem; line-height: 1.25; }
.link-group h3 { font-size: 1.02rem; margin-bottom: 12px; }
.link-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-group a { display: inline-flex; align-items: center; gap: 6px; font-size: .93rem; }
.link-group svg { width: 14px; height: 14px; }

/* ---------- Institutions ---------- */
.trust { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.trust-logos { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.trust-logos a { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 14px; padding: 12px 20px; height: 76px; transition: transform .2s; }
.trust-logos a:hover { transform: translateY(-2px); }
.trust-logos img { max-height: 48px; width: auto; }

/* ---------- Bandeau CTA plein écran ---------- */
.cta-full {
  position: relative; padding: 130px 0; text-align: center; color: #d6e2e8; overflow: hidden;
  background: var(--petrol-dark) center / cover no-repeat fixed;
}
.cta-full::before { content: ""; position: absolute; inset: 0; background: rgba(10, 22, 40, .84); }
.cta-full .container { position: relative; z-index: 1; max-width: 820px; }
.cta-full h2 { color: #fff; font-family: var(--font-serif); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.cta-full p { font-size: 1.1rem; margin: 0 auto; max-width: 600px; }
.cta-full .hero-actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.footer { background: var(--petrol-dark); color: #a9bec8; padding: 80px 0 0; font-size: .93rem; }
.footer a { color: #dce7ec; }
.footer a:hover { color: var(--sand); }
.footer-intro { display: grid; grid-template-columns: auto 1fr auto; gap: 48px; align-items: center; }
.footer-intro p { margin: 0; max-width: 620px; }
.footer-intro p strong { color: #fff; }
.footer-sep { height: 1px; background: rgba(255, 255, 255, .12); margin: 50px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.footer h4 { font-family: var(--font-sans); color: var(--sand); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer address { font-style: normal; line-height: 1.55; }
.footer address + address { margin-top: 16px; }
.footer address b { color: #fff; font-weight: 500; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0 90px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Boutons fixes ---------- */
.sticky-actions { position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; gap: 8px; }
.sticky-actions a {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
  background: var(--sand); color: var(--petrol-dark); font-weight: 500; font-size: .88rem; box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.sticky-actions a:first-child { background: var(--petrol); color: #fff; }
.sticky-actions a:hover { transform: translateY(-2px); }
.sticky-actions svg { width: 17px; height: 17px; }

/* ---------- Navigation latérale par points (accueil) ---------- */
.dots { position: fixed; left: 22px; top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; gap: 14px; }
.dots a { position: relative; display: block; width: 10px; height: 10px; border-radius: 50%; background: rgba(14, 31, 54, .25); transition: transform .2s, background .2s; }
.dots.on-dark a { background: rgba(255, 255, 255, .45); }
.dots a.is-active { background: var(--sand-dark); transform: scale(1.5); }
.dots.on-dark a.is-active { background: var(--sand); }
.dots a span {
  position: absolute; left: 22px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--petrol); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.dots a:hover span { opacity: 1; }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; max-width: 400px;
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  padding: 20px 22px; font-size: .88rem; display: none;
}
.cookie.is-visible { display: block; }
.cookie p { margin: 0 0 12px; }

/* ---------- Animations ---------- */
.js .reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.2, .65, .25, 1), transform 1s cubic-bezier(.2, .65, .25, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal.from-left { transform: translateX(-40px); }
.js .reveal.from-right { transform: translateX(40px); }
.js .reveal.is-visible { opacity: 1; transform: none; }@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .cta-full { background-attachment: scroll; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-template-columns: 1fr; gap: 24px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .sticky-aside { position: static; }
  .agencies { grid-template-columns: 1fr; }
  .agencies-map { min-height: 360px; }
  .carousel-track { grid-auto-columns: calc((100% - 26px) / 2); }
  .dots { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--petrol); flex-direction: column; align-items: stretch;
    padding: 12px 20px 32px; overflow-y: auto; gap: 18px; display: none; border-top: 1px solid rgba(255, 255, 255, .1);
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav { display: flex; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav li { display: block; }
  .nav-link { width: 100%; height: auto; justify-content: space-between; padding: 17px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-link[aria-expanded="true"] { background: none; }
  .dropdown { position: static; transform: none; min-width: 0; box-shadow: none; padding: 6px; margin-bottom: 14px; display: none; opacity: 1; visibility: visible; }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; transform: none; }
  .nav .btn { width: 100%; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .threshold-grid { grid-template-columns: 1fr; }
  .cta-full { background-attachment: scroll; }
}

@media (max-width: 720px) {
  :root { --header-h: 72px; }
  .brand-logo img { height: 52px; }
  .brand { gap: 12px; }
  .brand-text { padding-left: 12px; }
  .brand-text span { font-size: .6rem; letter-spacing: .14em; }
  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
  .stats div { padding: 24px 12px 0 0; }
  .stats b { font-size: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .container { padding: 0 16px; }

  .card { padding: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .carousel-track { grid-auto-columns: 86%; gap: 16px; }
  .page-hero { padding: 64px 0 70px; }
  .cta-full { padding: 90px 0; }
  .agencies-list { padding: 28px 22px; }
  .agencies-hours { position: static; margin: 16px; }
  .agencies-map { min-height: 0; display: flex; flex-direction: column; }
  .agencies-map .acc-map { position: relative; inset: auto; height: 340px; }
  .agencies-map .btn { position: static; margin: 0 16px 16px; }
  .sticky-actions { left: 12px; right: 12px; bottom: 12px; }
  .sticky-actions a { flex: 1; justify-content: center; }
  .cookie { left: 12px; right: 12px; bottom: 76px; max-width: none; }
  .scroll-icon { display: none; }
}

/* ---------- Carte interactive (Leaflet) ---------- */
.acc-map { width: 100%; height: 100%; min-height: 300px; background: var(--petrol-soft); font-family: var(--font-sans); z-index: 0; }
.acc-map .leaflet-tile-pane { filter: grayscale(.6) sepia(.22) saturate(.9) contrast(.96) brightness(1.02); }
.acc-map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow); border-radius: 12px; overflow: hidden; }
.acc-map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 36px; color: var(--petrol); background: var(--surface); }
.acc-map .leaflet-control-zoom a:hover { background: var(--sand-soft); color: var(--sand-dark); }
.acc-map .leaflet-control-attribution { background: rgba(251, 250, 247, .85); font-size: .68rem; border-top-left-radius: 8px; }
.acc-marker { background: none; border: 0; }
.acc-pin {
  position: absolute; left: 4px; top: 0; width: 52px; height: 52px;
  display: grid; place-items: center; background: #fff; border: 3px solid var(--petrol);
  border-radius: 50% 50% 50% 6px; transform: rotate(-45deg);
  box-shadow: -4px 8px 18px rgba(10, 22, 40, .35); transition: transform .2s, border-color .2s;
}
.leaflet-container .acc-pin img { position: static; width: 38px !important; height: auto; max-width: 38px !important; transform: rotate(45deg); }
.acc-marker:hover .acc-pin { transform: rotate(-45deg) scale(1.08); border-color: var(--sand-dark); }
.acc-map .leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: var(--shadow-lg); background: var(--surface); }
.acc-map .leaflet-popup-content { margin: 16px 20px; line-height: 1.5; }
.acc-map .leaflet-popup-tip { background: var(--surface); }
.acc-popup strong { display: block; font-family: var(--font-serif); font-weight: 500; font-size: 1.1rem; color: var(--ink); margin-bottom: 4px; }
.acc-popup address { font-style: normal; font-size: .85rem; color: var(--text); margin-bottom: 6px; }
.acc-popup a { display: block; font-family: var(--font-mono); font-size: .85rem; color: var(--petrol-2); }
.acc-popup .acc-popup-route { font-family: var(--font-sans); font-weight: 500; color: var(--sand-dark); margin-top: 4px; }
@media (max-width: 359px) { .brand-text { display: none; } }

/* ---------- Associés (accueil) ---------- */
.partners { margin-top: 70px; padding-top: 44px; border-top: 1px solid rgba(255, 255, 255, .14); }
.partners h3 { color: #fff; font-size: 1.6rem; margin-bottom: 30px; }
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.partner { display: flex; flex-direction: column; align-items: center; text-align: center; color: #c5cedb; }
.partner-photo { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; margin-bottom: 16px; box-shadow: 0 0 0 4px var(--petrol), 0 0 0 5px var(--sand); transition: transform .3s; }
.partner-photo img { width: 100%; height: 100%; object-fit: cover; }
.partner:hover .partner-photo { transform: translateY(-4px); }
.partner-name { font-family: var(--font-serif); font-size: 1.2rem; color: #fff; }
.partner-role { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #aab5c4; margin: 4px 0 8px; max-width: 220px; }
.partner-linkedin { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: 4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: var(--sand); transition: background .2s, color .2s, border-color .2s; }
.partner-linkedin:hover { background: var(--sand); border-color: var(--sand); color: var(--petrol-dark); }
.partner-linkedin svg { width: 17px; height: 17px; }
@media (max-width: 1080px) { .partners-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; } }
@media (max-width: 480px) { .partner-photo { width: 110px; height: 110px; } }

/* Photos des associés en noir et blanc */
.partner-photo img, .team-card .avatar img { filter: grayscale(100%) contrast(1.05); }
