:root {
  --blue: #2563c9;
  --blue-dark: #1b4f9f;
  --navy: #1f3350;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e3e7ee;
  --bg-soft: #f4f7fb;
  --white: #ffffff;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); text-align: center; }
.lead { color: var(--muted); text-align: center; max-width: 640px; margin: 0 auto 2rem; }
section { padding: 64px 0; scroll-margin-top: 68px; }
.soft { background: var(--bg-soft); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer; transition: background .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* En-tête */
.topbar { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; }
.brand img { height: 44px; width: auto; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.topbar .btn { padding: 10px 18px; font-size: .85rem; }

/* Hero */
.hero {
  position: relative; color: var(--white); text-align: center; padding: 72px 0 64px;
  background: linear-gradient(rgba(25,42,70,.82), rgba(25,42,70,.82)), url("centre.jpg") center / cover, var(--navy);
}
.hero h1 { font-size: clamp(1.8rem, 5vw, 2.9rem); font-weight: 800; }
.hero p { max-width: 620px; margin: 0 auto 1.6rem; opacity: .92; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 28px; font-size: .92rem; opacity: .95; }
.hero-facts span::before { content: "✓ "; font-weight: 700; }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 2.2rem; color: var(--blue); font-weight: 800; }
.stat span { color: var(--muted); font-size: .92rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step em { font-style: normal; color: var(--blue); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.step h3 { margin-top: .4em; font-size: 1.12rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Encadré clair sur le programme */
.clear-box {
  max-width: 820px; margin: 36px auto 0; background: var(--white); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 22px 26px; box-shadow: 0 1px 0 var(--line);
}
.clear-box h3 { margin-bottom: .4em; }
.clear-box ul { margin: 0; padding-left: 1.2em; }
.clear-box li { margin: .3em 0; }

/* Pourquoi */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why div { padding: 20px; border-radius: var(--radius); background: var(--bg-soft); }
.why h3 { font-size: 1.05rem; }
.why p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Avis */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review p { margin: 0 0 .8em; }
.review b { color: var(--navy); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.contact address { font-style: normal; line-height: 1.8; }
.map { border: 0; width: 100%; height: 280px; border-radius: var(--radius); }

/* Formulaire */
.form-card {
  max-width: 720px; margin: 0 auto; background: var(--white); border-radius: var(--radius);
  padding: 32px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31,51,80,.08);
}
.notice { background: #fff6e6; border: 1px solid #f3d9a6; border-radius: 10px; padding: 12px 14px; font-size: .9rem; margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label, .field legend { font-weight: 600; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .82rem; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea {
  font: inherit; padding: 12px 14px; border: 1px solid #cfd6e1; border-radius: 10px; background: var(--white); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(37,99,201,.25); border-color: var(--blue); }
fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: .93rem; }
.choice input { margin-top: 3px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 10px 0; }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b42318; font-weight: 600; margin: 10px 0 0; }
.form-card .btn-primary { width: 100%; margin-top: 10px; font-size: 1rem; }
.small { color: var(--muted); font-size: .8rem; }

/* Pied de page */
footer { background: var(--navy); color: #cfd8e6; padding: 32px 0; font-size: .88rem; }
footer a { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.linklike { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }

/* Bouton d'appel fixe sur mobile */
.call-bar { display: none; }

/* Bandeau cookies */
#cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15); display: flex; gap: 16px; align-items: center; font-size: .9rem;
}
#cookie-banner p { margin: 0; flex: 1; }
.cookie-actions { display: flex; gap: 8px; }
#cookie-banner .btn { padding: 10px 16px; }

/* Pages simples */
.page { max-width: 760px; margin: 0 auto; padding: 48px 20px; }
.page h1 { font-size: 1.8rem; }
.page h2 { text-align: left; font-size: 1.2rem; margin-top: 1.6em; }

@media (max-width: 860px) {
  .stats, .steps { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 48px 0; }
  .wrap { padding: 0 16px; }
  .why, .reviews, .grid2, .choices { grid-template-columns: 1fr; }
  .topbar .btn { display: none; }
  .form-card { padding: 22px 16px; }
  #cookie-banner { flex-direction: column; align-items: stretch; bottom: 76px; }
  .call-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 8px; padding: 10px 12px;
    background: var(--white); border-top: 1px solid var(--line);
  }
  .call-bar .btn { flex: 1; padding: 12px; }
  body { padding-bottom: 68px; }
}
