/* =====================================================================
   LMO — Système de design (charte graphique lmo-lyon.com)
   Bleu marine #002A7E · Jaune #FFFF00 · Rouge #FF0000 · Montserrat
   ===================================================================== */

:root{
  --navy:        #002A7E;   /* couleur principale */
  --navy-dark:   #001B54;
  --navy-700:    #0A3A9C;
  --yellow:      #FFEB00;   /* accent (légèrement adouci vs #FFFF00 pur) */
  --yellow-pure: #FFFF00;
  --red:         #E4032E;
  --ink:         #1c2530;   /* texte foncé */
  --gray:        #5B6163;   /* texte secondaire */
  --line:        #E3E3E3;   /* bordures */
  --bg:          #ffffff;
  --bg-soft:     #f6f8fc;   /* fonds de sections */
  --bg-navy-soft:#eef2fb;
  --ok:          #1a8f4c;
  --warn:        #b8860b;
  --shadow-sm: 0 1px 3px rgba(0,42,126,.08);
  --shadow-md: 0 6px 24px rgba(0,42,126,.10);
  --radius: 10px;          /* cartes/champs : léger arrondi */
  --maxw: 960px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hand: "Dancing Script", "Segoe Script", cursive;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0; font-family:var(--font); color:var(--ink);
  background:var(--bg); line-height:1.55; font-size:16px;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:var(--navy); }

/* ---- Layout ---- */
.container{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 20px; }
.section{ padding:40px 0; }

/* ---- Barre du haut ---- */
.topbar{
  border-bottom:3px solid var(--navy);
  background:var(--bg); position:sticky; top:0; z-index:20;
}
.topbar .inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:12px 20px; max-width:var(--maxw); margin:0 auto;
}
.topbar .brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.topbar .brand img{ height:46px; width:auto; }
.topbar .brand-txt{ font-weight:700; color:var(--navy); letter-spacing:.02em; }
.topbar .brand-txt small{ display:block; font-weight:500; color:var(--gray); font-size:12px; }
.topbar .back{
  font-size:13px; font-weight:600; text-transform:uppercase; letter-spacing:.05em;
  color:var(--navy); text-decoration:none;
}
.topbar .back:hover{ text-decoration:underline; }

/* ---- Hero ---- */
.hero{ text-align:center; padding:56px 0 24px; }
.hero .hand{
  font-family:var(--font-hand); color:var(--navy);
  font-size:clamp(30px,6vw,52px); line-height:1.1; font-weight:700;
  margin:0 0 10px;
}
.hero h1{
  font-size:clamp(24px,4vw,36px); color:var(--navy); margin:.2em 0 .4em;
  font-weight:800; letter-spacing:-.01em;
}
.hero p.lead{ color:var(--gray); font-size:18px; max-width:640px; margin:0 auto 28px; }

/* ---- Boutons (coins carrés, style site) ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font); font-weight:700; font-size:15px;
  text-transform:uppercase; letter-spacing:.04em; text-decoration:none;
  padding:15px 28px; border:2px solid var(--navy); cursor:pointer;
  border-radius:2px; transition:transform .05s ease, background .15s, color .15s;
  line-height:1;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--navy); color:var(--yellow); }
.btn-primary:hover{ background:var(--navy-dark); border-color:var(--navy-dark); }
.btn-secondary{ background:var(--yellow); color:var(--navy); border-color:var(--navy); }
.btn-secondary:hover{ background:#ffe000; }
.btn-outline{ background:transparent; color:var(--navy); }
.btn-outline:hover{ background:var(--bg-navy-soft); }
.btn-block{ width:100%; }
.btn-lg{ padding:18px 34px; font-size:16px; }
.btn[disabled]{ opacity:.5; cursor:not-allowed; }

.btn-row{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; }

/* ---- Cartes ---- */
.card{
  background:var(--bg); border:1px solid var(--line); border-radius:var(--radius);
  padding:24px; box-shadow:var(--shadow-sm);
}
.card + .card{ margin-top:16px; }
.grid{ display:grid; gap:16px; }
@media(min-width:720px){ .grid-3{ grid-template-columns:repeat(3,1fr); } }

.feature{ text-align:center; padding:22px; }
.feature .ico{ font-size:30px; margin-bottom:8px; }
.feature h3{ color:var(--navy); font-size:17px; margin:.2em 0 .3em; }
.feature p{ color:var(--gray); font-size:14px; margin:0; }

/* ---- Bandeau confiance ---- */
.trust{
  background:var(--bg-navy-soft); border:1px solid var(--line);
  border-radius:var(--radius); padding:14px 18px; display:flex; gap:12px;
  align-items:center; color:var(--navy); font-size:14px; font-weight:600;
  justify-content:center; flex-wrap:wrap;
}

/* ---- Formulaires ---- */
.form-group{ margin-bottom:16px; }
label.lbl{ display:block; font-weight:600; color:var(--navy); font-size:14px; margin-bottom:6px; }
label.lbl .req{ color:var(--red); }
.input, select.input, textarea.input{
  width:100%; font-family:var(--font); font-size:15px; color:var(--ink);
  padding:12px 14px; border:1.5px solid var(--line); border-radius:8px; background:#fff;
}
.input:focus, select.input:focus, textarea.input:focus{
  outline:none; border-color:var(--navy); box-shadow:0 0 0 3px rgba(0,42,126,.12);
}
.help{ font-size:12.5px; color:var(--gray); margin-top:5px; }
.row2{ display:grid; gap:16px; }
@media(min-width:640px){ .row2{ grid-template-columns:1fr 1fr; } }

/* ---- Étapes (stepper) ---- */
.steps{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin:24px 0 8px; }
.step{ font-size:12px; font-weight:700; color:var(--gray); text-transform:uppercase; letter-spacing:.04em;
  display:flex; align-items:center; gap:7px; }
.step .dot{ width:24px; height:24px; border-radius:50%; background:var(--line); color:#fff;
  display:grid; place-items:center; font-size:12px; }
.step.active{ color:var(--navy); }
.step.active .dot{ background:var(--navy); }
.step.done .dot{ background:var(--ok); }

/* ---- Alertes ---- */
.alert{ padding:12px 16px; border-radius:8px; font-size:14px; margin:14px 0; }
.alert-info{ background:var(--bg-navy-soft); color:var(--navy); border:1px solid #cdd9f2; }
.alert-ok{ background:#e8f6ee; color:var(--ok); border:1px solid #bfe6cd; }
.alert-err{ background:#fdeaec; color:var(--red); border:1px solid #f6c6ce; }

/* ---- Footer ---- */
.footer{ border-top:1px solid var(--line); margin-top:40px; background:var(--bg-soft); }
.footer .inner{ padding:26px 20px; max-width:var(--maxw); margin:0 auto; color:var(--gray); font-size:13.5px;
  display:flex; gap:20px; flex-wrap:wrap; justify-content:space-between; align-items:center; }
.footer a{ color:var(--navy); text-decoration:none; font-weight:600; }
.footer a:hover{ text-decoration:underline; }

.center{ text-align:center; }
.muted{ color:var(--gray); }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
