:root {
  --nuit: #14204a;
  --nuit-2: #1d2c63;
  --or: #e0a82e;
  --or-fonce: #b9851a;
  --vert: #0f8a5f;
  --texte: #1b2233;
  --doux: #5a6478;
  --fond: #ffffff;
  --fond-doux: #f4f6fb;
  --bord: #e3e7f0;
  --carte: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --texte: #e8ebf3;
    --doux: #a6aec0;
    --fond: #0d1430;
    --fond-doux: #121b3d;
    --bord: #26325c;
    --carte: #16214a;
    --vert: #3cc78f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.cadre { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.saut { position: absolute; left: -999px; }
.saut:focus { left: 16px; top: 8px; background: var(--or); color: var(--nuit); padding: 8px 12px; z-index: 10; }

/* En-tête */
.entete { background: var(--nuit); color: #fff; position: sticky; top: 0; z-index: 5; }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1.25rem; font-weight: 700; white-space: nowrap; color: #fff; }
.marque b { color: var(--or); font-weight: 700; }
.marque img { border-radius: 10px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
.menu { display: flex; gap: 4px; }
.menu a, .menu-mobile nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.menu a:hover, .menu a[aria-current] { background: rgba(255,255,255,.12); }
.menu-mobile { display: none; position: relative; }
.menu-mobile summary { list-style: none; cursor: pointer; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; padding: 6px 12px; }
.menu-mobile summary::-webkit-details-marker { display: none; }
.menu-mobile nav { position: absolute; right: 0; top: 46px; background: var(--nuit-2); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; min-width: 220px; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
@media (max-width: 980px) { .menu { display: none; } .menu-mobile { display: block; } }

/* Boutons et liens */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }
.bouton { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.bouton.or { background: var(--or); color: var(--nuit); }
.bouton.or:hover { background: var(--or-fonce); }
.bouton.clair { border-color: currentColor; }
.lien-fleche { font-weight: 600; color: var(--vert); text-decoration: none; }
.lien-fleche:hover { text-decoration: underline; }

/* Héros */
.heros { background: linear-gradient(160deg, var(--nuit) 0%, var(--nuit-2) 100%); color: #fff; padding: 56px 0 64px; }
.heros-grille { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.surtitre { display: inline-block; background: var(--or); color: var(--nuit); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; padding: 6px 14px; border-radius: 999px; }
.pastille { display: inline-block; margin-left: 6px; background: var(--or); color: var(--nuit); font-weight: 700; font-size: .75rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.chapeau { font-size: 1.15rem; color: inherit; opacity: .92; }
.ecran { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.15); }
@media (max-width: 860px) { .heros-grille { grid-template-columns: 1fr; } .heros { padding: 40px 0 48px; } }

.entete-page { background: var(--nuit); color: #fff; padding: 48px 0 40px; }
.entete-page .chapeau { max-width: 760px; }

/* Chiffres */
.chiffres { background: var(--fond-doux); border-bottom: 1px solid var(--bord); }
.chiffres-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 28px; padding-bottom: 28px; }
.chiffres b { display: block; font-size: 1.5rem; color: var(--vert); }
.chiffres span { color: var(--doux); font-size: .95rem; }
@media (max-width: 760px) { .chiffres-grille { grid-template-columns: 1fr 1fr; } }

/* Sections */
.section { padding: 56px 0; }
.fond-doux { background: var(--fond-doux); }
.titre-section { text-align: center; }
.intro { text-align: center; max-width: 720px; margin: 0 auto 32px; color: var(--doux); }
.centre { text-align: center; margin-top: 24px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grille-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grille-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grille-3, .grille-2 { grid-template-columns: 1fr; } }
.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: 14px; padding: 22px; }
.carte h2 { font-size: 1.3rem; }
.carte h2 a { text-decoration: none; }
.carte p:last-child { margin-bottom: 0; }
.app { display: flex; flex-direction: column; }
.app .lien-fleche { margin-top: auto; }
.app.vedette { border: 2px solid var(--or); }
.etiquette { color: var(--doux); font-size: .88rem; margin-bottom: .4em; }
.etiquette a { color: var(--vert); }
.note { color: var(--doux); font-size: .92rem; margin-top: 24px; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.duo-images { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.duo-images img { border-radius: 14px; border: 1px solid var(--bord); box-shadow: 0 10px 30px rgba(20,32,74,.15); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.liste-coches { padding: 0; list-style: none; }
.liste-coches li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.liste-coches li::before { content: "✓"; position: absolute; left: 4px; color: var(--vert); font-weight: 700; }

/* Texte long (articles, pages légales) */
.texte { max-width: 760px; }
.texte h2 { margin-top: 1.6em; }
.texte ul { padding-left: 1.3em; }
.texte li { margin-bottom: .4em; }
.texte a { color: var(--vert); }
.encart { margin-top: 2.4em; padding: 18px 20px; background: var(--fond-doux); border-left: 4px solid var(--or); border-radius: 8px; }
.encart p { margin: 0; }

/* Appel final */
.bande-appel { background: var(--nuit); color: #fff; padding: 56px 0; text-align: center; }
.bande-appel .boutons { justify-content: center; }

/* Pied de page */
.pied { background: #0b1230; color: #c9cfdf; padding-top: 40px; font-size: .95rem; }
.pied a { color: #fff; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.pied-titre { color: var(--or); font-weight: 600; margin-bottom: .4em; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.12); margin-top: 24px; padding-top: 16px; padding-bottom: 88px; }
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; } }

.whatsapp { position: fixed; right: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); z-index: 6; }
