/* KUBE : feuille de style commune à toutes les pages */
:root {
  --kube: #b9d5f1;
  --halo: #e6f0fb;
  --deep: #1d4f82;
  --navy: #0f2a43;
  --mist: #f3f7fb;
  --line: #dbe6f1;
  --muted: #4a6078;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--navy); font-family: var(--text); font-size: 1.125rem; line-height: 1.7; }
a { color: var(--deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 24px; }
p { margin: 0 0 1em; max-width: 62ch; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; }

/* En-tête */
.hero { background: var(--kube); }
.top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 22px; }
.top .mark { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 1.2rem; letter-spacing: 0.04em; color: var(--navy); text-decoration: none; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.top nav a { font-family: var(--display); font-weight: 600; font-size: 1rem; color: var(--navy); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current="page"] { border-bottom-color: var(--navy); }

.hero h1 { font-weight: 800; font-stretch: 76%; font-size: clamp(2.5rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.lead { margin: 22px 0 0; font-size: 1.25rem; line-height: 1.55; max-width: 34ch; }

/* Accueil */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "text art"; gap: 32px clamp(32px, 6vw, 72px); align-items: center; padding: 48px 0 72px; }
.hero-text { grid-area: text; }
.hero .btn { margin-top: 30px; }
.hero-art { grid-area: art; position: relative; justify-self: center; width: min(88%, 360px); }
.hero-art::before { content: ""; display: block; padding-top: 100%; border-radius: 50%; background: var(--halo); }
.logo { position: absolute; left: 50%; top: 50%; width: 76%; height: auto; transform: translate(-50%, -50%); animation: arrive 1s ease-out 0.1s both; }
@keyframes arrive { from { opacity: 0; transform: translate(-50%, -47%); } }
@media (prefers-reduced-motion: reduce) { .logo { animation: none; } html { scroll-behavior: auto; } }

/* Pages intérieures */
.hero--inner .page-head { padding: 44px 0 56px; }
.hero--inner h1 { font-stretch: 78%; font-size: clamp(2.2rem, 5vw, 3.2rem); }
.hero--inner .lead { max-width: 44ch; }

/* Sections */
.section { padding: clamp(48px, 7vw, 80px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 20px clamp(28px, 6vw, 80px); align-items: start; }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-stretch: 85%; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.list { margin: 0 0 1em; padding-left: 1.2em; max-width: 62ch; }
.list li { margin-bottom: 8px; }
.more { font-family: var(--display); font-weight: 600; margin: 24px 0 0; }

/* Actions (accueil) */
.grid-actions { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px clamp(28px, 5vw, 64px); }
.grid-actions li { display: flex; gap: 16px; align-items: flex-start; }
.ico { flex: none; width: 28px; height: 28px; margin-top: 3px; color: var(--deep); }
.ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.grid-actions h3 { font-size: 1.2rem; font-stretch: 88%; line-height: 1.25; margin-bottom: 4px; }
.grid-actions p { margin: 0; color: var(--muted); }

/* Bandeau mission */
.mission-band { background: var(--mist); border-top: 0 !important; }

/* Bouton */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 28px; border-radius: 999px; background: var(--navy); color: var(--kube); font-family: var(--display); font-weight: 700; font-size: 1rem; text-decoration: none; }
.btn:hover { background: #fff; color: var(--navy); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* Contact */
.infos { margin: 0; border-top: 1px solid var(--line); }
.infos div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.infos dt { font-family: var(--display); font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.infos dd { margin: 2px 0 0; font-family: var(--display); font-weight: 500; font-size: 1.2rem; line-height: 1.4; }

/* Mentions légales */
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; }
.facts dt { font-family: var(--display); font-weight: 600; color: var(--muted); }
.facts dd { margin: 0; }

/* Pied de page */
.legal { border-top: 1px solid var(--line); padding: 36px 0 44px; font-size: 0.95rem; color: var(--muted); }
.legal p { margin: 0 0 6px; }
.legal strong { color: var(--navy); font-family: var(--display); font-size: 1.05rem; }

/* Mobile */
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "art" "text"; padding: 32px 0 52px; }
  .hero-art { width: min(58%, 260px); }
  .split { grid-template-columns: 1fr; }
  .grid-actions { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .lead { font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .top nav { gap: 2px 18px; }
}
