/* Belen Conseil — feuille de style principale
   Couleurs issues du logo : bleu nuit #15233F, or #BC9459 */

/* Polices hébergées sur le site (pas d'appel à Google Fonts) — licence SIL Open Font License */
@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 500; font-display: swap; src: url("public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: normal; font-display: swap; src: url("source-serif-4-latin-wght-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-weight: 200 900; font-style: italic; font-display: swap; src: url("source-serif-4-latin-wght-italic.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --navy: #15233F;
  --navy-2: #1F3157;
  --navy-deep: #0E182D;
  --gold: #BC9459;
  --gold-soft: #E9DCC6;
  --gold-text: #8A6634;   /* or foncé, lisible sur fond clair */
  --ink: #18202F;
  --muted: #566076;
  --line: #DCE1EA;
  --bg: #FFFFFF;
  --bg-alt: #F2F4F8;
  --on-navy: #E9EDF4;
  --on-navy-muted: #B4BED0;

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1160px;
  --radius: 6px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--gold-text); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1.18;
  text-wrap: balance;
  margin: 0;
  font-weight: 600;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.08rem; }
p { margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.prose { max-width: 68ch; }
.stack > * + * { margin-top: 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--navy);
  padding: 8px 14px; z-index: 100; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 44px; height: auto; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: 0.01em; }
.brand-name em { font-family: var(--serif); font-style: italic; font-size: 0.98rem; margin-top: 3px; }
.brand:hover { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-size: 0.95rem; font-weight: 500;
  padding: 8px 12px; border-radius: var(--radius);
}
.nav a:hover { color: var(--navy); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav .btn { margin-left: 10px; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; font: 600 0.9rem var(--sans); color: var(--navy); cursor: pointer;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--gold-text); }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-bottom: 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 0.98rem/1 var(--sans); text-decoration: none;
  padding: 14px 22px; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #CBA66F; color: var(--navy); }
.nav .btn-gold, .nav .btn-gold:hover { color: var(--navy); }
.btn-line { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.on-navy .btn-line { color: var(--on-navy); }
.on-navy .btn-line:hover { background: var(--on-navy); color: var(--navy); border-color: var(--on-navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Bandeaux bleu nuit ---------- */
.on-navy { background: var(--navy); color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: #fff; }
.on-navy a:not(.btn) { color: var(--gold-soft); }

.eyebrow {
  display: inline-block; font: 600 0.78rem/1.2 var(--sans); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px;
}
.on-navy .eyebrow { color: var(--gold); }

/* Accueil */
.hero { position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.hero .tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--gold); margin-top: 18px; line-height: 1.4;
}
.hero .lead { color: var(--on-navy-muted); margin-top: 22px; max-width: 58ch; font-size: 1.05rem; }
.hero .btn-row { margin-top: 32px; }
.hero-mark { width: 100%; max-width: 380px; justify-self: end; }
.hero-mark .bar { fill: var(--navy-2); }
.hero-mark .arc { fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round; }
.hero-mark .dot { fill: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .hero-mark .arc { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.6s ease-out both; }
  @keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
}

/* Pages intérieures */
.page-hero .wrap { padding-block: clamp(44px, 6vw, 76px); }
.page-hero .lead { color: var(--on-navy-muted); margin-top: 16px; max-width: 64ch; font-size: 1.08rem; }
.page-hero .for {
  margin-top: 22px; display: inline-block; padding: 8px 14px; border: 1px solid rgba(188,148,89,.55);
  border-radius: var(--radius); font-size: 0.92rem; color: var(--on-navy);
}
.crumbs { font-size: 0.85rem; color: var(--on-navy-muted); margin-bottom: 18px; }
.crumbs a { color: var(--on-navy-muted) !important; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 7vw, 96px); }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 62ch; margin-bottom: 40px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* Cartes « Vous êtes… » */
.profile {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 22px; text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.profile:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.profile .who { font: 600 0.78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.profile h3 { font-size: 1.25rem; }
.profile p { color: var(--muted); font-size: 0.97rem; }
.profile .more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: 0.93rem; color: var(--navy); }

/* Avantages */
.advantage { border-top: 2px solid var(--navy); padding-top: 20px; }
.advantage h3 { margin-bottom: 10px; }
.advantage p { color: var(--muted); }
.advantage .vs { margin-top: 12px; font-size: 0.9rem; color: var(--muted); }
.advantage .vs strong { color: var(--ink); font-weight: 600; }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; }
.stat { padding: 8px 24px; border-left: 1px solid rgba(233,237,244,.18); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.1rem); color: var(--gold); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; color: var(--on-navy-muted); font-size: 0.95rem; margin-top: 6px; max-width: 24ch; }
@media (max-width: 620px) {
  .stat { border-left: 0; padding: 14px 0; border-top: 1px solid rgba(233,237,244,.18); }
  .stat:first-child { border-top: 0; }
}

/* Méthode (séquence réelle : numérotation justifiée) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { position: relative; padding: 0 18px 0 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 600 1.05rem var(--serif); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; top: 21px; left: 42px; right: 0; height: 2px; background: var(--gold-soft);
}
.steps li:last-child::after { display: none; }
.steps h4 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps li { padding: 0 0 0 60px; min-height: 42px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 42px; bottom: -22px; left: 20px; right: auto; width: 2px; height: auto; }
}

/* Offres (pages pôles) */
.offers { display: grid; gap: 0; border-top: 1px solid var(--line); }
.offer {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px; padding-block: 28px; border-bottom: 1px solid var(--line);
}
.offer h3 { font-size: 1.22rem; }
.offer .label { display: block; font: 600 0.74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.offer p, .offer li { color: var(--ink); font-size: 0.98rem; }
.offer ul { margin: 0; padding-left: 1.1em; }
.offer li + li { margin-top: 4px; }
@media (max-width: 820px) { .offer { grid-template-columns: 1fr; gap: 14px; } }

/* Pôles (page expertises) */
.pole {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 14px;
}
.pole .num { font: 600 0.78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.pole .for { color: var(--muted); font-size: 0.93rem; }
.pole ul { margin: 0; padding-left: 1.1em; }
.pole .btn { align-self: flex-start; margin-top: auto; }

.socle {
  display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: start;
  padding: 26px 28px; border: 1px dashed var(--gold); border-radius: var(--radius); background: var(--bg);
  margin-bottom: 28px;
}
.socle svg { width: 44px; }
@media (max-width: 560px) { .socle { grid-template-columns: 1fr; } }

/* Liste à puces dorées */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 2px; background: var(--gold);
}

/* CARE */
.care { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.care-item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.care-item .letter { font: 700 3.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 10px; }
.care-item h3 { font-size: 1.2rem; margin-bottom: 8px; }
.care-item p { color: var(--muted); font-size: 0.96rem; }

/* Encadré mis en avant */
.callout {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  border: 1px solid var(--gold); border-radius: var(--radius); background: #FBF8F3;
  padding: 30px 32px;
}
.callout h3 { margin-bottom: 8px; }
.callout p { color: var(--muted); }
@media (max-width: 720px) { .callout { grid-template-columns: 1fr; } }

/* Étude de cas */
.case { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.case dl { margin: 0; display: grid; gap: 22px; }
.case dt { font: 600 0.78rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.case dd { margin: 6px 0 0; }
.case .figure { border-left: 3px solid var(--gold); padding-left: 22px; }
.case .figure b { display: block; font: 600 3.4rem/1 var(--serif); color: var(--navy); }
.case .figure span { color: var(--muted); display: block; margin-top: 8px; }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; gap: 28px; } }

/* Tableau des missions */
.table-wrap { overflow-x: auto; }
table.missions { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 640px; }
.missions th { text-align: left; font: 600 0.78rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 0 16px 12px 0; border-bottom: 2px solid var(--navy); }
.missions td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.missions td:first-child { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--muted); }
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; background: var(--gold-soft); color: var(--navy); white-space: nowrap; }

/* Fondateur */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.founder figure { margin: 0; }
.founder img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; width: 100%; }
.founder figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 28px; } .founder figure { max-width: 420px; } }
.facet { border-top: 2px solid var(--navy); padding-top: 18px; }
.facet h3 { margin-bottom: 8px; }
.facet p { color: var(--muted); font-size: 0.97rem; }

.founder-mini { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; }
.founder-mini img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
@media (max-width: 520px) { .founder-mini { grid-template-columns: 1fr; } }

/* Bandeau d'appel à l'action */
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; padding-block: clamp(48px, 6vw, 72px); }
.cta p { color: var(--on-navy-muted); margin-top: 10px; max-width: 58ch; }
@media (max-width: 760px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
label { font-weight: 600; font-size: 0.93rem; color: var(--navy); }
input, select, textarea {
  font: 400 1rem var(--sans); color: var(--ink); background: var(--bg);
  border: 1px solid #C5CCD8; border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.9rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; }
.consent label { font-weight: 400; color: var(--muted); font-size: 0.9rem; }
.form-note { font-size: 0.9rem; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: var(--radius); background: var(--bg-alt); border-left: 3px solid var(--gold); font-size: 0.95rem; }
.coords { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; }
.coords dt { font: 600 0.76rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.coords dd { margin: 4px 0 0; font-size: 1rem; word-break: break-word; }
.coords dl { margin: 0; display: grid; gap: 18px; }

/* Textes légaux */
.legal h2 { font-size: 1.35rem; margin-top: 36px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink); }
.legal .todo { background: #FFF4D6; padding: 0 4px; border-radius: 3px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.93rem; }
.site-footer .wrap { padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); } }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { color: #fff; }
.site-footer .brand .bar { fill: #fff; }
.site-footer .sig { font-family: var(--serif); font-style: italic; color: var(--on-navy); margin-top: 14px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(233,237,244,.14); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.85rem; }

/* Logo SVG */
.logo-mark .bar { fill: var(--navy); }
.logo-mark .arc { fill: none; stroke: var(--gold); stroke-width: 14; stroke-linecap: round; }
.logo-mark .dot { fill: var(--gold); }

.mt-lg { margin-top: 40px; }
.muted { color: var(--muted); }
