/* Dignité Humaine — feuille de style unique */

:root {
  --navy: #163a86;
  --navy-dark: #0f2a63;
  --blue: #1e88e5;
  --blue-soft: #e8f3fd;
  --green: #4f9a12;
  --green-soft: #eef7e4;
  --ink: #1b2433;
  --muted: #5a6577;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --telegram: #229ed9;
  --facebook: #1877f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 99, .06), 0 8px 24px rgba(15, 42, 99, .08);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; }
.brand img { width: 25px; height: 40px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: .98rem; }
.nav a:hover { background: var(--bg-alt); color: var(--navy); }
.nav .nav-cta { background: var(--navy); color: #fff; }
.nav .nav-cta:hover { background: var(--navy-dark); color: #fff; }

@media (max-width: 640px) {
  .brand span { font-size: .95rem; }
  .nav a:not(.nav-cta) { display: none; }
}

/* Accueil */
.hero {
  background:
    radial-gradient(900px 400px at 85% 10%, var(--green-soft), transparent 70%),
    radial-gradient(900px 500px at 10% 90%, var(--blue-soft), transparent 70%);
  padding: clamp(40px, 7vw, 96px) 0;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.hero-logo img { width: min(100%, 400px); margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--muted); max-width: 36em; }

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-logo img { width: min(70%, 300px); }
  .lead { margin-inline: auto; }
  .actions { justify-content: center; }
}

/* Boutons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  text-decoration: none; color: #fff; border: 0;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  box-shadow: 0 4px 14px rgba(15, 42, 99, .18);
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 22px rgba(15, 42, 99, .22); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-telegram { background: var(--telegram); }
.btn-facebook { background: var(--facebook); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; width: 100%; }

@media (max-width: 480px) {
  .actions .btn { width: 100%; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block; margin-bottom: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
}

.about { max-width: 46em; font-size: 1.1rem; }

.values { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid; box-shadow: var(--shadow); }
.value p { margin: 0; color: var(--muted); }
.value-blue { border-top-color: var(--blue); }
.value-green { border-top-color: var(--green); }
.value-navy { border-top-color: var(--navy); }

@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

/* Presse */
.press { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.press-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.press-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 42, 99, .06), 0 14px 32px rgba(15, 42, 99, .12); }
.press-card h3 { font-size: 1.08rem; flex: 1; }
.press-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.press-media { font-weight: 700; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.media-vdn { background: #fdecec; color: #b3161d; }
.media-f3 { background: var(--blue-soft); color: #0b5aa6; }
.media-fb { background: #e7f0fe; color: #0b57c2; }
.press-link { font-weight: 600; text-decoration: none; margin-top: 8px; }
.press-link::after { content: " →"; }
/* toute la carte est cliquable */
.press-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.press-link:hover { text-decoration: underline; }

/* Rejoindre */
.join {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1c56b8 100%);
  color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 20px 50px rgba(15, 42, 99, .25);
}
.join h2 { color: #fff; }
.join .eyebrow { color: #a8e27a; }
.join p { color: rgba(255, 255, 255, .88); }
.join .soon { display: inline-block; margin: 6px 0 0; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .92rem; }
.join-actions { display: grid; gap: 14px; }

@media (max-width: 820px) { .join { grid-template-columns: 1fr; } }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
.site-footer strong { color: var(--navy); }

/* Pages de texte (mentions légales) */
.page { padding: clamp(40px, 6vw, 72px) 0; }
.page .wrap { max-width: 760px; }
.page h2 { font-size: 1.3rem; margin-top: 2em; }
.page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0 0 1em; }
.page dt { font-weight: 600; color: var(--navy); }
.page dd { margin: 0; }
@media (max-width: 560px) { .page dl { grid-template-columns: 1fr; } .page dd { margin-bottom: 8px; } }
.back { display: inline-block; margin-bottom: 20px; font-weight: 600; text-decoration: none; }
.back::before { content: "← "; }
