/* Site temporaire – Le Flambeau de la Vie – feuille de style commune */
:root {
  --blanc: #FFFFFF;
  --clair: #F1F6F1;
  --orange: #C2410C;
  --orange-fonce: #9A3409;
  --vert: #18793D;
  --nuit: #0E3B22;
  --trait: #D5E3D7;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--nuit); font-family: "Nunito Sans", system-ui, sans-serif; font-size: 18px; line-height: 1.6; }
h1, h2, h3 { font-family: Manrope, system-ui, sans-serif; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--vert); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; font-weight: 700; color: var(--vert); }
p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }
a { color: var(--vert); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
section { padding: clamp(48px, 8vw, 96px) 0; scroll-margin-top: 90px; }
.clair { background: var(--clair); }
.sombre { background: var(--vert); color: #fff; }
.sombre h2, .sombre h3 { color: #fff; }
.intro { max-width: 40em; margin-bottom: 2em; }
.surtitre { font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: .6em; }

/* Boutons et liens */
.btn { display: inline-block; padding: .8em 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: background .15s, color .15s; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn-don { background: var(--orange); color: #fff; }
.btn-don:hover { background: var(--orange-fonce); }
.btn-2 { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn-2:hover { background: var(--vert); color: #fff; }
.btn-clair { border-color: #fff; color: #fff; }
.btn-clair:hover { background: #fff; color: var(--vert); }
.btn-vert { background: var(--vert); color: #fff; }
.btn-vert:hover { background: var(--nuit); }
.lien { font-weight: 700; text-decoration: none; }
.lien::after { content: " →"; }
.lien:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Bandeau provisoire */
.provisoire { background: var(--nuit); color: #DCE9DE; font-size: .9rem; text-align: center; padding: 8px 16px; }
.provisoire strong { color: #fff; }

/* En-tête */
header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--trait); }
header .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--nuit); font-family: Manrope, sans-serif; font-weight: 800; line-height: 1.1; }
.logo img { width: 56px; height: 56px; }
nav { margin-left: auto; display: flex; gap: clamp(12px, 1.8vw, 24px); }
nav a { color: var(--nuit); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
nav a:hover, nav a[aria-current] { color: var(--vert); }
.entete-btns { display: flex; gap: 10px; flex: none; }
header .btn { padding: .55em 1.2em; font-size: 1rem; white-space: nowrap; }

/* Bandeau d'ouverture */
.hero { padding: 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero h1 em { font-style: normal; color: var(--vert); }
.hero p { font-size: 1.2rem; max-width: 34em; }
.hero-img { position: relative; }
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; }
.hero-img .badge { position: absolute; left: -16px; bottom: -16px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 8px 24px rgba(14,59,34,.15); font-size: .95rem; font-weight: 600; max-width: 230px; line-height: 1.35; }
.etiquette { display: inline-block; background: var(--clair); color: var(--vert); border: 1px solid var(--trait); font-weight: 700; border-radius: 999px; padding: .25em .9em; font-size: .9rem; margin-bottom: 1em; }

/* Présentation */
.presentation .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.presentation p { font-size: 1.1rem; }
.presentation p strong { color: var(--vert); }

/* Cartes */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.carte { background: #fff; border-radius: 20px; padding: 28px; border: 1px solid var(--trait); display: flex; flex-direction: column; }
.carte .num { font-family: Manrope, sans-serif; font-weight: 800; color: var(--orange); font-size: .95rem; letter-spacing: .08em; margin-bottom: .6em; }
.carte p { flex: 1; }

/* Repères */
.reperes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 2em; }
.repere { border-top: 3px solid var(--vert); padding-top: 16px; }
.repere b { display: block; font-family: Manrope, sans-serif; font-weight: 800; font-size: 2.2rem; line-height: 1.1; color: var(--vert); }
.repere span { font-size: 1rem; }

/* Deux colonnes */
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.deux img { border-radius: 24px; aspect-ratio: 3/2; object-fit: cover; width: 100%; }

/* Septembre Bouge */
.sb { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; background: #fff; border: 2px solid var(--vert); border-radius: 20px; padding: 22px 30px; }
.sb div { flex: 1 1 280px; }
.sb strong { display: block; font-family: Manrope, sans-serif; font-size: 1.2rem; line-height: 1.25; margin-bottom: .2em; }
.sb p { margin: 0; font-size: 1rem; }
.sb a { font-weight: 700; white-space: nowrap; }
.sb-carte { align-items: center; gap: 24px 40px; padding: 24px; }
.sb-carte img { flex: 0 1 340px; width: 100%; max-width: 340px; height: auto; border-radius: 16px; border: 1px solid var(--trait); }
.sb-carte div { flex: 1 1 300px; }
.sb-carte .tag { margin-bottom: .8em; }
.sb-carte strong { font-size: 1.45rem; }
.sb-carte p { margin-bottom: .9em; }
.sb-carte .sb-villes { font-weight: 600; color: var(--vert); }
.sb-carte a { display: inline-block; margin-top: .2em; }

/* Courses par ville */
.tag { display: inline-block; background: var(--vert); color: #fff; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: .2em .8em; }
.tag.autre { background: transparent; color: var(--vert); border: 1.5px solid var(--vert); }
.villes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ville { display: flex; flex-direction: column; gap: .35em; background: #fff; border: 1px solid var(--trait); border-radius: 20px; padding: 22px 24px; text-decoration: none; color: var(--nuit); }
.ville h3 { margin: .5em 0 0; }
.ville .date { font-size: .95rem; font-weight: 600; opacity: .8; }
.ville .trajet { font-size: 1rem; flex: 1; }
.ville .liens { display: flex; flex-wrap: wrap; gap: .4em 1.4em; margin-top: .6em; }
.ville .lien.video::after { content: " ▶"; }
.vignette { position: relative; display: block; margin: -22px -24px 10px; border-radius: 20px 20px 0 0; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.vignette img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.vignette:hover img { transform: scale(1.04); }
.vignette.fixe:hover img { transform: none; }
.vignette .play { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(194,65,12,.92); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.vignette .play::after { content: ""; position: absolute; left: 22px; top: 17px; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* Dernière course de Paris */
.lecteur { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 8px 24px rgba(14,59,34,.15); }
.lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fiche { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 1.5em 0 0; padding: 0; }
.fiche div { background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 18px 20px; }
.fiche dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--orange); }
.fiche dd { margin: .2em 0 0; font-family: Manrope, sans-serif; font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.fiche small { display: block; font-family: "Nunito Sans", sans-serif; font-weight: 400; font-size: .9rem; opacity: .8; }
.etapes { list-style: none; margin: 1em 0 0; padding: 0; border-left: 3px solid var(--vert); }
.etapes li { padding: 6px 0 6px 20px; position: relative; }
.etapes li::before { content: ""; position: absolute; left: -8px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: #fff; border: 3px solid var(--vert); }
.etapes li:first-child::before, .etapes li:last-child::before { background: var(--orange); border-color: var(--orange); }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2em; }
.photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.groupe { margin-top: 2em; }
.groupe h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--nuit); opacity: .75; }
.logos { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.logos a { flex: 0 1 170px; height: 84px; display: grid; place-items: center; padding: 10px 14px; background: #fff; border: 1px solid var(--trait); border-radius: 14px; }
.logos a img { width: 100%; height: 56px; object-fit: contain; }
.logos span { flex: 0 1 170px; min-height: 84px; display: grid; place-items: center; text-align: center; padding: 8px 12px; border: 1px solid var(--trait); border-radius: 14px; font-size: .9rem; font-weight: 600; line-height: 1.3; color: var(--nuit); background: #fff; }

/* Appel */
.don { text-align: center; }
.don p { max-width: 36em; margin-left: auto; margin-right: auto; }
.don .actions { justify-content: center; }

/* Contact : formulaire */
.corps { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
form { display: grid; gap: 18px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; font-size: .95rem; }
.champ label small { font-weight: 400; opacity: .75; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea { width: 100%; font: inherit; color: var(--nuit); padding: .7em .9em; border: 1.5px solid var(--trait); border-radius: 12px; background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--vert); outline-offset: 1px; border-color: var(--vert); }
textarea { min-height: 160px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent input { width: auto; margin-top: .35em; }
.rgpd { font-size: .9rem; opacity: .8; margin: 0; }
.coord { display: grid; gap: 18px; }
.coord .photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 20px; }
.bloc { background: var(--clair); border: 1px solid var(--trait); border-radius: 20px; padding: 24px 26px; }
.bloc h3 { margin-bottom: .3em; }
.bloc p { margin: 0; }
.bloc p + p { margin-top: .6em; }

/* Bureau et équipe */
.equipe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.membre { text-align: center; }
.membre img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid #fff; box-shadow: 0 2px 10px rgba(14,59,34,.15); }
.membre strong { display: block; font-family: Manrope, sans-serif; }
.membre span { font-size: .95rem; opacity: .85; }
.autour { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2em; }

/* Réseaux */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); display: grid; place-items: center; }
.social a:hover { background: #fff; border-color: #fff; }
.social a:hover svg { fill: var(--nuit); }
.social svg { width: 20px; height: 20px; fill: #fff; }
.bloc .social a { border-color: var(--trait); background: #fff; }
.bloc .social svg { fill: var(--vert); }
.bloc .social a:hover { background: var(--vert); border-color: var(--vert); }
.bloc .social a:hover svg { fill: #fff; }

/* Pied */
footer { background: var(--nuit); color: #DCE9DE; padding: 56px 0 32px; font-size: 1rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer strong { color: #fff; font-family: Manrope, sans-serif; font-size: 1.1rem; }
footer a { color: #fff; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; align-content: start; }
footer li { line-height: 1.4; }
footer h4 { font-family: Manrope, sans-serif; color: #fff; font-size: 1rem; margin: 0 0 10px; }
.note { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; font-size: .9rem; opacity: .85; }

/* Bouton Contact flottant */
.contact-flottant { position: fixed; right: 0; top: 50%; z-index: 20; display: flex; align-items: center; gap: 8px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); padding: 16px 12px; border-radius: 0 12px 12px 0; background: var(--vert); color: #fff; text-decoration: none; font-family: Manrope, sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .03em; box-shadow: 0 4px 16px rgba(14,59,34,.25); transition: background .15s, padding .15s; }
.contact-flottant:hover { background: var(--nuit); padding-right: 16px; }
.contact-flottant svg { width: 20px; height: 20px; transform: rotate(90deg); }

@media (max-width: 900px) {
  .sb-carte { justify-content: center; }
  .sb-carte img { max-width: 420px; }
  body { font-size: 17px; }
  nav { display: none; }
  .entete-btns { margin-left: auto; }
  .hero .wrap, .presentation .wrap, .deux, .corps, .champs-2, footer .wrap { grid-template-columns: 1fr; }
  .cartes, .villes, .photos, .autour { grid-template-columns: 1fr; }
  .reperes, .fiche { grid-template-columns: 1fr 1fr; }
  .equipe { grid-template-columns: 1fr 1fr; }
  .hero-img .badge { left: 12px; bottom: 12px; }
  .contact-flottant { top: auto; bottom: 20px; right: 16px; transform: none; writing-mode: horizontal-tb; width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 50%; }
  .contact-flottant span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .contact-flottant svg { width: 26px; height: 26px; transform: none; }
  .contact-flottant:hover { padding-right: 0; }
}
