:root {
  --plum-950: #260a2a;
  --plum-900: #351039;
  --plum-800: #501754;
  --plum-700: #6c216b;
  --plum-600: #913183;
  --plum-500: #aa4a9d;
  --plum-300: #d9afd4;
  --plum-200: #e5c7e1;
  --plum-100: #f5eaf4;
  --plum-050: #fbf7fb;
  --teal-700: #087c82;
  --teal-100: #dceff0;
  --sky-100: #eaf4f8;
  --ink: #261d29;
  --muted: #6d6170;
  --line: #e8dfe8;
  --paper: #fdfcfd;
  --white: #ffffff;
  --display: "Newsreader", Georgia, serif;
  --body: "Manrope", Arial, sans-serif;
  --container: 1240px;
  --shadow-soft: 0 24px 70px rgba(38, 10, 42, 0.1);
  --shadow-card: 0 14px 44px rgba(38, 10, 42, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.7; text-rendering: optimizeLegibility; }
body, button, input, select, textarea { font-family: var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, ul, figure, blockquote { margin-top: 0; }
h1, h2 { margin-bottom: 0.5em; color: var(--plum-900); font-family: var(--display); font-weight: 600; letter-spacing: -0.035em; }
h1 { font-size: clamp(3.4rem, 6.7vw, 6rem); line-height: 0.92; }
h2 { font-size: clamp(2.65rem, 4.5vw, 4.35rem); line-height: 1; }
h3 { margin-bottom: 0.55em; color: var(--plum-800); font-size: 1.05rem; line-height: 1.45; }
p { margin-bottom: 1em; }
.container { width: min(var(--container), calc(100% - 72px)); margin-inline: auto; }
.narrow { max-width: 870px; }
.centered { text-align: center; }
.lead { color: var(--plum-800); font-size: 1.08rem; font-weight: 600; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 11px 16px; color: var(--white); background: var(--plum-900); transform: translateY(-150%); transition: transform 0.2s ease; }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(8, 124, 130, 0.55); outline-offset: 4px; }

.eyebrow { margin-bottom: 20px; display: flex; align-items: center; gap: 12px; color: var(--plum-600); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #efceeb; }
.centered .eyebrow { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: transparent; box-shadow: none; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.site-header.scrolled { border-bottom-color: rgba(80, 23, 84, 0.08); background: rgba(255, 255, 255, 0.985); box-shadow: 0 7px 28px rgba(38, 10, 42, 0.045); }
.nav-wrap { width: min(var(--container), calc(100% - 72px)); min-height: 86px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { width: 205px; display: flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 38px; font-size: 0.9rem; font-weight: 600; }
.main-nav a { position: relative; padding: 30px 0 27px; color: #3d3340; }
.main-nav a:not(.nav-contact)::after { content: ""; position: absolute; right: 50%; bottom: 22px; left: 50%; height: 2px; background: var(--plum-500); transition: left 0.22s ease, right 0.22s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--plum-700); }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; left: 0; }
.main-nav .nav-contact { padding: 11px 20px; border-radius: 999px; color: var(--white); background: var(--plum-800); box-shadow: 0 10px 24px rgba(80, 23, 84, 0.18); transition: transform 0.2s ease, background 0.2s ease; }
.main-nav .nav-contact:hover, .main-nav .nav-contact.active { color: var(--white); background: var(--plum-600); transform: translateY(-1px); }
.mobile-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.mobile-toggle span { display: block; width: 21px; height: 2px; margin: 4px auto; background: var(--plum-800); transition: transform 0.2s ease, opacity 0.2s ease; }
.mobile-toggle.open span:first-child { transform: translateY(6px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Buttons and links */
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { min-height: 54px; padding: 14px 25px; border: 1px solid transparent; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: var(--white); background: linear-gradient(135deg, var(--plum-600), var(--plum-900)); box-shadow: 0 16px 32px rgba(80, 23, 84, 0.23); }
.button.primary:hover { box-shadow: 0 20px 38px rgba(80, 23, 84, 0.3); }
.button.secondary { color: var(--plum-800); border-color: rgba(80, 23, 84, 0.28); background: rgba(255, 255, 255, 0.8); }
.button.secondary:hover { border-color: var(--plum-500); background: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--plum-700); font-size: 0.91rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.text-link:hover, .stats-link:hover { color: var(--teal-700); }

/* Homepage hero */
.home-hero { position: relative; padding: 26px 0 58px; overflow: hidden; background-image: linear-gradient(105deg, rgba(255, 255, 255, 0.97) 5%, rgba(251, 247, 251, 0.92) 49%, rgba(241, 248, 250, 0.85) 100%), url("assets/img/hero-stones.png"); background-position: center, right center; background-size: cover, auto 100%; background-repeat: no-repeat; }
.resonance-lines { position: absolute; top: -290px; right: -260px; width: 850px; height: 850px; border: 1px solid rgba(145, 49, 131, 0.09); border-radius: 50%; box-shadow: 0 0 0 55px rgba(145, 49, 131, 0.04), 0 0 0 120px rgba(145, 49, 131, 0.025), 0 0 0 200px rgba(145, 49, 131, 0.018); }
.hero-resonance-animation { position: absolute; right: -2vw; bottom: 22px; left: -2vw; z-index: 1; height: clamp(210px, 28vw, 350px); opacity: .27; pointer-events: none; }
.hero-resonance-animation svg { width: 100%; height: 100%; overflow: visible; }
.resonance-trace { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1900; stroke-dashoffset: 1900; animation: draw-resonance 5.8s cubic-bezier(.22,.7,.24,1) .2s forwards, breathe-resonance 8s ease-in-out 6s infinite; }
.resonance-trace-main { stroke: var(--plum-600); stroke-width: 16; }
.resonance-trace-accent { stroke: var(--teal-700); stroke-width: 4; opacity: .72; animation-delay: .8s, 6.6s; }
@keyframes draw-resonance { to { stroke-dashoffset: 0; } }
@keyframes breathe-resonance { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@media (prefers-reduced-motion: reduce) {
  .resonance-trace { stroke-dashoffset: 0; animation: none; }
}
.home-hero-grid, .home-hero .hero-skills { position: relative; z-index: 2; }
.home-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.82fr); gap: 64px; align-items: center; }
.home-hero-copy { align-self: start; padding: 0; }
.hero-badge { width: fit-content; margin-bottom: 27px; padding: 8px 13px 8px 10px; border: 1px solid rgba(145, 49, 131, 0.2); border-radius: 999px; display: flex; align-items: center; gap: 9px; color: var(--plum-700); background: rgba(255, 255, 255, 0.72); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.hero-badge span { width: 9px; height: 9px; border: 2px solid var(--plum-500); border-radius: 50%; box-shadow: 0 0 0 3px var(--plum-100); }
.home-hero h1 { max-width: 720px; margin-bottom: 10px; font-size: clamp(3.2rem, 5.5vw, 5.1rem); }
.home-hero h1 em { color: var(--plum-600); font-style: normal; }
.hero-summary { max-width: 650px; margin: 10px 0 0; color: #493d4b; font-size: clamp(1rem, 1.2vw, 1.12rem); line-height: 1.5; }
.hero-audience { max-width: 610px; margin: 14px 0 0; padding-left: 17px; border-left: 2px solid var(--plum-200); color: var(--muted); font-size: 0.8rem; }
.hero-support-note { margin-top: 15px; padding: 10px 15px; border-left: 3px solid var(--plum-300); border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, 0.68); }
.hero-support-note h3 { margin: 0 0 3px; font-family: var(--display); font-size: 1.14rem; }
.hero-support-note p { margin: 0; color: #574a59; font-size: 0.78rem; line-height: 1.48; }
.home-hero .hero-badge { margin-bottom: 13px; }
.home-hero .cta-row { margin-top: 17px; }
.hero-institutions { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-top: 12px; }
.hero-institutions a { display: flex; align-items: center; flex: 0 0 auto; transition: opacity 0.2s ease; }
.hero-institutions a:hover { opacity: 0.72; }
.hero-logo-pssm { width: 185px; height: auto; }
.hero-logo-ministry { width: auto; height: 80px; }
.hero-logo-public-health { width: auto; height: 72px; }
.hero-visual { position: relative; min-height: 565px; }
.portrait-frame { position: absolute; right: 15px; bottom: 0; width: min(100%, 450px); height: 545px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 230px 230px 30px 30px; background: linear-gradient(155deg, #e8cce5 0%, #8e4a8b 48%, #3b143f 100%); box-shadow: 0 34px 85px rgba(50, 15, 54, 0.25); }
.portrait-rings { position: absolute; top: 24px; left: 50%; width: 400px; height: 400px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 50%; transform: translateX(-50%); box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.08), 0 0 0 78px rgba(255, 255, 255, 0.045); }
.hero-portrait { position: absolute; right: 26px; bottom: -4px; width: 385px; height: 525px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 20px 24px rgba(31, 8, 34, 0.22)); }
.portrait-caption { position: absolute; right: 20px; bottom: 18px; left: 20px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 13px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--white); background: rgba(38, 10, 42, 0.88); }
.portrait-caption strong { font-size: 0.86rem; }
.portrait-caption span { color: #f0dfee; font-size: 0.72rem; text-align: right; }
.accreditation-card { position: absolute; z-index: 3; top: 40px; left: -36px; width: 255px; padding: 17px 19px; border: 1px solid rgba(80, 23, 84, 0.09); border-radius: 18px; background: rgba(255, 255, 255, 0.96); box-shadow: var(--shadow-card); }
.accreditation-card img { width: 100%; }
.hero-quote { position: absolute; z-index: 4; right: -36px; bottom: 82px; width: 285px; margin: 0; padding: 19px 22px; border-left: 3px solid var(--plum-500); color: var(--plum-900); background: var(--white); box-shadow: var(--shadow-card); font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.25; }
.hero-skills { position: relative; z-index: 3; margin-top: 58px; padding: 25px 28px; border: 1px solid rgba(80, 23, 84, 0.1); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow-soft); backdrop-filter: blur(16px); }
.hero-skills article { position: relative; min-height: 82px; padding: 3px 24px 3px 55px; border-right: 1px solid var(--line); }
.hero-skills article:last-child { border-right: 0; }
.hero-skills span { position: absolute; top: 3px; left: 10px; color: var(--plum-500); font-family: var(--display); font-size: 1.25rem; }
.hero-skills strong { display: block; margin-bottom: 2px; color: var(--plum-800); font-size: 0.98rem; }
.hero-skills p { margin: 0; color: var(--muted); font-size: 0.77rem; line-height: 1.5; }

/* Proof */
.proof-section { padding: 112px 0; border-top: 1px solid rgba(145, 49, 131, 0.09); background: radial-gradient(circle at 92% 12%, rgba(220, 239, 240, 0.52), transparent 34%), linear-gradient(150deg, #fff 0%, #fbf7fb 70%, #f6f1f7 100%); }
.proof-grid { display: grid; grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr); gap: 60px; align-items: center; }
.proof-copy h2 { max-width: 520px; margin-bottom: 26px; font-size: clamp(2.75rem, 4vw, 4.2rem); line-height: 1.03; }
.proof-copy > p:not(.eyebrow) { max-width: 540px; color: #574a59; }
.proof-pssm-link { width: fit-content; margin-top: 17px; padding: 16px 19px; border: 1px solid rgba(145, 49, 131, 0.19); border-radius: 17px; display: flex; align-items: center; gap: 18px; background: rgba(255, 255, 255, 0.88); box-shadow: 0 12px 34px rgba(56, 20, 60, 0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.proof-pssm-link:hover { transform: translateY(-3px); box-shadow: 0 17px 40px rgba(56, 20, 60, 0.15); }
.proof-pssm-link img { width: 205px; }
.proof-pssm-link span { color: var(--plum-700); font-size: 1.35rem; }
.proof-panel { min-width: 0; }
.proof-brand { width: min(100%, 330px); margin: -55px 0 28px auto; padding: 21px 24px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 13px 32px rgba(38, 10, 42, 0.08); }
.proof-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.proof-stats article { position: relative; min-width: 0; min-height: 355px; padding: 30px 19px 25px; border: 1px solid rgba(145, 49, 131, 0.16); border-radius: 23px; display: flex; flex-direction: column; background: linear-gradient(155deg, #fff, #f9f1f8); box-shadow: 0 20px 42px rgba(56, 20, 60, 0.09); }
.proof-stats article:nth-child(2) { background: linear-gradient(155deg, #fff, #f4eaf5); }
.proof-stats article:nth-child(3) { background: linear-gradient(155deg, #fff, #eef6f8); }
.proof-stats article::before { content: ""; width: 39px; height: 3px; margin-bottom: 26px; border-radius: 4px; background: linear-gradient(90deg, var(--plum-500), var(--teal-700)); }
.proof-stats strong { margin-bottom: 19px; color: var(--plum-800); font-family: var(--display); font-size: clamp(1.9rem, 2.35vw, 2.7rem); line-height: 1.08; letter-spacing: -0.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.proof-stats p { margin-bottom: 21px; color: #514554; font-size: 0.86rem; line-height: 1.58; }
.proof-stats article > span { margin-top: auto; color: var(--muted); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
.proof-panel .institutions { width: min(100%, 465px); margin: 26px 0 0; mix-blend-mode: multiply; }

/* Skills */
.skills-section { position: relative; padding: 118px 0; overflow: hidden; color: #f4ebf3; background: radial-gradient(circle at 0 100%, rgba(170, 74, 157, 0.28), transparent 34%), var(--plum-950); }
.skills-section::after { content: ""; position: absolute; top: -310px; right: -310px; width: 760px; height: 760px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 50%; box-shadow: 0 0 0 52px rgba(255, 255, 255, 0.025), 0 0 0 112px rgba(255, 255, 255, 0.018); }
.skills-layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(300px, 0.77fr) minmax(0, 1.23fr); gap: 88px; align-items: start; }
.skills-heading { position: sticky; top: 125px; }
.skills-heading h2 { margin-bottom: 24px; color: var(--white); }
.skills-heading > p:not(.eyebrow) { max-width: 520px; color: #d6c7d7; }
.light-button { margin-top: 17px; color: var(--plum-900); background: var(--white); }
.light-button:hover { background: #f3e8f2; }
.skill-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-card { min-height: 270px; padding: 36px 34px; border-top: 1px solid rgba(255, 255, 255, 0.16); border-left: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.035); transition: background 0.25s ease, transform 0.25s ease; }
.skill-card:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, 0.16); }
.skill-card:nth-last-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.skill-card:hover { background: rgba(255, 255, 255, 0.085); transform: translateY(-3px); }
.skill-number { display: block; margin-bottom: 42px; color: #dba6d5; font-family: var(--display); font-size: 1.2rem; }
.skill-card h3 { color: var(--white); font-family: var(--display); font-size: 1.75rem; font-weight: 600; }
.skill-card p { margin: 0; color: #cfc0d0; font-size: 0.88rem; }

/* Audiences */
.audience-section { padding: 118px 0; background: var(--white); }
.audience-intro { margin-bottom: 52px; display: grid; grid-template-columns: 0.68fr 1.2fr 0.75fr; gap: 42px; align-items: end; }
.audience-intro .eyebrow { align-self: start; }
.audience-intro h2 { margin: 0; }
.audience-intro > p:last-child { margin: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience-card { position: relative; min-height: 355px; padding: 45px 46px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.audience-card::after { content: ""; position: absolute; right: -110px; bottom: -130px; width: 310px; height: 310px; border: 1px solid rgba(80, 23, 84, 0.12); border-radius: 50%; box-shadow: 0 0 0 36px rgba(80, 23, 84, 0.035), 0 0 0 76px rgba(80, 23, 84, 0.025); }
.audience-card.citizens { background: linear-gradient(145deg, #fff, var(--plum-100)); }
.audience-card.organisations { background: linear-gradient(145deg, #fff, var(--teal-100)); }
.audience-index { margin-bottom: 52px; color: var(--plum-500); font-family: var(--display); font-size: 1.25rem; }
.audience-card h3 { color: var(--plum-900); font-family: var(--display); font-size: 2.7rem; line-height: 1; }
.audience-card p { max-width: 480px; color: #514554; }
.audience-card a { position: relative; z-index: 2; margin-top: auto; color: var(--plum-800); font-size: 0.9rem; font-weight: 700; }
.audience-card a:hover { color: var(--teal-700); }

/* Raisonance block */
.reasonance-section { padding: 98px 0; border-top: 1px solid var(--line); background: var(--plum-050); }
.reasonance-grid { display: grid; grid-template-columns: 130px minmax(300px, 1.15fr) minmax(280px, 0.85fr); gap: 48px; align-items: center; }
.reasonance-word { color: transparent; font-family: var(--display); font-size: 9rem; font-weight: 600; line-height: 0.7; -webkit-text-stroke: 1px var(--plum-300, #d9afd4); }
.reasonance-grid h2 { margin: 0; font-size: clamp(2.5rem, 4.1vw, 4rem); }
.reasonance-copy p { color: #514554; }
.reasonance-copy .text-link { margin-top: 8px; }

/* Shared page hero */
.page-hero { position: relative; padding: 114px 0 100px; overflow: hidden; background: radial-gradient(circle at 88% 15%, rgba(145, 49, 131, 0.11), transparent 26%), linear-gradient(145deg, #fff, var(--plum-050) 56%, var(--sky-100)); }
.page-hero::after { content: ""; position: absolute; top: -330px; right: -240px; width: 730px; height: 730px; border: 1px solid rgba(145, 49, 131, 0.11); border-radius: 50%; box-shadow: 0 0 0 48px rgba(145, 49, 131, 0.04), 0 0 0 104px rgba(145, 49, 131, 0.025); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 1050px; margin-bottom: 25px; font-size: clamp(3.65rem, 6.2vw, 5.85rem); }
.page-hero p:last-child { max-width: 790px; margin-bottom: 0; color: #544756; font-size: 1.08rem; }
.formation-hero h1 { font-size: clamp(4.2rem, 7vw, 6.2rem); }

/* About */
.profile-section { padding: 104px 0; background: var(--white); }
.profile-card { position: relative; padding: 58px 64px; border: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.7fr); gap: 72px; align-items: center; overflow: hidden; background: linear-gradient(145deg, #fff 25%, var(--plum-050)); box-shadow: var(--shadow-card); }
.profile-card::before { content: ""; position: absolute; right: -230px; bottom: -330px; width: 650px; height: 650px; border: 1px solid rgba(145, 49, 131, 0.1); border-radius: 50%; box-shadow: 0 0 0 42px rgba(145, 49, 131, 0.035), 0 0 0 90px rgba(145, 49, 131, 0.022); }
.profile-copy, .profile-visual { position: relative; z-index: 2; }
.profile-copy h2 { margin-bottom: 24px; }
.profile-copy p { max-width: 650px; color: #504352; }
.profile-copy .button { margin-top: 10px; }
.profile-visual { text-align: center; }
.portrait-wrap { position: relative; width: min(100%, 300px); height: 355px; margin: 0 auto 28px; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 160px 160px 22px 22px; background: linear-gradient(155deg, var(--plum-100), #c68fc0 55%, var(--plum-800)); }
.portrait-wrap span { position: absolute; inset: 25px 13px 0; border: 1px solid rgba(255, 255, 255, 0.48); border-radius: 50%; }
.portrait-wrap img { position: relative; z-index: 2; width: 286px; max-height: 348px; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 18px 20px rgba(38, 10, 42, 0.17)); }
.profile-visual blockquote { margin: 0 0 16px; color: var(--plum-800); font-family: var(--display); font-size: 1.55rem; font-weight: 600; line-height: 1.25; }
.profile-visual blockquote small { display: block; margin-top: 10px; color: var(--ink); font-family: var(--body); font-size: 0.78rem; font-weight: 400; line-height: 1.7; }
.profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.stats-card { max-width: 1040px; margin: 58px auto 0; padding: 14px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-card); }
.stats-card img { width: 100%; }
.stats-card figcaption { display: flex; justify-content: flex-end; padding: 14px 5px 2px; }
.stats-link { color: var(--plum-700); font-size: 0.86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.name-section { padding: 105px 0; background: var(--plum-100); }
.name-grid { display: grid; grid-template-columns: minmax(290px, 0.8fr) minmax(0, 1.2fr); gap: 95px; }
.name-grid h2 { max-width: 470px; }
.prose p { margin-bottom: 15px; color: #504352; }

/* The two opening sections on the About page */
.about-page .page-hero { padding: 96px 0 104px; background: linear-gradient(180deg, #fff 0%, #fefaff 100%); }
.about-page .page-hero::after { top: -425px; right: -270px; width: 900px; height: 900px; box-shadow: 0 0 0 70px rgba(145, 49, 131, 0.038), 0 0 0 145px rgba(145, 49, 131, 0.018); }
.about-page .page-hero .container { max-width: 1190px; }
.about-page .page-hero .eyebrow,
.about-page .profile-copy .eyebrow { display: block; margin-bottom: 31px; }
.about-page .page-hero .eyebrow::before,
.about-page .profile-copy .eyebrow::before { display: none; }
.about-page .page-hero .eyebrow::after,
.about-page .profile-copy .eyebrow::after { content: ""; display: block; width: 42px; height: 1px; margin-top: 15px; background: currentColor; }
.about-page .page-hero h2 { max-width: none; margin-bottom: 32px; font-size: clamp(3.8rem, 6vw, 6rem); line-height: 1.06; }
.about-page .page-hero p:last-child { max-width: 1020px; font-size: clamp(1.08rem, 1.35vw, 1.35rem); line-height: 1.75; }
.about-page .profile-section { padding: 0; background: #fff; }
.about-page .profile-section > .container { width: 100%; max-width: none; }
.about-page .profile-card { min-height: 670px; padding: 75px max(5.5vw, 36px); border: 1px solid #eedfeb; border-radius: 0 0 34px 34px; grid-template-columns: minmax(0, 1.22fr) minmax(330px, 0.78fr); gap: clamp(45px, 6vw, 115px); background: linear-gradient(120deg, #fff 30%, #fef8fe 100%); box-shadow: none; }
.about-page .profile-card::before { right: -240px; bottom: -500px; width: 950px; height: 950px; border-color: rgba(145, 49, 131, 0.1); box-shadow: 0 0 0 68px rgba(145, 49, 131, 0.034), 0 0 0 140px rgba(145, 49, 131, 0.017); }
.about-page .profile-copy h1 { margin-bottom: 34px; font-size: clamp(3.7rem, 5.7vw, 6.3rem); line-height: 1; }
.about-page .profile-copy p:not(.eyebrow) { max-width: 850px; margin-bottom: 26px; font-size: clamp(1.03rem, 1.3vw, 1.3rem); line-height: 1.75; }
.about-page .profile-copy .button { margin-top: 15px; }
.about-page .accreditation-logo { width: min(100%, 330px); height: auto; margin: 22px 0 4px; }
.about-page .profile-visual { max-width: 500px; margin-inline: auto; }
.about-page .portrait-wrap { width: min(100%, 360px); height: 405px; margin-bottom: 32px; border-radius: 48% 48% 28px 28px; background: linear-gradient(180deg, #fff4ff 0%, #fae7f8 74%, #f5dff2 100%); }
.about-page .portrait-wrap span { inset: 3px 15px 15px; border: 1px solid rgba(145, 49, 131, 0.17); border-radius: 50%; }
.about-page .portrait-wrap img { position: absolute; top: 0; left: 50%; width: auto; height: 140%; max-width: none; max-height: none; object-fit: contain; object-position: center top; transform: translateX(-50%); filter: none; }
.about-page .profile-visual blockquote { margin-bottom: 20px; font-size: clamp(1.6rem, 2.3vw, 2.2rem); }
.about-page .profile-visual blockquote small { margin-top: 18px; font-size: 1rem; }
.about-page .profile-links { justify-content: center; }
.about-page .pssm-training-link { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 9px 12px; color: var(--plum-700); font-size: 0.91rem; font-weight: 700; text-decoration: none; }
.about-page .pssm-training-link span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.about-page .pssm-training-link img { display: block; width: 105px; height: auto; }
.about-page .pssm-training-link:hover, .about-page .pssm-training-link:focus-visible { color: var(--teal-700); }
.about-page .pssm-training-link:focus-visible { outline: 2px solid var(--plum-500); outline-offset: 5px; border-radius: 8px; }

@media (min-width: 901px) {
  .about-page .profile-section { min-height: calc(100svh - 86px); }
  .about-page .profile-card { min-height: calc(100svh - 86px); padding-block: clamp(22px, 3vh, 42px); gap: clamp(40px, 5vw, 85px); }
  .about-page .profile-copy .eyebrow { margin-bottom: 18px; }
  .about-page .profile-copy h1 { margin-bottom: clamp(14px, 2vh, 24px); font-size: clamp(3.5rem, 5.2vw, 5.6rem); }
  .about-page .profile-copy p:not(.eyebrow) { margin-bottom: 14px; font-size: clamp(.98rem, 1.1vw, 1.1rem); line-height: 1.55; }
  .about-page .profile-copy .button { margin-top: 8px; }
  .about-page .accreditation-logo { width: min(100%, 285px); margin: 12px 0 2px; }
  .about-page .portrait-wrap { height: clamp(260px, 38svh, 355px); margin-bottom: 16px; }
  .about-page .portrait-wrap img { max-height: none; }
  .about-page .profile-visual blockquote { margin-bottom: 10px; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.2; }
  .about-page .profile-visual blockquote small { margin-top: 8px; font-size: .9rem; line-height: 1.45; }
}

@media (max-width: 900px) {
  .about-page .page-hero h2 br { display: none; }
  .about-page .profile-card { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .about-page .page-hero { padding: 67px 0 73px; }
  .about-page .page-hero h2 { font-size: clamp(3rem, 12vw, 4.5rem); }
  .about-page .profile-card { min-height: 0; padding: 68px 24px; border-radius: 0 0 26px 26px; }
  .about-page .profile-copy h1 { font-size: clamp(3.15rem, 12vw, 4.3rem); }
  .about-page .portrait-wrap { height: 355px; }
  .about-page .portrait-wrap img { max-height: none; }
}

/* Formation */
.training-overview { padding: 104px 0; background: var(--white); }
.training-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 28px; align-items: stretch; }
.offer-card, .first-aider-card, .program-card, .contact-card, .contact-form { padding: 46px; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.offer-card { background: linear-gradient(145deg, #fff, var(--plum-100)); }
.first-aider-card { background: var(--white); }
.home-hero-grid .hero-first-aider { position: relative; min-width: 0; overflow: hidden; padding: 26px; border: 1px solid rgba(145, 49, 131, 0.23); border-radius: 28px; background: linear-gradient(155deg, #fff 3%, #fdf9fd 57%, #f6ebf5 100%); box-shadow: 0 28px 68px rgba(56, 20, 60, 0.16), 0 5px 15px rgba(56, 20, 60, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.home-hero-grid .hero-first-aider::before { content: ""; position: absolute; right: -18%; bottom: -6%; width: 95%; height: 42%; background: url("assets/img/hero-stones.png") right center / cover no-repeat; opacity: 0.1; pointer-events: none; }
.home-hero-grid .hero-first-aider::after { content: ""; position: absolute; top: 0; right: 35px; left: 35px; height: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--plum-500), var(--plum-800), var(--teal-700)); }
.home-hero-grid .hero-first-aider > * { position: relative; z-index: 1; }
.home-hero-grid .hero-first-aider .hero-card-kicker { margin-bottom: 8px; color: var(--plum-600); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.17em; text-transform: uppercase; }
.home-hero-grid .hero-first-aider h2 { margin-bottom: 14px; color: var(--plum-800); font-size: clamp(2.1rem, 2.8vw, 2.65rem); line-height: 1.05; }
.home-hero-grid .hero-first-aider h3 { margin: 17px 0 6px; color: var(--plum-700); }
.home-hero-grid .hero-first-aider .no-list li, .home-hero-grid .hero-first-aider .check-list li { margin: 4px 0; font-size: 0.9rem; line-height: 1.42; }
.home-hero-grid .hero-first-aider .check-list.compact { margin-bottom: 0; }
.home-hero-grid .hero-first-aider .hero-card-audience { margin: 17px 0 0; padding-top: 12px; border-top: 1px solid rgba(145, 49, 131, 0.18); color: var(--plum-800); font-size: 0.84rem; line-height: 1.5; }
.training-overview .training-grid { grid-template-columns: minmax(0, 1fr); }
.offer-card h1, .offer-card h2, .first-aider-card h2, .program-card h2, .contact-card h2 { margin-bottom: 22px; font-size: clamp(2.5rem, 4vw, 3.85rem); }
.offer-card > p:not(.eyebrow), .first-aider-card > p { color: #504352; }
.feature-list { margin: 27px 0; padding: 0; list-style: none; }
.feature-list li { position: relative; margin: 9px 0; padding: 13px 15px 13px 49px; border-top: 1px solid rgba(80, 23, 84, 0.13); color: #493d4b; }
.feature-list li:last-child { border-bottom: 1px solid rgba(80, 23, 84, 0.13); }
.feature-list li::before { content: "✓"; position: absolute; top: 13px; left: 15px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: var(--plum-600); font-size: 0.7rem; }
.inline-credential { margin: 29px 0; padding: 20px; border: 1px solid var(--line); display: grid; grid-template-columns: 165px 1fr; gap: 20px; align-items: center; background: var(--white); }
.inline-credential img { width: 100%; height: auto; }
.inline-credential strong { color: var(--plum-800); font-size: 0.84rem; line-height: 1.55; }
.first-aider-card h3 { margin: 25px 0 12px; }
.no-list, .check-list { margin: 0; padding: 0; list-style: none; }
.no-list li, .check-list li { position: relative; margin: 9px 0; padding-left: 31px; }
.no-list li::before { content: "×"; position: absolute; top: -1px; left: 0; color: #9d556f; font-size: 1.35rem; line-height: 1.3; }
.check-list li::before { content: "✓"; position: absolute; top: 3px; left: 0; width: 20px; height: 20px; border: 1px solid var(--plum-200); border-radius: 50%; display: grid; place-items: center; color: var(--plum-600); font-size: 0.66rem; font-weight: 700; }
.check-list.compact { margin-bottom: 24px; }
.support-note { margin-top: 27px; padding-top: 22px; border-top: 1px solid var(--line); }
.support-note h3 { margin: 0 0 8px; font-family: var(--display); font-size: 1.45rem; }
.small-note { margin: 0; color: var(--muted); font-size: 0.87rem; }
.training-detail { padding: 108px 0; background: var(--plum-100); }
.training-detail .container { display: grid; grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr); gap: 92px; }
.detail-heading h2 { margin-bottom: 18px; }
.detail-heading > p:last-child { color: var(--plum-800); font-size: 1.06rem; font-weight: 600; }
.detail-prose p { margin-bottom: 19px; }
.detail-prose strong { color: var(--plum-800); }
.detail-intro { color: var(--plum-800); font-weight: 700; }
.detail-goals { margin: 0 0 28px; padding: 0; list-style: none; }
.detail-goals li { position: relative; margin: 11px 0; padding-left: 27px; }
.detail-goals li::before { content: "—"; position: absolute; left: 0; color: var(--plum-600); font-weight: 700; }
.program-section { padding: 104px 0; background: var(--white); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.program-card { background: var(--white); }
.number-list, .content-list { margin: 0; padding: 0; list-style: none; counter-reset: objectives; }
.number-list li { position: relative; min-height: 54px; margin-bottom: 17px; padding: 10px 0 12px 62px; counter-increment: objectives; }
.number-list li::before { content: counter(objectives, decimal-leading-zero); position: absolute; top: 0; left: 0; width: 45px; height: 45px; border: 1px solid var(--plum-200); border-radius: 50%; display: grid; place-items: center; color: var(--plum-600); font-size: 0.72rem; font-weight: 700; }
.content-list li { margin-bottom: 19px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.content-list li:last-child { margin-bottom: 0; border-bottom: 0; }
.content-list strong { color: var(--plum-800); }

/* Contact */
.contact-page { padding: 104px 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 28px; align-items: start; }
.contact-card { background: linear-gradient(145deg, #fff, var(--plum-100)); }
.contact-card > p:not(.eyebrow, .contact-question) { color: #504352; }
.contact-question { margin-bottom: 5px; color: var(--plum-800); font-family: var(--display); font-size: 1.45rem; font-weight: 600; }
.contact-links { display: grid; gap: 12px; margin-top: 33px; }
.contact-links a { padding: 18px 20px; overflow-wrap: anywhere; border: 1px solid var(--line); background: var(--white); color: var(--plum-800); font-weight: 700; transition: border-color 0.2s ease, transform 0.2s ease; }
.contact-links a:hover { border-color: var(--plum-300, #d5a9d0); transform: translateY(-2px); }
.contact-links span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 0.67rem; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-form { display: grid; gap: 20px; background: var(--white); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-form label { display: grid; gap: 8px; color: var(--plum-800); font-size: 0.86rem; font-weight: 700; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 15px 16px; border: 1px solid #d9cad8; border-radius: 4px; outline: none; color: var(--ink); background: var(--plum-050); font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--plum-600); box-shadow: 0 0 0 4px rgba(145, 49, 131, 0.09); }
.contact-form .button { justify-self: start; border: 0; }
.form-note { margin: -7px 0 0; color: var(--muted); font-size: 0.75rem; }

/* Contact CTA */
.contact-strip { padding: 82px 0; background: var(--white); }
.contact-panel { padding: 48px 52px; display: grid; grid-template-columns: minmax(320px, 1.15fr) minmax(285px, 0.85fr) auto; gap: 44px; align-items: center; color: #f5ebf4; background: radial-gradient(circle at 100% 0, rgba(170, 74, 157, 0.35), transparent 35%), var(--plum-950); box-shadow: 0 24px 62px rgba(38, 10, 42, 0.18); }
.contact-panel .eyebrow { color: #e2b9dd; }
.contact-panel h2 { margin: 0; color: var(--white); font-size: clamp(2.25rem, 3.7vw, 3.5rem); }
.contact-details { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.83rem; }
.contact-details span { width: 100%; color: #ead4e7; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.contact-details a { overflow-wrap: anywhere; color: #f3e8f2; }
.contact-details a:hover { color: var(--white); text-decoration: underline; }
.contact-panel .button.primary { color: var(--plum-900); background: var(--white); box-shadow: none; }

/* Footer */
.site-footer { padding: 66px 0 25px; border-top: 1px solid #eadce9; color: #554657; background: linear-gradient(115deg, #f8eff7 0%, #fdfafd 51%, #edf4f7 100%); }
.footer-grid { display: grid; grid-template-columns: minmax(300px, 1.5fr) 0.72fr 1fr; gap: 60px; }
.footer-brand img { width: 215px; margin-bottom: 20px; }
.footer-brand p { max-width: 360px; color: #625565; }
.site-footer h2 { margin: 4px 0 16px; color: var(--plum-800); font-family: var(--body); font-size: 0.69rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.site-footer a { display: block; margin: 9px 0; overflow-wrap: anywhere; color: #514153; font-size: 0.85rem; }
.site-footer a:hover { color: var(--plum-700); text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid #dfd0dd; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: #6a5b6b; font-size: 0.74rem; }
.footer-legal { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
.site-footer .footer-legal a { display: inline-flex; min-height: 32px; margin: 0; padding: 6px 0; align-items: center; color: #6a5b6b; font-size: inherit; }
.site-footer .footer-legal a[aria-current="page"] { color: var(--plum-700); font-weight: 700; }

/* Pages juridiques */
.legal-page { background: #fff; }
.legal-hero { padding: 100px 0 88px; background: linear-gradient(125deg, #fff 12%, #fdf7fc 58%, #eef5f8 100%); }
.legal-hero::after { top: -430px; right: -270px; width: 850px; height: 850px; border-color: rgba(145, 49, 131, 0.08); box-shadow: 0 0 0 66px rgba(145, 49, 131, 0.03), 0 0 0 135px rgba(145, 49, 131, 0.014); }
.legal-hero h1 { max-width: 900px; }
.legal-hero p:last-child { max-width: 780px; }
.legal-content { padding: 90px 0 115px; background: linear-gradient(180deg, #fff 0%, #fdfafd 100%); }
.legal-layout { display: grid; grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr); gap: clamp(45px, 7vw, 110px); align-items: start; }
.legal-summary { position: sticky; top: 125px; padding: 30px; border: 1px solid #eadbea; border-radius: 22px; background: linear-gradient(145deg, #fff 0%, #faf1f9 100%); box-shadow: 0 18px 42px rgba(59, 20, 63, 0.07); }
.legal-summary > p:not(.eyebrow) { margin-bottom: 20px; color: var(--plum-900); font-family: var(--display); font-size: 1.5rem; font-weight: 600; line-height: 1.28; }
.legal-summary > span { display: block; color: var(--muted); font-size: 0.72rem; line-height: 1.6; }
.legal-sections { display: grid; gap: 22px; }
.legal-card { padding: clamp(28px, 4vw, 44px); border: 1px solid #eadfea; border-radius: 22px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 16px 45px rgba(49, 21, 51, 0.055); }
.legal-card h2 { margin-bottom: 18px; color: var(--plum-900); font-size: clamp(1.65rem, 2.5vw, 2.25rem); }
.legal-card p, .legal-card li, .legal-card dd, .legal-card address { color: #554857; font-size: 0.94rem; line-height: 1.78; }
.legal-card p + p { margin-top: 13px; }
.legal-card a { color: var(--plum-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.legal-card ul { margin: 14px 0 0; padding-left: 1.2rem; }
.legal-card li + li { margin-top: 8px; }
.legal-card dl { margin-top: 20px; display: grid; gap: 13px; }
.legal-card dl > div { padding-top: 13px; border-top: 1px solid #eee3ed; display: grid; grid-template-columns: minmax(170px, 0.35fr) minmax(0, 1fr); gap: 20px; }
.legal-card dt { color: var(--plum-800); font-size: 0.78rem; font-weight: 700; }
.legal-card dd { margin: 0; overflow-wrap: anywhere; }
.legal-card address { font-style: normal; }
.legal-card code { padding: 2px 5px; border-radius: 4px; color: var(--plum-800); background: var(--plum-100); font-size: 0.82em; }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1120px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(390px, 0.78fr); gap: 42px; }
  .hero-visual { min-height: 520px; }
  .portrait-frame { width: 400px; height: 500px; }
  .hero-portrait { right: 20px; width: 355px; height: 485px; }
  .accreditation-card { left: -10px; width: 225px; }
  .hero-quote { right: -8px; width: 250px; }
  .proof-grid, .skills-layout { gap: 55px; }
  .proof-stats strong { font-size: clamp(1.7rem, 2.5vw, 2.1rem); }
  .audience-intro { grid-template-columns: 0.65fr 1.35fr; }
  .audience-intro > p:last-child { grid-column: 2; }
  .contact-panel { grid-template-columns: 1fr 0.85fr; }
  .contact-panel .button { justify-self: start; }
}

@media (max-width: 900px) {
  .container, .nav-wrap { width: min(100% - 44px, 760px); }
  .nav-wrap { min-height: 78px; }
  .brand { width: 185px; }
  .mobile-toggle { display: block; }
  .main-nav { position: absolute; top: 78px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 13px 28px 24px; border-top: 1px solid var(--line); background: var(--white); box-shadow: 0 22px 44px rgba(38, 10, 42, 0.13); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; }
  .main-nav a:not(.nav-contact)::after { display: none; }
  .main-nav .nav-contact { margin-top: 9px; padding: 13px 18px; text-align: center; }

  .home-hero { padding-top: 62px; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-copy { max-width: 700px; padding-bottom: 0; }
  .home-hero h1 { max-width: 680px; }
  .hero-visual { width: min(100%, 560px); min-height: 560px; margin: 5px auto 0; }
  .portrait-frame { right: 50%; width: 430px; height: 530px; transform: translateX(50%); }
  .hero-portrait { width: 380px; height: 515px; }
  .accreditation-card { left: 0; }
  .hero-quote { right: 0; }
  .hero-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-skills article:nth-child(2) { border-right: 0; }
  .hero-skills article:nth-child(-n+2) { padding-bottom: 21px; border-bottom: 1px solid var(--line); }
  .hero-skills article:nth-child(n+3) { padding-top: 21px; }
  .hero-skills article:nth-child(n+3) span { top: 21px; }

  .proof-grid, .skills-layout, .profile-card, .name-grid, .training-grid, .training-detail .container, .program-grid, .contact-grid { grid-template-columns: 1fr; }
  .proof-grid, .skills-layout { gap: 70px; }
  .proof-copy { max-width: 650px; }
  .proof-stats article { min-height: 320px; }
  .skills-heading { position: static; }
  .profile-card { gap: 45px; }
  .profile-visual { max-width: 450px; margin-inline: auto; }
  .name-grid, .training-detail .container { gap: 42px; }
  .audience-intro { grid-template-columns: 1fr; gap: 14px; }
  .audience-intro > p:last-child { grid-column: auto; max-width: 650px; }
  .reasonance-grid { grid-template-columns: 90px 1fr; }
  .reasonance-copy { grid-column: 2; }
  .reasonance-word { font-size: 7rem; }
  .contact-panel { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container, .nav-wrap { width: calc(100% - 34px); }
  .hero-resonance-animation { right: -18vw; bottom: 10px; left: -18vw; height: 170px; opacity: .19; }
  .resonance-trace-main { stroke-width: 12; }
  .resonance-trace-accent { stroke-width: 3; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.35rem); }
  h2 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .home-hero { padding: 50px 0 65px; }
  .home-hero-copy { padding-top: 8px; }
  .home-hero h1 { font-size: clamp(3.05rem, 15vw, 4.35rem); }
  .home-hero .hero-badge { margin-bottom: 20px; }
  .hero-badge { font-size: 0.64rem; letter-spacing: 0.1em; }
  .hero-summary { font-size: 1.03rem; }
  .cta-row, .cta-row .button { width: 100%; }
  .hero-audience { font-size: 0.8rem; }
  .hero-institutions { gap: 12px; margin-top: 20px; }
  .hero-institutions a { min-width: 0; }
  .hero-logo-pssm { width: min(105px, 28vw); }
  .hero-logo-ministry { width: auto; height: min(68px, 18vw); }
  .hero-logo-public-health { width: min(95px, 25vw); height: auto; }
  .home-hero-grid .hero-first-aider { padding: 28px 22px; border-radius: 22px; }
  .home-hero-grid .hero-first-aider h2 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-visual { min-height: 470px; margin-top: 12px; }
  .portrait-frame { width: min(100%, 350px); height: 445px; }
  .hero-portrait { right: 0; width: 330px; height: 430px; }
  .portrait-caption { align-items: flex-start; flex-direction: column; gap: 1px; }
  .portrait-caption span { text-align: left; }
  .accreditation-card { top: 18px; left: -3px; width: 185px; padding: 12px 14px; }
  .hero-quote { right: -3px; bottom: 88px; width: 205px; padding: 14px 16px; font-size: 1rem; }
  .hero-skills { margin-top: 38px; padding: 18px 8px; grid-template-columns: 1fr; }
  .hero-skills article, .hero-skills article:nth-child(2) { min-height: 77px; padding: 14px 12px 14px 57px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-skills article:last-child { border-bottom: 0; }
  .hero-skills article span, .hero-skills article:nth-child(n+3) span { top: 14px; }

  .proof-section, .skills-section, .audience-section, .profile-section, .name-section, .training-overview, .training-detail, .program-section, .contact-page { padding: 78px 0; }
  .proof-grid, .skills-layout { gap: 55px; }
  .proof-stats { grid-template-columns: 1fr; }
  .proof-stats article { min-height: 0; padding: 26px; }
  .proof-stats article::before { margin-bottom: 19px; }
  .proof-stats strong { font-size: clamp(2.25rem, 8vw, 2.8rem); }
  .proof-pssm-link img { width: 180px; }
  .proof-brand { width: 250px; margin: -40px 0 22px auto; padding: 15px; }
  .skill-cards { grid-template-columns: 1fr; }
  .skill-card, .skill-card:nth-child(2n), .skill-card:nth-last-child(-n+2) { min-height: 0; padding: 30px 26px; border-right: 1px solid rgba(255, 255, 255, 0.16); border-bottom: 0; }
  .skill-card:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
  .skill-number { margin-bottom: 24px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 330px; padding: 35px 27px; }
  .audience-index { margin-bottom: 40px; }
  .reasonance-section { padding: 74px 0; }
  .reasonance-grid { grid-template-columns: 1fr; gap: 25px; }
  .reasonance-word { display: none; }
  .reasonance-copy { grid-column: auto; }
  .page-hero { padding: 82px 0 72px; }
  .page-hero h1, .formation-hero h1 { font-size: clamp(3rem, 14vw, 4.5rem); }

  .profile-card, .offer-card, .first-aider-card, .program-card, .contact-card, .contact-form { padding: 31px 24px; }
  .profile-card { gap: 37px; }
  .portrait-wrap { height: 315px; }
  .portrait-wrap img { max-height: 310px; }
  .stats-card { margin-top: 34px; padding: 7px; }
  .stats-card figcaption { justify-content: flex-start; }
  .inline-credential { grid-template-columns: 1fr; }
  .inline-credential img { width: 210px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-strip { padding: 58px 0; }
  .contact-panel { padding: 35px 25px; }
  .contact-panel .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* About page: softer continuation below the portrait */
.about-page .name-section { position: relative; padding: 105px 0 95px; overflow: hidden; background: linear-gradient(145deg, #fff 10%, #fdf9fd 63%, #f9f3f9 100%); }
.about-page .name-section::before { content: ""; position: absolute; top: -385px; left: -355px; width: 650px; height: 650px; border: 1px solid rgba(145, 49, 131, 0.085); border-radius: 50%; box-shadow: 0 0 0 52px rgba(145, 49, 131, 0.025), 0 0 0 110px rgba(145, 49, 131, 0.012); pointer-events: none; }
.about-page .name-grid { position: relative; gap: clamp(40px, 6vw, 95px); align-items: center; }
.about-page .name-grid .eyebrow { display: block; margin-bottom: 28px; }
.about-page .name-grid .eyebrow::before { display: none; }
.about-page .name-grid .eyebrow::after { content: ""; display: block; width: 42px; height: 1px; margin-top: 15px; background: currentColor; }
.about-page .name-grid h2 { max-width: 480px; margin-bottom: 0; }
.about-page .name-grid .prose { padding: 42px 48px; border: 1px solid #f0e3ef; border-radius: 26px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 18px 48px rgba(80, 23, 84, 0.045); }
.about-page .name-grid .prose p { margin-bottom: 18px; }
.about-page .name-grid .prose p:first-child { color: var(--plum-800); font-family: var(--display); font-size: 1.65rem; line-height: 1.25; }
.about-page .name-grid .prose p:last-child { margin-bottom: 0; }
.about-page .contact-strip { padding: 0 0 96px; background: linear-gradient(160deg, #f9f3f9, #fff 72%); }
.about-page .contact-panel { padding: 50px 55px; border: 1px solid #ead7e8; border-radius: 28px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .8fr) auto; gap: 24px; color: var(--ink); background: radial-gradient(circle at 100% 0%, rgba(225, 194, 222, 0.24), transparent 40%), linear-gradient(125deg, #fff, #fbf5fa); box-shadow: 0 20px 52px rgba(80, 23, 84, 0.08); }
.about-page .contact-panel .eyebrow { color: var(--plum-600); }
.about-page .contact-panel h2 { color: var(--plum-900); }
.about-page .contact-details span { color: var(--plum-800); }
.about-page .contact-details a { color: #514554; }
.about-page .contact-details a:hover { color: var(--plum-700); }
.about-page .contact-panel .button.primary { color: var(--white); background: linear-gradient(135deg, var(--plum-600), var(--plum-900)); box-shadow: 0 12px 25px rgba(80, 23, 84, 0.15); }
.about-page .contact-panel .button.primary:hover { box-shadow: 0 16px 30px rgba(80, 23, 84, 0.22); }

@media (max-width: 1120px) {
  .about-page .contact-panel { grid-template-columns: 1fr 1fr; }
  .about-page .contact-panel .button { justify-self: start; }
}
@media (max-width: 900px) {
  .about-page .name-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-page .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-page .name-section { padding: 75px 0 68px; }
  .about-page .name-grid .prose { padding: 28px 26px; border-radius: 20px; }
  .about-page .contact-strip { padding-bottom: 72px; }
  .about-page .contact-panel { padding: 34px 28px; border-radius: 22px; }
}

/* Home and Formation: quiet contact panels above the light footer */
:is(.home-page, .training-page) .contact-strip { background: linear-gradient(160deg, #fff 0%, #faf5fa 100%); }
:is(.home-page, .training-page) .contact-panel { padding: 50px 55px; border: 1px solid #ead7e8; border-radius: 28px; grid-template-columns: minmax(0, 1.08fr) minmax(0, .8fr) auto; gap: 24px; color: var(--ink); background: radial-gradient(circle at 100% 0%, rgba(225, 194, 222, 0.24), transparent 40%), linear-gradient(125deg, #fff, #fbf5fa); box-shadow: 0 20px 52px rgba(80, 23, 84, 0.08); }
:is(.home-page, .training-page) .contact-panel .eyebrow { color: var(--plum-600); }
:is(.home-page, .training-page) .contact-panel h2 { color: var(--plum-900); }
:is(.home-page, .training-page) .contact-details span { color: var(--plum-800); }
:is(.home-page, .training-page) .contact-details a { color: #514554; }
:is(.home-page, .training-page) .contact-details a:hover { color: var(--plum-700); }
:is(.home-page, .training-page) .contact-panel .button.primary { color: var(--white); background: linear-gradient(135deg, var(--plum-600), var(--plum-900)); box-shadow: 0 12px 25px rgba(80, 23, 84, 0.15); }
:is(.home-page, .training-page) .contact-panel .button.primary:hover { box-shadow: 0 16px 30px rgba(80, 23, 84, 0.22); }

@media (max-width: 1120px) {
  :is(.home-page, .training-page) .contact-panel { grid-template-columns: 1fr 1fr; }
  :is(.home-page, .training-page) .contact-panel .button { justify-self: start; }
}
@media (max-width: 900px) {
  :is(.home-page, .training-page) .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :is(.home-page, .training-page) .contact-panel { padding: 34px 28px; border-radius: 22px; }
}

/* Formation and contact refinements */
.training-page .training-overview { padding: 26px 0 58px; background: linear-gradient(155deg, #fff 0%, #fdf8fd 64%, #f1f7f8 100%); }
.training-page .offer-card { padding: 34px 42px; border-color: #eadfeb; border-radius: 28px; background: linear-gradient(135deg, #fff 12%, #fdf7fd 70%, #f0f7f8 100%); box-shadow: 0 20px 55px rgba(80, 23, 84, 0.08); }
.training-page .offer-card h1, .training-page .offer-card h2 { margin-bottom: 14px; }
.training-page .offer-card > p:not(.eyebrow) { margin-bottom: 15px; }
.training-page .offer-card .feature-list { margin-bottom: 18px; }
.training-page .offer-card .inline-credential { margin-top: 17px; padding-top: 16px; border-top-color: #eadfeb; }
.training-page .training-detail { position: relative; padding: 88px 0; overflow: hidden; background: linear-gradient(145deg, #f8eef8 0%, #fff 62%, #edf5f7 100%); }
.training-page .training-detail::after { content: ""; position: absolute; right: -210px; bottom: -390px; width: 650px; height: 650px; border: 1px solid rgba(145, 49, 131, 0.1); border-radius: 50%; box-shadow: 0 0 0 45px rgba(145, 49, 131, 0.025), 0 0 0 95px rgba(145, 49, 131, 0.014); pointer-events: none; }
.training-page .training-detail .container { position: relative; z-index: 1; gap: 64px; align-items: center; }
.training-page .detail-heading h2 { margin-bottom: 22px; font-size: clamp(3rem, 5vw, 4.8rem); }
.training-page .detail-heading > p:last-child { max-width: 390px; color: var(--plum-700); font-size: 1.05rem; }
.training-page .detail-prose { padding: 38px 44px; border: 1px solid #eadfeb; border-radius: 28px; background: rgba(255,255,255,.78); box-shadow: 0 18px 45px rgba(80, 23, 84, .055); }
.training-page .detail-prose p { color: #56495a; }
.training-page .detail-goals { margin-bottom: 20px; }
.training-page .program-section { padding: 88px 0; background: #fff; }
.training-page .program-grid { gap: 26px; }
.training-page .program-card { padding: 40px 44px; border-color: #eadfeb; border-radius: 28px; background: linear-gradient(145deg, #fff, #fdf8fd); box-shadow: 0 18px 45px rgba(80, 23, 84, .06); }
.training-page .program-card:nth-child(2) { background: linear-gradient(145deg, #fff, #f0f7f8); }
.training-page .program-card h2 { font-size: clamp(2.4rem, 3.8vw, 3.6rem); }
.training-page .number-list li::before { background: #fff; }

.contact-page { padding: 74px 0 96px; background: linear-gradient(155deg, #fff 0%, #fdf8fd 68%, #f0f7f8 100%); }
.contact-page .contact-grid { gap: 30px; align-items: stretch; }
.contact-page .contact-card, .contact-page .contact-form { border-color: #eadfeb; border-radius: 28px; box-shadow: 0 20px 52px rgba(80, 23, 84, .07); }
.contact-page .contact-card { padding: 42px; background: linear-gradient(145deg, #fff, #f9f0f8); }
.contact-page .contact-form { padding: 42px; background: rgba(255,255,255,.9); }
.contact-page .contact-links a { border-radius: 14px; background: rgba(255,255,255,.8); }
.contact-page .contact-form input, .contact-page .contact-form select, .contact-page .contact-form textarea { border-radius: 12px; background: #fdf9fd; }
.contact-page .contact-form .button { border-radius: 999px; }

@media (max-width: 900px) {
  .training-page .training-overview { padding: 24px 0 60px; }
  .training-page .offer-card { padding: 34px 30px; }
  .training-page .training-detail, .training-page .program-section { padding: 72px 0; }
  .training-page .detail-prose { padding: 30px; }
  .contact-page { padding: 65px 0 78px; }
}
@media (max-width: 640px) {
  .training-page .offer-card, .training-page .program-card, .contact-page .contact-card, .contact-page .contact-form { padding: 30px 24px; border-radius: 22px; }
  .training-page .training-detail, .training-page .program-section { padding: 60px 0; }
  .training-page .detail-prose { padding: 25px 22px; border-radius: 22px; }
  .contact-page { padding: 54px 0 65px; }
}

/* Contact page: softer editorial hero and polished form feedback */
.contact-hero {
  padding: 96px 0 88px;
  background: radial-gradient(circle at 88% 12%, rgba(170, 74, 157, 0.16), transparent 29%), linear-gradient(145deg, #fff 0%, #fbf5fb 58%, #edf6f7 100%);
}
.contact-hero .container { max-width: 1120px; }
.contact-hero h1 { max-width: 780px; margin-bottom: 21px; font-size: clamp(4rem, 7vw, 6.8rem); line-height: .91; text-wrap: balance; }
.contact-hero h1::after { content: ""; display: block; width: 86px; height: 5px; margin-top: 30px; border-radius: 99px; background: linear-gradient(90deg, var(--plum-500), var(--teal-700)); }
.contact-hero p:last-child { max-width: 760px; font-size: clamp(1.03rem, 1.3vw, 1.22rem); line-height: 1.65; }
.contact-page { position: relative; overflow: hidden; }
.contact-page::before { content: ""; position: absolute; top: -220px; left: -170px; width: 480px; height: 480px; border: 1px solid rgba(145, 49, 131, .08); border-radius: 50%; box-shadow: 0 0 0 34px rgba(145, 49, 131, .025), 0 0 0 75px rgba(145, 49, 131, .016); pointer-events: none; }
.contact-page .contact-grid { position: relative; z-index: 1; }
.contact-page .contact-card, .contact-page .contact-form { position: relative; overflow: hidden; border-color: rgba(145, 49, 131, .18); box-shadow: 0 24px 64px rgba(80, 23, 84, .10), 0 2px 8px rgba(80, 23, 84, .035); }
.contact-page .contact-card::before, .contact-page .contact-form::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--plum-500), var(--plum-800), var(--teal-700)); }
.contact-page .contact-card { background: radial-gradient(circle at 100% 0, rgba(225, 194, 222, .46), transparent 42%), linear-gradient(145deg, #fff, #f8eff8); }
.contact-page .contact-form { background: rgba(255, 255, 255, .96); }
.contact-page .contact-form .button:disabled { cursor: wait; opacity: .72; transform: none; }
.contact-page .form-status { min-height: 1.6em; }
.contact-page .form-status.success { color: #26746c; font-weight: 700; }
.contact-page .form-status.error { color: #9d556f; font-weight: 700; }
@media (max-width: 640px) {
  .contact-hero { padding: 67px 0 72px; }
  .contact-hero h1 { font-size: clamp(3.2rem, 13vw, 4.7rem); }
}

/* Bandeau d’information vie privée */
.privacy-banner {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 44px), 1120px);
  max-width: 1120px;
  margin: 24px auto;
  padding: 22px 24px;
  border: 1px solid rgba(145, 49, 131, .18);
  border-radius: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  color: #514653;
  background: rgba(255, 252, 255, .94);
  box-shadow: 0 22px 65px rgba(50, 15, 54, .16), 0 2px 8px rgba(50, 15, 54, .05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .24s ease, transform .24s ease;
}
.privacy-banner.visible { opacity: 1; transform: translateY(0); }
.privacy-banner-title { margin-bottom: 5px; color: var(--plum-900); font-family: var(--display); font-size: 1.35rem; font-weight: 600; line-height: 1.1; }
.privacy-banner-copy > p:not(.privacy-banner-title), .privacy-banner-details p { margin: 0; font-size: .81rem; line-height: 1.55; }
.privacy-banner-details { margin-top: 9px; padding-top: 9px; border-top: 1px solid rgba(145, 49, 131, .12); }
.privacy-banner-details a { color: var(--plum-700); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.privacy-banner-actions { display: flex; align-items: center; gap: 10px; }
.privacy-banner button, .privacy-settings-link { font: inherit; cursor: pointer; }
.privacy-more { min-height: 44px; padding: 10px 16px; border: 1px solid rgba(145, 49, 131, .24); border-radius: 999px; color: var(--plum-800); background: rgba(255, 255, 255, .72); font-size: .78rem; font-weight: 700; }
.privacy-accept { min-height: 44px; padding: 10px 19px; border: 0; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--plum-600), var(--plum-900)); box-shadow: 0 10px 24px rgba(80, 23, 84, .16); font-size: .78rem; font-weight: 700; }
.privacy-more:hover, .privacy-more:focus-visible { border-color: var(--plum-500); background: #fff; }
.privacy-accept:hover, .privacy-accept:focus-visible { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(80, 23, 84, .22); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.privacy-settings-link { padding: 0; border: 0; color: #6a5b6b; background: transparent; font-size: .74rem; text-decoration: underline; text-decoration-color: rgba(106, 91, 107, .45); text-underline-offset: 4px; }
.privacy-settings-link:hover, .privacy-settings-link:focus-visible { color: var(--plum-700); }

@media (max-width: 760px) {
  .privacy-banner { width: calc(100% - 24px); margin: 12px auto; padding: 20px; border-radius: 19px; grid-template-columns: 1fr; gap: 17px; }
  .privacy-banner-actions { justify-content: stretch; }
  .privacy-banner-actions button { flex: 1; }
  .footer-legal { width: 100%; margin-left: 0; }
  .legal-hero { padding: 72px 0 66px; }
  .legal-content { padding: 58px 0 82px; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-summary { position: static; }
  .legal-summary, .legal-card { padding: 25px; border-radius: 18px; }
  .legal-card dl > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-banner { transition: none; }
}
