/* PALETTE E — Ciel & Cosmos — appliquée le 08/06/2026 */
/* TYPOGRAPHIE — Atkinson Hyperlegible + tailles agrandies — 11/06/2026 */
/* ============================================
   LES PETITS DÉBROUILLARDS — STYLES COMMUNS
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&family=DM+Mono:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --noir: #1A3A4A;
  --jaune: #FFD700;
  --rouge: #CC0000;
  --vert: #378ADD;
  --blanc: #FFFFFF;
  --gris-clair: #F0F7FF;
  --gris-moyen: #D0E4F5;
  --texte: #1A3A4A;
  --texte-sec: #3A5A7A;
  --texte-ter: #6A8AAA;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 16px;
  color: var(--texte);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TOPBAR ── */
.topbar {
  background: #185FA5;
  padding: 7px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar span { color: rgba(255,255,255,0.8); font-size: 13px; }
.topbar a { color: #FFD700; font-size: 13px; margin-left: 16px; }

/* ── NAVBAR ── */
.navbar {
  background: var(--blanc);
  border-bottom: 1px solid var(--gris-moyen);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo-zone { display: flex; align-items: center; gap: 12px; }
.logo-symbol { display: flex; align-items: center; gap: 5px; }
.logo-q { font-size: 28px; font-weight: 600; color: #185FA5; line-height: 1; }
.logo-grid { display: flex; flex-direction: column; gap: 3px; }
.logo-row { display: flex; gap: 3px; align-items: center; }
.sq { width: 9px; height: 9px; }
.sq.n { background: var(--noir); }
.sq.j { background: var(--jaune); }
.sq.r { background: var(--rouge); }
.logo-plus { color: var(--rouge); font-size: 18px; font-weight: 600; line-height: 1; margin-left: 2px; }
.logo-text { border-left: 2.5px solid var(--jaune); padding-left: 12px; margin-left: 4px; }
.logo-name { font-size: 15px; font-weight: 600; color: var(--noir); line-height: 1.3; }
.logo-sub { font-size: 12px; color: var(--texte-sec); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 14.5px; color: var(--texte-sec); transition: color 0.15s; }
.nav-links a:hover { color: var(--noir); }
.nav-links a.active { color: #185FA5; font-weight: 500; }
.nav-cta {
  background: var(--rouge);
  color: var(--blanc) !important;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background 0.15s;
}
.nav-cta:hover { background: #AA0000; }

/* ── BANDE TRICOLORE ── */
.bande { display: flex; height: 4px; }
.bande-n { flex: 1; background: #185FA5; }
.bande-j { flex: 1; background: var(--jaune); }
.bande-r { flex: 1; background: var(--rouge); }

/* ── SECTIONS ── */
.section { padding: 40px 32px; }
.section-grey { background: var(--gris-clair); padding: 40px 32px; }
.section-dark { background: #1A3A4A; padding: 40px 32px; }

.sec-header { margin-bottom: 24px; }
.sec-title { font-size: 24px; font-weight: 600; color: var(--texte); margin-bottom: 6px; }
.sec-title-light { font-size: 24px; font-weight: 600; color: var(--blanc); margin-bottom: 6px; }
.sec-sub { font-size: 15px; color: var(--texte-sec); }
.sec-sub-light { font-size: 15px; color: #aaa; }

/* ── HERO ── */
.hero { background: #1A3A4A; padding: 48px 32px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,215,0,0.15); color: var(--jaune);
  font-size: 13px; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.hero h1 { font-size: 34px; font-weight: 600; color: #ffffff; line-height: 1.3; margin-bottom: 14px; }
.hero h1 em { color: var(--jaune); font-style: normal; }
.hero p { font-size: 16px; color: #B8D4F0; line-height: 1.8; margin-bottom: 24px; max-width: 560px; }
.hero-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hstat { background: rgba(255,255,255,0.12); border-radius: var(--radius-sm); padding: 12px 18px; text-align: center; }
.hstat strong { font-size: 22px; color: var(--jaune); font-weight: 600; display: block; }
.hstat small { font-size: 12.5px; color: #B8D4F0; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 22px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 500; cursor: pointer; border: none; transition: all 0.15s; }
.btn-rouge { background: var(--rouge); color: var(--blanc); }
.btn-rouge:hover { background: #AA0000; }
.btn-jaune { background: var(--jaune); color: var(--noir); }
.btn-jaune:hover { background: #E8C400; }
.btn-vert { background: #185FA5; color: var(--blanc); }
.btn-vert:hover { background: #0F4A85; }
.btn-outline { background: transparent; color: #FFD700; border: 1px solid rgba(255,215,0,0.5); }
.btn-outline:hover { background: rgba(255,215,0,0.1); }
.btn-outline-dark { background: transparent; color: var(--rouge); border: 1px solid var(--rouge); }
.btn-outline-dark:hover { background: rgba(204,0,0,0.06); }

/* ── CARDS ── */
.card { background: var(--blanc); border: 1px solid var(--gris-moyen); border-radius: var(--radius); padding: 20px; }
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--texte-sec); line-height: 1.7; }

/* ── BADGE / PILLS ── */
.badge { display: inline-block; font-size: 11.5px; padding: 3px 9px; border-radius: 20px; font-weight: 500; }
.badge-rouge { background: #FAECE7; color: #993C1D; }
.badge-vert { background: #E1F5EE; color: #085041; }
.badge-bleu { background: #E6F1FB; color: #185FA5; }
.badge-jaune { background: #FAEEDA; color: #633806; }
.badge-noir { background: var(--noir); color: var(--blanc); }

/* ── FORMS ── */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13.5px; color: var(--texte-sec); font-weight: 500; }
.form-group input,
.form-group select,
.form-group textarea {
  font-size: 15px; padding: 10px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gris-moyen);
  background: var(--blanc); color: var(--texte);
  font-family: 'Atkinson Hyperlegible', sans-serif;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--rouge); }
.form-group textarea { height: 80px; resize: none; }

/* ── FOOTER ── */
.footer { background: #0F2A3D; padding: 36px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { font-size: 12px; font-weight: 600; color: var(--jaune); margin-bottom: 12px; letter-spacing: 0.6px; text-transform: uppercase; }
.footer p, .footer a { font-size: 13.5px; color: rgba(255,255,255,0.4); line-height: 2; display: block; }
.footer a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { background: #0A1F2E; border-top: 1px solid rgba(255,215,0,0.1); padding: 12px 32px; display: flex; justify-content: space-between; }
.footer-bottom span { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ── META PILLS ── */
.meta-pill { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; background: var(--gris-clair); color: var(--texte-sec); padding: 4px 10px; border-radius: 20px; }

/* ── PROGRESS BAR ── */
.progress-bar { display: flex; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--gris-moyen); margin-bottom: 28px; }
.prog-step { flex: 1; padding: 10px 8px; text-align: center; background: var(--blanc); border-right: 1px solid var(--gris-moyen); cursor: pointer; }
.prog-step:last-child { border-right: none; }
.prog-step.active { background: #185FA5; }
.prog-step.done { background: #0F2A3D; }
.prog-step .pnum { font-size: 11px; color: var(--texte-ter); display: block; }
.prog-step.active .pnum, .prog-step.done .pnum { color: rgba(255,255,255,0.6); }
.prog-step .plabel { font-size: 13.5px; font-weight: 500; color: var(--texte-sec); display: block; margin-top: 2px; }
.prog-step.active .plabel, .prog-step.done .plabel { color: var(--blanc); }

/* ── STEP CONTENT ── */
.step-content { display: none; }
.step-content.visible { display: block; }

/* ── RECAP BLOC ── */
.recap-bloc { background: var(--gris-clair); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.recap-bloc h4 { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--gris-moyen); }
.recap-row { display: flex; justify-content: space-between; font-size: 14.5px; color: var(--texte-sec); padding: 4px 0; }
.recap-row strong { color: var(--texte); }

/* ── SUCCESS ── */
.success-bloc { text-align: center; padding: 40px 20px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: #EAF3DE; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 28px; }
.success-bloc h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.success-bloc p { font-size: 15px; color: var(--texte-sec); line-height: 1.8; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding: 32px 16px; }
  .hero h1 { font-size: 26px; }
  .section, .section-grey, .section-dark { padding: 28px 16px; }
  .footer { grid-template-columns: 1fr 1fr; padding: 28px 16px; }
  .form-grid { grid-template-columns: 1fr; }
}
