/* Africa Sport and Education — « Le ballon ouvre la porte, le cahier ouvre l'avenir »
   Mise en page : photographie documentaire chaude en grand, fond clair, bandes de terre rouge,
   le dégradé vert → turquoise du logo réservé aux éléments d'action. Un seul thème, clair. */
:root {
  --paper: #ffffff;          /* fond principal */
  --mist: #eef5f2;           /* sections alternées, vert très pâle tiré du logo */
  --ink: #13241f;            /* texte, vert-noir */
  --mute: #4f625b;
  --line: #d5e2dc;
  --green: #12d320;          /* début du dégradé du logo */
  --teal: #00a0c6;           /* fin du dégradé du logo */
  --green-text: #0b7a33;     /* vert lisible en texte */
  --teal-text: #006f8c;
  --laterite: #a8401c;       /* terre rouge */
  --laterite-deep: #7d2c12;
  --grad: linear-gradient(100deg, var(--green), var(--teal));
  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --max: 1220px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.075rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 1rem; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.9rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.4rem; letter-spacing: -.01em; }
p { margin: 0; }
.lede { font-size: clamp(1.12rem, 1.5vw, 1.3rem); color: var(--mute); max-width: 36em; }
.label { font: 600 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-text); display: inline-flex; align-items: center; gap: .55rem; }
.label::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--grad); }
.stack { display: grid; gap: 1.4rem; align-content: start; }
.mute { color: var(--mute); }
.ia { font: 500 .72rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; }

.btn { display: inline-flex; align-items: center; gap: .6em; font: 700 1.02rem/1 var(--f-body); padding: 1rem 1.5rem; border-radius: 99px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn-give { background: var(--grad); color: var(--ink); box-shadow: 0 6px 20px -8px rgba(0, 160, 198, .7); }
.btn-give:hover { transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(0, 160, 198, .8); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn[aria-disabled="true"] { opacity: .6; cursor: not-allowed; }

/* En-tête */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.is-scrolled, body.nav-open .site-header, body.solid-header .site-header { background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand .logo-c { display: none; }
.site-header.is-scrolled .logo-w, body.nav-open .logo-w, body.solid-header .logo-w { display: none; }
.site-header.is-scrolled .logo-c, body.nav-open .logo-c, body.solid-header .logo-c { display: block; }
.brand span { font: 700 1.05rem/1.05 var(--f-display); letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 600; font-size: .98rem; }
.site-nav a:not(.btn) { text-decoration: none; opacity: .85; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { opacity: 1; border-bottom-color: var(--green); }
.btn-nav { background: var(--grad); color: var(--ink); padding: .75rem 1.2rem; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; cursor: pointer; color: inherit; }
.nav-toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle span:nth-child(1) { top: 17px; } .nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav { position: fixed; inset: calc(80px + env(safe-area-inset-top, 0px)) 0 auto; background: #fff; color: var(--ink); flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem max(20px, env(safe-area-inset-right, 0px)) 2rem max(20px, env(safe-area-inset-left, 0px)); display: none; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { font: 700 1.6rem/1.1 var(--f-display); padding: .55rem 0; }
  .btn-nav { margin-top: 1rem; }
}

/* Héros */
.hero { position: relative; min-height: min(92vh, 860px); display: grid; align-items: end; overflow: hidden; isolation: isolate; color: #fff; }
.hero-video, .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(36, 14, 6, .86) 0%, rgba(36, 14, 6, .35) 45%, rgba(36, 14, 6, .05) 70%), linear-gradient(90deg, rgba(36, 14, 6, .55), rgba(36, 14, 6, 0) 60%); }
.hero-inner { padding-top: 150px; padding-bottom: 5rem; display: grid; gap: 1.4rem; justify-items: start; }
.hero-inner > * { max-width: 820px; }
.hero .lede { color: rgba(255, 255, 255, .88); }
.hero .label { color: #9ff2b0; }
.hero-sub { min-height: 68vh; }
.hero .ia { position: absolute; right: max(20px, env(safe-area-inset-right, 0px)); bottom: 1rem; color: rgba(255, 255, 255, .65); }

.section { padding-block: 6rem; }
.mist { background: var(--mist); }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: 3.2rem; }
.head > * { min-width: 0; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; } }

/* Manifeste + chiffres */
.manifesto { font: 600 clamp(1.6rem, 3vw, 2.5rem)/1.25 var(--f-display); letter-spacing: -.015em; max-width: 30em; }
.manifesto em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.impact { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 3.5rem; }
@media (max-width: 820px) { .impact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.impact div { padding: 1.4rem; border-radius: var(--r); background: var(--mist); display: grid; gap: .3rem; }
.impact b { font: 800 clamp(2.4rem, 4.5vw, 3.6rem)/1 var(--f-display); color: var(--laterite); font-variant-numeric: tabular-nums; }
.impact span { color: var(--mute); font-size: .98rem; }

/* Programmes */
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1020px) { .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .programs { grid-template-columns: 1fr; } }
.program { text-decoration: none; display: grid; gap: .9rem; align-content: start; }
.program .ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.program .ph img, .program .ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform .8s; }
.program .ph video { opacity: 0; }
.program.is-playing .ph video { opacity: 1; }
.program:hover .ph img { transform: scale(1.04); }
.program .ph .ia { position: absolute; left: .8rem; bottom: .7rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.program .ph::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--grad); z-index: 2; transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.program:hover .ph::before, .program.is-playing .ph::before { transform: scaleX(1); }
.program h3 { font-size: 1.45rem; }
.program p { color: var(--mute); font-size: 1rem; }
.program .more { font-weight: 700; color: var(--teal-text); }

/* Avant / après */
.compare { position: relative; aspect-ratio: 2304 / 1792; border-radius: var(--r); overflow: hidden; --pos: 50%; user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.compare .bar::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.2rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .tag { position: absolute; top: 1rem; font: 700 .8rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: .5rem .75rem; border-radius: 99px; background: rgba(19, 36, 31, .75); color: #fff; }
.compare .tag.l { left: 1rem; } .compare .tag.r { right: 1rem; background: rgba(255, 255, 255, .9); color: var(--ink); }
.compare-note { margin-top: .8rem; font-size: .92rem; color: var(--mute); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; align-items: center; }
.split.rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } .split.rev > :first-child { order: 0; } }
.photo { position: relative; border-radius: var(--r); overflow: hidden; margin: 0; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.photo.wide { aspect-ratio: 4 / 3; } .photo.tall { aspect-ratio: 4 / 5; } .photo.reel { aspect-ratio: 9 / 16; }
.photo figcaption { position: absolute; left: .9rem; bottom: .8rem; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.duo { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 14px; align-items: end; }

/* Paliers de dons */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem; display: grid; gap: .8rem; align-content: start; background: #fff; position: relative; }
.tier.star { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.tier .amt { font: 800 3.4rem/1 var(--f-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.tier .amt small { font-size: 1.1rem; font-weight: 600; color: var(--mute); letter-spacing: 0; }
.tier p { color: var(--mute); }
.tier .pill { position: absolute; top: -12px; left: 1.5rem; background: var(--ink); color: #fff; font: 700 .75rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 99px; }

/* Bande latérite */
.earth { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.earth > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.earth::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(90, 30, 10, .82), rgba(90, 30, 10, .45)); }
.earth .wrap { padding-block: 6rem; display: grid; gap: 1.5rem; }
.earth blockquote { margin: 0; font: 700 clamp(2rem, 4.6vw, 3.8rem)/1.08 var(--f-display); letter-spacing: -.02em; max-width: 18em; }
.earth p { color: rgba(255, 255, 255, .85); max-width: 40em; }

/* Actualités (vraies photos uniquement) */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }
.news-card { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; display: grid; background: #fff; }
.news-card .slot { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--mute); font-size: .9rem; background: repeating-linear-gradient(-45deg, var(--mist) 0 12px, #e4efea 12px 13px); }
.news-card .slot b { display: block; font: 700 1rem/1.3 var(--f-display); color: var(--ink); margin-bottom: .2rem; }
.news-card .body { padding: 1.3rem; display: grid; gap: .5rem; }
.news-card time { font: 600 .8rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--laterite); }
.news-card p { color: var(--mute); font-size: .98rem; }

/* Partenaires */
.partners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 820px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.partner { aspect-ratio: 3 / 2; border-radius: var(--r); border: 1px dashed #b7cbc2; display: grid; place-items: center; text-align: center; padding: 1rem; color: var(--mute); font-weight: 600; font-size: .95rem; background: rgba(255, 255, 255, .7); }
.partner.real { border-style: solid; background: #fff; }
.partner.real img { max-height: 48px; width: auto; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .offers { grid-template-columns: 1fr; } }
.offer { background: #fff; border-radius: var(--r); padding: 1.8rem; display: grid; gap: .8rem; align-content: start; border: 1px solid var(--line); }
.offer .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font: 800 1.2rem/1 var(--f-display); color: var(--ink); }
.offer p, .offer li { color: var(--mute); }
.offer ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .3rem; }

/* Étapes de la mission (séquence réelle) */
.path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } }
.path > div { padding: 0 1.4rem 0 0; display: grid; gap: .6rem; align-content: start; }
.path .dot { width: 46px; height: 46px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font: 800 1.15rem/1 var(--f-display); color: var(--ink); position: relative; }
.path > div:not(:last-child) .dot::after { content: ""; position: absolute; left: 100%; top: 50%; width: 400px; max-width: calc(25vw - 40px); height: 2px; background: var(--line); }
@media (max-width: 900px) { .path > div .dot::after { display: none; } }
.path p { color: var(--mute); }

/* Liste */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.ticks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: .7rem; }
.ticks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .8rem; margin-top: .15rem; }
.ticks b { display: block; }
.ticks span { color: var(--mute); }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .rules { grid-template-columns: 1fr; } }
.rule { border-left: 4px solid var(--laterite); padding: .3rem 0 .3rem 1.1rem; display: grid; gap: .4rem; }
.rule p { color: var(--mute); }

/* Don */
.don { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
@media (max-width: 900px) { .don { grid-template-columns: 1fr; } }
.don-box { border-radius: 20px; padding: 2rem; background: #fff; box-shadow: 0 30px 60px -30px rgba(19, 36, 31, .35); border: 1px solid var(--line); display: grid; gap: 1.4rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--mist); border-radius: 99px; padding: 4px; }
.seg label, .amounts label { position: relative; cursor: pointer; }
.seg input, .amounts input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: .75rem; border-radius: 99px; font-weight: 700; }
.seg input:checked + span { background: #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.seg input:focus-visible + span, .amounts input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
@media (max-width: 420px) { .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.amounts span { display: block; text-align: center; padding: 1rem .5rem; border-radius: 12px; border: 2px solid var(--line); font: 800 1.35rem/1 var(--f-display); font-variant-numeric: tabular-nums; }
.amounts input:checked + span { border-color: var(--teal); background: #e6f7fb; }
.impact-line { min-height: 3.2em; padding: 1rem 1.1rem; border-radius: 12px; background: var(--mist); font-weight: 600; }
.small { font-size: .88rem; color: var(--mute); }

/* Formulaire */
form.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; }
@media (max-width: 560px) { form.form { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: .85rem .95rem; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0, 160, 198, .15); }
.form-ok { border-radius: var(--r); background: var(--mist); padding: 2rem; display: grid; gap: .6rem; }
.legal h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal p { color: var(--mute); margin-top: .7rem; max-width: 62em; }

/* Appel aux dons final */
.give { background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.give > video, .give > img { position: absolute; right: 0; top: 0; height: 100%; width: 45%; object-fit: cover; z-index: -2; }
.give::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ink) 52%, rgba(19, 36, 31, .3)); }
@media (max-width: 820px) { .give > video, .give > img { width: 100%; opacity: .35; } .give::after { background: rgba(19, 36, 31, .7); } }
.give .wrap { padding-block: 6rem; display: grid; gap: 1.5rem; justify-items: start; }
.give .wrap > * { max-width: 640px; }
.give .lede { color: rgba(255, 255, 255, .8); }
.give .label { color: #9ff2b0; }

/* Pied de page */
.site-footer { background: #0f1d19; color: #e8efec; padding-block: 0 1.5rem; }
.site-footer::before { content: ""; display: block; height: 6px; background: var(--grad); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-top: 4rem; }
@media (max-width: 820px) { .fgrid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .fgrid > :first-child { grid-column: 1 / -1; } }
.site-footer h4 { font: 700 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #9ff2b0; margin: 0 0 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #9ff2b0; }
.site-footer .mute { color: #a9bbb4; }
.fbottom { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid #23362f; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: #a9bbb4; font-size: .85rem; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { opacity: .3; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
.site-footer li, .site-footer p { overflow-wrap: anywhere; }
.news-card { grid-template-rows: auto 1fr; align-content: start; }
[hidden] { display: none !important; }
@media (min-width: 1021px) { .programs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rgpd { grid-column: 1 / -1; font-size: .85rem; color: var(--mute); max-width: 62em; }
.rgpd a { color: var(--teal-text); }
.legal ul { color: var(--mute); padding-left: 1.2rem; display: grid; gap: .4rem; margin-top: .7rem; }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
.legal table { border-collapse: collapse; min-width: 720px; width: 100%; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .8rem; border-bottom: 1px solid var(--line); }
.legal th { font: 700 .78rem/1.2 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--green-text); }
.legal td { color: var(--mute); }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
/* Réseaux du groupe COM1BRANDS */
.socials { margin-top: 2.5rem; display: grid; gap: .9rem; }
.socials-title { font: 700 .82rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #9ff2b0; }
.socials ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 700px) { .socials ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.socials a { display: grid; gap: .2rem; padding: .9rem 1rem; border: 1px solid #23362f; border-radius: 12px; text-decoration: none; opacity: 1; }
.socials a:hover { border-color: #9ff2b0; }
.socials b { font: 800 1.4rem/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.socials span { color: #a9bbb4; font-size: .88rem; }
.socials-note { font-size: .82rem; color: #a9bbb4; max-width: 60em; }
.split a[href*="instagram"], .split a[href*="tiktok"], .split a[href*="youtube"], .split a[href*="linkedin"] { color: var(--teal-text); font-weight: 600; }
/* Bandeau cookies */
.cookie-banner { position: fixed; z-index: 90; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); max-width: 620px; margin-left: auto; background: #fff; color: var(--ink); border-radius: 16px; padding: 1.2rem; display: grid; gap: 1rem; box-shadow: 0 24px 60px -20px rgba(19, 36, 31, .45); border: 1px solid var(--line); font-size: .93rem; }
.cookie-banner b { display: block; margin-bottom: .3rem; }
.cookie-banner a { color: var(--teal-text); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.cookie-actions button { font: 700 1rem/1 var(--f-body); padding: .85rem; border-radius: 99px; cursor: pointer; border: 2px solid var(--ink); background: #fff; color: var(--ink); }
.cookie-actions button[data-c="yes"] { background: var(--ink); color: #fff; }
.fbottom a { color: inherit; }
.form-ok .mail-to { font-size: .9rem; color: var(--mute); overflow-wrap: anywhere; }
.form-ok .mail-to b { color: var(--ink); }
.mail-out { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: 400 .9rem/1.6 var(--f-body); background: #fff; border-radius: 12px; padding: 1rem; max-height: 320px; overflow: auto; border: 1px solid var(--line); }
.btn-copy { justify-self: start; background: var(--ink); color: #fff; }
