/* ═══════════════════════════════════════════════════════
   A.WAY Prévention · santé au travail
   DA corporate : navy et or des plaquettes A.WAY, angles
   droits, sections numérotées, densité d'information.
   Chaque fiche atelier redéfinit --accent (filet et puces).
   ═══════════════════════════════════════════════════════ */

:root {
  --max: 1220px;

  --navy: #0e1b33;
  --navy-2: #16294a;
  --navy-3: #1f3660;
  --navy-soft: #f3f6fb;

  --gold: #f0b429;
  --gold-2: #ffc94d;
  --gold-ink: #8a6100;

  --blue: #1b4f9c;
  --blue-2: #2f6fd0;

  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --panel: #ffffff;
  --border: #d9dfe9;
  --border-2: #b9c4d4;

  --text: #16202f;
  --text-soft: #4c5868;
  --muted: #8590a2;

  --accent: #1f3660;
  --accent-soft: #eef2f8;

  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, monospace;
  --radius: 4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text); background: var(--bg); line-height: 1.6;
  font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px) { .container { padding: 0 18px; } }

/* ── BANDEAU HAUT ── */
.topbar {
  position: sticky; top: 0; z-index: 70;
  background: var(--navy); color: rgba(255,255,255,.78); font-size: 13px;
}
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: 9px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.topbar-claim { display: flex; align-items: center; gap: 10px; }
.topbar-claim::before { content: ""; width: 14px; height: 2px; background: var(--gold); flex-shrink: 0; }
.topbar-contact { display: flex; gap: 22px; }
.topbar a:hover { color: #fff; }
@media (max-width: 860px) { .topbar-claim { display: none; } .topbar-inner { justify-content: center; padding: 8px 18px; } }
@media (max-width: 420px) { .topbar-contact { gap: 14px; font-size: 12px; } }

/* ── NAV ── */
.nav { position: sticky; top: 38px; z-index: 60; background: #fff; border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { height: 22px; width: auto; }
.brand-label {
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-soft);
  font-weight: 600; white-space: nowrap; padding-left: 14px; border-left: 1px solid var(--border-2);
}
.nav-links { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--text-soft); white-space: nowrap; }
.nav-links a { padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--navy); border-bottom-color: var(--gold); }
.nav-cta {
  background: var(--navy); color: #fff; padding: 12px 22px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 600; white-space: nowrap; transition: background .18s;
}
.nav-cta:hover { background: var(--navy-2); }
@media (max-width: 1040px) { .nav-links { display: none; } }
@media (max-width: 520px) {
  .nav-inner { height: 64px; }
  .brand-label { display: none; }
  .nav-cta { padding: 11px 16px; font-size: 13.5px; }
}

/* ── BOUTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius); font-size: 15.5px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-2); border-color: var(--gold-2); }
.btn-dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── HERO ── */
.hero {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy) 54%, var(--navy-2) 54%, var(--navy-2) 100%);
  color: #fff; padding: 76px 0 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: -60px; width: 420px; height: 420px;
  border: 1px solid rgba(240,180,41,.22); transform: rotate(45deg); pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 880px; padding-bottom: 68px; }
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hero-accroche {
  font-size: clamp(18px, 1.9vw, 22px); font-weight: 600; color: #fff;
  max-width: 60ch; margin-bottom: 20px; line-height: 1.4;
}
.hero-zone {
  font-size: 13.5px; color: rgba(255,255,255,.62); margin: 22px 0 30px;
  padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); max-width: 70ch;
}
.hero h1 {
  font-size: clamp(25px, 3.1vw, 38px); line-height: 1.18; letter-spacing: -.015em;
  font-weight: 700; margin-bottom: 22px; color: #fff; max-width: 21ch;
}
.hero-sub { font-size: clamp(16px, 1.4vw, 18.5px); color: rgba(255,255,255,.82); max-width: 68ch; margin-bottom: 16px; }
.hero-sub-2 { color: rgba(255,255,255,.66); font-size: clamp(15.5px, 1.3vw, 17px); margin-bottom: 32px; }
@media (max-width: 720px) {
  .hero { padding-top: 56px; }
  .hero-inner { padding-bottom: 54px; }
  .hero-sub-2 { font-size: 15.5px; }
}
.hero-note { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.hero-note strong { color: rgba(255,255,255,.9); font-weight: 600; }

.keyfacts { border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 2; }
.keyfacts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.keyfact {
  padding: 30px 30px 30px 18px; margin-left: -18px;
  border-right: 1px solid rgba(255,255,255,.12); position: relative;
  transition: background .25s ease;
}
.js-anim .keyfact { opacity: 0; transform: translateY(14px); }
.js-anim .keyfacts.visible .keyfact { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s ease, background .25s ease; }
.js-anim .keyfacts.visible .keyfact:nth-child(2) { transition-delay: .09s; }
.js-anim .keyfacts.visible .keyfact:nth-child(3) { transition-delay: .18s; }
.js-anim .keyfacts.visible .keyfact:nth-child(4) { transition-delay: .27s; }
.keyfact:last-child { border-right: none; }
.keyfact::after {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.keyfact:hover { background: rgba(255,255,255,.05); }
.keyfact:hover::after { transform: scaleX(1); }
.keyfact b {
  display: block; font-size: 46px; font-weight: 700; color: var(--gold);
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
  transition: color .25s ease;
}
.keyfact b::after {
  content: ""; display: block; width: 38px; height: 3px; background: rgba(240,180,41,.45);
  margin-top: 14px; transition: width .35s ease;
}
.keyfact:hover b::after { width: 66px; }
.keyfact b.keyfact-text { font-size: 23px; line-height: 1.25; }
.keyfact span { display: block; font-size: 13.5px; color: rgba(255,255,255,.66); margin-top: 12px; transition: color .25s ease; }
.keyfact:hover b { color: var(--gold-2); }
.keyfact:hover span { color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: reduce) {
  .js-anim .keyfact { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .keyfacts-row { grid-template-columns: repeat(2, 1fr); }
  .keyfact { padding: 24px 20px 24px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .keyfact b { font-size: 38px; }
  .keyfact:nth-child(2n) { border-right: none; }
  .keyfact:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── RÉFÉRENCES ── */
.logos { padding: 58px 0 54px; background: #fff; border-bottom: 1px solid var(--border); }
.logos-title {
  text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700; margin-bottom: 8px;
}
.logos-sub { text-align: center; font-size: 15px; color: var(--text-soft); margin-bottom: 30px; }
.logos-sub strong { color: var(--text); font-weight: 600; }

.marquee {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: logo-slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; }
.logo-cell {
  flex: 0 0 auto; width: 196px; height: 92px; padding: 0 26px;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid var(--border);
}
.logo-cell img {
  max-height: 48px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  opacity: .82; transition: opacity .25s, transform .25s;
}
.logo-cell:hover img { opacity: 1; transform: scale(1.04); }
.logo-cell img.sq { max-height: 68px; }
@keyframes logo-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 560px) { .logo-cell { width: 152px; height: 80px; padding: 0 18px; } .logo-cell img { max-height: 40px; } }

.logos-more { text-align: center; margin-top: 26px; font-size: 14.5px; color: var(--text-soft); }
.logos-more strong { color: var(--text); font-weight: 600; }

/* ── SECTIONS ── */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-head { max-width: 74ch; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
h2 {
  font-size: clamp(25px, 2.9vw, 37px); line-height: 1.18; letter-spacing: -.015em;
  font-weight: 700; margin-bottom: 16px;
}
h2 .rule { display: block; width: 46px; height: 3px; background: var(--gold); margin-bottom: 18px; }
.section-lead { font-size: 17.5px; color: var(--text-soft); }
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.72); }
.section-dark .eyebrow { color: var(--gold); }

/* ── REPÈRES CHIFFRÉS ── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 30px 30px; position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.stat:hover { transform: translateY(-3px); border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); }
.stat:hover::before { transform: scaleX(1); }
.stat .stat-num {
  font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: var(--navy);
  line-height: 1; margin-bottom: 16px;
}
.stat .stat-num::after {
  content: ""; display: block; width: 46px; height: 3px; background: var(--gold);
  margin-top: 12px; transition: width .3s ease;
}
.stat:hover .stat-num::after { width: 78px; }
.stat .stat-label { font-weight: 700; margin-bottom: 10px; font-size: 16px; }
.stat p { font-size: 15px; color: var(--text-soft); }
.stat .stat-src { margin-top: 18px; font-size: 12px; color: var(--muted); font-family: var(--mono); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr; } }

/* ── CATALOGUE ── */
.family { margin-bottom: 58px; }
.family:last-child { margin-bottom: 0; }
.family-head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--navy);
}
.family-head h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; }
.family-head span { font-size: 14px; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1040px) { .cards, .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .cards, .cards-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px 26px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.card:hover { border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); transform: translateY(-3px); }
.card:hover::before { transform: scaleX(1); }

/* numéro en filigrane */
.card-num {
  position: absolute; top: 14px; right: 20px;
  font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.03em;
  color: #eef1f7; pointer-events: none; transition: color .22s;
}
.card:hover .card-num { color: #fdf0d2; }

.card-ico {
  width: 32px; height: 32px; margin-bottom: 22px; color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.card-ico svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }

.card-tag {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 9px;
}
.card h4 { font-size: 20px; line-height: 1.28; margin-bottom: 14px; letter-spacing: -.01em; }
.card h4::after {
  content: ""; display: block; width: 34px; height: 3px; background: var(--gold);
  margin-top: 14px; transition: width .3s ease;
}
.card:hover h4::after { width: 58px; }
.card p { color: var(--text-soft); font-size: 15.5px; }
.card p:last-of-type { flex-grow: 1; }
.card .card-accroche { color: var(--text); font-weight: 600; font-size: 16px; margin-bottom: 10px; }
.card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.card li { font-size: 14.5px; color: var(--text-soft); padding-left: 18px; position: relative; margin-bottom: 7px; }
.card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--gold); }
.card-link {
  margin-top: 24px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em;
  color: var(--navy); display: flex; align-items: center; gap: 10px;
}
.card-link::after {
  content: "→"; font-size: 17px; color: var(--gold-ink);
  transition: transform .22s; display: inline-block;
}
.card:hover .card-link::after { transform: translateX(5px); }

/* carte pleine largeur : les declinaisons */
.card-wide { grid-column: 1 / -1; display: block; }
.wide-inner { display: grid; grid-template-columns: minmax(220px, .85fr) 2fr; gap: 26px 46px; align-items: start; }
.wide-inner > div:first-child { display: flex; flex-direction: column; }
.wide-inner > div:last-child { padding-top: 4px; }
.wide-inner p { margin-bottom: 16px; }
.wide-inner ul { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 34px; }
.card-wide h4 { margin-bottom: 0; }
.card-wide h4::after { display: none; }
.card-wide .card-num { display: none; }
@media (max-width: 860px) { .wide-inner { grid-template-columns: 1fr; } .wide-inner ul { grid-template-columns: 1fr; } }

/* cartes compactes sans lien */
.card-flat { padding: 26px 22px 24px; }
.card-flat h4 { font-size: 17px; margin-bottom: 12px; }
.card-flat h4::after { width: 26px; margin-top: 12px; }
.card-flat p { font-size: 15px; }
.card-flat .card-num { font-size: 36px; top: 12px; right: 16px; }
.card-flat .card-ico { margin-bottom: 18px; }

/* ── APPROCHE ── */
.approach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.approach-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px 28px; position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.approach-item::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.approach-item:hover { transform: translateY(-3px); border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); }
.approach-item:hover::before { transform: scaleX(1); }
.approach-item h3 { font-size: 19px; margin-bottom: 12px; }
.approach-item p { color: var(--text-soft); font-size: 15.5px; }
.approach-rule { width: 34px; height: 3px; background: var(--gold); margin-bottom: 18px; transition: width .3s ease; }
.approach-item:hover .approach-rule { width: 58px; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; } }

/* ── TABLEAU ── */
.table-wrap { border: 1px solid var(--border); background: #fff; overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 640px; }
table.grid th, table.grid td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.grid thead th {
  background: var(--navy); color: #fff; font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700; border-bottom: none;
}
table.grid tbody tr:last-child td { border-bottom: none; }
table.grid tbody td { transition: background .22s ease, color .22s ease; }
table.grid tbody tr:hover td { background: var(--navy-soft); color: var(--text); }
table.grid td:first-child {
  font-weight: 600; color: var(--text); white-space: nowrap;
  position: relative; padding-left: 24px;
}
table.grid td:first-child::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: center;
  transition: transform .28s ease;
}
table.grid tbody tr:hover td:first-child::before { transform: scaleY(1); }
table.grid tbody tr:hover td:first-child { color: var(--navy); }
table.grid td { color: var(--text-soft); }
table.grid thead th:first-child { padding-left: 24px; }

/* ── ÉTAPES ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 0 34px 0 0; border-right: 1px solid rgba(255,255,255,.14); }
.step:last-child { border-right: none; }
.step .step-index {
  font-family: var(--mono); font-size: 12.5px; color: var(--gold); font-weight: 600;
  letter-spacing: .1em; margin-bottom: 14px;
}
.step h3 { font-size: 19px; margin-bottom: 12px; color: #fff; }
.step p { color: rgba(255,255,255,.72); font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,.14); padding: 26px 0; }
  .step:last-child { border-bottom: none; }
}

/* ── INTERLOCUTEURS ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.person {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  display: grid; grid-template-columns: 132px 1fr; gap: 0; align-items: start;
  overflow: hidden; position: relative;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.person::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; z-index: 2;
}
.person:hover { transform: translateY(-3px); border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); }
.person:hover::before { transform: scaleX(1); }
.person-photo {
  width: 132px; height: 132px; object-fit: cover; object-position: center top;
  background: var(--bg-soft); border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold);
}
.person-body { padding: 24px 26px 24px 24px; }
.person h3 { font-size: 19px; margin-bottom: 4px; }
.person .person-role {
  color: var(--text-soft); font-size: 11.5px; font-weight: 700; margin-bottom: 14px;
  text-transform: uppercase; letter-spacing: .07em; line-height: 1.5;
}
.person p { color: var(--text-soft); margin-bottom: 12px; font-size: 15px; }
.person p:last-child { margin-bottom: 0; }
@media (max-width: 1040px) { .duo { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .person { grid-template-columns: 1fr; }
  .person-photo { width: 100%; height: 220px; border-right: none; border-bottom: 3px solid var(--gold); object-position: center top; }
}

/* ── POUR QUI ── */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.chip {
  padding: 18px 22px; font-size: 15px; color: var(--text); background: #fff;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.chip::before { content: ""; width: 7px; height: 7px; background: var(--gold); flex-shrink: 0; }

/* ── CADRE D'INTERVENTION ── */
.notice { border: 1px solid var(--border); border-left: 4px solid var(--navy); background: #fff; padding: 30px 32px; }
.notice h3 { font-size: 17px; margin-bottom: 12px; }
.notice p { color: var(--text-soft); font-size: 15.5px; margin-bottom: 12px; }
.notice p:last-child { margin-bottom: 0; }

/* ── FAQ ── */
.faq { max-width: 880px; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); padding: 22px 0; }
.faq summary {
  font-size: 17px; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 22px; line-height: 1; flex-shrink: 0; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 14px; color: var(--text-soft); font-size: 15.5px; max-width: 72ch; }

/* ── CONTACT ── */
.contact { background: var(--navy); color: #fff; padding: 88px 0; }
.contact h2 { color: #fff; }
.contact .section-lead { color: rgba(255,255,255,.74); }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

.form { background: #fff; border-radius: var(--radius); padding: 34px; color: var(--text); }
.form-title { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.form-sub { font-size: 14.5px; color: var(--text-soft); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 7px; color: var(--text); text-transform: uppercase; letter-spacing: .06em; }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); font-size: 15.5px;
  background: #fff; border: 1px solid var(--border-2); color: var(--text);
  font-family: inherit; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,79,156,.12);
}
.form .btn-dark { width: 100%; margin-top: 8px; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.form-error { color: #c0392b; font-size: 14px; margin-top: 12px; display: none; }
.form-success { display: none; padding: 20px 0; }
.form-success h3 { font-size: 21px; margin-bottom: 12px; }
.form-success p { color: var(--text-soft); }

.contact-aside h3 { font-size: 16px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: .07em; }
.contact-aside > p { color: rgba(255,255,255,.72); margin-bottom: 24px; font-size: 15.5px; }
.contact-line { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.16); }
.contact-line:last-of-type { border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-line span { font-size: 11.5px; color: rgba(255,255,255,.5); display: block; margin-bottom: 3px; text-transform: uppercase; letter-spacing: .09em; }
.contact-line a, .contact-line strong { font-size: 16.5px; font-weight: 600; color: #fff; }

/* ── FOOTER ── */
.footer { background: #0a1426; color: rgba(255,255,255,.6); padding: 56px 0 34px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cols h4 { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer-cols img { height: 20px; opacity: .9; margin-bottom: 18px; }
.footer-cols p { font-size: 14px; line-height: 1.75; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-legal { padding-top: 26px; line-height: 1.8; font-size: 13px; color: rgba(255,255,255,.45); }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════════
   PAGES ATELIER
   ═══════════════════════════════════════════════════════ */
.atelier-hero { background: var(--navy); color: #fff; padding: 52px 0 56px; position: relative; overflow: hidden; }
.atelier-hero::after {
  content: ""; position: absolute; right: -70px; bottom: -130px; width: 320px; height: 320px;
  border: 1px solid rgba(240,180,41,.2); transform: rotate(45deg);
}
.atelier-hero > .container { position: relative; z-index: 2; }
.crumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 22px; }
.crumb a { color: rgba(255,255,255,.75); }
.crumb a:hover { color: #fff; text-decoration: underline; }
.atelier-hero h1 {
  font-size: clamp(28px, 3.8vw, 44px); line-height: 1.14; letter-spacing: -.015em;
  max-width: 22ch; margin-bottom: 20px; color: #fff;
}
.atelier-chapo { font-size: 18px; color: #fff; max-width: 64ch; font-weight: 500; margin-bottom: 16px; }
.atelier-intro { color: rgba(255,255,255,.74); max-width: 68ch; margin-bottom: 14px; font-size: 15.5px; }
.atelier-meta { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; border: 1px solid rgba(255,255,255,.18); }
.meta-pill {
  padding: 13px 20px; font-size: 13.5px; color: rgba(255,255,255,.7);
  border-right: 1px solid rgba(255,255,255,.18); flex: 1 1 auto;
}
.meta-pill:last-child { border-right: none; }
.meta-pill strong { color: #fff; font-weight: 600; }
@media (max-width: 760px) {
  .meta-pill { flex: 1 1 100%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.18); }
  .meta-pill:last-child { border-bottom: none; }
}

.atelier-body { padding: 72px 0; }
.atelier-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: start; }
@media (max-width: 940px) { .atelier-grid { grid-template-columns: 1fr; gap: 40px; } }

.block { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.block:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.block h2 {
  font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 16px; font-weight: 700; display: flex; align-items: center; gap: 12px;
}
.block h2::before { content: ""; width: 20px; height: 2px; background: var(--accent); flex-shrink: 0; }
.block h3 { font-size: 18px; margin: 22px 0 10px; }
.block p { color: var(--text-soft); margin-bottom: 14px; font-size: 15.5px; }
.block ul { list-style: none; padding-left: 0; }
.block li { color: var(--text-soft); padding-left: 22px; position: relative; margin-bottom: 11px; font-size: 15.5px; }
.block li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--accent); }
.block li strong { color: var(--text); font-weight: 600; }

.panel { background: var(--bg-soft); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius); padding: 32px 30px; position: sticky; top: 92px; }
.panel h2 { font-size: 19px; text-transform: none; letter-spacing: -.01em; color: var(--text); margin-bottom: 22px; font-weight: 700; }
.panel h2::before { display: none; }
.panel .run { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.panel .run:last-of-type { margin-bottom: 28px; }
.run-title { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.run ul { list-style: none; padding-left: 0; }
.run li { color: var(--text-soft); font-size: 15px; padding-left: 20px; position: relative; margin-bottom: 10px; }
.run li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 2px; background: var(--accent); }
.run li strong { color: var(--text); font-weight: 600; }
.panel .btn { width: 100%; }
@media (max-width: 940px) { .panel { position: static; } }

.atelier-next { background: var(--bg-soft); padding: 68px 0; border-top: 1px solid var(--border); }
.next-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.next-card {
  background: #fff; border: 1px solid var(--border); border-top: 3px solid var(--card-accent, #1f3660);
  border-radius: var(--radius); padding: 22px; transition: box-shadow .18s;
}
.next-card:hover { box-shadow: 0 6px 22px -12px rgba(14,27,51,.45); }
.next-card span { display: none; }
.next-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.next-card p { font-size: 14px; color: var(--muted); }

.cta-strip { background: var(--navy-2); color: #fff; padding: 64px 0; }
.cta-strip h2 { color: #fff; margin-bottom: 14px; }
.cta-strip p { color: rgba(255,255,255,.74); max-width: 62ch; margin-bottom: 28px; font-size: 17px; }
.cta-strip .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-strip .btn-ghost:hover { border-color: #fff; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── VIDÉO TERRAIN ── */
.video-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 940px) { .video-grid { grid-template-columns: 1fr; gap: 28px; } }

.video-facade {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: var(--navy); cursor: pointer;
  aspect-ratio: 16 / 9; font-family: inherit;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; }
.video-facade:hover img { transform: scale(1.02); opacity: .92; }
.video-facade .play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  background: var(--gold); border: none; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .18s, background .18s;
}
.video-facade:hover .play { transform: scale(1.06); background: var(--gold-2); }
.video-facade .play::after {
  content: ""; width: 0; height: 0; margin-left: 5px;
  border-left: 22px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent;
}
.video-facade .video-meta {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 16px 18px;
  background: linear-gradient(transparent, rgba(14,27,51,.92));
  color: #fff; font-size: 13.5px; display: flex; justify-content: space-between; gap: 14px;
  text-align: left;
}
.video-facade .video-meta strong { font-weight: 600; }
.video-facade iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-side .video-item { padding: 20px 0; border-top: 1px solid var(--border); }
.video-side .video-item:first-child { padding-top: 0; border-top: none; }
.video-side h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.video-side h3::before { content: ""; width: 14px; height: 2px; background: var(--gold); flex-shrink: 0; }
.video-side p { color: var(--text-soft); font-size: 15.5px; margin-bottom: 12px; }
.video-side p:last-of-type { margin-bottom: 0; }
.video-side .btn { margin-top: 22px; }

/* ── FICHE : bloc citable et tableau d'informations ── */
.fiche-resume {
  margin-top: 26px; padding: 22px 24px; background: rgba(255,255,255,.07);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
}
.fiche-resume p { color: rgba(255,255,255,.88); font-size: 16px; line-height: 1.65; margin: 0; max-width: 78ch; }

.fiche-infos { width: 100%; border-collapse: collapse; margin-top: 22px; border: 1px solid rgba(255,255,255,.18); }
.fiche-infos th, .fiche-infos td { text-align: left; padding: 11px 18px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.fiche-infos tr:last-child th, .fiche-infos tr:last-child td { border-bottom: none; }
.fiche-infos th { width: 190px; color: rgba(255,255,255,.58); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.fiche-infos td { color: #fff; }
@media (max-width: 620px) {
  .fiche-infos th, .fiche-infos td { display: block; padding: 8px 16px; width: auto; }
  .fiche-infos th { padding-bottom: 2px; border-bottom: none; }
}

.fiche-auteur {
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted);
}
.fiche-auteur p { margin-bottom: 5px; font-size: 13.5px; }
.fiche-auteur strong { color: var(--text); }

/* ── ZONE D'INTERVENTION ── */
.zone-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zone-bloc {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px 26px; position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.zone-bloc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.zone-bloc:hover { transform: translateY(-3px); border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); }
.zone-bloc:hover::before { transform: scaleX(1); }
.zone-bloc h3 { font-size: 18px; margin-bottom: 12px; }
.zone-bloc h3::after { content: ""; display: block; width: 30px; height: 3px; background: var(--gold); margin-top: 11px; transition: width .3s ease; }
.zone-bloc:hover h3::after { width: 54px; }
.zone-bloc p { color: var(--text-soft); font-size: 15.5px; }
@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }
h2.logos-title { font-size: 19px; letter-spacing: -.01em; text-transform: none; color: var(--text); margin-bottom: 6px; font-weight: 700; }

/* ── PAGE DE CONTENU ── */
.contenu h2 { font-size: clamp(22px, 2.4vw, 30px); margin: 46px 0 18px; padding-top: 34px; border-top: 1px solid var(--border); }
.contenu h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.contenu h3 { font-size: 18.5px; margin: 26px 0 10px; }
.contenu p { color: var(--text-soft); font-size: 16.5px; margin-bottom: 16px; line-height: 1.7; }
.contenu ul { list-style: none; padding-left: 0; margin-bottom: 18px; }
.contenu li { color: var(--text-soft); font-size: 16.5px; padding-left: 24px; position: relative; margin-bottom: 11px; line-height: 1.65; }
.contenu li::before { content: ""; position: absolute; left: 0; top: 12px; width: 11px; height: 2px; background: var(--gold); }
.contenu a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(27,79,156,.35); text-underline-offset: 3px; }
.contenu a:hover { text-decoration-color: var(--blue); }
.contenu strong { color: var(--text); font-weight: 600; }

/* ── CALENDRIER ── */
.cal-entree { display: grid; grid-template-columns: 150px 1fr; gap: 0 34px; padding: 30px 0; border-top: 1px solid var(--border); }
.cal-entree:first-of-type { border-top: 2px solid var(--navy); }
.cal-mois { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); padding-top: 4px; }
.cal-mois span { display: block; font-size: 12px; color: var(--muted); font-weight: 500; letter-spacing: .04em; text-transform: none; margin-top: 6px; }
.cal-corps h3 { margin: 0 0 12px; font-size: 19px; }
.cal-corps p { margin-bottom: 12px; font-size: 16px; }
.cal-objectif { background: var(--bg-soft); border-left: 3px solid var(--gold); padding: 12px 16px; font-size: 15.5px !important; margin-bottom: 0 !important; }
@media (max-width: 760px) {
  .cal-entree { grid-template-columns: 1fr; gap: 10px; }
  .cal-mois span { display: inline; margin-left: 8px; }
}


/* les deux barres restent figées : les ancres s'arrêtent dessous */
section[id], header[id] { scroll-margin-top: 118px; }
@media (max-width: 860px) {
  .nav { top: 36px; }
  section[id], header[id] { scroll-margin-top: 104px; }
}

/* ── THÉMATIQUES (page calendrier) ── */
.themes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 8px; }
.theme-bloc {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 24px 22px; position: relative; overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
}
.theme-bloc::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.theme-bloc:hover { transform: translateY(-3px); border-color: var(--navy-3); box-shadow: 0 16px 40px -22px rgba(14,27,51,.6); }
.theme-bloc:hover::before { transform: scaleX(1); }
.theme-bloc h3 { margin: 0 0 10px; font-size: 17.5px; }
.theme-bloc h3::after { content: ""; display: block; width: 30px; height: 3px; background: var(--gold); margin-top: 10px; transition: width .3s ease; }
.theme-bloc:hover h3::after { width: 54px; }
.theme-bloc p { margin: 0; font-size: 15.5px; color: var(--text-soft); }
.contenu .theme-bloc { text-decoration: none; }
@media (max-width: 760px) { .themes-grid { grid-template-columns: 1fr; } }

/* ── BLOC DE TÉLÉCHARGEMENT (lead magnet) ── */
.telecharger {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 34px 36px; margin: 40px 0 8px; position: relative; overflow: hidden;
}
.telecharger::after {
  content: ""; position: absolute; right: -50px; bottom: -80px; width: 210px; height: 210px;
  border: 1px solid rgba(240,180,41,.22); transform: rotate(45deg); pointer-events: none;
}
.telecharger-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.telecharger h2 { color: #fff; font-size: 24px; margin: 0 0 14px; padding: 0; border: none; }
.telecharger p { color: rgba(255,255,255,.76); font-size: 15.5px; margin-bottom: 12px; }
.telecharger ul { list-style: none; padding: 0; margin: 16px 0 0; }
.telecharger li { color: rgba(255,255,255,.76); font-size: 15px; padding-left: 22px; position: relative; margin-bottom: 8px; }
.telecharger li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--gold); }
.form-dl { background: #fff; border-radius: var(--radius); padding: 24px; color: var(--text); }
.form-dl .field { margin-bottom: 12px; }
.form-dl label { display: block; font-size: 11.5px; font-weight: 700; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .06em; }
.form-dl input {
  width: 100%; padding: 11px 13px; border-radius: var(--radius); font-size: 15px;
  border: 1px solid var(--border-2); font-family: inherit; color: var(--text);
}
.form-dl input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27,79,156,.12); }
.form-dl .btn { width: 100%; margin-top: 6px; }
.form-dl .mention { font-size: 11.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.form-dl .erreur { color: #c0392b; font-size: 13.5px; margin-top: 10px; display: none; }
.form-dl .merci { display: none; text-align: center; padding: 14px 0; }
.form-dl .merci h3 { font-size: 18px; margin-bottom: 8px; }
.form-dl .merci p { color: var(--text-soft); font-size: 14.5px; }
@media (max-width: 860px) { .telecharger-inner { grid-template-columns: 1fr; gap: 26px; } .telecharger { padding: 28px 24px; } }
