:root {
  --green: #022e15;
  --green-2: #0a4a2a;
  --green-3: #dfeae4;
  --yellow: #fcc426;
  --yellow-soft: #fff3c9;
  --ink: #15251d;
  --muted: #657269;
  --paper: #ffffff;
  --off-white: #f5f8f6;
  --border: #d9e2dc;
  --danger: #a93a32;
  --shadow: 0 22px 60px rgba(2, 46, 21, 0.13);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.8rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-dark { color: var(--paper); background: var(--green); }
.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;
}
.skip-link {
  position: fixed; z-index: 999; top: 8px; left: 8px; padding: 10px 14px;
  color: var(--green); background: var(--yellow); border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; z-index: 100; top: 0;
  background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(2,46,21,.08);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; }
.brand img { width: 150px; height: 50px; object-fit: contain; }
.brand span { padding-left: 16px; border-left: 1px solid var(--border); color: var(--green); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--green); font-size: .94rem; font-weight: 700; text-decoration: none; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; padding: 10px; background: none; border: 0; }
.menu-toggle span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--green); }

.button {
  min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; border: 2px solid transparent; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .chip:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .dialog-close:focus-visible {
  outline: 3px solid var(--yellow); outline-offset: 3px;
}
.button-small { min-height: 42px; padding: 0 18px; color: var(--paper); background: var(--green); font-size: .9rem; }
.button-yellow { color: var(--green); background: var(--yellow); }
.button-yellow:hover { background: #ffd357; }
.button-dark { color: var(--paper); background: var(--green); }
.button-dark:hover { background: var(--green-2); }
.button-ghost { color: var(--paper); border-color: rgba(255,255,255,.4); }
.button-ghost:hover { border-color: var(--paper); }
.button-secondary { color: var(--green); background: var(--green-3); }

.eyebrow { margin-bottom: 14px; color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: var(--green); }
.hero { position: relative; overflow: hidden; padding: 112px 0 100px; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; right: -280px; top: -280px;
  border: 2px solid rgba(252,196,38,.35); border-radius: 42% 58% 64% 36%; transform: rotate(20deg);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 6px;
  background: linear-gradient(90deg, var(--yellow) 0 34%, transparent 34% 38%, var(--yellow) 38% 62%, transparent 62%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.45fr .7fr; gap: 78px; align-items: center; }
.hero h1 span { color: var(--yellow); }
.hero-lead { max-width: 740px; margin-bottom: 32px; color: rgba(255,255,255,.78); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 22px; margin: 36px 0 0; padding: 0; list-style: none; color: rgba(255,255,255,.78); font-size: .9rem; }
.trust-list span { color: var(--yellow); font-weight: 900; }
.quality-card { position: relative; overflow: hidden; padding: 34px; color: var(--ink); background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 28px 80px rgba(0,0,0,.2); }
.quality-logo { width: 100%; height: auto; display: block; margin: 0 0 24px; }
.quality-card h2 { position: relative; font-size: 2rem; }
.quality-card > p:not(.eyebrow) { color: var(--muted); }
.quality-card small { display: block; margin-top: 18px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.stats div { display: grid; gap: 2px; }
.stats strong { color: var(--green); font-size: 1.55rem; line-height: 1; }
.stats span { color: var(--muted); font-size: .72rem; }

.offer-section { background: var(--off-white); }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: end; margin-bottom: 46px; }
.section-heading h2 { margin-bottom: 0; color: var(--green); }
.section-heading > p { max-width: 520px; margin-bottom: 5px; color: var(--muted); font-size: 1.05rem; }
.section-heading.light h2, .section-heading.light > p { color: var(--paper); }
.section-heading.light > p { color: rgba(255,255,255,.7); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { padding: 9px 16px; color: var(--green); background: transparent; border: 1px solid #b8c8be; border-radius: 999px; font-weight: 700; }
.chip:hover, .chip.is-active { color: var(--paper); background: var(--green); border-color: var(--green); }
.training-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.training-card { display: flex; flex-direction: column; min-height: 470px; padding: 28px; background: var(--paper); border: 1px solid var(--border); border-radius: var(--radius-md); transition: transform .25s ease, box-shadow .25s ease; }
.training-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.training-card[hidden] { display: none; }
.card-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 26px; color: var(--green); background: var(--yellow); border-radius: 12px; font-size: 1.4rem; font-weight: 900; }
.training-visual { width:100%; height:150px; margin-bottom:22px; overflow:hidden; background:#edf3ef; border-radius:12px; }
.training-visual img { width:100%; height:100%; display:block; object-fit:cover; }
.training-actions { display:grid; gap:7px; margin-top:auto; padding-top:8px; }
.card-kicker { margin-bottom: 8px; color: var(--green-2); font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.training-card h3 { min-height: 50px; margin-bottom: 14px; color: var(--green); }
.training-card p:not(.card-kicker) { color: var(--muted); font-size: .93rem; }
.training-card ul { margin: 6px 0 20px; padding-left: 20px; color: var(--ink); font-size: .88rem; }
.training-card .audience-note { padding: 8px 10px; color: var(--green); background: var(--yellow-soft); border-radius: 8px; font-size: .78rem; font-weight: 700; }
.text-link { margin-top: auto; padding: 8px 0 0; color: var(--green); background: none; border: 0; text-align: left; font-weight: 800; }
.text-link span { color: #d69f00; }
.training-card .text-link + .text-link { margin-top: 4px; }
.program-link { color: #725500; font-size: .86rem; text-decoration: none; }
.button:disabled { cursor: not-allowed; opacity: .6; transform: none; }
.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; color: var(--paper); background: var(--green); border-radius: var(--radius-md); }
.service-strip > div { position: relative; padding: 30px; }
.service-strip > div + div { border-left: 1px solid rgba(255,255,255,.16); }
.service-number { display: inline-block; margin-bottom: 26px; color: var(--yellow); font-size: .78rem; font-weight: 900; }
.service-strip h3 { margin-bottom: 8px; }
.service-strip p { margin-bottom: 0; color: rgba(255,255,255,.65); font-size: .9rem; }

.schedule-section { color: var(--paper); background: var(--green); }
.calendar-shell { overflow: hidden; color: var(--ink); background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,.2); }
.calendar-toolbar { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 20px; padding: 24px; background: var(--off-white); border-bottom: 1px solid var(--border); }
.calendar-toolbar label { display: grid; gap: 5px; color: var(--muted); font-size: .76rem; font-weight: 800; }
.calendar-toolbar select { width: 100%; height: 46px; padding: 0 38px 0 14px; color: var(--green); background: var(--paper); border: 1px solid var(--border); border-radius: 10px; font-weight: 700; }
.year-control { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 4px; }
.year-control button { width: 42px; height: 42px; color: var(--green); background: var(--paper); border: 1px solid var(--border); border-radius: 50%; font-size: 1.25rem; }
.year-control strong { color: var(--green); font-size: 1.5rem; }
.session-list { min-height: 300px; display: grid; gap: 0; }
.session-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.session-date { display: flex; align-items: center; gap: 14px; }
.date-day { color: var(--green); font-size: 2.45rem; font-weight: 900; line-height: 1; }
.date-meta { display: grid; color: var(--muted); font-size: .75rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.session-info h3 { margin-bottom: 6px; color: var(--green); font-size: 1.2rem; letter-spacing: -.01em; }
.session-info p { margin-bottom: 0; color: var(--muted); font-size: .86rem; }
.session-tags { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.tag { padding: 4px 8px; color: var(--green); background: var(--green-3); border-radius: 6px; font-size: .69rem; font-weight: 800; text-transform: uppercase; }
.session-action { min-height: 42px; padding: 0 16px; color: var(--green); background: transparent; border: 1px solid var(--green); border-radius: 999px; font-weight: 800; }
.session-action:hover { color: var(--paper); background: var(--green); }
.empty-state { min-height: 300px; display: grid; place-items: center; padding: 50px; text-align: center; }
.empty-state div { max-width: 520px; }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--green); font-size: 1.3rem; }
.empty-state p { color: var(--muted); }
.calendar-help { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 24px 28px; background: var(--yellow-soft); }
.calendar-help strong { color: var(--green); }
.calendar-help p { margin: 2px 0 0; color: var(--muted); font-size: .9rem; }
.contact-band { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; margin-top: 60px; padding: 42px; color: var(--ink); background: var(--yellow); border-radius: var(--radius-lg); }
.contact-band h2 { max-width: 650px; margin-bottom: 0; color: var(--green); font-size: clamp(1.8rem, 4vw, 3rem); }
.contact-actions { display: grid; justify-items: start; gap: 8px; }
.contact-actions > a { color: var(--green); font-weight: 800; text-decoration: none; }
.contact-actions .button { margin-top: 10px; }

.coverage-section { overflow: hidden; background: var(--off-white); }
.coverage-layout { display: grid; grid-template-columns: minmax(330px, .85fr) 1.15fr; gap: clamp(35px, 6vw, 80px); align-items: center; }
.france-map { margin: 0; }
.map-canvas { position: relative; width: min(100%, 520px); margin-inline: auto; aspect-ratio: 507 / 520; }
.map-canvas > img { width: 100%; height: 100%; display: block; object-fit: contain; opacity: .14; filter: sepia(1) hue-rotate(80deg) saturate(3); }
.map-point { position: absolute; width: 18px; height: 18px; display: block; color: var(--green); background: var(--yellow); border: 4px solid var(--green); border-radius: 50%; box-shadow: 0 0 0 6px rgba(252,196,38,.22); text-decoration: none; transform: translate(-50%,-50%); }
.map-point::after { content: ""; position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; border: 1px solid rgba(2,46,21,.24); border-radius: 50%; transform: translate(-50%,-50%); }
.map-point span { position: absolute; left: 18px; top: -9px; padding: 4px 7px; white-space: nowrap; color: var(--paper); background: var(--green); border-radius: 6px; font-size: .72rem; font-weight: 800; }
.map-point:focus-visible { outline: 4px solid var(--yellow); outline-offset: 7px; }
.point-sens { left: 55%; top: 29%; }
.point-auxerre { left: 57%; top: 34%; }
.point-avallon { left: 59%; top: 38%; }
.point-nevers { left: 54%; top: 43%; }
.point-dijon { left: 66%; top: 39%; }
.point-besancon { left: 73%; top: 39%; }
.france-map figcaption { max-width: 470px; margin: 14px auto 0; color: var(--muted); font-size: .72rem; text-align: center; }
.coverage-label { margin: 0 0 12px; color: var(--green); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 30px; }
.hub-grid a { display: grid; gap: 2px; padding: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--border); border-radius: 13px; text-decoration: none; transition: transform .15s ease, border-color .15s ease; }
.hub-grid a:hover { border-color: var(--green); transform: translateY(-2px); }
.hub-grid strong { color: var(--green); }
.hub-grid span { color: var(--muted); font-size: .82rem; }
.city-links { display: flex; flex-wrap: wrap; gap: 8px; }
.city-links a { padding: 8px 12px; color: var(--green); background: var(--paper); border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; font-weight: 800; text-decoration: none; }
.city-links a:hover { border-color: var(--green); }
.coverage-note { margin: 25px 0 0; padding-left: 16px; color: var(--muted); border-left: 3px solid var(--yellow); font-size: .86rem; }

.site-footer { padding: 34px 0; background: #011d0d; color: rgba(255,255,255,.6); }
.news-home{background:#f3f6f4}.news-home-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.news-home-grid article{padding:24px;background:#fff;border:1px solid #d8e1db;border-radius:16px}.news-home-grid h3{color:#022e15;font-size:1.35rem}.news-home-grid p{color:#526159}@media(max-width:800px){.news-home-grid{grid-template-columns:1fr}}
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.footer-inner img { width: 120px; padding: 6px; background: var(--paper); border-radius: 7px; }
.footer-inner p { margin: 0; font-size: .82rem; }
.footer-inner a { color: var(--yellow); text-underline-offset: 3px; }

.dialog-shell { width: min(760px, calc(100% - 28px)); max-height: calc(100dvh - 32px); padding: 0; background: transparent; border: 0; }
.dialog-shell::backdrop { background: rgba(0, 18, 8, .78); backdrop-filter: blur(5px); }
.dialog-card { position: relative; max-height: calc(100dvh - 32px); overflow: auto; padding: 38px; background: var(--paper); border-radius: 24px; box-shadow: var(--shadow); }
.dialog-close { position: absolute; z-index: 3; right: 18px; top: 16px; width: 38px; height: 38px; color: var(--green); background: var(--off-white); border: 0; border-radius: 50%; font-size: 1.5rem; line-height: 1; }
.dialog-card h2 { padding-right: 36px; color: var(--green); font-size: 2.2rem; }
.dialog-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.dialog-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 26px 0; }
.dialog-detail-grid div { padding: 15px; background: var(--off-white); border-radius: 12px; }
.dialog-detail-grid small { display: block; color: var(--muted); }
.dialog-detail-grid strong { color: var(--green); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.progress { height: 5px; margin: -38px -38px 34px; overflow: hidden; background: var(--green-3); border-radius: 24px 24px 0 0; }
.progress span { display: block; width: 33.333%; height: 100%; background: var(--yellow); transition: width .25s ease; }
.form-intro { color: var(--muted); }
.form-step { display: none; }
.form-step.is-active { display: block; }
fieldset { margin: 24px 0 0; padding: 0; border: 0; }
legend { margin-bottom: 18px; color: var(--green); font-size: 1.1rem; font-weight: 800; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 84px; display: grid; align-content: center; gap: 3px; padding: 15px; background: var(--off-white); border: 2px solid transparent; border-radius: 12px; transition: border-color .15s ease, background .15s ease; }
.choice input:checked + span { background: var(--yellow-soft); border-color: var(--yellow); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.choice strong { color: var(--green); }
.choice small { color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.request-form label:not(.choice) { display: grid; gap: 6px; margin-top: 14px; color: var(--green); font-size: .82rem; font-weight: 800; }
.request-form input:not([type="radio"]), .request-form select, .request-form textarea {
  width: 100%; padding: 12px 13px; color: var(--ink); background: var(--paper); border: 1px solid #b9c7be; border-radius: 10px; font-weight: 400;
}
.request-form textarea { resize: vertical; }
.request-form .consent { display:flex!important; align-items:flex-start; gap:9px; padding:12px; background:#f3f6f4; border-radius:9px; font-weight:600!important; }
.request-form .consent input { width:auto; margin-top:3px; }
.request-summary { display: grid; gap: 10px; padding: 20px; background: var(--off-white); border-radius: 14px; }
.summary-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; }
.summary-row span { color: var(--muted); }
.summary-row strong { color: var(--green); overflow-wrap: anywhere; }
.privacy-note { margin: 16px 0 0; color: var(--muted); font-size: .79rem; }
.form-error { min-height: 24px; margin: 12px 0 0; color: var(--danger); font-size: .85rem; font-weight: 700; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
.toast { position: fixed; z-index: 500; left: 50%; bottom: 24px; padding: 12px 18px; color: var(--paper); background: var(--green); border-radius: 999px; box-shadow: var(--shadow); transform: translate(-50%, 140%); transition: transform .25s ease; }
.toast.is-visible { transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .brand span { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .quality-card { max-width: 680px; }
  .training-grid { grid-template-columns: repeat(2, 1fr); }
  .calendar-toolbar { grid-template-columns: 1fr 1fr; }
  .year-control { grid-column: 1 / -1; }
  .contact-band { grid-template-columns: 1fr; }
  .coverage-layout { grid-template-columns: 1fr; }
  .map-canvas { width: min(100%, 440px); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 76px 0; }
  .site-header { backdrop-filter: none; }
  .header-inner { min-height: 70px; }
  .brand img { width: 122px; height: 42px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 70px; display: none; align-items: stretch;
    padding: 18px 20px 24px; background: var(--paper); border-top: 1px solid var(--border); box-shadow: 0 22px 40px rgba(2,46,21,.12);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 8px 0; }
  .hero { padding: 76px 0 74px; }
  .hero-actions { display: grid; }
  .trust-list { display: grid; gap: 9px; }
  .quality-card { padding: 27px; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .stats div { grid-template-columns: 80px 1fr; align-items: baseline; }
  .section-heading { grid-template-columns: 1fr; gap: 14px; margin-bottom: 32px; }
  .training-grid, .service-strip { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .map-point span { font-size: .65rem; }
  .training-card { min-height: 0; }
  .service-strip > div + div { border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .calendar-toolbar { grid-template-columns: 1fr; }
  .year-control { grid-column: auto; }
  .session-row { grid-template-columns: 1fr; gap: 14px; padding: 22px; }
  .session-action { width: 100%; }
  .calendar-help { align-items: stretch; flex-direction: column; }
  .contact-band { margin-top: 40px; padding: 28px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .dialog-card { padding: 26px 20px; border-radius: 18px; }
  .progress { margin: -26px -20px 28px; }
  .choice-grid, .field-row, .dialog-detail-grid { grid-template-columns: 1fr; }
  .choice span { min-height: 72px; }
  .summary-row { grid-template-columns: 1fr; gap: 2px; }
  .form-actions { display: grid; grid-template-columns: 1fr; }
  .form-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
