@font-face { font-family: Inter; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url("../fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #ce502e;
  --orange-text: #b4441f;
  --orange-soft: #e8724f;
  --ink: #232323;
  --muted: #5b5b5b;
  --sand: #f3f1ee;
  --line: #e2ded8;
  --max: 1240px;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); font-size: 16px; line-height: 1.6; background: #fff; }
img { max-width: 100%; }
a { color: var(--orange-text); }
a:hover { color: #8f3517; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.15; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; background: var(--orange); color: #fff; font-family: Poppins, Inter, sans-serif; font-weight: 600; text-decoration: none; border: 0; }
.acf-hole { outline: 1px dashed var(--orange); background: rgba(206, 80, 46, .08); color: var(--orange-text); font-family: ui-monospace, monospace; font-size: 12px; padding: 0 .3em; }

.site-header { background: var(--ink); color: #fff; }
.topbar { background: #1a1a1a; color: #c9c9c9; font-size: 13px; }
.topbar__inner, .navbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; }
.topbar__inner { min-height: 38px; }
.topbar a, .lang button { color: #c9c9c9; background: none; border: 0; font: inherit; cursor: pointer; }
.lang [aria-current="true"] { color: #fff; font-weight: 600; }
.navbar { min-height: 86px; }
.logo img { height: 50px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav__list, .subnav__list, .footer-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.nav a { color: #d6d6d6; text-decoration: none; font-family: Poppins, Inter, sans-serif; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.btn--header { background: var(--orange); color: #fff; padding: 0 20px; margin-left: 8px; }
.burger { display: none; min-height: 44px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); padding: 0 14px; }

.subnav { background: var(--sand); border-bottom: 1px solid var(--line); }
.subnav .wrap, .subnav__list { display: flex; gap: 4px; overflow-x: auto; }
.subnav a { color: var(--muted); text-decoration: none; font-family: Poppins, Inter, sans-serif; font-weight: 600; min-height: 64px; display: inline-flex; align-items: center; padding: 0 16px; border-bottom: 3px solid transparent; white-space: nowrap; }
.subnav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }

.imported { width: 100%; max-width: none; margin: 0; }
.imported img { max-width: none; }

.band { background: var(--ink); color: #fff; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 0; font-size: 14px; color: #c9c9c9; }
.breadcrumb a { color: #c9c9c9; text-decoration: none; }
.fiche-head, .fiche-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 40px 56px; align-items: start; }
.fiche-head { padding: 64px 0; }
.fiche-head img, .fiche-head .acf-hole--image { width: 100%; height: 380px; object-fit: cover; }
.eyebrow { font-family: Poppins, Inter, sans-serif; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-text); font-size: 14px; }
.eyebrow--small { letter-spacing: .1em; color: var(--muted); font-size: 13px; }
.lead { font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: flex; flex-direction: column; padding: 10px 14px; border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); }
.chips span { color: var(--muted); font-size: 13px; }
.sand { background: var(--sand); }
.fiche-body { padding: 72px 0 80px; }
.fiche-text { display: flex; flex-direction: column; gap: 36px; }
.fiche-text h2 { font-size: 22px; text-transform: none; margin: 0 0 10px; }
.panel { background: #fff; border-top: 3px solid var(--orange); padding: 24px 26px; margin-bottom: 20px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.panel li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; background: var(--orange); }
.panel--dark { background: var(--ink); color: #fff; border-top: 0; }
.panel--dark p { color: #dcdcdc; }

.calendar { padding: 48px 0 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 24px; }
.filters button, .formation { border: 1.5px solid #cfc9c1; background: #fff; }
.filters button { min-height: 44px; padding: 0 16px; font-family: Poppins, Inter, sans-serif; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.formation { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 22px; margin-bottom: 12px; }
.code { background: var(--ink); color: #fff; font-family: Poppins, Inter, sans-serif; font-weight: 700; min-width: 64px; text-align: center; padding: 8px; }
.formation h3 { margin: 0; font-size: 19px; }
.theme { margin: 0; color: var(--orange-text); font-size: 13px; font-weight: 600; }
.dates { margin-left: auto; }

.contact-form { padding: 48px 0 80px; }
.contact-form form, .fields { display: grid; gap: 16px; }
.fields { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; border: 1.5px solid #b9b3ab; padding: 10px 12px; font: inherit; }
.choices { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.hp { position: absolute; left: -9999px; }
.notice { background: var(--sand); padding: 28px; }

.site-footer { background: var(--ink); color: #dcdcdc; }
.footer-bar { height: 5px; background: var(--orange); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; padding: 64px 0 24px; }
.footer-title { font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-soft); margin-bottom: 8px; }
.site-footer a { color: #dcdcdc; text-decoration: none; display: block; margin: 6px 0; }
.footer-menu { display: block; }
.footer-menu--inline { display: inline-flex; gap: 0 16px; }
.footer-menu--inline a { display: inline; margin: 0; color: #b5b5b5; }
.footer-contact span, .footer-contact a { display: block; }
.slogan { font-family: Poppins, Inter, sans-serif; font-weight: 600; font-size: 18px; color: #fff; }
.slogan span { color: var(--orange-soft); }
.footer-site { color: #fff; font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 17px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255,255,255,.14); padding: 24px 0 40px; font-size: 13px; color: #b5b5b5; }
.footer-legal a { display: inline; color: #b5b5b5; margin-left: 16px; }

.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__photo { position: absolute; inset: 0 0 0 38%; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #232323 0%, rgba(35,35,35,.72) 18%, rgba(35,35,35,.2) 55%, rgba(35,35,35,0) 100%); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero__inner { position: relative; padding: 88px 0 64px; }
.hero__copy { max-width: 640px; }
.hero__eyebrow { margin: 0 0 16px; font-family: Poppins, Inter, sans-serif; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-soft); font-size: 14px; }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; }
.hero--caps h1 { text-transform: uppercase; line-height: .98; }
.hero__lead { margin: 0; font-size: 19px; color: #dcdcdc; }
.hero__note { margin: 14px 0 0; font-size: 14px; color: #b5b5b5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid #fff; }
.hero__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.hero__stats div { background: rgba(35,35,35,.92); padding: 22px 24px; }
.hero__stats strong { display: block; font-family: Poppins, Inter, sans-serif; font-size: 34px; color: var(--orange); }
.hero__stats span { color: #dcdcdc; font-size: 14px; }
.bloc-chapo { padding: 56px 0 8px; font-size: 18px; }
.section-head { display: flex; align-items: baseline; gap: 16px; }
.section-head h2, .section-head h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; text-transform: uppercase; }
.section-head__num { font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 44px; line-height: 1; color: var(--orange); }
.section-rule { width: 64px; height: 3px; background: var(--orange); margin: 18px 0 14px; }
.cards { padding: 72px 0; }
.cards h2, .vignettes h2 { margin: 0; }
.cards__lead { margin: 0 0 32px; max-width: 820px; font-size: 18px; }
.cards__lead--accent { color: var(--orange-text); font-family: Poppins, Inter, sans-serif; font-weight: 600; font-size: 17px; }
.promises { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; }
.promises div { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px; background: #fff; border-left: 4px solid var(--orange); }
.promises strong { font-family: Poppins, Inter, sans-serif; font-size: 22px; }
.promises span { color: var(--muted); font-size: 14px; }
.cards__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--sand); color: var(--ink); text-decoration: none; }
.cards--filet .card { background: #fff; border: 1px solid var(--line); }
.cards--simple .card { background: #fff; border-top: 3px solid var(--orange); padding: 28px; }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 26px; flex-grow: 1; }
.cards--simple .card__body { padding: 0; }
.card h3 { margin: 0; font-size: 22px; }
.card p { margin: 0; }
.card__kicker, .card__kicker a { margin: 0; color: var(--orange-text); font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 14px; }
.card__more { margin-top: auto; color: var(--orange-text); font-family: Poppins, Inter, sans-serif; font-weight: 600; text-decoration: none; }
.card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.card__list li { padding-left: 16px; position: relative; }
.card__list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; background: var(--orange); }
.card--dark { background: var(--ink); color: #fff; }
.card--dark p { color: #dcdcdc; }
.card--dark .card__kicker, .card--dark .card__more { color: var(--orange-soft); }
.card--encart { justify-content: center; gap: 14px; padding: 28px; background: #fff; border: 1.5px solid var(--ink); }
.card--encart h3 { font-size: 22px; }
.cards__suite { margin: 20px 0 0; }
.cards__suite a { color: var(--orange-text); font-family: Poppins, Inter, sans-serif; font-weight: 600; text-decoration: none; }
.vignettes { background: var(--sand); padding: 64px 0; }
.vignettes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vignettes figure { margin: 0; background: #fff; }
.vignettes img { width: 100%; height: 160px; object-fit: cover; }
.vignettes figcaption { padding: 14px 16px 16px; font-family: Poppins, Inter, sans-serif; font-weight: 600; }
.vignette--row { display: flex; gap: 18px; align-items: center; background: transparent; }
.vignette--row img { width: 130px; height: 130px; flex-shrink: 0; }
.vignette--row figcaption { display: flex; flex-direction: column; gap: 4px; padding: 0; }
.vignette--row a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 4px; }
.vignette--row span { font-family: Inter, sans-serif; font-weight: 400; font-size: 15px; }
.refs { background: var(--sand); padding: 64px 0; }
.refs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.refs article { background: #fff; padding: 28px 30px; display: flex; flex-direction: column; }
.refs h3 { margin: 4px 0 14px; font-size: 21px; }
.refs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.refs li { padding-left: 18px; position: relative; }
.refs li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--orange); }
.refs figure { margin: 20px 0 0; }
.refs img { width: 100%; height: 200px; object-fit: cover; }
.refs figcaption { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pills { background: var(--sand); padding: 72px 0; }
.pills--dark { background: var(--ink); color: #fff; }
.pills--dark h2 { margin: 0; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 30px); }
.pills__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pills h3 { margin: 0 0 16px; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.pills__icons { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 16px; margin-top: 24px; }
.pills__icons span { text-align: center; font-size: 13px; color: #dcdcdc; }
.pills__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pills__list a, .pills__list span { border: 1.5px solid var(--orange); border-radius: 999px; padding: 6px 14px; background: #fff; color: var(--ink); text-decoration: none; }
.pills--dark .pills__list span, .pills--dark .pills__list a { background: transparent; color: #fff; border-color: var(--orange-soft); }
.pills ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pills li { padding-left: 18px; position: relative; }
.pills li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: var(--orange); }
.cta-band { background: var(--sand); }
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 48px 0; }
.cta-band h2 { margin: 0; font-size: 26px; }
.cta-band p { margin: 8px 0 0; }
.cta-band--dark { background: var(--ink); color: #fff; }
.cta-band__link { color: var(--orange-soft); font-family: Poppins, Inter, sans-serif; font-weight: 600; text-decoration: none; }
.media-block { padding: 72px 0; }
.media-block--dark { background: var(--ink); color: #fff; }
.media-block__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.media-block h2 { margin: 0; }
.media-block .btn { margin-top: 20px; }
.media-block__photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.media-block__photos img { width: 100%; height: 280px; object-fit: cover; }
.media-block__box { background: var(--sand); padding: 20px 22px; margin-top: 16px; }
.media-block__box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.media-block__box li { display: flex; gap: 12px; }
.media-block__box strong { width: 72px; flex-shrink: 0; color: var(--orange-text); }
.bloc-texte { padding: 24px 0 48px; }
.bloc-texte h2 { margin: 28px 0 8px; }
.bloc-texte li { margin: 6px 0; }
.steps { padding: 72px 0; }
.steps--sable { background: var(--sand); }
.steps--sombre { background: var(--ink); color: #fff; }
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps article span { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: var(--orange); color: #fff; font-family: Poppins, Inter, sans-serif; font-weight: 700; font-size: 20px; }
.steps h3 { margin: 12px 0 6px; font-size: 18px; }
.demarche { padding: 88px 0; }
.demarche__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; align-items: start; }
.demarche ol { list-style: none; margin: 0; padding: 0; }
.demarche li { display: flex; gap: 16px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.demarche li span { width: 28px; color: var(--orange); font-family: Poppins, Inter, sans-serif; font-weight: 700; }
.demarche__note { margin-top: 28px; background: var(--sand); padding: 22px 24px; }
.demarche img { width: 100%; height: 380px; object-fit: cover; }

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 16px; }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; align-items: flex-start; }
  .fiche-head, .fiche-body, .cards__grid, .vignettes__grid, .refs__grid, .pills__grid, .media-block__grid, .demarche__grid, .hero__stats { grid-template-columns: 1fr; }
  .hero__photo { position: relative; inset: auto; height: 240px; }
}
