/* Parole d'Éduc · parolededuc.com · feuille de style unique
   Couleurs de la charte, polices auto-hébergées (aucune ressource externe). */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito.woff") format("woff"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "Lexend"; src: url("../fonts/lexend.woff") format("woff"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --navy: #283270; --navy-2: #1E2552; --red: #CD2A49; --red-dark: #A81F3B; --pink: #F4A3B3;
  --sky: #97D5DE; --green: #6BB34C; --orange: #EC8433; --violet: #AD78B1; --yellow: #F8F18A;
  --brown: #C98D62; --lime: #A8CD46; --grey: #96999B; --pale-yellow: #EEEC91;
  --green-tint: #E9F4E4; --sky-tint: #E5F4F7; --orange-tint: #FCEDE0; --violet-tint: #F3EAF4;
  --orange-ink: #B5561A; --green-ink: #3F7A28; --sky-ink: #23707D;
  --bg: #FFFFFF; --soft: #F2F6FA; --line: #D9DCE6; --ink: #283270; --muted: #5A6299;
  --display: "Nunito", "Segoe UI", system-ui, sans-serif;
  --body: "Lexend", "Segoe UI", system-ui, sans-serif;
  --hand: "Caveat", "Segoe Print", cursive;
  --radius: 18px; --max: 1160px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 900; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
strong { font-weight: 600; }

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

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.narrow > * { max-width: 780px; }
.narrow > .table-wrap { max-width: 780px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section.soft { background: var(--soft); }
.kicker { font-family: var(--display); font-weight: 900; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 .7em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--red); font-size: 1.55em; line-height: 1.1; letter-spacing: 0; }
.center { text-align: center; } .center .lead { margin-inline: auto; }

/* bande de couleurs de la marelle */
.band { display: flex; height: 8px; }
.band i { flex: 1; }
.band i:nth-child(1) { background: var(--sky); } .band i:nth-child(2) { background: var(--red); }
.band i:nth-child(3) { background: var(--navy); } .band i:nth-child(4) { background: var(--brown); }
.band i:nth-child(5) { background: var(--lime); } .band i:nth-child(6) { background: var(--orange); }
.band i:nth-child(7) { background: var(--pale-yellow); } .band i:nth-child(8) { background: var(--violet); }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-family: var(--display); font-weight: 800; font-size: 1rem;
  padding: .85em 1.5em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; min-height: 48px; }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; } .btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; } .btn-line:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); } .btn-white:hover { background: var(--yellow); color: var(--navy); }
.btn-ghost-white { border-color: #fff; color: #fff; } .btn-ghost-white:hover { background: #fff; color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* en-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand img { height: 50px; width: auto; }
.nav-toggle { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.nav a { display: block; font-family: var(--display); font-weight: 800; font-size: .98rem; color: var(--navy); text-decoration: none; padding: .55em .8em; border-radius: 999px; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--red); }
.nav a.nav-sommet { color: var(--green-ink); }
.nav a.nav-cta { background: var(--red); color: #fff; padding-inline: 1.1em; margin-left: 6px; }
.nav a.nav-cta:hover { background: var(--red-dark); }

@media (max-width: 980px) {
  .js .nav-toggle { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--navy);
    background: var(--soft); border: 0; border-radius: 999px; padding: .6em 1em; min-height: 44px; cursor: pointer; }
  .nav-toggle .bars { width: 18px; height: 12px; position: relative; display: inline-block; }
  .nav-toggle .bars::before, .nav-toggle .bars::after, .nav-toggle .bars span { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; background: var(--navy); border-radius: 2px; }
  .nav-toggle .bars::before { top: 0; } .nav-toggle .bars span { top: 5px; } .nav-toggle .bars::after { bottom: 0; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(40,50,112,.12); }
  .js .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 20px; gap: 2px; }
  .nav a { padding: .8em 1em; font-size: 1.08rem; }
  .nav a.nav-cta { margin: 8px 0 0; text-align: center; }
  .site-header { position: sticky; }
  .no-js .header-in { flex-wrap: wrap; padding-block: 10px; }
  .no-js .nav ul { flex-direction: row; flex-wrap: wrap; padding: 0; }
}
@media (max-width: 420px) { .brand img { height: 38px; } }

/* accueil : hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero h1 .hand { display: block; font-size: .62em; margin-top: .25em; }
.hero .lead { margin-top: 1.2em; }
.hero-art { position: relative; justify-self: center; width: min(100%, 440px); }
.hero-art img { width: 100%; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.4em; padding: 0; list-style: none; }
.hero-tags li { font-family: var(--display); font-weight: 800; font-size: .9rem; padding: .35em .9em; border-radius: 999px; }
.t-green { background: var(--green-tint); color: var(--green-ink); } .t-sky { background: var(--sky-tint); color: var(--sky-ink); } .t-orange { background: var(--orange-tint); color: var(--orange-ink); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } .hero-art { width: min(56%, 240px); order: -1; } }

/* titre de page intérieure */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); background: var(--soft); position: relative; overflow: hidden; }
.page-head .lead { margin-bottom: 0; }
.page-head.green { background: var(--green-tint); } .page-head.sky { background: var(--sky-tint); } .page-head.orange { background: var(--orange-tint); }
.page-head.navy { background: var(--navy); color: #fff; } .page-head.navy .lead { color: #DDE1F2; } .page-head.navy .kicker { color: var(--pink); }
.head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.head-col { width: 110px; }
@media (max-width: 700px) { .head-grid { grid-template-columns: minmax(0, 1fr); } .head-col { display: none; } }
.crumbs { font-size: .9rem; margin-bottom: 1.2em; color: var(--muted); }
.crumbs a { color: inherit; } .navy .crumbs { color: #C9CEE8; }

/* grilles et cartes */
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .g2 { grid-template-columns: minmax(0, 1fr); } }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); min-width: 0; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.pole { position: relative; border-top: 8px solid var(--c); display: flex; flex-direction: column; }
.pole .num { width: 56px; height: 56px; border-radius: 50%; background: var(--c); color: var(--c-on, #fff); display: grid; place-items: center; font-family: var(--display); font-weight: 900; margin-bottom: 14px; }
.pole .tag { font-family: var(--display); font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pole h3 { font-size: 1.6rem; margin: .1em 0 .2em; }
.pole .sub { color: var(--muted); }
.pole ul { list-style: none; padding: 0; margin: .4em 0 1.4em; }
.pole li { padding: .45em 0 .45em 1.5em; position: relative; border-top: 1px solid var(--line); }
.pole li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.pole .more { margin-top: auto; font-family: var(--display); font-weight: 800; text-decoration: none; }
.pole .more::after { content: " →"; }
.c-green { --c: var(--green); } .c-sky { --c: var(--sky); --c-on: var(--navy); } .c-orange { --c: var(--orange); } .c-red { --c: var(--red); } .c-violet { --c: var(--violet); } .c-navy { --c: var(--navy); }

/* bandeau sommet */
.sommet-band { background: var(--navy); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 32px; align-items: center; position: relative; overflow: hidden; }
.sommet-band h2 { color: #fff; } .sommet-band .kicker { color: var(--pink); }
.sommet-band p { color: #DDE1F2; }
.sommet-band .date { font-family: var(--display); font-weight: 900; color: var(--yellow); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .3em; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { background: rgba(255,255,255,.08); border-radius: 14px; padding: 14px 18px; }
.facts b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.5rem; color: #fff; line-height: 1.1; }
.facts span { font-size: .92rem; color: #DDE1F2; }
@media (max-width: 820px) { .sommet-band { grid-template-columns: minmax(0, 1fr); } }

/* valeurs */
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.values li { background: #fff; border-radius: 16px; padding: 20px 22px; border: 1.5px solid var(--line); }
.values b { font-family: var(--display); font-weight: 900; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.values b::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
.values p { margin: 0; color: var(--muted); font-size: .97rem; }
@media (max-width: 860px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .values { grid-template-columns: minmax(0, 1fr); } }

/* blocs texte + liste à puces colorées */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.dots { list-style: none; padding: 0; }
.dots li { position: relative; padding-left: 1.6em; margin-bottom: .6em; }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: 11px; height: 11px; border-radius: 50%; background: var(--c, var(--red)); }
.note { background: var(--soft); border-left: 6px solid var(--navy); border-radius: 0 14px 14px 0; padding: 18px 22px; }
.note.red { border-color: var(--red); } .note.green { border-color: var(--green); background: var(--green-tint); } .note.sky { border-color: var(--sky); background: var(--sky-tint); } .note.orange { border-color: var(--orange); background: var(--orange-tint); }
.note p:last-child { margin: 0; }

/* chiffres clés (formation) */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 2em 0 0; }
.stats li { background: #fff; border-radius: 16px; padding: 18px; border: 1.5px solid var(--line); }
.stats b { display: block; font-family: var(--display); font-weight: 900; font-size: 1.9rem; line-height: 1.05; }
.stats span { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stats.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* tableaux */
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .98rem; min-width: 520px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: #fff; font-family: var(--display); font-weight: 900; }
tbody tr:nth-child(even) td { background: var(--soft); }
tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-family: var(--display); font-weight: 900; }

/* programme du sommet */
.days { display: grid; gap: 22px; }
.day { border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.day-head { padding: 18px 24px; background: var(--c); color: var(--navy); display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline; }
.day-head h3 { margin: 0; font-size: 1.35rem; }
.day-head span { font-weight: 600; }
.talks { list-style: none; margin: 0; padding: 0; }
.talks li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); }
.talks li:first-child { border-top: 0; }
.talks time { font-family: var(--display); font-weight: 900; color: var(--red); }
.talks b { display: block; font-family: var(--display); font-weight: 800; font-size: 1.08rem; line-height: 1.3; }
.talks span { color: var(--muted); font-size: .95rem; }
@media (max-width: 520px) { .talks li { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 14px 18px; } .day-head { padding: 16px 18px; } }

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .contact-cards { grid-template-columns: minmax(0, 1fr); } }
.contact-cards .card { display: flex; flex-direction: column; gap: 6px; }
.contact-cards .big { font-family: var(--display); font-weight: 900; font-size: 1.15rem; word-break: break-word; }
.contact-cards .btn { margin-top: auto; align-self: flex-start; }
.copy { background: none; border: 0; padding: 0; color: var(--red); font: inherit; font-size: .92rem; text-decoration: underline; cursor: pointer; align-self: flex-start; }

/* appel à l'action final */
.cta { background: var(--red); color: #fff; border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta h2 { color: #fff; margin: 0 0 .2em; } .cta p { margin: 0; color: #FFE3E8; }

/* pied de page */
.site-footer { background: var(--navy); color: #DDE1F2; margin-top: 0; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 32px; }
.site-footer img { height: 48px; width: auto; margin-bottom: 14px; }
.site-footer h2 { font-size: 1rem; color: #fff; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }
.site-footer a { color: #fff; text-decoration: none; } .site-footer a:hover { color: var(--pink); text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 18px 28px; font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
@media (max-width: 860px) { .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer-in { grid-template-columns: minmax(0, 1fr); } }

/* pages légales */
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal dl { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 20px; margin: 0 0 1em; }
.legal dt { font-weight: 600; } .legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); } .legal dd { margin-bottom: .6em; } }

.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; } .mt2 { margin-top: 2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legal .narrow > h2:first-child { margin-top: 0; }

/* ---------- mouvement (discret, désactivé si « réduire les animations ») ---------- */
.marelle { width: 100%; height: auto; overflow: visible; }
.marelle .cell, .marelle .bub { transform-box: fill-box; transform-origin: 50% 50%; }
@media (prefers-reduced-motion: no-preference) {
  .js .marelle .cell { animation: drop .8s cubic-bezier(.25, .8, .3, 1.1) both; animation-delay: calc(var(--i) * 190ms + 300ms); }
  .js .marelle .bub { animation: pop .7s cubic-bezier(.2, .9, .3, 1.4) both, float calc(6s + var(--i) * .7s) ease-in-out infinite alternate;
    animation-delay: calc(var(--i) * 140ms + 2400ms), calc(var(--i) * -900ms); }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
  .card, .values li, .stats li, .facts li { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
  .card.pole:hover, .values li:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(40, 50, 112, .10); }
  .card.pole:hover { border-color: var(--c); border-top-color: var(--c); }
  .btn-red:hover, .btn-navy:hover { box-shadow: 0 8px 20px rgba(205, 42, 73, .22); }
  .pole .more::after { display: inline-block; transition: transform .2s; }
  .pole .more:hover::after { transform: translateX(4px); }
}
@keyframes drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes float { 0% { translate: 0 0; } 33% { translate: 10px -26px; } 66% { translate: -8px 14px; } 100% { translate: 6px -10px; } }

/* en-tête qui s'affine au défilement */
.site-header { transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(40, 50, 112, .10); }
.header-in { transition: min-height .25s ease; }
.site-header.scrolled .header-in { min-height: 64px; }

/* compte à rebours */
.countdown { display: inline-block; vertical-align: middle; margin-left: .4em; font-size: .55em; background: var(--red); color: #fff; padding: .25em .75em; border-radius: 999px; letter-spacing: .02em; }
.countdown.live { background: var(--green); }
@media (prefers-reduced-motion: no-preference) { .countdown.live { animation: pulse 2s ease-in-out infinite; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(107, 179, 76, .25); } }

/* onglets du programme */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.6em 0 1em; }
.tabs button { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--navy); background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: .6em 1.15em; cursor: pointer; min-height: 44px; transition: background .2s, border-color .2s, color .2s; }
.tabs button:hover { border-color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.days.tabbed { margin-top: 0; }
@media (prefers-reduced-motion: no-preference) { .days.tabbed .day:not([hidden]) { animation: fadein .35s ease both; } }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* icônes de la charte */
.ico { display: block; flex: none; }
.pole .num .ico { width: 30px; height: 30px; }
.ico-soft { width: 54px; height: 54px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; margin-bottom: 14px; }
.c-green .ico-soft { background: var(--green-tint); } .c-orange .ico-soft { background: var(--orange-tint); } .c-sky .ico-soft { background: var(--sky-tint); }
@media (prefers-reduced-motion: no-preference) { .card:hover .ico-soft .ico, .card.pole:hover .num .ico { animation: wiggle .5s ease; } }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 60% { transform: rotate(6deg); } }

/* remonter en haut */
.to-top { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(40, 50, 112, .25); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top:hover { background: var(--red-dark); color: #fff; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.no-js .to-top { display: none; }
.to-top-link { color: #fff; font-family: var(--display); font-weight: 800; }

/* organigramme en HTML */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: center; position: relative; }
.person { border-radius: 20px; padding: 18px 22px; text-align: center; min-width: 0; }
.person .role { font-family: var(--display); font-weight: 900; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .25em; }
.person .name { font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin: 0; line-height: 1.25; }
.p-pink { background: #FDE8EC; } .p-pink .role { color: var(--red); }
.p-sky { background: var(--sky-tint); } .p-sky .role { color: var(--sky-ink); }
.p-navy { background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; gap: 16px; text-align: left; padding: 22px 26px; }
.p-navy .role { color: var(--pink); } .p-navy .name { color: #fff; font-size: 1.3rem; }
.ico-round { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.14); display: grid; place-items: center; flex: none; }
.p-navy .ico path, .p-navy .ico rect, .p-navy .ico circle { stroke: #fff; }
.orga-link { width: 3px; height: 34px; background: var(--navy); margin: 0 auto; border-radius: 2px; }
.support { margin-top: 30px; }
.support-title { text-align: center; margin: 0 0 14px; }
@media (max-width: 860px) { .team { grid-template-columns: minmax(0, 1fr); } }

/* en-tête des pages : symbole complet, un peu plus à gauche */
.head-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.head-col { width: 210px; justify-self: start; }
@media (max-width: 700px) { .head-grid { grid-template-columns: minmax(0, 1fr); } }

/* organigramme (SVG du kit, identique au PDF) */
.orga-fig { margin: 0; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 12px; }
.orga-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.orga-scroll img { width: 100%; min-width: 760px; height: auto; display: block; }
.orga-hint { display: none; font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
@media (max-width: 800px) { .orga-hint { display: block; } }

/* l'histoire du logo */
.story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.story-art { position: sticky; top: 120px; max-width: 380px; justify-self: center; }
.story-text { max-width: 640px; }
.story-text p { font-size: 1.08rem; }
.story-q { margin: 1.2em 0; padding: .2em 0 .2em 1em; border-left: 5px solid var(--red); font-family: var(--hand); font-weight: 700; color: var(--red); font-size: 1.9rem; line-height: 1.2; }
.story-end { list-style: none; padding: 0; margin: .4em 0 0; display: grid; gap: 6px; }
.story-end li { font-family: var(--display); font-weight: 900; font-size: 1.45rem; display: flex; align-items: center; gap: 12px; }
.story-end li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); flex: none; }
@media (max-width: 860px) { .story-grid { grid-template-columns: minmax(0, 1fr); } .story-art { position: static; max-width: 220px; } }

/* pôles : seul l'en-tête prend la teinte du pôle (mêmes couleurs que les bannières Facebook) */
.page-head.green { background: #E9F4E4; } .page-head.sky { background: #E5F4F7; } .page-head.orange { background: #FCEDE0; }
