/* ==========================================================================
   Robin Vervaeke — feuille de style du site
   Couleurs, typographies et composants partagés par toutes les pages.
   ========================================================================== */

/* Polices hébergées sur le site (aucun appel à un service tiers) */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --bg: #F6FAF9;
  --surface: #FFFFFF;
  --ink: #0F2A33;
  --text: #23414A;
  --muted: #4A6168;
  --line: #DCE8E6;
  --line-soft: #E3EEEC;
  --teal: #0E7C74;
  --teal-dark: #0B5F59;
  --teal-pale: #D9F0EC;
  --mint: #EAF5F3;
  --mint-line: #C9E2DE;
  --blue: #2C5FD6;
  --blue-dark: #1E46A8;
  --blue-pale: #E4ECFC;
  --footer-text: #C4D7D5;
  --footer-muted: #A9C2C0;
  --radius: 24px;
  --font-head: "Outfit", "DM Sans", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); }

.container { max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
@media (max-width: 640px) { .container { padding-inline: 20px; } }

.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- En-tête ---------- */
.site-header { position: relative; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.brand-tag { font-size: 13px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; transition: background-color .15s, color .15s; }
.nav a:hover { background: var(--mint); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--teal-pale); color: var(--teal-dark); font-weight: 600; }
.nav a.nav-cta { margin-left: 8px; padding: 0 20px; background: var(--teal); color: #fff; font-weight: 600; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--teal-dark); color: #fff; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 600 15px var(--font-body); cursor: pointer; }
  .js .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding: 4px 0 12px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 0 16px; font-size: 17px; }
  .js .nav a.nav-cta { justify-content: center; margin: 8px 0 0; }
}

/* ---------- Boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.2; transition: background-color .15s, border-color .15s, color .15s; }
.btn svg { flex: none; }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border: 1px solid #C9DBD8; }
.btn-secondary:hover { border-color: var(--teal); color: var(--ink); }
.btn-light { background: var(--teal-pale); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }

/* ---------- Typographie ---------- */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.kicker--blue { color: var(--blue-dark); }
.h1 { font-size: clamp(36px, 4.6vw, 58px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.h1--xl { font-size: clamp(40px, 5.4vw, 68px); line-height: 1.05; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.lead { max-width: 620px; font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; text-wrap: pretty; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--teal-pale); color: var(--teal-dark); font-size: 14px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 72px 96px; }
.hero--top { align-items: flex-start; }
.hero-main { flex: 3 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero-side { flex: 2 1 320px; min-width: 0; }
@media (max-width: 640px) { .hero { gap: 40px; padding-block: 48px 64px; } }

/* Visuel « Kiné à 360° » */
.orbit-wrap { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.orbit { position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1; }
.orbit > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit-photo { position: absolute; inset: 13%; overflow: hidden; border-radius: 50%; }
.orbit-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.orbit-pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 6px 20px rgba(15, 42, 51, .08); font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.dot--blue { background: var(--blue); }
.pill-1 { top: 3%; left: 6%; }
.pill-2 { top: 24%; right: -2%; }
.pill-3 { bottom: 12%; right: 0; }
.pill-4 { bottom: 20%; left: -4%; }
@media (max-width: 480px) { .orbit-pill { padding: 8px 12px; font-size: 13px; } .pill-2 { right: 0; } .pill-4 { left: 0; } }

/* ---------- Sections ---------- */
.section { padding-block: 96px; }
.section--white { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section--mint { background: var(--mint); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; margin-bottom: 48px; }
.section-head p { font-size: 18px; }
.split { display: flex; flex-wrap: wrap; gap: 56px; }
.split-aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.split-main { flex: 2 1 560px; min-width: 0; }
@media (max-width: 640px) { .section { padding-block: 64px; } .section-head { margin-bottom: 32px; } .split { gap: 36px; } }

/* ---------- Grilles ---------- */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.grid--narrow { grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.grid--220 { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }

/* ---------- Cartes ---------- */
.card { display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.card--pale { background: var(--bg); }
.card--mint { border-color: var(--mint-line); }
.card--lg { gap: 18px; padding: 32px; }
.card h3 { font-size: 22px; line-height: 1.25; }
.card p { font-size: 16px; line-height: 1.6; }
.card--lg > p { font-size: 17px; }
a.card { color: var(--text); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: var(--teal); box-shadow: 0 10px 30px rgba(15, 42, 51, .07); color: var(--text); }
.card-head { display: flex; align-items: center; gap: 16px; }
.card-head h3 { font-size: 24px; }
.card-label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); }
.card-label--blue { color: var(--blue-dark); }
.card-title { font-family: var(--font-head); font-size: 23px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.card-meta { font-size: 14px; font-weight: 600; color: var(--muted); }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--teal); }
.icon-box { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal-pale); color: var(--teal-dark); }
.icon-box--blue { background: var(--blue-pale); color: var(--blue-dark); }
.icon-box--sm { width: 48px; height: 48px; border-radius: 14px; }
.panel-title { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--ink); }

/* ---------- Listes ---------- */
.list-check { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.5; }
.list-check li { display: flex; align-items: flex-start; gap: 12px; }
.list-check svg { flex: none; margin-top: 2px; color: var(--blue); }
.list-check--teal svg { color: var(--teal); }
.list-dot { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.5; }
.list-dot li { display: flex; gap: 10px; }
.list-dot li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--teal); }
.list-dot--blue li::before { background: var(--blue); }
.list-icon { display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.list-icon li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.list-icon svg { flex: none; color: var(--teal); }

/* ---------- Chiffres et étiquettes ---------- */
.stats { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); }
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat-value { font-family: var(--font-head); font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.stat-label { font-size: 16px; line-height: 1.5; }
.partners { display: flex; flex-direction: column; gap: 18px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--mint-line); }
.tags { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px; }
.tag { padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 16px; font-weight: 500; color: var(--ink); }
.tag--brand { padding: 12px 20px; border-color: var(--mint-line); font-family: var(--font-head); font-size: 17px; font-weight: 600; }

/* ---------- Étapes ---------- */
.step-num { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 600; }
.features { display: grid; gap: 32px 28px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.feature { display: flex; gap: 16px; }
.feature .step-num { width: 44px; height: 44px; }
.feature > div { display: flex; flex-direction: column; gap: 6px; }
.feature h3 { font-size: 20px; }
.feature p { font-size: 16px; }

/* ---------- Citation ---------- */
.quote { margin: 0; display: flex; flex-direction: column; gap: 24px; padding: 40px; border-radius: 28px; background: var(--ink); color: #fff; }
.quote blockquote { margin: 0; font-family: var(--font-head); font-size: 26px; font-weight: 500; line-height: 1.35; text-wrap: pretty; }
.quote figcaption { font-size: 15px; color: var(--footer-text); }
@media (max-width: 480px) { .quote { padding: 28px; } .quote blockquote { font-size: 22px; } }

/* ---------- Parcours ---------- */
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; line-height: 1.55; }
.timeline li:last-child { border-bottom: 0; }
.timeline .year { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--teal); }
@media (max-width: 480px) { .timeline li { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; } }

/* ---------- Publications ---------- */
.pubs { display: flex; flex-direction: column; gap: 12px; }
.pub { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.pub-title { font-size: 16px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.pub-meta { font-size: 14px; color: var(--muted); }

/* ---------- À propos ---------- */
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.about-text p { font-size: 19px; line-height: 1.65; text-wrap: pretty; }
.about-photo { flex: 1 1 340px; min-width: 0; display: flex; justify-content: center; }
.about-frame { position: relative; width: 100%; max-width: 420px; }
.about-frame::before { content: ""; position: absolute; top: 24px; left: -24px; width: 100%; height: 100%; border-radius: 32px; background: var(--teal-pale); }
.about-frame img { position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 32px; object-fit: cover; }
@media (max-width: 480px) { .about-frame::before { top: 12px; left: -12px; } }

/* ---------- Contact ---------- */
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.contact-link { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .15s, background-color .15s; }
.contact-link:hover { border-color: var(--teal); color: var(--ink); }
.contact-link--primary { border-color: var(--teal); background: var(--teal); color: #fff; }
.contact-link--primary:hover { background: var(--teal-dark); color: #fff; }
.contact-link--primary .icon-box { background: rgba(255, 255, 255, .16); color: #fff; }
.contact-link-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-link-label { font-size: 14px; color: var(--muted); }
.contact-link--primary .contact-link-label { color: var(--teal-pale); }
.contact-link-value { font-family: var(--font-head); font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #E8F2F0; }
.site-footer :focus-visible { outline-color: #9FE3DA; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-block: 72px 48px; }
.footer-cta-text { flex: 1 1 420px; min-width: 0; max-width: 600px; display: flex; flex-direction: column; gap: 14px; }
.footer-cta h2 { color: #fff; }
.footer-cta p { font-size: 17px; color: var(--footer-text); }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; color: #E8F2F0; transition: border-color .15s, background-color .15s; }
.icon-btn:hover { border-color: #fff; background: rgba(255, 255, 255, .06); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 36px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--footer-muted); }
.footer-bottom--solo { border-top: 0; padding-block: 28px; }
.footer-bottom a { color: var(--footer-muted); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Pages de texte (mentions légales) ---------- */
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: 24px; }
.prose ul { padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.todo { padding: 0 4px; border-radius: 4px; background: #FFF1C7; color: #5C4300; }
