:root {
  --navy: #0b1f3a;
  --blue: #1f6feb;
  --blue-dark: #1558c0;
  --ink: #1d2433;
  --muted: #5b6577;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; color: var(--ink); background: var(--bg); line-height: 1.6;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--blue); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }

/* Barre du haut */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--navy); text-decoration: none; letter-spacing: .3px; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.brand-logo { width: 40px; height: 40px; object-fit: contain; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a { color: var(--ink); text-decoration: none; font-weight: 500; white-space: nowrap; }
.menu a:hover { color: var(--blue); }
.menu-toggle { display: none; border: 0; background: none; font-size: 26px; color: var(--navy); cursor: pointer; }

/* Boutons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 10px; background: var(--blue); color: #fff !important; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--blue-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-small { padding: 8px 16px; font-size: .95rem; }
.btn-ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: #1fa855; }
.btn-whatsapp:hover { background: #178a45; }

/* Accueil */
/* Bleu nuit du logo ; logo à fond transparent : aucun cadre visible. */
.hero { background: radial-gradient(900px 480px at 78% 45%, #0b2a6b 0%, transparent 62%), #020622; color: #fff; padding: 72px 0 80px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; }
.hero-logo { width: 100%; max-width: 520px; height: auto; justify-self: center; }
.hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.2; margin: 0 0 12px; letter-spacing: .5px; }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 680px; color: #d6e2f5; margin: 0 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--navy); margin: 0 0 10px; }
.section-intro { color: var(--muted); margin: 0 0 32px; }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.offer h3 { margin: 0; color: var(--navy); }
.offer-summary { margin: 0; color: var(--muted); }
.formula { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.formula-name { font-weight: 700; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--blue); }
.price-eur { color: var(--muted); font-size: .92rem; margin-top: -4px; }
.formula ul { margin: 6px 0 10px; padding-left: 20px; color: var(--ink); }
.formula .btn { align-self: flex-start; }

/* Étapes */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.steps li { counter-increment: step; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; }
.steps span { color: var(--muted); }

/* Atouts */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature h3 { margin: 0 0 6px; color: var(--navy); font-size: 1.1rem; }
.feature p { margin: 0; color: var(--muted); }

/* Formulaire */
.form { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #cbd3df; border-radius: 9px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid rgba(31,111,235,.25); border-color: var(--blue); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
.form .check input { width: auto; margin-top: 5px; }
.form .btn { align-self: flex-start; }
.form-status { margin: 0; color: #b42318; min-height: 1.2em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.confirmation { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.confirmation h3 { margin-top: 0; color: #178a45; }

/* Contact & pied */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-label { display: inline-block; min-width: 110px; font-weight: 700; color: var(--navy); }
.footer { background: var(--navy); color: #c6d3e8; padding: 26px 0; }
.footer a { color: #fff; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Pages simples */
.page { padding: 56px 0 80px; }
.page h1 { color: var(--navy); }
.todo { background: #fff7e0; border: 1px dashed #d4a72c; padding: 2px 6px; border-radius: 6px; }

/* Téléphone */
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .menu { position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; display: none; }
  .menu a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu a.btn { margin-top: 12px; text-align: center; border: 0; }
  .menu-open .menu { display: flex; }
  .hero { padding: 40px 0 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; }
  .hero-logo { order: -1; max-width: 300px; }
  .section { padding: 52px 0; }
  .form { padding: 20px; }
  .form .row { grid-template-columns: 1fr; }
}
