/* ===== BASE / RESET ===== */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#f5f5f5;
  --text:#111827;
  --muted:#475569;
  --card:#ffffff;
  --line:rgba(15,23,42,0.10);
  --shadow:0 14px 40px rgba(0,0,0,.06);
  --shadow2:0 18px 50px rgba(0,0,0,0.08);
  --radius:18px;
  --primary:#111827;
}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
main{padding:32px 0 56px}

/* ===== HEADER / NAV ===== */
header{
  background:var(--primary);
  color:#f9fafb;
  padding:12px 24px;
  position:sticky; top:0; z-index:10;
}
.nav-bar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.brand{font-weight:800;font-size:.9rem;letter-spacing:.05em;text-transform:uppercase}
nav ul{list-style:none;display:flex;gap:16px;flex-wrap:wrap}
nav a{color:#e5e7eb;text-decoration:none;font-size:.9rem}
nav a:hover{text-decoration:underline}
.nav-cta{
  margin-left:14px;
  display:inline-flex;align-items:center;justify-content:center;
  height:40px;padding:0 14px;border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  color:#fff;text-decoration:none;font-weight:800;font-size:.85rem;
}
.nav-cta:hover{background:rgba(255,255,255,0.16)}
@media (max-width:768px){.nav-cta{margin:10px 0 0}}

/* ===== PAGE HERO (petit hero de page) ===== */
.page-hero{
  background:linear-gradient(180deg, rgba(17,24,39,1), rgba(17,24,39,0.85));
  color:#fff;
  border-radius:22px;
  padding:28px 22px;
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,0.08);
}
.page-hero h1{
  font-size:clamp(1.6rem, 2.4vw, 2.2rem);
  line-height:1.15;
  margin-bottom:10px;
}
.page-hero p{color:rgba(255,255,255,0.90);max-width:72ch}

/* ===== SECTIONS ===== */
.section{margin-top:26px}
.section h2{font-size:1.2rem;margin-bottom:10px}
.subtext{color:var(--muted)}

/* ===== GRID / CARDS ===== */
.grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
@media(max-width:900px){.grid-3{grid-template-columns:1fr}}
@media(max-width:850px){.grid-2{grid-template-columns:1fr}}

.card{
  background:var(--card);
  border:1px solid rgba(15,23,42,0.08);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.card h3{font-size:1.02rem;margin-bottom:8px}
.card p{color:var(--muted)}
.kpis{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.kpi{
  display:inline-flex;align-items:center;justify-content:center;
  padding:7px 10px;border-radius:999px;
  background:rgba(15,23,42,0.06);
  border:1px solid rgba(15,23,42,0.06);
  font-size:.82rem;font-weight:800;
}

/* ===== CTA BUTTONS ===== */
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:44px;padding:0 18px;border-radius:999px;
  text-decoration:none;font-weight:800;font-size:.9rem;
  border:1px solid transparent;
}
.btn.primary{background:var(--primary);color:#fff}
.btn.secondary{
  background:rgba(255,255,255,0.95);
  color:var(--primary);
  border-color:rgba(15,23,42,0.18);
}
.btn.outline{
  background:transparent;color:var(--primary);
  border-color:rgba(15,23,42,0.22);
}
.btn.outline:hover{background:rgba(15,23,42,0.05)}

/* ===== INFO TABLE (horaire/coûts) ===== */
.info{
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}
.info-row{
  display:flex;gap:12px;flex-wrap:wrap;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,0.08);
  background:rgba(255,255,255,0.75);
}
.info-label{min-width:160px;font-weight:900}
.info-value{color:var(--muted);max-width:80ch}

/* ===== FOOTER ===== */
footer{
  padding:22px 0;
  text-align:center;
  font-size:.85rem;
  color:#6b7280;
}

/* ===== REVEAL ===== */
.reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1;transform:translateY(0)}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
}
