/* ============================================================
   VARIABLES — MODIFIER LES COULEURS ICI SI BESOIN
   ============================================================ */
:root {
  --bleu-fonce:  #0F2744;
  --bleu-moyen:  #1A4A8A;
  --bleu-accent: #2563EB;
  --bleu-clair:  #EEF4FF;
  --gris-texte:  #374151;
  --gris-leger:  #6B7280;
  --gris-clair:  #F8FAFC;
  --gris-border: #E2E8F0;
  --blanc:       #FFFFFF;
  --vert-ok:     #059669;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gris-texte);
  background: var(--blanc);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Instrument Serif', serif; color: var(--bleu-fonce); line-height: 1.2; }
a { color: var(--bleu-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   UTILITAIRES
   ============================================================ */
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bleu-accent);
  margin-bottom: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bleu-accent);
  color: var(--blanc);
  padding: 13px 26px;
  border-radius: 7px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--bleu-moyen); transform: translateY(-1px); color: var(--blanc); text-decoration: none; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bleu-fonce);
  padding: 13px 26px;
  border-radius: 7px;
  border: 1.5px solid var(--gris-border);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover { border-color: var(--bleu-accent); background: var(--bleu-clair); color: var(--bleu-fonce); text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-border);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--bleu-fonce); font-style: normal; }

.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gris-texte);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--bleu-accent); text-decoration: none; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-right { gap: 8px; }
}

.cta-mobile { display: none; }
@media (max-width: 768px) {
  .cta-desktop { display: none; }
  .cta-mobile { display: inline; }
}

/* ============================================================
   BURGER MENU MOBILE
   ============================================================ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bleu-fonce);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--blanc);
  border-top: 1px solid var(--gris-border);
  padding: 12px 20px 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gris-texte);
  padding: 12px 0;
  border-bottom: 1px solid var(--gris-border);
  text-decoration: none;
}
.nav-mobile-link:hover { color: var(--bleu-accent); text-decoration: none; }
.nav-mobile-cta {
  display: block;
  margin-top: 16px;
  padding: 13px;
  background: var(--bleu-accent);
  color: var(--blanc);
  border-radius: 7px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-mobile-cta:hover { background: var(--bleu-moyen); color: var(--blanc); text-decoration: none; }

@media (max-width: 768px) { .burger { display: flex; } }

.nav-cta {
  background: var(--bleu-accent);
  color: var(--blanc) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--bleu-moyen); }

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
#hero {
  padding: 136px 32px 96px;
  background: linear-gradient(150deg, #FFFFFF 55%, #EEF4FF 100%);
  position: relative;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 65%);
  border-radius: 0;
  border: none;
  pointer-events: none;
}
.hero-inner { max-width: 1080px; margin: 0 auto; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bleu-clair);
  color: var(--bleu-accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

/* MODIFIER ICI : Accroche principale */
#hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  max-width: 900px;
  margin-bottom: 22px;
  font-weight: 400;
}
#hero h1 em { font-style: italic; color: var(--bleu-accent); }

/* MODIFIER ICI : Sous-titre hero */
.hero-sub {
  font-size: 1.05rem;
  color: var(--gris-leger);
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 56px; }

.hero-proof {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--gris-border);
}
.proof-item { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: var(--gris-leger); }
.proof-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vert-ok); flex-shrink: 0; }

/* ============================================================
   SECTION 2 — PROBLÈME
   ============================================================ */
#probleme { padding: 96px 0; background: var(--blanc); }
#probleme h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; max-width: 520px; margin-top: 8px; margin-bottom: 48px; }

.probleme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.probleme-card {
  padding: 32px;
  background: var(--gris-clair);
  border-radius: 12px;
  border: 1px solid var(--gris-border);
  display: flex;
  flex-direction: column;
}
.probleme-num {
  font-family: 'Instrument Serif', serif;
  font-size: 2.6rem;
  color: #DBEAFE;
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 400;
}
.probleme-card h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 10px; }
.probleme-card p { font-size: 0.88rem; color: var(--gris-leger); line-height: 1.7; flex: 1; }

.probleme-conclusion {
  padding: 22px 28px;
  background: var(--bleu-clair);
  border-radius: 9px;
  border-left: 3px solid var(--bleu-accent);
  font-size: 1rem;
  color: var(--bleu-fonce);
  font-weight: 500;
}

/* ============================================================
   SECTION 3 — SOLUTION
   ============================================================ */
#solution { padding: 96px 0; background: var(--bleu-fonce); color: var(--blanc); }
#solution .section-label { color: #93C5FD; }
#solution h2 { color: var(--blanc); font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 8px; margin-bottom: 18px; font-weight: 400; max-width: 620px; }
.solution-intro { color: #CBD5E1; font-size: 1rem; max-width: 660px; margin-bottom: 56px; font-weight: 300; line-height: 1.8; }

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.solution-card {
  padding: 32px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.09);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.solution-card:hover { background: rgba(255,255,255,0.1); }
.solution-icon { font-size: 1.6rem; margin-bottom: 18px; display: block; }
.solution-card h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--blanc); margin-bottom: 10px; }
.solution-card p { color: #94A3B8; font-size: 0.88rem; line-height: 1.7; flex: 1; }

/* ============================================================
   SECTION 4 — OFFRE
   ============================================================ */
#offre { padding: 96px 0; background: var(--gris-clair); }
#offre h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-top: 8px; margin-bottom: 6px; font-weight: 400; }
.offre-sub { color: var(--gris-leger); margin-bottom: 48px; font-size: 0.95rem; }

.offre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.offre-card {
  background: var(--blanc);
  border-radius: 14px;
  border: 1px solid var(--gris-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
}
.offre-card:hover { box-shadow: 0 6px 24px rgba(15,39,68,0.09); transform: translateY(-2px); }
.offre-card.offre-featured { border: 2px solid var(--bleu-accent); }

.offre-card-header { padding: 28px 28px 22px; border-bottom: 1px solid var(--gris-border); }
.offre-niveau { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-accent); margin-bottom: 6px; }
.offre-card h3 { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 10px; }
.offre-prix { font-family: 'Instrument Serif', serif; font-size: 1.9rem; color: var(--bleu-accent); font-weight: 400; margin-bottom: 4px; }
.offre-prix small { font-size: 1rem; }
.offre-accroche { font-size: 0.82rem; color: #9CA3AF; font-style: italic; }

/* Ruban diagonal angle haut-droit */
.offre-ribbon {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 64px;
  height: 64px;
  overflow: hidden;
  pointer-events: none;
}
.offre-ribbon::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 64px 64px 0;
  border-color: transparent var(--bleu-accent) transparent transparent;
}
.offre-ribbon::after {
  content: '★';
  position: absolute;
  top: 7px;
  right: 7px;
  color: var(--blanc);
  font-size: 1rem;
  line-height: 1;
}

.offre-card-body { padding: 22px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.offre-card-body p { font-size: 0.88rem; color: #4B5563; margin-bottom: 24px; line-height: 1.7; flex: 1; }

.offre-btn { display: block; text-align: center; padding: 11px 18px; border-radius: 7px; font-size: 0.85rem; font-weight: 500; transition: all 0.2s; text-decoration: none; margin-top: auto; }
.offre-btn-primary { background: var(--bleu-accent); color: var(--blanc); }
.offre-btn-primary:hover { background: var(--bleu-moyen); color: var(--blanc); text-decoration: none; }
.offre-btn-outline { background: transparent; color: var(--bleu-accent); border: 1.5px solid var(--bleu-accent); }
.offre-btn-outline:hover { background: var(--bleu-clair); color: var(--bleu-accent); text-decoration: none; }

/* ============================================================
   SECTION 5 — POURQUOI MOI
   ============================================================ */
#pourquoi { padding: 96px 0; background: var(--blanc); }

.pourquoi-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  gap: 40px;
  margin-bottom: 52px;
}
.pourquoi-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 400;
  max-width: 520px;
  margin: 0;
}
.pourquoi-photo {
  width: 200px;
  height: auto;
}
.pourquoi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pourquoi-item { display: flex; flex-direction: column; gap: 14px; }
.pourquoi-num { font-family: 'Instrument Serif', serif; font-size: 2.2rem; color: #DBEAFE; line-height: 1; font-weight: 400; }
.pourquoi-item h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 6px; }
.pourquoi-item p { font-size: 0.88rem; color: var(--gris-leger); line-height: 1.7; }

/* ============================================================
   SECTION 6 — TÉMOIGNAGE
   ============================================================ */
#temoignage { padding: 96px 0; background: var(--bleu-clair); }
.temoignage-inner { max-width: 100%; margin: 0; text-align: left; }
.temoignage-quote {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--bleu-fonce);
  line-height: 1.65;
  font-style: italic;
  margin: 28px 0 32px;
  font-weight: 400;
}
.temoignage-quote::before { content: '\201C'; }
.temoignage-quote::after  { content: '\201D'; }
.temoignage-divider { width: 40px; height: 2px; background: var(--bleu-accent); margin: 0 0 20px; border-radius: 2px; }
.temoignage-auteur { font-weight: 600; color: var(--bleu-fonce); font-size: 0.9rem; }
.temoignage-titre { font-size: 0.83rem; color: var(--gris-leger); margin-top: 3px; }
.temoignage-context { margin-top: 16px; font-size: 0.78rem; color: #9CA3AF; font-style: italic; }

/* ============================================================
   SECTION 7 — CONTACT
   ============================================================ */
#contact { padding: 96px 0; background: var(--blanc); }
#contact .section-label { display: block; }
#contact h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); margin-top: 8px; margin-bottom: 16px; font-weight: 400; }
.contact-sub { font-size: 1rem; color: var(--gris-leger); max-width: 480px; margin: 0 0 36px; font-weight: 300; line-height: 1.8; }
.contact-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-reassurance { font-size: 0.82rem; color: #9CA3AF; font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { padding: 28px 32px; background: var(--bleu-fonce); }
.footer-inner { max-width: 1080px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 0.82rem; color: #64748B; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: #64748B; font-size: 0.82rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--blanc); text-decoration: none; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-tag   { animation: fadeUp 0.5s ease 0.1s both; }
#hero h1    { animation: fadeUp 0.5s ease 0.2s both; }
.hero-sub   { animation: fadeUp 0.5s ease 0.3s both; }
.hero-btns  { animation: fadeUp 0.5s ease 0.4s both; }
.hero-proof { animation: fadeUp 0.5s ease 0.5s both; }

/* ============================================================
   RESPONSIVE — TABLETTE (< 900px)
   ============================================================ */
@media (max-width: 900px) {
  .probleme-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .offre-grid    { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pourquoi-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (< 640px)
   ============================================================ */
@media (max-width: 640px) {
  .container    { padding: 0 20px; }
  #hero         { padding: 110px 20px 72px; }
  nav .nav-inner { padding: 0 20px; }
  footer        { padding: 24px 20px; }

  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .hero-proof { gap: 14px; flex-direction: column; }

  .contact-btns { flex-direction: column; align-items: center; }
  .contact-btns .btn-primary,
  .contact-btns .btn-secondary { width: 100%; max-width: 320px; justify-content: center; }

  .footer-inner  { flex-direction: column; text-align: center; }
  .footer-links  { justify-content: center; }

  .temoignage-inner { text-align: left; }
}

/* ============================================================
   SECTION MÉTHODE
   ============================================================ */
#methode { padding: 96px 0; background: var(--blanc); }
#methode h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; margin-top: 8px; margin-bottom: 48px; }
.meth-step { display: flex; gap: 24px; align-items: flex-start; position: relative; }
.meth-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.meth-num { width: 48px; height: 48px; border-radius: 50%; background: var(--bleu-clair); border: 2px solid var(--bleu-accent); display: flex; align-items: center; justify-content: center; font-family: 'Instrument Serif', serif; font-size: 1.2rem; color: var(--bleu-accent); font-weight: 400; flex-shrink: 0; }
.meth-line { width: 2px; background: var(--gris-border); flex: 1; min-height: 40px; margin: 6px 0; }
.meth-step:last-child .meth-line { display: none; }
.meth-content { padding-bottom: 36px; flex: 1; }
.meth-step:last-child .meth-content { padding-bottom: 0; }
.meth-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.meth-title { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 600; color: var(--bleu-fonce); margin: 0; }
.meth-badge { font-size: 0.72rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.badge-green { background: #EAF3DE; color: #3B6D11; }
.badge-blue { background: var(--bleu-clair); color: var(--bleu-moyen); }
.badge-gray { background: #F1EFE8; color: #5F5E5A; }
.meth-desc { font-size: 0.88rem; color: var(--gris-leger); line-height: 1.7; margin: 0; }

/* ============================================================
   SECTION SIMULATEUR ROI
   ============================================================ */
#simulateur { padding: 96px 0; background: var(--gris-clair); }
#simulateur h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; margin-top: 8px; margin-bottom: 12px; }
.roi-sub { font-size: 1rem; color: var(--gris-leger); max-width: 580px; margin-bottom: 40px; font-weight: 300; line-height: 1.7; }
.roi-inner { background: var(--blanc); border-radius: 14px; border: 1px solid var(--gris-border); padding: 40px; }
.roi-calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.roi-slider-block { margin-bottom: 28px; }
.roi-slider-block:last-child { margin-bottom: 0; }
.roi-slider-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.roi-slider-label { font-size: 0.88rem; color: var(--gris-texte); font-weight: 500; }
.roi-slider-val { font-size: 1rem; font-weight: 700; color: var(--bleu-accent); }
.roi-slider-block input[type=range] { width: 100%; accent-color: var(--bleu-accent); }
.roi-slider-hints { display: flex; justify-content: space-between; font-size: 0.72rem; color: #9CA3AF; margin-top: 4px; }
.roi-cards { display: flex; flex-direction: column; gap: 16px; }
.roi-card { background: var(--bleu-clair); border-radius: 10px; padding: 24px 28px; }
.roi-card-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bleu-moyen); margin-bottom: 10px; }
.roi-card-val { font-family: 'Instrument Serif', serif; font-size: 2.4rem; font-weight: 400; color: var(--bleu-accent); line-height: 1; }
.roi-divider { border: none; border-top: 1px solid var(--gris-border); margin: 32px 0 20px; }
.roi-note { font-size: 0.78rem; color: #9CA3AF; text-align: center; font-style: italic; margin-bottom: 24px; }
.roi-cta { display: block; width: 100%; padding: 14px; background: var(--bleu-accent); color: var(--blanc); border: none; border-radius: 7px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; cursor: pointer; text-align: center; text-decoration: none; box-sizing: border-box; transition: background 0.2s; }
.roi-cta:hover { background: var(--bleu-moyen); color: var(--blanc); text-decoration: none; }
@media (max-width: 768px) { .roi-calc-grid { grid-template-columns: 1fr; gap: 32px; } .roi-inner { padding: 28px 20px; } }

/* ============================================================
   SECTION FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--gris-border); }
.faq-item { border-bottom: 1px solid var(--gris-border); }
.faq-last { border-bottom: none; }
.faq-btn { width: 100%; background: none; border: none; padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-align: left; gap: 16px; }
.faq-btn:hover .faq-q { color: var(--bleu-accent); }
.faq-q { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--bleu-fonce); transition: color 0.2s; }
.faq-icon { font-size: 1.2rem; color: var(--bleu-accent); flex-shrink: 0; transition: transform 0.25s; font-weight: 300; }
.faq-icon.open { transform: rotate(45deg); }
.faq-answer { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--gris-leger); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; }
.faq-answer.open { max-height: 400px; padding-bottom: 1.25rem; }

/* ============================================================
   MENTIONS LÉGALES — styles spécifiques
   ============================================================ */
.nav-back { font-size: 0.85rem; color: var(--bleu-accent); text-decoration: none; }
.nav-back:hover { text-decoration: underline; }
.page-wrapper { max-width: 800px; margin: 0 auto; padding: 64px 32px 96px; }
.page-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 400; margin-bottom: 8px; }
.page-date { font-size: 0.85rem; color: var(--gris-leger); margin-bottom: 56px; }
.legal-section { margin-bottom: 48px; }
.legal-section h2 { font-size: 1.25rem; font-weight: 400; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--gris-border); }
.legal-section h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--bleu-fonce); margin: 20px 0 8px; }
.legal-section p { margin-bottom: 12px; font-size: 0.95rem; }
.legal-section ul { margin: 8px 0 12px 20px; }
.legal-section ul li { font-size: 0.95rem; margin-bottom: 6px; }
.info-block { background: var(--bleu-clair); border-left: 3px solid var(--bleu-accent); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 16px 0; font-size: 0.9rem; }
.info-block strong { color: var(--bleu-fonce); }
.divider { border: none; border-top: 2px solid var(--gris-border); margin: 56px 0; }
.toc { background: #F8FAFC; border: 1px solid var(--gris-border); border-radius: 10px; padding: 24px 28px; margin-bottom: 48px; }
.toc h2 { font-size: 1rem; font-family: 'DM Sans', sans-serif; font-weight: 600; margin-bottom: 12px; border: none; padding: 0; }
.toc ol { margin-left: 20px; }
.toc ol li { font-size: 0.9rem; margin-bottom: 6px; }
.toc a { color: var(--bleu-accent); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .page-wrapper { padding: 40px 20px 72px; } }

/* ============================================================
   PORTFOLIO — page portfolio.html
   ============================================================ */
#portfolio-hero { padding: 120px 0 72px; background: linear-gradient(150deg, #FFFFFF 55%, #EEF4FF 100%); }
#portfolio-hero h1 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 400; max-width: 700px; margin-bottom: 16px; }
#portfolio-hero p { font-size: 1rem; color: var(--gris-leger); max-width: 560px; font-weight: 300; line-height: 1.8; }

.cas-list { padding: 80px 0; background: var(--gris-clair); }
.cas-item { background: var(--blanc); border: 1px solid var(--gris-border); border-radius: 16px; overflow: hidden; margin-bottom: 48px; transition: box-shadow 0.2s; }
.cas-item:hover { box-shadow: 0 8px 32px rgba(15,39,68,0.08); }
.cas-item:last-child { margin-bottom: 0; }

.cas-header { padding: 36px 40px 28px; border-bottom: 1px solid var(--gris-border); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cas-header-left { flex: 1; min-width: 0; }
.cas-num { font-family: 'Instrument Serif', serif; font-size: 3rem; color: #DBEAFE; line-height: 1; margin-bottom: 8px; font-weight: 400; }
.cas-title { font-family: 'Instrument Serif', serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 400; color: var(--bleu-fonce); margin-bottom: 10px; line-height: 1.25; }
.cas-subtitle { font-size: 0.88rem; color: var(--gris-leger); line-height: 1.6; max-width: 520px; }
.cas-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge { font-size: 0.72rem; font-weight: 600; padding: 4px 12px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.04em; }
.badge-blue   { background: var(--bleu-clair); color: var(--bleu-moyen); }
.badge-green  { background: #D1FAE5; color: #065F46; }
.badge-orange { background: #FEF3C7; color: #92400E; }
.badge-purple { background: #EDE9FE; color: #5B21B6; }
.badge-wip    { background: #FEF9C3; color: #854D0E; border: 1px dashed #CA8A04; }
.cas-flagship { display: inline-flex; align-items: center; gap: 6px; background: var(--bleu-fonce); color: var(--blanc); font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: 20px; letter-spacing: 0.06em; flex-shrink: 0; align-self: flex-start; white-space: nowrap; }

.cas-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cas-content { padding: 32px 40px; }
.cas-screenshot { background: #0D1117; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 280px; flex-direction: column; gap: 12px; }
.cas-screenshot img { width: 100%; border-radius: 8px; display: block; }
.cas-section { margin-bottom: 24px; }
.cas-section:last-child { margin-bottom: 0; }
.cas-section-title { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bleu-accent); margin-bottom: 8px; }
.cas-section p { font-size: 0.88rem; color: var(--gris-texte); line-height: 1.7; }
.cas-section ul { margin: 0; padding-left: 18px; }
.cas-section ul li { font-size: 0.88rem; color: var(--gris-texte); line-height: 1.7; margin-bottom: 4px; }

.cas-wip { margin: 0 40px 32px; padding: 16px 20px; background: #FFFBEB; border-left: 3px solid #F59E0B; border-radius: 0 8px 8px 0; font-size: 0.88rem; color: #78350F; line-height: 1.6; }
.cas-wip strong { color: #92400E; }

.cas-video-wrap { margin: 0 40px 32px; border-radius: 10px; overflow: hidden; background: #0D1117; position: relative; aspect-ratio: 16/9; }
.cas-video-wrap video, .cas-video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; border: none; }

.portfolio-cta { padding: 80px 0; background: var(--blanc); }

.cas-item--reverse .cas-body { direction: rtl; }
.cas-item--reverse .cas-body > * { direction: ltr; }

@media (max-width: 900px) {
  .cas-body { grid-template-columns: 1fr; }
  .cas-item--reverse .cas-body { direction: ltr; }
  .cas-screenshot { min-height: 200px; }
  .cas-header { flex-direction: column; }
  .cas-flagship { align-self: flex-start; }
}
@media (max-width: 640px) {
  .cas-header { padding: 24px 20px 20px; }
  .cas-content { padding: 24px 20px; }
  .cas-wip { margin: 0 20px 24px; }
  .cas-video-wrap { margin: 0 20px 24px; }
  .cas-num { font-size: 2rem; }
}
