/* Je marche et je ramasse – feuille de style du site (couleurs de la plaquette) */
@font-face { font-family: "Baloo 2"; src: url(/polices/baloo2-latin.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Nunito"; src: url(/polices/nunito-latin.woff2) format("woff2"); font-weight: 200 1000; font-display: swap; }

:root {
  --vert-fonce: #1d5a2c; --vert: #2f7d3a; --vert-clair: #8cc63f; --vert-pale: #eef6e2;
  --bleu-fonce: #124e78; --bleu: #1a6fa6; --bleu-clair: #7cc4ef; --bleu-pale: #e6f3fb;
  --orange: #b85600; --creme: #fbfcf7; --texte: #24352a; --texte-doux: #4c5f52;
  --bord: #dfeccf; --rayon: 18px; --largeur: 1100px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Nunito", "Helvetica Neue", Arial, sans-serif; color: var(--texte); background: var(--creme); font-size: 17px; line-height: 1.6; }
h1, h2, h3, .baloo { font-family: "Baloo 2", "Nunito", sans-serif; line-height: 1.15; }
h1 { font-weight: 800; }
h2 { font-weight: 800; color: var(--vert-fonce); font-size: 1.9rem; margin: 0 0 .8em; display: flex; align-items: center; gap: .5em; }
h2::before { content: ""; width: 30px; height: 9px; border-radius: 9px; background: var(--vert-clair); flex: none; }
h3 { color: var(--vert-fonce); font-size: 1.2rem; margin: 0 0 .3em; }
a { color: var(--vert); }
img { max-width: 100%; height: auto; }
.conteneur { max-width: var(--largeur); margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; }
.section.pale { background: var(--vert-pale); }
.section.bleue { background: var(--bleu-pale); }
.intro { font-size: 1.1rem; color: var(--texte-doux); max-width: 760px; margin-top: -.3em; }
.lien-evitement { position: absolute; left: -9999px; }
.lien-evitement:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }

/* En-tête et menu */
.entete { background: #fff; border-bottom: 1px solid var(--bord); position: sticky; top: 0; z-index: 50; }
.entete .conteneur { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--vert-fonce); font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 1.25rem; }
.marque img { width: 46px; height: 46px; border-radius: 50%; }
.menu { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
.menu a { text-decoration: none; color: var(--texte); font-weight: 700; padding: 8px 12px; border-radius: 10px; }
.menu a:hover, .menu a[aria-current="page"] { background: var(--vert-pale); color: var(--vert-fonce); }
.menu a.btn-menu { background: var(--vert); color: #fff; }
.menu a.btn-menu:hover { background: var(--vert-fonce); color: #fff; }
.bouton-menu { display: none; margin-left: auto; background: var(--vert-pale); border: 0; border-radius: 10px; padding: 10px 14px; font: inherit; font-weight: 800; color: var(--vert-fonce); cursor: pointer; }

/* Bandeau d'ouverture */
.hero { color: #fff; background: linear-gradient(160deg, var(--vert-fonce) 0%, var(--vert) 100%); padding: 56px 0 90px; position: relative; overflow: hidden; }
.hero.bleu { background: linear-gradient(160deg, var(--bleu-fonce) 0%, var(--bleu) 100%); }
.hero::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: -60px; height: 110px; background: var(--creme); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.hero .conteneur { display: flex; align-items: center; gap: 42px; position: relative; z-index: 2; }
.hero .logo { flex: none; width: 230px; height: 230px; border-radius: 50%; background: #fff; padding: 8px; border: 6px solid #cfe6b4; }
.hero.bleu .logo { border-color: #bfe0f5; }
.hero .logo img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pastille { display: inline-block; background: var(--vert-clair); color: var(--vert-fonce); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; border-radius: 30px; margin-bottom: 12px; }
.hero.bleu .pastille { background: #fff; color: var(--bleu-fonce); }
.hero h1 { font-size: 3.1rem; margin: 0; }
.hero h1 .accent { color: var(--vert-clair); }
.hero.bleu h1 .accent { color: #b5e07a; }
.hero p.sous { font-size: 1.15rem; color: #e3f1d6; max-width: 560px; margin: 14px 0 0; }
.hero.bleu p.sous { color: #dcecf8; }
.boutons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; padding: 13px 22px; border-radius: 14px; font-size: 1.05rem; }
.btn.plein { background: var(--vert-clair); color: var(--vert-fonce); }
.btn.plein:hover { background: #a3d65f; }
.btn.contour { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn.contour:hover { background: rgba(255,255,255,.12); }
.btn.vert { background: var(--vert); color: #fff; }
.btn.vert:hover { background: var(--vert-fonce); }

/* Le principe en 5 gestes */
.gestes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; list-style: none; padding: 0; margin: 0; }
.gestes::before { content: ""; position: absolute; left: 10%; right: 10%; top: 40px; border-top: 3px dashed var(--vert-clair); }
.geste { text-align: center; position: relative; }
.geste .rond { width: 80px; height: 80px; margin: 0 auto 12px; border-radius: 50%; background: var(--vert); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.1rem; border: 5px solid var(--creme); position: relative; }
.geste .num { position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--vert-clair); color: var(--vert-fonce); font-weight: 800; font-size: .95rem; display: flex; align-items: center; justify-content: center; font-family: "Baloo 2", sans-serif; }
.geste p { color: var(--texte-doux); font-size: .96rem; margin: 0; }
.encart { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px 22px; margin-top: 30px; color: var(--texte-doux); }

/* Cartes */
.grille2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grille3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.carte { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 20px 22px; display: flex; gap: 16px; align-items: flex-start; }
.carte .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--vert); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.carte.bleu .ic { background: var(--bleu); }
.carte.trait { border-left: 7px solid var(--vert); }
.carte p { margin: 0; color: var(--texte-doux); }
.carte.simple { display: block; }

/* Tarifs */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tarif { background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 24px; text-align: center; }
.tarif .prix { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 3.2rem; color: var(--vert); line-height: 1; }
.tarif p { margin: 10px 0 0; color: var(--texte-doux); }
.tarif.vedette { background: var(--vert-fonce); color: #fff; border-color: var(--vert-fonce); }
.tarif.vedette .prix { color: var(--vert-clair); }
.tarif.vedette p { color: #d7ead0; }

/* Captures de l'appli */
.captures { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 18px; scroll-snap-type: x mandatory; }
.capture { flex: none; width: 210px; text-align: center; scroll-snap-align: start; margin: 0; }
.capture img { border-radius: 24px; border: 6px solid #1f2a22; box-shadow: 0 10px 24px rgba(0,0,0,.15); display: block; }
.capture figcaption { margin-top: 10px; font-weight: 800; color: var(--vert-fonce); }
.capture figcaption span { display: block; font-weight: 400; color: var(--texte-doux); font-size: .92rem; }

/* Télécharger */
.telecharger { background: var(--vert-fonce); color: #fff; border-radius: 26px; padding: 34px; display: flex; gap: 30px; align-items: center; flex-wrap: wrap; }
.telecharger h2 { color: #fff; }
.telecharger h2::before { background: var(--vert-clair); }
.telecharger p { color: #d7ead0; margin: 0 0 6px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.store { display: inline-flex; flex-direction: column; background: rgba(0,0,0,.28); color: #fff; border-radius: 12px; padding: 9px 18px; text-decoration: none; line-height: 1.2; font-size: .85rem; }
.store b { font-size: 1.1rem; }
.store.bientot { opacity: .8; }
.qr-bloc { flex: none; background: #fff; border-radius: 16px; padding: 12px; text-align: center; width: 170px; color: var(--vert-fonce); font-weight: 800; font-size: .82rem; }
.qr-bloc svg { width: 140px; height: 140px; display: block; margin: 0 auto 6px; }

/* Sécurité */
.securite { display: flex; gap: 22px; align-items: center; border-radius: 22px; padding: 26px; background: linear-gradient(120deg, var(--vert-pale), #f6faf0); border: 1px solid #cfe6b4; }
.securite .ic { flex: none; width: 84px; height: 84px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; border: 1px solid #cfe6b4; }
.alerte-112 { background: #fff4e8; border: 2px solid var(--orange); border-radius: var(--rayon); padding: 18px 22px; }
.alerte-112 strong { color: var(--orange); }
.citation { background: #fff; border-left: 6px solid var(--vert-clair); border-radius: 12px; padding: 14px 20px; font-style: italic; color: var(--texte-doux); }

/* Pages légales */
.legal { max-width: 860px; }
.legal h1 { color: var(--vert-fonce); font-size: 2.4rem; margin: 0 0 .2em; }
.legal h2 { font-size: 1.45rem; margin-top: 1.6em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1em 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--bord); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--vert-pale); }
.legal .date { color: var(--texte-doux); font-style: italic; }
.a-completer { background: #fff3c4; padding: 0 4px; border-radius: 4px; }

/* Pied de page */
.montagnes { height: 60px; display: block; width: 100%; margin-bottom: -1px; }
.pied { background: var(--vert-fonce); color: #d7ead0; padding: 34px 0 26px; }
.pied .conteneur { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.pied a { color: #fff; }
.pied h3 { color: #fff; font-size: 1.05rem; }
.pied ul { list-style: none; padding: 0; margin: 0; }
.pied li { margin: 4px 0; }
.pied .bas { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.2); padding-top: 14px; font-size: .88rem; }
.bandeau-apercu { background: #fff3c4; color: #5a4300; text-align: center; padding: 6px 12px; font-size: .88rem; font-weight: 700; }

/* Téléphone et tablette */
@media (max-width: 900px) {
  .gestes { grid-template-columns: 1fr 1fr; row-gap: 26px; }
  .gestes::before { display: none; }
  .grille3, .tarifs { grid-template-columns: 1fr; }
  .pied .conteneur { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bouton-menu { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 68px; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--bord); }
  .menu.ouvert { display: flex; }
  .hero { padding: 34px 0 80px; }
  .hero .conteneur { flex-direction: column; text-align: center; gap: 20px; }
  .hero .logo { width: 160px; height: 160px; }
  .hero h1 { font-size: 2.2rem; }
  .boutons { justify-content: center; }
  .grille2 { grid-template-columns: 1fr; }
  .securite { flex-direction: column; text-align: center; }
  .telecharger { flex-direction: column; text-align: center; padding: 26px 20px; }
  .telecharger h2, h2 { font-size: 1.55rem; }
  .stores { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
