/* Cyber Vigilants – feuille de style
   Aucune dépendance externe (pas de CDN, pas de Google Fonts) :
   site plus rapide et sans transfert de données des visiteurs à des tiers. */

:root {
  --navy-900: #2e2346;
  --navy-800: #3b2d4f;
  --navy-700: #4f3d68;
  --blue-600: #d4451c;
  --blue-500: #ff7a45;
  --blue-100: #ffe3d3;
  --blue-50: #fff3ea;
  --cyan-400: #ffc533;
  --green-600: #12937a;
  --amber-500: #f4a51c;
  --ink-900: #2e2346;
  --ink-700: #4a3f5c;
  --ink-500: #756886;
  --line: #f0e3d5;
  --surface: #ffffff;
  --bg: #fffaf4;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(80, 45, 20, .06), 0 1px 3px rgba(80, 45, 20, .08);
  --shadow: 0 10px 30px -12px rgba(80, 45, 20, .25);
  --max: 1160px;
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url("polices/nunito.woff2") format("woff2");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--bg);
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { color: var(--ink-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
a { color: var(--blue-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.i-fill { fill: currentColor; stroke: none; }
.i-sm { width: 18px; height: 18px; }
.i-lg { width: 28px; height: 28px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(212, 69, 28, .45); }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-light { background: #fff; color: var(--navy-800); }
.btn-light:hover { background: var(--blue-100); color: var(--navy-900); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn-outline { border-color: var(--blue-600); color: var(--blue-600); background: transparent; }
.btn-outline:hover { background: var(--blue-50); color: var(--navy-700); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-logo {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
}
.brand-name { display: block; font-weight: 800; font-size: 1.15rem; color: var(--ink-900); line-height: 1.1; }
.brand-tagline { display: block; font-size: .8rem; color: var(--ink-500); }

.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink-700); font-weight: 550; font-size: .97rem; text-decoration: none;
}
.nav-list a:hover { background: var(--blue-50); color: var(--blue-600); }
.nav-list a[aria-current="true"] { color: var(--blue-600); }
.nav-list a.btn { display: inline-flex; border-radius: 999px; margin-left: 8px; padding: .6em 1.15em; color: #fff; }
.nav-list .btn:hover { background: var(--navy-700); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; margin-right: -8px;
  color: var(--ink-900); cursor: pointer; border-radius: 8px;
}
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .nav-list a { padding: 12px; font-size: 1.05rem; }
  .nav-list a.btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink-700);
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(255, 214, 74, .45), transparent 65%),
    radial-gradient(560px 420px at 70% 100%, rgba(255, 122, 69, .22), transparent 65%),
    radial-gradient(520px 380px at 0% 0%, rgba(255, 179, 71, .22), transparent 60%),
    linear-gradient(180deg, #fff6ea, #fffaf4);
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(212, 69, 28, .16) 1.2px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 35%, #000 5%, transparent 60%);
          mask-image: radial-gradient(ellipse at 75% 35%, #000 5%, transparent 60%);
}
.hero-inner {
  position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center;
  padding: 88px 20px 96px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 700;
  background: #fff; border: 1px solid var(--line); color: var(--ink-900); box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 0 4px rgba(255, 122, 69, .22); }
.hero h1 { color: var(--ink-900); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; margin-bottom: .45em; }
.hero h1 .accent { background: linear-gradient(90deg, #ff9f1c, #ff6b4a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 40em; margin-bottom: 2em; }
.hero .btn-light { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(212, 69, 28, .6); }
.hero .btn-light:hover { background: #b8381a; color: #fff; }
.hero .btn-ghost { border-color: var(--navy-800); color: var(--navy-800); }
.hero .btn-ghost:hover { background: var(--navy-800); color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.alert-card {
  background: rgba(255, 255, 255, .97); color: var(--ink-700);
  border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(120, 60, 20, .35);
}
.alert-card h2 { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.alert-card h2 .i { color: var(--amber-500); }
.alert-card > p { font-size: .97rem; color: var(--ink-500); }
.quick-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.quick-list a {
  display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm);
  background: var(--blue-50); text-decoration: none; color: var(--ink-900); transition: background-color .2s;
}
.quick-list a:hover { background: var(--blue-100); }
.quick-list strong { display: block; font-size: 1.1rem; color: var(--navy-800); }
.quick-list span { display: block; font-size: .88rem; color: var(--ink-500); line-height: 1.35; }
.quick-list .quick-num {
  flex: none; min-width: 84px; text-align: center; padding: 6px 8px; border-radius: 8px;
  background: var(--navy-800); color: #fff; font-weight: 800; font-size: .95rem; line-height: 1.4;
}
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .2s; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block; margin-bottom: 10px; font-size: .82rem; font-weight: 750;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600);
}
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.section-head p { font-size: 1.12rem; color: var(--ink-500); margin: 0; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.section-alt .card { background: var(--bg); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.3rem; }
.card p:last-child { margin-bottom: 0; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  color: #fff; background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
  box-shadow: 0 10px 20px -10px rgba(212, 69, 28, .5);
}
.pillar { text-align: center; }
.pillar .icon-badge { margin-left: auto; margin-right: auto; }

.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .i { color: var(--green-600); margin-top: 3px; }

.mission-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.mission-head .icon-badge { margin: 0; width: 50px; height: 50px; }
.mission-head h3 { margin: 0; }

.feature {
  margin-top: 32px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: var(--radius); color: #f1e7f7;
  background: linear-gradient(120deg, var(--navy-800), var(--navy-700));
}
.feature h3 { color: #fff; margin-bottom: .25em; font-size: 1.25rem; }
.feature p { margin: 0; }
.feature .tag { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .05em; color: var(--cyan-400); margin-bottom: 4px; }
.feature .icon-badge { margin: 0; background: rgba(255, 255, 255, .12); box-shadow: none; }

/* ---------- Bons réflexes ---------- */
.help-card { display: flex; flex-direction: column; }
.help-card .num { font-size: 2rem; font-weight: 800; color: var(--navy-800); line-height: 1; margin-bottom: 6px; letter-spacing: -.02em; }
.help-card h3 { font-size: 1.1rem; }
.help-card p { font-size: .98rem; color: var(--ink-500); }
.help-card .link-arrow { margin-top: auto; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.notice {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius-sm);
  background: #fff7e6; border: 1px solid #fde1a8; color: #6b4a07;
  display: flex; gap: 12px; align-items: flex-start;
}
.notice .i { color: var(--amber-500); margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.member { text-align: center; padding: 28px 18px; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 1.6rem; letter-spacing: .02em;
  background: linear-gradient(135deg, var(--c1, var(--navy-800)), var(--c2, var(--blue-500)));
}
.member h3 { font-size: 1.08rem; margin-bottom: 2px; }
.member .role { color: var(--blue-600); font-weight: 650; font-size: .95rem; margin-bottom: 8px; }
.member .bio { font-size: .93rem; color: var(--ink-500); margin-bottom: 14px; }
.member .social {
  display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; text-decoration: none;
  padding: 6px 12px; border-radius: 999px; background: var(--blue-50);
}
.member .social:hover { background: var(--blue-100); }

/* ---------- Rejoindre ---------- */
.join-card { display: flex; flex-direction: column; }
.join-card .btn { margin-top: 24px; align-self: flex-start; }
.join-card.highlight { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: #f1e7f7; border-color: transparent; }
.join-card.highlight h3 { color: #fff; }
.join-card.highlight .checklist .i { color: var(--cyan-400); }
.join-card.highlight .icon-badge { background: rgba(255, 255, 255, .12); box-shadow: none; }
.secure-note { text-align: center; margin: 24px 0 0; font-size: .92rem; color: var(--ink-500); }

/* ---------- Contact ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 960px; margin: 0 auto; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon-badge { width: 46px; height: 46px; margin: 0; border-radius: 12px; }
.contact-list h3 { font-size: 1rem; margin-bottom: 2px; }
.contact-list p { margin: 0; }
.contact-cta { display: flex; flex-direction: column; gap: 12px; }
.contact-cta .btn { width: 100%; }
.response-time { display: flex; gap: 12px; margin-top: 12px; padding: 16px; border-radius: var(--radius-sm); background: var(--blue-50); font-size: .95rem; }
.response-time .i { color: var(--blue-600); }
.response-time p { margin: 0; }

/* ---------- Partenaires ---------- */
.partners { padding: 56px 0; border-top: 1px solid var(--line); background: var(--surface); text-align: center; }
.partners h2 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 20px; }
.partner {
  display: inline-flex; align-items: center; gap: 14px; padding: 16px 24px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg); text-decoration: none; color: var(--ink-900);
}
.partner:hover { border-color: var(--blue-500); color: var(--ink-900); }
.partner strong { display: block; font-size: 1.1rem; }
.partner span { display: block; font-size: .9rem; color: var(--ink-500); }
.partner .i { color: var(--blue-600); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-900); color: #cdbfdb; padding: 64px 0 28px; font-size: .97rem; }
.site-footer a { color: #efe3f7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-tagline { color: #cdbfdb; }
.site-footer .brand { margin-bottom: 16px; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Pages de contenu (mentions légales) ---------- */
.page-hero { background: radial-gradient(500px 300px at 90% 0%, rgba(255, 214, 74, .4), transparent 65%), linear-gradient(180deg, #fff3e4, #fffaf4); color: var(--ink-700); padding: 64px 0 56px; border-bottom: 1px solid var(--line); }
.page-hero h1 { color: var(--ink-900); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; }
.page-hero p { margin: 0; }
.prose { max-width: 780px; margin: 0 auto; padding: 56px 20px 88px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; padding-top: .2em; }
.prose h2:first-child { margin-top: 0; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 0 0 1em; }
.prose dt { font-weight: 650; color: var(--ink-900); }
.prose dd { margin: 0; }
.todo { background: #fff3cd; color: #6b4a07; padding: 0 .3em; border-radius: 4px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 20px 72px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature { grid-template-columns: 1fr; text-align: left; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-inner { padding: 48px 16px 56px; }
  .team, .grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
  .member { padding: 22px 12px; }
  .avatar { width: 68px; height: 68px; font-size: 1.3rem; }
  .card { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .brand-tagline { display: none; }
  .prose dl { grid-template-columns: 1fr; gap: 2px; }
  .prose dd { margin-bottom: 10px; }
}
@media (max-width: 400px) {
  .grid-4 { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .hero::before, .nav-toggle { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Logo ================= */
img.brand-logo { width: 48px; height: 48px; border-radius: 12px; background: #fffbfa; object-fit: contain; padding: 2px; box-shadow: var(--shadow-sm); }
.site-footer img.brand-logo { box-shadow: none; }

/* ================= Actualités ================= */
.news-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid > li { display: flex; }
.news-grid > li[hidden] { display: none; }
.news-card {
  flex: 1; display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.section-alt .news-card { background: var(--surface); }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.news-link { display: flex; flex-direction: column; width: 100%; color: inherit; text-decoration: none; }
.news-link:hover { color: inherit; }
.news-link:hover .news-title { color: var(--blue-600); }
.news-thumb { position: relative; aspect-ratio: 4 / 3; background: #ffeede; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.04); }
.news-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(46, 35, 70, .78); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.news-play .i { fill: currentColor; margin-left: 3px; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; font-size: .88rem; color: var(--ink-500); }
.news-cat {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .78rem;
  letter-spacing: .03em; text-transform: uppercase; background: var(--blue-50); color: var(--blue-600);
}
.news-title { font-size: 1.15rem; margin: 0; transition: color .2s; }
.news-excerpt { margin: 0; font-size: .96rem; color: var(--ink-500); }
.section-more { text-align: center; margin: 40px 0 0; }
.news-page { padding-top: 40px; padding-bottom: 88px; }
.news-follow { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin: 48px 0 0; }
.news-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-500); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  font: inherit; font-size: .93rem; font-weight: 600; cursor: pointer;
  padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-700);
}
.filter:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.breadcrumb { font-size: .9rem; margin-bottom: 18px; color: var(--ink-500); }
.breadcrumb a { color: inherit; }
.breadcrumb-light { color: var(--ink-500); }
.breadcrumb-light a { color: var(--ink-700); }

/* Page d'une actualité */
.article-container { max-width: 820px; }
.article-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.article-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin: 14px 0 14px; }
.article-lead { font-size: 1.15rem; color: var(--ink-500); margin: 0; }
.article-figure, .article-video { margin: 40px 0 8px; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-video { display: flex; justify-content: center; background: var(--navy-900); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article-video video { display: block; max-width: 100%; max-height: 78vh; width: auto; background: #000; }
.article-video--yt { position: relative; aspect-ratio: 16 / 9; }
.article-video--yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.article-body { padding: 32px 0 8px; font-size: 1.1rem; line-height: 1.75; color: var(--ink-700); }
.article-body p, .article-body ul, .article-body ol { margin: 0 0 1.15em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .35em; }
.article-body li::marker { color: var(--blue-600); }
.article-body strong { color: var(--ink-900); }
.article-body h2 { font-size: 1.5rem; margin: 1.6em 0 .6em; }
.article-body h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.article-body blockquote {
  margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--blue-500); background: var(--blue-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic;
}
.article-body blockquote p { margin: 0; }
.article-body figure { margin: 1.5em 0; }
.article-body img { border-radius: var(--radius-sm); }
.gallery { margin: 24px 0 8px; }
.gallery h2 { font-size: 1.3rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery-item { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--blue-50); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.article-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; margin-top: 16px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 8px; color: var(--ink-500); font-size: .95rem; }
.share a, .share button {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--blue-50); color: var(--navy-800); border: 0; font: inherit;
}
.share a:hover, .share button:hover { background: var(--blue-100); }
.share button.is-copied { background: var(--green-600); color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 40px; }
.article-nav a {
  display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface); text-decoration: none; color: var(--ink-900); font-weight: 650; line-height: 1.35;
}
.article-nav a:hover { border-color: var(--blue-500); }
.article-nav span { display: block; font-size: .85rem; font-weight: 600; color: var(--blue-600); margin-bottom: 4px; }
.article-nav-next { grid-column: 2; text-align: right; }
.article-cta { margin-bottom: 88px; padding: 32px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); }
.article-cta h2 { font-size: 1.35rem; }
.footer-compact { margin-top: 0; padding-top: 0; border-top: 0; }

/* Photos de terrain (accueil) */
.field-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.field-photos figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-800); }
.field-photos img { width: 100%; height: 100%; object-fit: cover; }
.field-photos figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-size: .92rem; font-weight: 600;
  background: linear-gradient(transparent, rgba(46, 35, 70, .85));
}

/* Visionneuse photo */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(46, 35, 70, .88); }
.lightbox img { max-width: 94vw; max-height: 86vh; border-radius: var(--radius-sm); }
.lightbox button {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy-900); display: grid; place-items: center;
}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .field-photos { grid-template-columns: 1fr 1fr; }
  .field-photos figure:last-child { display: none; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .field-photos { grid-template-columns: 1fr; }
  .field-photos figure:last-child { display: block; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-next { grid-column: auto; text-align: left; }
  .article-actions { flex-direction: column; align-items: flex-start; }
  .article-cta { padding: 24px; }
  .article-head { padding: 32px 0 28px; }
}
img.avatar { object-fit: cover; padding: 0; }

/* Logos des services officiels */
.quick-list .quick-num { display: grid; place-items: center; width: 92px; height: 52px; padding: 6px; background: #fff; border: 1px solid var(--line); }
.quick-list .quick-num img { display: block; height: 40px; width: auto; max-width: 78px; object-fit: contain; }
.quick-list .quick-num--dark { background: var(--navy-800); border-color: var(--navy-800); }
.help-logo { height: 84px; display: flex; align-items: center; margin-bottom: 16px; }
.help-logo img { height: 84px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.help-logo--dark img { border-radius: 8px; }

/* ================= Icônes, style 2026 ================= */
:root { --violet-500: #ff6b4a; --violet-50: #fff0e8; }
.i { stroke-width: 1.8; }
.icon-badge {
  color: #d9541f;
  background: linear-gradient(140deg, #fff1e2 0%, #ffece6 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 89, 12, .16);
  border-radius: 18px;
}
.pillar:nth-child(2) .icon-badge, .grid-2 .card:nth-child(even) .icon-badge { color: #7a4f9a; background: linear-gradient(140deg, #ffece6 0%, #fff1e2 100%); }
.card:hover .icon-badge { background: linear-gradient(140deg, #ffb020, #ff6b4a); color: #fff; box-shadow: 0 10px 22px -10px rgba(232, 89, 12, .5); }
.icon-badge { transition: background .25s, color .25s, box-shadow .25s; }
.feature .icon-badge, .join-card.highlight .icon-badge { color: #fff; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.contact-list .icon-badge { border-radius: 14px; }
.checklist .i { stroke-width: 2.4; }
.kicker { background: linear-gradient(90deg, #ffb020, #ff6b4a); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ================= Logo « bouclier sourire » ================= */
.brand-full { display: block; height: 58px; width: auto; }
.site-footer .brand-full { height: 60px; margin-bottom: 16px; }
@media (max-width: 600px) { .brand-full { height: 44px; } }
