/* Codipo — landing institutionnelle. Charte reprise de Bonpéï : jaune #FFCC00, orange #F37E00, noir, gris, Roboto. */
:root {
  --jaune: #FFCC00;
  --jaune-doux: #FFF3BF;
  --orange: #F37E00;
  --noir: #111111;
  --gris: #737373;
  --gris-clair: #F5F5F5;
  --ligne: #E6E6E6;
  --blanc: #FFFFFF;
  --radius: 16px;
  --wrap: 1080px;
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font);
  color: var(--noir);
  background: var(--blanc);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--noir); text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
h1, h2 { line-height: 1.15; font-weight: 900; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; }
p + p { margin-top: 14px; }
strong { font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ligne); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand__mark { width: 36px; height: 36px; border-radius: 10px; background: var(--jaune); color: var(--noir); display: grid; place-items: center; font-weight: 900; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--gris); }
.nav a:hover { color: var(--noir); }

/* ---------- Héro ---------- */
.hero { padding: 88px 0 72px; background: radial-gradient(60% 80% at 100% 0%, var(--jaune-doux) 0%, transparent 60%), var(--blanc); }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.lede { font-size: 1.15rem; max-width: 62ch; color: #333; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 30px 0; padding-top: 22px; border-top: 1px solid var(--ligne); }
.facts strong { display: block; font-size: 1.5rem; font-weight: 900; }
.facts span { color: var(--gris); font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--jaune); transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--jaune); color: var(--noir); }
.btn--primary:hover { background: #FFD633; border-color: #FFD633; color: var(--noir); }
.btn--ghost { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn--ghost:hover { background: var(--noir); color: var(--blanc); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--gris-clair); }
.grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center; }
.logo-card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--radius); padding: 40px 32px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.05); }
.logo-card img { width: min(240px, 80%); margin: 0 auto 18px; }
.logo-card__caption { color: var(--gris); font-size: .95rem; font-weight: 500; }
.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 26px 0; }
.stats strong { display: block; font-size: 1.4rem; font-weight: 900; color: var(--orange); }
.stats span { color: var(--gris); font-size: .9rem; }
.contact-line { margin-top: 22px; padding: 16px 20px; background: var(--jaune-doux); border-radius: 12px; font-weight: 500; }

/* ---------- Mentions légales ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 12px 24px; margin-top: 8px; }
.legal dt { font-weight: 700; color: var(--gris); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.legal dd { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--ligne); }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0; border-top: 1px solid var(--ligne); font-size: .9rem; color: var(--gris); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.site-footer p { margin: 0; line-height: 1.5; }
.site-footer a { color: var(--gris); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-header .wrap { height: auto; padding-top: 12px; padding-bottom: 12px; flex-direction: column; align-items: flex-start; }
  .nav { gap: 14px; }
  .hero { padding: 56px 0 48px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .section { padding: 52px 0; }
  .legal { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dt { padding-top: 12px; }
}
