/* LL2D Landing · charte La Ligue de Demain : orange #FF8C00, vert #008000, blanc, bleu nuit #1A2B3C, Montserrat */
:root {
	--navy: #1A2B3C;
	--navy-2: #22374B;
	--navy-3: #2A4058;
	--orange: #FF8C00;
	--orange-ink: #B35F00;
	--green: #008000;
	--green-ink: #006B00;
	--white: #FFFFFF;
	--paper: #F3F5F8;
	--ink: #1A2B3C;
	--muted: #56677A;
	--line: #DCE2E9;
	--on-navy: #C9D4DF;
	--font: 'Montserrat', 'Segoe UI', Roboto, Arial, sans-serif;
	--r: 14px;
	--wrap: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.ico { width: 20px; height: 20px; flex: 0 0 auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 800; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 16px/1 var(--font); padding: 17px 24px; border-radius: 10px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--orange { background: var(--orange); color: var(--navy); }
.btn--orange:hover { background: #FF9F2E; }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); }
.btn--sm { padding: 11px 16px; font-size: 14px; }
.btn--block { width: 100%; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 14px; line-height: 1.05; letter-spacing: .02em; text-transform: uppercase; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-weight: 700; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--ink); }
@media (max-width: 900px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Ouverture */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 72px 0 170px; }
.hero__bands { position: absolute; inset: 0; pointer-events: none; }
.hero__bands i { position: absolute; left: -10%; right: -10%; height: 70px; transform: rotate(-6deg); transform-origin: left bottom; }
.hero__bands i:first-child { background: var(--orange); bottom: 6px; }
.hero__bands i:last-child { background: var(--green); bottom: -64px; }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 900; letter-spacing: -.01em; }
.hero__lead { font-size: clamp(17px, 1.7vw, 20px); color: var(--on-navy); margin: 20px 0 30px; max-width: 34em; }
.hero__lead strong { color: var(--white); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__card { background: var(--white); border-radius: 20px; padding: 28px; box-shadow: 0 30px 60px rgba(0,0,0,.28); }
.hero__card img { display: block; width: 100%; height: auto; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 0; }
.hero__facts div { background: var(--paper); border-radius: 10px; padding: 12px 14px; }
.hero__facts dt { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-ink); }
.hero__facts dd { margin: 4px 0 0; font-weight: 800; color: var(--navy); font-size: 15px; }
@media (max-width: 860px) {
	.hero { padding: 48px 0 130px; }
	.hero__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Bande places + compte à rebours */
.strip { background: var(--orange); color: var(--navy); padding: 18px 0; }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.places__label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.places__shields { display: flex; gap: 4px; margin: 6px 0; }
.places__shields span { display: block; color: rgba(26,43,60,.28); }
.places__shields span.is-taken { color: var(--navy); }
.places__shields .ico { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.places__count { font-weight: 900; font-size: 17px; }
.countdown { display: flex; gap: 8px; }
.countdown div { background: var(--white); border-radius: 10px; min-width: 64px; padding: 8px 10px; text-align: center; }
.countdown b { display: block; font-size: 26px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: 11px; font-weight: 700; color: var(--muted); }

/* Chiffres */
.figures { background: var(--white); padding: 44px 0; border-bottom: 1px solid var(--line); }
.figures__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.figures__grid div { border-top: 4px solid var(--orange); padding-top: 14px; }
.figures__grid div:nth-child(2) { border-color: var(--green); }
.figures__grid div:nth-child(3) { border-color: var(--navy); }
.figures__grid b { display: block; font-size: clamp(34px, 4.5vw, 52px); font-weight: 900; line-height: 1; white-space: nowrap; }
.figures__grid span { display: block; margin-top: 6px; font-weight: 700; color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .figures__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }

/* Sections */
.section { padding: 84px 0; }
.section--navy { background: var(--navy); color: var(--white); }
.section--green { background: var(--green); color: var(--white); }
.section--light { background: var(--paper); }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 12px; }
.section--navy .eyebrow { color: var(--orange); }
.eyebrow--light { color: #FFE2BD; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; max-width: 22em; }
.section__lead { margin-top: 14px; font-size: 17px; color: var(--muted); max-width: 44em; }
.section--navy .section__lead { color: var(--on-navy); }
.section--green .section__lead { color: #E3F4E3; }
.section__lead strong { color: inherit; font-weight: 800; }
.note { margin-top: 20px; font-size: 14px; color: var(--on-navy); }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* Programme */
.prog { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prog__row { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; background: var(--navy-2); border-radius: var(--r); padding: 16px 18px; }
.prog__date { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; }
.prog__date b { font-size: 30px; font-weight: 900; line-height: 1; color: var(--orange); }
.prog__date small { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy); margin-top: 4px; }
.prog__what { display: flex; flex-direction: column; min-width: 0; }
.prog__what strong { font-size: 16px; font-weight: 800; }
.prog__what span { font-size: 14px; color: var(--on-navy); }
.prog__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--white); }
.prog__time .ico { width: 15px; height: 15px; color: var(--orange); }
.prog__row.is-recr { background: var(--green); }
.prog__row.is-recr .prog__date b, .prog__row.is-recr .prog__time .ico { color: var(--white); }
.prog__row.is-recr .prog__what span, .prog__row.is-recr .prog__date small { color: #E3F4E3; }
.prog__row.is-final { background: var(--orange); color: var(--navy); }
.prog__row.is-final .prog__date b, .prog__row.is-final .prog__date small, .prog__row.is-final .prog__what span, .prog__row.is-final .prog__time, .prog__row.is-final .prog__time .ico { color: var(--navy); }
@media (max-width: 960px) { .prog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .prog { grid-template-columns: minmax(0, 1fr); } }

/* Les 8 équipes */
.pools { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }
.pool { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.pool h3 { font-size: 18px; font-weight: 900; padding: 14px 20px; color: var(--white); background: var(--navy); letter-spacing: .02em; }
.pool--b h3 { background: var(--green); }
.pool ul { list-style: none; margin: 0; padding: 8px; }
.team { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; }
.team + .team { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.team__badge { width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 15px; background: var(--navy); color: var(--white); overflow: hidden; }
.pool--b .team__badge { background: var(--green); }
.team__badge.has-logo { background: var(--white); border: 1px solid var(--line); }
.team__badge img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.team__name { display: flex; flex-direction: column; font-weight: 800; min-width: 0; }
.team__name small { font-weight: 600; color: var(--muted); font-size: 13px; }
.team--free .team__badge { background: transparent; color: var(--muted); border: 2px dashed #A9B6C3; }
.team--free .team__name { color: var(--muted); }
.team__link { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--orange-ink); text-decoration: none; white-space: nowrap; }
.team__link:hover { text-decoration: underline; }
@media (max-width: 720px) { .pools { grid-template-columns: minmax(0, 1fr); } }

/* Recruteurs */
.recr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perks li { display: flex; gap: 12px; background: rgba(255,255,255,.1); border-radius: var(--r); padding: 18px; }
.perks .ico { width: 26px; height: 26px; color: #FFD39A; }
.perks span { font-size: 14px; color: #E3F4E3; }
.perks strong { display: block; color: var(--white); font-size: 16px; margin-bottom: 2px; }
@media (max-width: 860px) { .recr { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
@media (max-width: 520px) { .perks { grid-template-columns: minmax(0, 1fr); } }

/* Inscription / contact */
.insc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: start; }
.steps { list-style: none; margin: 28px 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { display: flex; gap: 14px; }
.steps b { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--navy); font-weight: 900; }
.steps span { color: var(--muted); font-size: 15px; }
.steps strong { display: block; color: var(--ink); font-size: 16px; }
.facts { display: grid; gap: 10px; margin: 0; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.facts dd { margin: 0; font-weight: 700; }
.card { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: 0 20px 40px rgba(26,43,60,.08); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__grid .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.form input, .form select, .form textarea { width: 100%; font: 600 16px/1.3 var(--font); color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(255,140,0,.2); }
.form textarea { resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--orange); }
.check label { font-weight: 600; font-size: 14px; margin: 0; }
.form .btn { margin-top: 18px; }
.check + .btn { margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 10px; padding: 14px 16px; font-weight: 700; margin-bottom: 18px; }
.alert--ok { background: #E3F4E3; color: var(--green-ink); }
.alert--err { background: #FFF0DD; color: #8A4700; }
.closed { font-weight: 700; color: var(--muted); }
.contact { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-weight: 700; }
.contact li { display: flex; gap: 12px; align-items: center; }
.contact .ico { color: var(--orange); }
@media (max-width: 900px) { .insc { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
@media (max-width: 520px) { .form__grid { grid-template-columns: minmax(0, 1fr); } .card { padding: 20px; } }

/* Partenaires */
.logos { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.logos li { background: var(--white); border: 1px solid var(--line); border-radius: 12px; height: 90px; display: grid; place-items: center; padding: 14px; }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.logos img { max-height: 60px; width: auto; object-fit: contain; }
.logos span { font-weight: 900; font-size: 18px; text-transform: uppercase; color: var(--navy); text-align: center; }
.become { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: var(--r); padding: 26px; }
.become > div { flex: 1 1 380px; min-width: 0; }
.become h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.become p { color: var(--muted); }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.faq__list { display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--paper); border-radius: 12px; padding: 4px 20px; }
.faq__item summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--orange-ink); }
.faq__item[open] summary::after { content: '−'; }
.faq__item p { padding: 0 0 16px; color: var(--muted); }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* Pied de page */
.foot { background: #111D29; color: var(--on-navy); padding-top: 40px; font-size: 14px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-bottom: 32px; }
.foot__brand { display: flex; gap: 14px; align-items: center; flex: 1 1 380px; }
.foot__brand strong { color: var(--white); }
.foot__brand img { background: var(--white); border-radius: 10px; padding: 4px; width: 48px; height: auto; flex: 0 0 auto; }
.foot__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot__social a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--navy-3); color: var(--white); text-decoration: none; font-weight: 700; }
.foot__social a:hover { background: var(--orange); color: var(--navy); }
.foot__site { font-weight: 900; color: var(--orange); font-size: 18px; }
.foot__stripes { display: flex; height: 8px; }
.foot__stripes i { flex: 1; background: var(--orange); }
.foot__stripes i:nth-child(2) { background: var(--white); }
.foot__stripes i:nth-child(3) { background: var(--green); }

/* Bouton flottant (téléphone) */
.fab { display: none; }
@media (max-width: 700px) {
	.fab { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 60; background: var(--orange); color: var(--navy); font-weight: 900; text-decoration: none; padding: 14px 18px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.25); transition: opacity .2s, transform .2s; }
	.fab.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .fab { transition: none; }
}
