/* ═══════════════════════════════════════════════════════════════
   style.css — Feuille de styles partagée LO-SOFT
   Utilisée par : index.html, mentions-legales.html
   ═══════════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0D2340;
  --blue: #1A4A8A;
  --blue-mid: #2563C4;
  --blue-light: #4A90E2;
  --blue-pale: #E8F2FC;
  --blue-frost: #F0F6FD;
  --accent: #C8351A;
  --accent-light: #FDECEA;
  --white: #FFFFFF;
  --off-white: #F8F9FB;
  --gray-100: #F2F4F7;
  --gray-200: #E4E8ED;
  --gray-400: #9BA5B4;
  --gray-600: #5A6474;
  --gray-800: #1E2532;
  --text: #1E2532;
  --text-muted: #5A6474;
  --sans: 'DM Sans', sans-serif;
  --serif: 'DM Serif Display', serif;
}

html { font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── FOOTER (commun) ─────────────────────────────────────────── */
.footer {
  background: var(--gray-800);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
}
.footer-logo span { color: var(--blue-light); }
.footer-cert {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cert-chip {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.18s;
}
.footer-links a:hover { color: rgba(255,255,255,0.8); }

/* ─── SECTION WRAPPERS (commun) ──────────────────────────────── */
.section { padding: 80px 60px; max-width: 1100px; margin: 0 auto; }
.section-full { padding: 80px 0; }
.section-inner { max-width: 1100px; margin: 0 auto; padding: 0 60px; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--blue-mid); }
.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 580px;
}

/* ─── HERO (index.html) ───────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: stretch;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.35;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--blue-mid);
  opacity: 0.2;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 60px;
  gap: 60px;
  align-items: center;
}
.hero-logo {
  display: block;
  max-width: 220px;
  height: auto;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  flex-shrink: 0;
}
.hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-light);
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 36px;
  font-weight: 300;
  max-width: 420px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-cta:hover { background: #a82a14; }
.hero-cta svg { width: 16px; height: 16px; }
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 24px;
  backdrop-filter: blur(10px);
}
.hero-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.hero-card-value {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  padding: 3px 10px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}
.cert-strip {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.cert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}

/* ─── INTRO BAND (index.html) ────────────────────────────────── */
.intro-band {
  background: var(--blue-frost);
  border-top: 3px solid var(--blue-mid);
  border-bottom: 1px solid var(--gray-200);
}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}
.intro-text p:last-child { margin-bottom: 0; }
.intro-text strong { color: var(--navy); font-weight: 500; }
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kpi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px;
  text-align: center;
}
.kpi-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--blue-mid);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 6px;
}
.kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ─── MODULES (index.html) ───────────────────────────────────── */
.modules-bg { background: var(--white); }
.module-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.module-card {
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.module-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 8px 32px rgba(37,99,196,0.08);
}
.module-card-head {
  padding: 24px 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid var(--gray-100);
}
.module-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}
.mod-green { background: #EAF7F0; }
.mod-blue  { background: #E8F2FC; }
.mod-navy  { background: #E8EDF5; }
.mod-red   { background: #FDECEA; }
.mod-amber { background: #FFF4E5; }
.mod-teal  { background: #E5F5F2; }
.module-icon--rfe {
  background: #ffffff;
  border: 1px solid #E8EDF5;
  overflow: hidden;
  padding: 2px;
}
.module-num {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 2px;
}
.module-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}
.module-body { padding: 20px 24px 24px; }
.module-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
  line-height: 1.5;
}
.module-item:last-child { border-bottom: none; padding-bottom: 0; }
.check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.check::after {
  content: '';
  width: 6px; height: 4px;
  border-left: 1.5px solid var(--blue-mid);
  border-bottom: 1.5px solid var(--blue-mid);
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.module-wide { grid-column: span 2; }
.module-wide .module-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

/* ─── AVANTAGES (index.html) ─────────────────────────────────── */
.avantages-bg { background: var(--navy); }
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 48px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.avantage-card {
  background: rgba(255,255,255,0.04);
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.avantage-card:last-child { border-right: none; }
.avantage-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(74,144,226,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 18px;
}
.avantage-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.avantage-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.avantages-bg .section-title { color: var(--white); }
.avantages-bg .section-label { color: var(--blue-light); }
.avantages-bg .section-desc { color: rgba(255,255,255,0.6); }

/* ─── OFFRES (index.html) ────────────────────────────────────── */
.offres-bg { background: var(--off-white); }
.offres-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.offre-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.offre-card.featured {
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 4px rgba(37,99,196,0.08);
}
.offre-badge {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--blue-mid);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}
.offre-head {
  padding: 32px 28px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.offre-name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 6px;
}
.offre-name-sub {
  font-size: 13px;
  color: var(--text-muted);
}
.offre-body { padding: 20px 28px 28px; }
.offre-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 13.5px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.offre-feature:last-child { border-bottom: none; }
.feat-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.feat-check.yes { background: #EAF7F0; }
.feat-check.yes::after {
  content: '';
  width: 7px; height: 4.5px;
  border-left: 1.5px solid #1A7A48;
  border-bottom: 1.5px solid #1A7A48;
  transform: rotate(-45deg) translateY(-1px);
  display: block;
}
.feat-check.no { background: var(--gray-100); }
.feat-check.no::after {
  content: '';
  width: 7px; height: 1.5px;
  background: var(--gray-400);
  display: block;
  border-radius: 1px;
}
.feat-check.no ~ span { color: var(--gray-400); }

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
.extras-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px 28px;
}
.extras-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.extras-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}
.extras-item:last-child { border-bottom: none; }
.extras-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

/* ─── CONTACT (index.html) ───────────────────────────────────── */
.contact-bg {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-left .section-title { color: var(--white); }
.contact-left .section-label { color: var(--blue-light); }
.contact-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-top: 16px;
}
.contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}
.contact-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 20px 24px;
}
.contact-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 8px;
}
.contact-name {
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 4px;
}
.contact-phone {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
  margin: 8px 0 4px;
}
.contact-email {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ─── FORMULAIRE DE CONTACT (index.html) ─────────────────────── */
.form-section {
  background: var(--off-white);
  padding: 80px 0;
}
.form-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.form-left .section-title { color: var(--navy); }
.form-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-top: 16px;
}
.form-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--gray-600);
}
.form-info-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(13,35,64,0.06);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.form-label span { color: var(--accent); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text);
  background: var(--gray-100);
  border: 1.5px solid transparent;
  border-radius: 9px;
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  width: 100%;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-400); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--blue-mid);
  background: var(--white);
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%239BA5B4' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--blue-mid);
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 24px;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--blue); }
.form-submit svg { width: 16px; height: 16px; }
.form-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin-top: 12px;
}
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  text-align: center;
}
.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #EAF7F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.form-success-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}
.form-success-desc {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 300px;
  line-height: 1.6;
}

/* ─── TOPBAR (mentions-legales.html) ─────────────────────────── */
.topbar {
  background: var(--navy);
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-logo {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white);
  font-weight: 400;
  text-decoration: none;
}
.topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.18s;
}
.topbar-back:hover { color: var(--white); }
.topbar-back svg { width: 14px; height: 14px; }

/* ─── PAGE HEADER (mentions-legales.html) ─────────────────────── */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 56px 60px 52px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.3;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 40%;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--blue-mid);
  opacity: 0.18;
}
.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
}
.page-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.page-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  flex-shrink: 0;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 12px;
}
.page-header h1 em { font-style: italic; color: var(--blue-light); }
.page-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ─── LAYOUT MENTIONS (mentions-legales.html) ─────────────────── */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 60px 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

/* ─── TOC (mentions-legales.html) ────────────────────────────── */
.toc { position: sticky; top: 80px; }
.toc-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 16px;
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
  text-decoration: none;
  padding: 5px 0 5px 12px;
  border-left: 2px solid var(--gray-200);
  transition: color 0.18s, border-color 0.18s;
  line-height: 1.4;
}
.toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-size: 10px;
  font-weight: 600;
  color: var(--gray-400);
  flex-shrink: 0;
}
.toc a:hover { color: var(--navy); border-color: var(--blue-mid); }
.toc a.active { color: var(--navy); font-weight: 500; border-color: var(--blue-mid); }

/* ─── CONTENT MENTIONS (mentions-legales.html) ────────────────── */
.content { min-width: 0; }
.ml-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-200);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.45s ease forwards;
}
.ml-section:last-child { border-bottom: none; padding-bottom: 0; }

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.ml-section:nth-child(1) { animation-delay: 0.04s; }
.ml-section:nth-child(2) { animation-delay: 0.09s; }
.ml-section:nth-child(3) { animation-delay: 0.14s; }
.ml-section:nth-child(4) { animation-delay: 0.19s; }
.ml-section:nth-child(5) { animation-delay: 0.24s; }
.ml-section:nth-child(6) { animation-delay: 0.29s; }
.ml-section:nth-child(7) { animation-delay: 0.34s; }
.ml-section:nth-child(8) { animation-delay: 0.39s; }

.ml-section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 6px;
}
.ml-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.ml-section h2 em { font-style: italic; color: var(--blue-mid); }
.ml-section p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 10px;
}
.ml-section p:last-child { margin-bottom: 0; }
.ml-section ul { list-style: none; margin-bottom: 10px; }
.ml-section ul li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 3px 0;
}
.ml-section ul li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
  margin-top: 8px;
}
.ml-section a { color: var(--blue-mid); text-decoration: none; }
.ml-section a:hover { text-decoration: underline; }
.ml-section strong { color: var(--navy); font-weight: 500; }

/* Info card */
.info-card {
  background: var(--blue-frost);
  border: 1px solid var(--gray-200);
  border-top: 3px solid var(--blue-mid);
  border-radius: 12px;
  padding: 0 24px;
  margin: 18px 0;
  display: grid;
  grid-template-columns: 190px 1fr;
}
.info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-200);
}
.info-value {
  font-size: 14px;
  color: var(--text);
  padding: 12px 0 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}
.info-label:last-of-type, .info-value:last-of-type { border-bottom: none; }

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 0;
}
.right-pill {
  background: var(--blue-frost);
  border: 1px solid var(--blue-pale);
  border-radius: 9px;
  padding: 10px 14px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.right-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

/* ─── PRINT ───────────────────────────────────────────────────── */
@media print {
  body { font-size: 14px; }
  .hero { min-height: auto; }
  .hero-inner { padding: 48px 40px; }
  .section { padding: 48px 40px; }
  .module-card:hover { box-shadow: none; border-color: var(--gray-200); }
}

/* ─── TABLETTE (≤ 900px) ──────────────────────────────────────── */
@media (max-width: 900px) {
  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 56px 32px;
    gap: 40px;
  }
  .hero h1 { font-size: 40px; }
  .hero-sub { max-width: 100%; }

  /* Sections */
  .section { padding: 60px 32px; }
  .section-full { padding: 60px 0; }
  .section-inner { padding: 0 32px; }

  /* Intro */
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }

  /* Modules */
  .module-header { flex-direction: column; gap: 16px; margin-bottom: 36px; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .module-wide { grid-column: span 2; }

  /* Avantages */
  .avantages-grid { grid-template-columns: 1fr 1fr; }
  .avantage-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .avantage-card:last-child { border-bottom: none; }

  /* Offres */
  .offres-grid { grid-template-columns: 1fr; gap: 32px; }
  .extras { grid-template-columns: 1fr; }

  /* Contact */
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }

  /* Formulaire */
  .form-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-inner { padding: 0 32px; }
  .form-section { padding: 60px 0; }

  /* Footer */
  .footer { flex-direction: column; align-items: flex-start; padding: 24px 32px; gap: 12px; }
  .footer-cert { flex-wrap: wrap; gap: 8px; }

  /* Mentions légales */
  .topbar { padding: 0 32px; }
  .page-header { padding: 48px 32px 44px; }
  .page-body { padding: 48px 32px 64px; grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .rights-grid { grid-template-columns: 1fr; }
}

/* ─── MOBILE (≤ 600px) ────────────────────────────────────────── */
@media (max-width: 600px) {
  html { font-size: 15px; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 40px 20px 48px; gap: 32px; }
  .hero h1 { font-size: 32px; line-height: 1.15; }
  .hero-sub { font-size: 15px; }
  .hero-cta { width: 100%; justify-content: center; padding: 15px 20px; font-size: 15px; }
  .hero-right { gap: 12px; }
  .hero-card { padding: 16px 18px; }

  /* Sections */
  .section { padding: 48px 20px; }
  .section-full { padding: 48px 0; }
  .section-inner { padding: 0 20px; }
  .section-title { font-size: 28px; }
  .section-desc { font-size: 15px; }

  /* Intro */
  .intro-grid { gap: 32px; }
  .kpi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .kpi-num { font-size: 26px; }

  /* Modules — accordéon mobile */
  .module-header { margin-bottom: 28px; }
  .modules-grid { grid-template-columns: 1fr; }
  .module-wide { grid-column: span 1; }
  .module-wide .module-body { display: none; grid-template-columns: 1fr; gap: 0; }
  .module-card-head { cursor: pointer; user-select: none; border-bottom: none; }
  .module-card.open .module-card-head { border-bottom: 1px solid var(--gray-100); }
  .module-card-head::after {
    content: '';
    display: block;
    width: 20px; height: 20px;
    margin-left: auto;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 7.5l5 5 5-5' stroke='%239BA5B4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.25s ease;
  }
  .module-card.open .module-card-head::after { transform: rotate(180deg); }
  .module-body { display: none; }
  .module-card.open .module-body { display: block; }
  .module-wide.open .module-body { display: grid; grid-template-columns: 1fr; gap: 0; }

  /* Avantages */
  .avantages-grid { grid-template-columns: 1fr; border-radius: 12px; }
  .avantage-card { padding: 24px 20px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .avantage-card:last-child { border-bottom: none; }

  /* Offres */
  .offres-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
  .offre-head { padding: 28px 20px 20px; }
  .offre-body { padding: 16px 20px 24px; }
  .offre-feature { font-size: 13px; }

  /* Extras */
  .extras { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .extras-box { padding: 20px; }

  /* Contact */
  .contact-inner { gap: 32px; }
  .contacts { gap: 16px; }
  .contact-card { padding: 16px 18px; }
  .contact-phone { font-size: 19px; }

  /* Formulaire */
  .form-inner { padding: 0 20px; }
  .form-section { padding: 48px 0; }
  .contact-form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer { flex-direction: column; align-items: flex-start; padding: 20px; gap: 12px; }
  .footer-cert { flex-wrap: wrap; gap: 8px; }
  .footer-copy { font-size: 11px; }
}
