:root {
  --navy: #0f2a43;
  --navy-2: #173b5c;
  --orange: #f26a21;
  --orange-dark: #d85612;
  --sakura: #f4b6c2;
  --bg: #f7f8fa;
  --card: #ffffff;
  --text: #1c2733;
  --muted: #5b6b7b;
  --line: #e3e8ee;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(15, 42, 67, .97);
  backdrop-filter: blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .02em; font-size: 1.15rem; }
.brand span { color: var(--sakura); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: #d8e2ec; text-decoration: none; font-size: .95rem; }
.nav a:hover { color: #fff; }
.nav .btn-small {
  background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 600;
}
.nav .btn-small:hover { background: var(--orange-dark); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff; padding: 84px 0 96px;
}
.hero .eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(244, 182, 194, .15); color: var(--sakura);
  font-size: .85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.12; max-width: 18ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p.lead { margin-top: 20px; max-width: 58ch; color: #c9d6e3; font-size: 1.1rem; }

.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.door {
  background: #fff; color: var(--text); border-radius: var(--radius); padding: 26px;
  text-decoration: none; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18); transition: transform .15s ease;
}
.door:hover { transform: translateY(-3px); }
.door .tag { font-size: .8rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .06em; }
.door h2 { font-size: 1.35rem; color: var(--navy); }
.door p { color: var(--muted); }
.door .go { margin-top: auto; font-weight: 700; color: var(--navy); }

/* Sections */
section { padding: 76px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head .kicker { color: var(--orange); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); color: var(--navy); margin-top: 6px; }
.section-head p { color: var(--muted); margin-top: 10px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px;
}
.card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .ico { font-size: 1.5rem; margin-bottom: 8px; }

.note {
  margin-top: 26px; padding: 16px 20px; border-left: 4px solid var(--orange);
  background: #fff4ec; border-radius: 8px; color: #6a3a1a;
}

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px 22px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -16px; left: 22px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 700;
  display: grid; place-items: center;
}
.step h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Formateurs */
.alt { background: #eef2f7; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.list { list-style: none; display: grid; gap: 12px; }
.list li { display: flex; gap: 12px; align-items: flex-start; }
.list li::before { content: "✓"; color: #fff; background: var(--orange); border-radius: 50%; width: 22px; height: 22px; flex: none; display: grid; place-items: center; font-size: .8rem; margin-top: 3px; }

/* Contact */
.contact-box { background: var(--navy); color: #fff; border-radius: 20px; padding: 40px; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.contact-box h2 { font-size: 1.6rem; }
.contact-box p { color: #c9d6e3; margin-top: 10px; }
.contact-box form { display: grid; gap: 12px; }
.contact-box label { font-size: .85rem; color: #c9d6e3; }
.contact-box input, .contact-box select, .contact-box textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; background: #fff; color: var(--text);
}
.contact-box textarea { min-height: 90px; resize: vertical; }

.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer; border: 0;
  background: var(--orange); color: #fff; font-weight: 700; padding: 13px 22px; border-radius: 999px; font-size: 1rem;
}
.btn:hover { background: var(--orange-dark); }
.btn.ghost { background: transparent; border: 2px solid #fff; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); }
.contact-lines { margin-top: 18px; display: grid; gap: 8px; }
.contact-lines a { color: #fff; }

footer { background: #0b2033; color: #9fb2c5; padding: 28px 0; font-size: .9rem; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { color: #cfe0f0; }

@media (max-width: 640px) {
  .nav a:not(.btn-small) { display: none; }
  .hero { padding: 56px 0 64px; }
  section { padding: 56px 0; }
  .contact-box { padding: 26px; }
}
