:root {
  --green-900: #12351f;
  --green-800: #1d5c3a;
  --green-600: #2d8552;
  --gold: #f6c453;
  --gold-dark: #e0a52a;
  --cream: #fbfaf5;
  --band: #eef4ea;
  --text: #1f2a24;
  --muted: #56645b;
  --card: #ffffff;
  --border: #dfe7da;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --cream: #0f1d14;
    --band: #142719;
    --text: #e8efe9;
    --muted: #a7b8ac;
    --card: #182d1f;
    --border: #25402d;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 16px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--green-800); text-align: center; }
@media (prefers-color-scheme: dark) { h2 { color: var(--gold); } }
.intro { max-width: 680px; margin: 0 auto 40px; text-align: center; color: var(--muted); font-size: 1.1rem; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(18, 53, 31, .92); backdrop-filter: blur(8px); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.brand img { border-radius: 9px; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { color: #e6efe8; text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--gold); }
@media (max-width: 640px) { nav a:not(.btn) { display: none; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: var(--green-900) !important; font-weight: 800; text-decoration: none; border-radius: 999px; transition: transform .15s, background .15s; }
.btn:hover { background: var(--gold-dark); transform: translateY(-2px); }
.btn-sm { padding: 7px 16px; font-size: .95rem; }
.btn-play { padding: 12px 28px 12px 22px; font-size: 1.35rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.btn-play span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.btn-play small { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Bandeau d'accueil */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,53,31,.95) 0%, rgba(18,53,31,.75) 45%, rgba(18,53,31,.15) 100%); }
.hero-in { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; width: 100%; }
.hero-icon { border-radius: 22px; box-shadow: 0 8px 24px rgba(0,0,0,.3); margin-bottom: 18px; }
.hero h1 { font-size: clamp(3rem, 10vw, 5.5rem); color: var(--gold); letter-spacing: -.02em; text-shadow: 0 4px 18px rgba(0,0,0,.3); margin-bottom: .1em; }
.lead { font-size: clamp(1.3rem, 3.4vw, 1.9rem); font-weight: 700; margin: 0 0 16px; max-width: 520px; }
.stats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; }
.stats span { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); padding: 4px 14px; border-radius: 999px; font-weight: 700; color: #ffe7a6; }
.free { margin: 16px 0 0; color: #d3e3d7; font-size: .95rem; }

/* Cartes */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.card .ico { font-size: 2rem; width: 58px; height: 58px; display: grid; place-items: center; background: var(--band); border-radius: 14px; margin-bottom: 14px; }
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); }

/* Régions */
.band { background: var(--band); }
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.regions li { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.regions img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.regions li:hover img { transform: scale(1.05); }
.regions div { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; display: flex; flex-direction: column; }
.regions strong { font-size: 1.2rem; }
.regions span { font-size: .9rem; opacity: .9; }
.more { text-align: center; margin: 28px 0 0; color: var(--muted); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery button:hover img { transform: scale(1.04); }
dialog { border: 0; padding: 0; background: transparent; max-width: 94vw; }
dialog::backdrop { background: rgba(0,0,0,.85); }
dialog img { max-height: 88vh; border-radius: 10px; }
dialog .close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.2rem; cursor: pointer; }

/* FAQ */
.faq details { max-width: 760px; margin: 0 auto 12px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details p { margin: 0 0 14px; color: var(--muted); }

/* Appel final */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta img { border-radius: 20px; margin-bottom: 18px; }

/* Pied de page */
footer { background: var(--green-900); color: #cfe0d4; padding: 34px 0; text-align: center; }
footer a { color: var(--gold); }
footer p { margin: 4px 0; }
footer .small { font-size: .8rem; opacity: .7; margin-top: 12px; }
