/* ══════════════════════════════════════════════════════════
   MAKE · Formation incendie Paris · v2
   Un site, trois univers : Formation · FireTraining MS · Conseil
   ══════════════════════════════════════════════════════════ */

/* ── Polices hébergées sur le site (pas d'appel à Google) ── */
@font-face { font-family: 'Manrope'; src: url('assets/fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('assets/fonts/fraunces.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('assets/fonts/fraunces-italic.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  /* Marque (logo) */
  --marine: #1A2548;
  --marine-2: #2B3A6B;
  --bordeaux: #8B1A1A;
  --bordeaux-vif: #A52020;
  --ember: #E0662C;
  --ember-ink: #B8461A;
  --or: #B08A2E;

  /* Neutres (légèrement bleutés) */
  --paper: #FBFBFD;
  --surface: #FFFFFF;
  --tint: #F3F4F8;
  --line: #E3E6EF;
  --ink: #16203F;
  --ink-2: #4A5373;
  --ink-3: #6B7392;
  --night: #0E1222;

  /* Accent de l'univers (Formation par défaut) */
  --acc: var(--bordeaux);
  --acc-hover: var(--bordeaux-vif);
  --acc-soft: #F6E9E9;

  /* Typo */
  --f-disp: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Rythme */
  --r: 8px;
  --r-lg: 14px;
  --shadow: 0 1px 2px rgba(22,32,63,.05), 0 8px 24px rgba(22,32,63,.06);
  --shadow-hi: 0 2px 4px rgba(22,32,63,.06), 0 18px 40px rgba(22,32,63,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1160px;
  --header-h: 108px;
}

body[data-univers="firetraining"] { --acc: var(--ember-ink); --acc-hover: #9E3A13; --acc-soft: #FCEDE4; }
body[data-univers="conseil"]      { --acc: var(--marine-2); --acc-hover: var(--marine); --acc-soft: #EAEFFB; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-disp); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4, h3.h4 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tint { background: var(--tint); }
.section--dark { background: var(--marine); color: #fff; }
.section--night { background: var(--night); color: #fff; }
.section--dark h2, .section--dark h3, .section--night h2, .section--night h3 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow, .section--night .eyebrow { color: #F2B9A0; }
body[data-univers="conseil"] .section--dark .eyebrow { color: #E2C98A; }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 60ch; }
.section--dark .lead, .section--night .lead { color: rgba(255,255,255,.78); }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.sec-head--center { margin-inline: auto; text-align: center; align-items: center; }

/* ── Icônes ───────────────────────────────────────── */
.ico { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--acc-soft); color: var(--acc); transition: transform .35s var(--ease); }

/* ── Boutons ──────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .92rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none;
  padding: 15px 24px; border-radius: var(--r); border: 1px solid transparent; cursor: pointer;
  position: relative; overflow: hidden; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .ico-arrow, .btn:focus-visible .ico-arrow { transform: translateX(4px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--acc); color: #fff; }
.btn-primary:hover { background: var(--acc-hover); box-shadow: 0 8px 22px color-mix(in srgb, var(--acc) 35%, transparent); }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn-primary:hover::after { left: 130%; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #C9CEDD; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--marine); }
.btn-light:hover { box-shadow: 0 10px 26px rgba(0,0,0,.25); transform: translateY(-1px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; }
.btn-sm { padding: 11px 16px; font-size: .84rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--acc); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .3s var(--ease);
}
.link-arrow .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ── En-tête : barre des univers + navigation ─────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; }
.univers-bar { background: var(--marine); color: rgba(255,255,255,.8); font-size: .8rem; }
.univers-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 40px; }
.univers { display: flex; gap: 4px; list-style: none; height: 100%; }
.univers a {
  display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; text-decoration: none; font-weight: 600;
  color: rgba(255,255,255,.72); position: relative; transition: color .2s;
}
.univers a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.univers a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; background: var(--dot); transform: scaleX(0); transition: transform .3s var(--ease); }
.univers a:hover { color: #fff; }
.univers a[aria-current="true"] { color: #fff; }
.univers a[aria-current="true"]::after { transform: scaleX(1); }
.u-formation { --dot: #E06A6A; } .u-firetraining { --dot: var(--ember); } .u-conseil { --dot: #E2C98A; }
.univers-bar .tel { color: #fff; text-decoration: none; font-weight: 600; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.univers-bar .tel .ico { width: 15px; height: 15px; }

.main-nav { background: rgba(251,251,253,.92); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.main-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; transition: height .3s var(--ease); }
.is-scrolled .main-nav { box-shadow: 0 6px 24px rgba(22,32,63,.08); }
.is-scrolled .main-nav .wrap { height: 58px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 38px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.2; }
.brand-txt strong { font-family: var(--f-disp); font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.brand-txt span { font-size: .74rem; color: var(--ink-3); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a:not(.btn) { display: block; padding: 8px 12px; font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-radius: 6px; transition: color .2s, background .2s; }
.nav-links a:not(.btn):hover { color: var(--ink); background: var(--tint); }
.nav-links a[aria-current="page"] { color: var(--acc); }
.nav-links .btn { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 8px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-txt { display: flex; flex-direction: column; gap: 22px; }
.hero h1 .accent { color: var(--acc); font-style: italic; font-weight: 500; }
.hero .lead { font-size: 1.16rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 8px; font-size: .86rem; color: var(--ink-2); }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .ico { width: 18px; height: 18px; color: var(--acc); }
.hero-visual { position: relative; }
.hero-visual::before {
  content: ""; position: absolute; inset: -12% -18% -18% -8%; z-index: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ember) 22%, transparent), transparent 70%);
  animation: breathe 7s ease-in-out infinite alternate;
}
@keyframes breathe { from { transform: scale(.94); opacity: .7; } to { transform: scale(1.06); opacity: 1; } }
.hero-photo { position: relative; z-index: 1; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hi); aspect-ratio: 4 / 4.4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.float-chip {
  position: absolute; z-index: 2; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow-hi);
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .82rem; line-height: 1.35;
}
.float-chip strong { display: block; font-size: .92rem; color: var(--ink); }
.float-chip span { color: var(--ink-3); }
.float-chip .ico-tile { width: 40px; height: 40px; border-radius: 10px; }
.chip-a { left: -28px; bottom: 36px; animation: float 6s ease-in-out infinite; }
.chip-b { right: -18px; top: 28px; animation: float 6s ease-in-out -3s infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

.h-word { display: inline-block; }
.js .h-anim .h-word { animation: rise .8s var(--ease) both; }

/* ── Bande logos ──────────────────────────────────── */
.logos { padding-block: 36px; border-block: 1px solid var(--line); background: var(--surface); }
.logos .wrap { display: flex; align-items: center; gap: 40px; }
.logos-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.marquee { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: 42px; width: auto; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Chiffres ─────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; border-left: 2px solid var(--acc); }
.stat b { font-family: var(--f-disp); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { font-size: .88rem; color: var(--ink-2); }
.section--dark .stat span { color: rgba(255,255,255,.75); }
.section--dark .stat { border-color: #E06A6A; }

/* ── Grilles & cartes ─────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  --x: 50%; --y: 50%;
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--x) var(--y), color-mix(in srgb, var(--acc) 9%, transparent), transparent 65%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hi); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card:hover .ico-tile { transform: scale(1.08) rotate(-4deg); }
.card > * { position: relative; }
.card p { color: var(--ink-2); font-size: .96rem; }
.card .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.card .link-arrow { margin-top: auto; padding-top: 6px; }
.card--feature { background: var(--marine); border-color: var(--marine); color: #fff; }
.card--feature h3 { color: #fff; }
.card--feature p { color: rgba(255,255,255,.78); }
.card--feature .ico-tile { background: rgba(255,255,255,.1); color: #F2B9A0; }
.card--feature .link-arrow { color: #fff; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--tint); color: var(--ink-2); }
.pill--acc { background: var(--acc-soft); color: var(--acc); }
.card--feature .pill { background: rgba(255,255,255,.1); color: #fff; }

.checks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.checks .ico { width: 18px; height: 18px; color: var(--acc); margin-top: 3px; }
.section--dark .checks li, .section--night .checks li, .card--feature .checks li { color: rgba(255,255,255,.82); }
.section--dark .checks .ico, .card--feature .checks .ico { color: #F2B9A0; }

/* ── Bloc média / texte ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-txt { display: flex; flex-direction: column; gap: 20px; }
.media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hi); position: relative; }
.media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(14,18,34,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; }

/* ── Témoignages ──────────────────────────────────── */
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-family: var(--f-disp); font-size: 1.12rem; line-height: 1.5; color: var(--ink); }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--acc); margin-bottom: 12px; }
.quote figcaption { display: flex; flex-direction: column; font-size: .86rem; color: var(--ink-3); margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.quote figcaption strong { color: var(--ink); font-size: .92rem; }

/* ── Étapes ───────────────────────────────────────── */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--acc), var(--line)); }
.steps li { position: relative; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before {
  content: counter(step); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2px solid var(--acc); color: var(--acc); font-weight: 800; font-size: 1rem; position: relative;
}
.steps p { font-size: .92rem; color: var(--ink-2); }
.steps--4 { grid-template-columns: repeat(4, 1fr); }

/* ── FAQ ──────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left;
  background: none; border: 0; padding: 22px 0; cursor: pointer; font: 700 1.02rem/1.4 var(--f-body); color: var(--ink);
}
.faq-q .pm { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; transition: transform .35s var(--ease), background .2s, border-color .2s; color: var(--acc); }
.faq-q .pm .ico { width: 16px; height: 16px; }
.faq-item.open .pm { transform: rotate(45deg); background: var(--acc-soft); border-color: transparent; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 22px; color: var(--ink-2); max-width: 70ch; }

/* ── Bandeau d'appel final ────────────────────────── */
.cta-band { position: relative; overflow: hidden; background: var(--marine); color: #fff; border-radius: 20px; padding: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); margin-top: 14px; max-width: 52ch; }
.cta-band .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cta-band > *:not(canvas) { position: relative; z-index: 1; }

/* ── Pied de page ─────────────────────────────────── */
.site-footer { background: var(--marine); color: rgba(255,255,255,.72); padding-block: 64px 28px; margin-top: 0; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 16px; max-width: 300px; }
.foot-brand .logo-chip { width: 64px; background: #fff; border-radius: 12px; padding: 8px; }
.site-footer h4, .site-footer .h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,.78); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.7); }
.foot-bottom button { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* ── Bandeau cookies (compact) ────────────────────── */
.cookie {
  position: fixed; z-index: 300; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 560px; margin-left: auto; background: var(--surface); color: var(--ink); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-hi); padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; font-size: .88rem;
  transform: translateY(20px); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.cookie.show { transform: none; opacity: 1; }
.cookie p { color: var(--ink-2); }
.cookie a { color: var(--acc); }
.cookie-btns { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ── Apparitions ──────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@view-transition { navigation: auto; }

/* ── Univers FireTraining : hero nuit ─────────────── */
.hero--night { background: radial-gradient(120% 90% at 85% 110%, #3A1A14 0%, #141A33 50%, var(--night) 100%); color: #fff; }
.hero--night h1 { color: #fff; }
.hero--night h1 .accent { color: #F4955F; }
.hero--night .lead { color: rgba(255,255,255,.8); }
.hero--night .hero-proof { color: rgba(255,255,255,.75); }
.hero--night .hero-proof .ico { color: #F4955F; }
.hero--night .eyebrow { color: #F4955F; }
.hero--night canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero--night .wrap { position: relative; z-index: 1; }
.hero--night .media { box-shadow: 0 30px 80px rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.offer { display: flex; flex-direction: column; gap: 18px; }
.offer .price { font-size: .86rem; font-weight: 700; color: var(--ink-3); }
.offer .btn { margin-top: auto; align-self: flex-start; }
.offer-for { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); }
.card--feature .offer-for { color: #F4955F; }
body[data-univers="firetraining"] .card--feature { background: var(--night); border-color: var(--night); }
body[data-univers="firetraining"] .card--feature .ico-tile, body[data-univers="firetraining"] .card--feature .checks .ico { color: #F4955F; }

/* ── Univers Conseil ──────────────────────────────── */
.hero--conseil { background: linear-gradient(180deg, #EEF1F9 0%, var(--paper) 100%); }
.hero--conseil .hero-visual::before { background: radial-gradient(closest-side, rgba(43,58,107,.16), transparent 70%); }
.legal-note { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--or); border-radius: var(--r); padding: 18px 20px; font-size: .92rem; color: var(--ink-2); }
.legal-note .ico { color: var(--or); margin-top: 2px; }
.legal-note strong { color: var(--ink); }
.diag-card { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-hi); padding: 28px; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.diag-card .big { font-family: var(--f-disp); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--marine-2); }

/* ── Formulaire ───────────────────────────────────── */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink); background: var(--paper); border: 1px solid #D3D8E5; border-radius: var(--r);
  padding: 13px 14px; transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--acc); background: #fff; box-shadow: 0 0 0 4px var(--acc-soft); }
.form-note { font-size: .82rem; color: var(--ink-3); }
.form-error { color: #B42318; font-size: .9rem; }
.form-success { text-align: center; padding: 48px 12px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.form-success .ico-tile { width: 64px; height: 64px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list small { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.contact-list a, .contact-list span.v { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.univers-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; grid-column: 1 / -1; }
.univers-pick label { cursor: pointer; }
.univers-pick input { position: absolute; opacity: 0; pointer-events: none; }
.univers-pick span { display: flex; flex-direction: column; gap: 2px; border: 1px solid #D3D8E5; border-radius: var(--r); padding: 12px 14px; font-weight: 700; font-size: .9rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.univers-pick span small { font-weight: 500; color: var(--ink-2); font-size: .78rem; }
.univers-pick input:checked + span { border-color: var(--acc); background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc); }
.univers-pick input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px 24px;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(22,32,63,.12);
    animation: drop .3s var(--ease);
  }
  .nav-open .nav-links a:not(.btn) { padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-open .nav-links .btn { margin: 12px 0 0; }
  .main-nav { position: relative; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps, .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .chip-a { left: -8px; } .chip-b { right: -6px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cta-band .btns { justify-content: flex-start; }
  .logos .wrap { flex-direction: column; align-items: stretch; gap: 16px; }
  .logos-label { text-align: center; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .univers a { padding: 0 9px; font-size: .76rem; }
  .univers a::after { left: 9px; right: 9px; }
  .univers-bar .tel span { display: none; }
  .brand-txt span { display: none; }
  .form, .univers-pick { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .steps, .steps--4 { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1 1 100%; }
  .cookie-btns .btn { flex: 1; }
}
@media (max-width: 380px) {
  .univers a::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Liste des certifications ─────────────────────── */
.cert-card { padding: 8px 28px; gap: 0; }
.cert-list { list-style: none; }
.cert-list li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cert-list li:last-child { border-bottom: 0; }
.cert-list strong { display: block; color: var(--ink); }
.cert-list span:not(.ico-tile) { display: block; font-size: .9rem; color: var(--ink-3); }

/* ── Pages légales ────────────────────────────────── */
.legal .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { font-size: 1.5rem; margin-top: 28px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.legal table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--tint); font-weight: 700; color: var(--ink); }
.legal tr:last-child td { border-bottom: 0; }
.contact-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.card .pill { align-self: flex-start; }

/* ══ Pages formation détaillées ═══════════════════════ */
.crumbs { font-size: .84rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--acc); }
.crumbs span[aria-hidden] { opacity: .5; }
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(40px, 5vw, 64px); background: linear-gradient(180deg, var(--tint) 0%, var(--paper) 100%); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 20ch; }
.page-hero h1 .accent { color: var(--acc); font-style: italic; font-weight: 500; }
.keyfacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.keyfacts .pill { padding: 8px 14px; font-size: .84rem; background: var(--surface); border: 1px solid var(--line); }
.keyfacts .pill .ico { width: 16px; height: 16px; color: var(--acc); }

.subnav { position: sticky; top: calc(var(--header-h) - 2px); z-index: 50; background: rgba(251,251,253,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.is-scrolled .subnav { top: 98px; }
html:has(.subnav) { scroll-padding-top: 184px; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; font-size: .86rem; font-weight: 700; text-decoration: none; color: var(--ink-2); padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.subnav a:hover { background: var(--tint); color: var(--ink); }
.subnav a.active { background: var(--acc-soft); color: var(--acc); }

.fiche { display: grid; grid-template-columns: 320px 1fr; gap: clamp(28px, 5vw, 64px); padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.fiche:last-of-type { border-bottom: 0; }
.fiche-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.fiche-side h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.facts { list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 6px 20px; }
.facts li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts li:last-child { border-bottom: 0; }
.facts .ico { width: 18px; height: 18px; color: var(--acc); margin-top: 3px; }
.facts small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.facts b { font-weight: 600; color: var(--ink); }
.fiche-main { display: flex; flex-direction: column; gap: 32px; }
.fiche-main > p.lead { max-width: 64ch; }
.fiche-block { display: flex; flex-direction: column; gap: 14px; }
.fiche-block h3 { font-family: var(--f-body); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.prog { list-style: none; counter-reset: prog; display: grid; gap: 12px; }
.prog li { counter-increment: prog; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.prog li::before { content: counter(prog, decimal-leading-zero); font-weight: 800; color: var(--acc); font-variant-numeric: tabular-nums; padding-top: 1px; }
.prog strong { display: block; color: var(--ink); }
.prog span { color: var(--ink-2); font-size: .93rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.modal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.modal-item { display: flex; flex-direction: column; gap: 10px; }
.modal-item p { font-size: .93rem; color: var(--ink-2); }

.cat-card { text-decoration: none; color: inherit; }
.cat-card .sessions { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cat-card .sessions li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; color: var(--ink-2); }
.cat-card .sessions li b { color: var(--ink); font-weight: 600; }
.card--feature .sessions { border-color: rgba(255,255,255,.14); }
.card--feature .sessions li { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
.card--feature .sessions li b { color: #fff; }

.faq-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 56px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group > h2 { font-size: 1.5rem; max-width: 820px; margin: 0 auto 8px; width: 100%; display: flex; align-items: center; gap: 12px; }
.faq-group > h2 .ico-tile { width: 40px; height: 40px; }
.faq-group[data-u="firetraining"] { --acc: var(--ember-ink); --acc-soft: #FCEDE4; }
.faq-group[data-u="conseil"] { --acc: var(--marine-2); --acc-soft: #EAEFFB; }

@media (max-width: 1020px) {
  .fiche { grid-template-columns: 1fr; }
  .fiche-side { position: static; }
  .modal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .two-col, .modal-grid { grid-template-columns: 1fr; }
  .subnav { top: calc(var(--header-h) - 2px); }
}
.faq-group .faq { width: 100%; }
.cat-card .sessions li span { white-space: nowrap; }

/* ══ Pages locales ════════════════════════════════════ */
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case-year { font-size: .8rem; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.case-quote { margin-top: auto; padding: 18px 20px; background: var(--acc-soft); border-radius: var(--r); display: flex; flex-direction: column; gap: 10px; }
.case-quote blockquote { margin: 0; font-family: var(--f-disp); font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.case-quote figcaption { font-size: .82rem; color: var(--ink-2); font-weight: 600; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 20px; }
.zone { gap: 8px; }
.zone-code { font-family: var(--f-disp); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--acc); font-variant-numeric: tabular-nums; }
.zone p { font-size: .9rem; }
.zone--fr { background: var(--surface); }
.zone--fr .checks li { font-size: .88rem; }
.other-zones { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; align-items: center; margin-top: 32px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 1020px) { .zones-grid { grid-template-columns: repeat(3, 1fr); } .zone--fr { grid-column: 1 / -1; } }
@media (max-width: 560px) { .zones-grid { grid-template-columns: 1fr; } }

/* ══ Onglets (FireTraining pro) ═══════════════════════ */
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; margin: 0 auto 48px; }
.tab { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 20px; cursor: pointer; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.tab .ico { width: 28px; height: 28px; color: var(--ink-3); transition: color .2s; }
.tab b { display: block; font-size: 1rem; }
.tab small { display: block; font-size: .82rem; color: var(--ink-2); }
.tab:hover { border-color: #C9CEDD; }
.tab[aria-selected="true"] { border-color: var(--acc); background: var(--acc-soft); box-shadow: 0 0 0 1px var(--acc); }
.tab[aria-selected="true"] .ico { color: var(--acc); }
.tab-panel { animation: rise .5s var(--ease); }
.panel-title { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.price-note { font-size: .88rem; color: var(--ink-3); font-weight: 600; }
.why { gap: 18px; }
.why .h4 { font-size: 1.05rem; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why-list li { display: flex; gap: 14px; align-items: flex-start; }
.why-list strong { display: block; color: var(--ink); }
.why-list span:not(.ico-tile) { display: block; font-size: .92rem; color: var(--ink-2); }
.panel-steps { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.steps-title, h3.steps-title { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 560px) { .tabs { grid-template-columns: 1fr; } }

/* ══ Vidéo en façade légère ═══════════════════════════ */
.video { aspect-ratio: 16 / 9; background: #000; }
.video img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .6s var(--ease), opacity .3s; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(180deg, rgba(14,18,34,.1), rgba(14,18,34,.55)); border: 0; cursor: pointer; color: #fff; font: 700 .92rem var(--f-body); }
.video-btn { width: 76px; height: 76px; border-radius: 50%; background: var(--ember); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(224,102,44,.6); animation: pulse 2.4s ease-out infinite; transition: transform .25s var(--ease); }
.video-btn svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
.video-play:hover .video-btn { transform: scale(1.08); }
.video:hover img { transform: scale(1.03); }
.video-note { margin-top: 10px; font-size: .78rem; color: rgba(255,255,255,.6); text-align: center; position: relative; z-index: 1; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(224,102,44,.55); } 70% { box-shadow: 0 0 0 22px rgba(224,102,44,0); } 100% { box-shadow: 0 0 0 0 rgba(224,102,44,0); } }

/* ══ make-consulting.fr : barre haute ═════════════════ */
.topline { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dot-or { width: 7px; height: 7px; border-radius: 50%; background: #E2C98A; flex-shrink: 0; }
.topright { display: flex; align-items: center; gap: 20px; }
.toplink { display: inline-flex; align-items: center; gap: 6px; color: #E2C98A; text-decoration: none; font-weight: 600; white-space: nowrap; }
.toplink:hover { color: #fff; }
.toplink .ico { width: 14px; height: 14px; }
.link-arrow .ico, .btn .ico { flex-shrink: 0; }
.mission-card .pill { align-self: flex-start; }
.cases-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.cases-filter button { font: inherit; font-size: .86rem; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.cases-filter button[aria-pressed="true"] { background: var(--marine); color: #fff; border-color: var(--marine); }
.price-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; font-size: .95rem; }
.price-table th, .price-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--tint); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--or); }
.pillar p { color: var(--ink-2); font-size: .95rem; }
.sectors { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sectors .pill { padding: 9px 16px; font-size: .88rem; background: var(--surface); border: 1px solid var(--line); }
.sectors .pill .ico { width: 16px; height: 16px; color: var(--or); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .topline { display: none; } .univers-bar .wrap { justify-content: flex-end; } .topright { width: 100%; justify-content: space-between; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-4 .card { padding: 24px; }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
.case[hidden] { display: none; }
