/* ThinkAsso · landing thinkasso.eu
   Gabarit commun des sites Thinkify (kiteba.eu, thinkitrad.com, thinkibot.eu) : en-tête
   collant, bandes pleine largeur alternées, en-têtes de section centrés, bande sombre,
   appel final sombre. Charte de l'application (src/app/globals.css du dépôt ThinkAsso) :
   neutres bleutés, indigo #4c56a6, un pastel par module, Figtree et Bricolage Grotesque.
   Mobile d'abord ; paliers à 760 px et 1080 px. */

/* ── Polices (SIL OFL), auto-hébergées : aucune ressource tierce ───────── */
@font-face { font-family: Figtree; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin.woff2) format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-weight: 200 800; font-display: swap; src: url(fonts/bricolage-grotesque-latin.woff2) format("woff2"); }

/* ── Jetons (ceux de l'application) ────────────────────────────────────── */
:root {
  --indigo: #4c56a6; --indigo-d: #3f488f; --indigo-dd: #22264f; --indigo-xl: #e9ebfa; --indigo-l: #a9b0f0;
  --paper: #f6f6fa; --white: #ffffff; --ink: #1e2132; --ink-2: #3e4258; --gray: #5b6077; --line: #e2e4ee;
  --tasks: #ece7fb; --tasks-ink: #5a479f; --events: #fde8dc; --events-ink: #9c4e27;
  --members: #dcf2e7; --members-ink: #2d7552; --money: #faf0cf; --money-ink: #7d5b0e;
  --info: #e0edfa; --info-ink: #2c5f92; --volunteer: #fbe3e5; --volunteer-ink: #a83545;
  --shadow: 0 2px 4px rgb(30 33 80 / .06), 0 30px 80px rgb(30 33 80 / .14);
  --card-shadow: 0 1px 2px rgb(30 33 80 / .05), 0 0 0 1px var(--line);
  --font: Figtree, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage Grotesque", Figtree, system-ui, sans-serif;
  --gutter: 16px;
  --pad: 88px;
}
@media (min-width: 760px)  { :root { --gutter: 32px; --pad: 120px; } }
@media (min-width: 1080px) { :root { --gutter: 40px; --pad: 140px; } }

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--indigo-d); }
:focus-visible { outline: 3px solid var(--indigo-l); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--display); }
h1, h2 { font-weight: 700; letter-spacing: -.035em; }
h3 { font-weight: 700; letter-spacing: -.015em; }
p, ul, ol { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 100; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { width: auto; height: auto; clip-path: none; background: var(--white); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.band { padding-block: var(--pad); }
.band.white { background: var(--white); }
.band.dark { background: radial-gradient(900px 520px at 15% 0%, rgb(169 176 240 / .18), transparent 60%),
  radial-gradient(700px 500px at 100% 100%, rgb(76 86 166 / .55), transparent 60%), var(--indigo-dd); color: var(--white); }
section[id] { scroll-margin-top: 84px; }

/* Pastels des modules : fond + encre lisible dessus */
.tasks { --bg: var(--tasks); --fg: var(--tasks-ink); }
.events { --bg: var(--events); --fg: var(--events-ink); }
.members { --bg: var(--members); --fg: var(--members-ink); }
.money { --bg: var(--money); --fg: var(--money-ink); }
.info { --bg: var(--info); --fg: var(--info-ink); }
.volunteer { --bg: var(--volunteer); --fg: var(--volunteer-ink); }

/* ── Boutons ───────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  font: 700 16px/1.2 var(--font); padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-cta { background: var(--indigo); color: var(--white); box-shadow: 0 12px 30px rgb(76 86 166 / .3); }
.btn-cta:hover { background: var(--indigo-d); color: var(--white); transform: translateY(-1px); }
.btn-soft { background: var(--white); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.btn-soft:hover { color: var(--indigo); box-shadow: 0 0 0 1px var(--indigo); }
.btn-ghost { background: rgb(255 255 255 / .1); color: var(--white); box-shadow: 0 0 0 1px rgb(255 255 255 / .24); }
.btn-ghost:hover { background: rgb(255 255 255 / .16); color: var(--white); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:hover { transform: none; } }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 20; background: rgb(246 246 250 / .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgb(226 228 238 / .8); }
.nav { height: 68px; display: flex; align-items: center; gap: 10px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); margin-inline-end: auto; }
.brand:hover { color: var(--ink); }
.mark { width: 34px; height: 34px; flex: none; }
.word { font: 700 22px/1 var(--display); letter-spacing: -.04em; }
.word b { color: var(--indigo); font-weight: 700; }
.nav-links { display: none; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--indigo); }
.menu-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--white); display: grid; place-items: center;
  box-shadow: 0 0 0 1px var(--line); cursor: pointer; color: var(--ink); flex: none; }
.menu-btn svg { width: 20px; height: 20px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu { border-top: 1px solid var(--line); padding: 8px var(--gutter) 18px; display: flex; flex-direction: column; background: var(--paper); }
.mobile-menu a { color: var(--ink); font-weight: 700; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-of-type { border-bottom: 0; color: var(--indigo); }
.nav .btn-sm { display: none; }
@media (min-width: 560px) { .nav .btn-cta.btn-sm { display: inline-flex; } }
@media (min-width: 1080px) {
  .nav { height: 76px; gap: 14px; }
  .nav-links { display: flex; gap: 28px; flex-grow: 1; justify-content: center; }
  .brand { margin-inline-end: 0; }
  .nav .login { display: inline-flex; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ── En-têtes de section ───────────────────────────────────────────────── */
.eyebrow { font: 700 13px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--indigo); }
.band.dark .eyebrow, .final .eyebrow { color: var(--indigo-l); }
.head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; max-width: 800px; margin: 0 auto 64px; }
.head h2 { font-size: clamp(32px, 4.2vw, 54px); line-height: 1.06; }
.head p { font-size: 19px; color: var(--ink-2); max-width: 640px; }
.band.dark .head p { color: rgb(255 255 255 / .74); }
.grad { color: var(--indigo); }
.band.dark .grad, .final .grad { color: var(--indigo-l); }

.badge { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; padding: 8px 15px; border-radius: 999px;
  background: var(--indigo-xl); color: var(--indigo-d); font: 700 12.5px var(--font); letter-spacing: .08em; text-transform: uppercase; }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); display: block; }

/* ── Accroche ──────────────────────────────────────────────────────────── */
.hero { padding-block: 48px 88px; overflow: hidden;
  background: radial-gradient(760px 560px at 85% 40%, rgb(169 176 240 / .28), transparent 65%), var(--paper); }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 70px); line-height: 1.04; }
.hero .lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14.5px; font-weight: 600; color: var(--gray); }
.facts span { display: inline-flex; align-items: center; gap: 7px; }
.facts svg { width: 16px; height: 16px; color: var(--members-ink); }
@media (min-width: 1080px) {
  .hero { padding-block: 72px 140px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* L'écran d'accueil de l'application, redessiné (pas une capture) */
.hero-visual { position: relative; display: grid; place-items: center; padding-block: 24px 56px; }
.halo { position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgb(255 255 255 / .6) 45%, transparent 70%); }
.phone { position: relative; width: 290px; padding: 10px; border-radius: 44px; background: var(--ink); box-shadow: var(--shadow), 0 40px 90px rgb(30 33 80 / .22); }
.screen { position: relative; border-radius: 35px; overflow: hidden; background: var(--paper); padding: 34px 16px 84px; min-height: 560px; font-size: 13px; }
.screen::before { content: ''; position: absolute; top: 10px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 99px; background: var(--ink); }
.hello { font: 700 23px/1.1 var(--display); letter-spacing: -.03em; margin-top: 12px; }
.date { color: var(--gray); font-weight: 500; margin-bottom: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pl { padding: 5px 10px; border-radius: 99px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 12px; }
.sec { font: 700 14px var(--display); margin: 18px 0 8px; }
.mini { list-style: none; padding: 0; background: var(--white); border-radius: 16px; box-shadow: var(--card-shadow); }
.mini li { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-top: 1px solid var(--line); font-weight: 600; }
.mini li:first-child { border-top: 0; }
.mini li i { width: 15px; height: 15px; border-radius: 50%; border: 2px solid #c9ccdb; flex: none; }
.mini li span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini small { color: var(--gray); font-weight: 600; font-size: 11.5px; white-space: nowrap; }
.mini.slot li { background: var(--events); border-radius: 16px; color: var(--events-ink); }
.mini.slot small { color: var(--events-ink); }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around; align-items: center; padding: 10px 10px 18px; background: var(--white); border-top: 1px solid var(--line); }
.tabbar span { width: 38px; height: 38px; display: grid; place-items: center; color: var(--gray); border-radius: 12px; }
.tabbar span.on { color: var(--indigo); background: var(--indigo-xl); }
.tabbar span:nth-child(3) { background: var(--indigo); color: var(--white); border-radius: 50%; width: 44px; height: 44px; }
.tabbar svg { width: 20px; height: 20px; }
.float { position: absolute; display: flex; align-items: center; gap: 11px; background: var(--white); border-radius: 18px; padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow); font-size: 14px; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.float b { display: block; font-weight: 700; line-height: 1.2; }
.float small { display: block; color: var(--gray); font-weight: 600; font-size: 12.5px; }
.fi { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--bg); color: var(--fg); flex: none; }
.fi svg { width: 18px; height: 18px; }
/* Posées sur les zones vides de l'écran : à droite du bonjour, sous les créneaux, sous le téléphone */
.float.f1 { top: 66%; inset-inline-start: 0; }
.float.f2 { top: 11%; inset-inline-end: 0; animation-delay: -2s; }
.float.f3 { bottom: 0; inset-inline-end: 4%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 479px) {
  .phone { width: 250px; } .screen { min-height: 500px; }
  /* Trop étroit pour des cartes autour du téléphone : elles cacheraient l'écran. */
  .float { display: none; }
  .hero-visual { padding-block: 8px 0; }
}
@media (min-width: 1080px) { .phone { width: 310px; } .screen { min-height: 600px; } .float { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* ── Le film (joué en direct par site.js, voir film.js) ────────────────── */
.film { margin: 0 auto; max-width: 1120px; }
.film-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow), 0 0 0 1px var(--line); cursor: pointer; }
.film-host { position: absolute; inset: 0; overflow: hidden; }
.film-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 14px;
  background: radial-gradient(900px 600px at 50% 120%, #6a74c4, #4c56a6 50%, #2c3270); color: var(--white); font: 700 clamp(28px, 4vw, 52px) var(--display); letter-spacing: -.04em; }
.film-fallback .mark { width: 1.2em; height: 1.2em; }
.film.ready .film-fallback { display: none; }
@media (max-width: 759px) {
  .film-frame { aspect-ratio: 9 / 16; max-width: min(100%, calc(76vh * 9 / 16)); margin: 0 auto; border-radius: 22px; }
}

/* Pastille d'icône, colorée par le pastel de son module */
.ico { width: 52px; height: 52px; border-radius: 16px; background: var(--bg, var(--indigo-xl)); color: var(--fg, var(--indigo)); display: grid; place-items: center; flex: none; }
.ico svg { width: 25px; height: 25px; }

/* ── Fonctionnalités ───────────────────────────────────────────────────── */
.feat { display: grid; gap: 36px; max-width: 1080px; margin: 0 auto; }
@media (min-width: 760px) { .feat { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 56px; } }
@media (min-width: 1080px) { .feat { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feat article { display: flex; gap: 18px; }
.feat h3 { font-size: 20px; margin-bottom: 4px; }
.feat p { font-size: 16px; color: var(--ink-2); }

/* ── Confiance (bande sombre) ──────────────────────────────────────────── */
.tcards { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 860px) { .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.tcard { background: rgb(255 255 255 / .05); border-radius: 28px; padding: 36px 30px; align-items: center; text-align: center; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 0 0 1px rgb(255 255 255 / .1); }
.tcard .ico { background: rgb(169 176 240 / .16); color: var(--indigo-l); }
.tcard .ico svg[viewBox="0 0 32 32"] { width: 38px; height: 38px; }
.tcard h3 { font-size: 23px; margin-top: 8px; }
.tcard .ico { width: 64px; height: 64px; border-radius: 20px; }
.tcard .ico svg { width: 30px; height: 30px; }
.tcard p { font-size: 15.5px; color: rgb(255 255 255 / .74); }

/* ── Rôles ─────────────────────────────────────────────────────────────── */
.rcards { display: grid; gap: 18px; max-width: 1080px; margin: 0 auto; }
@media (min-width: 900px) { .rcards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.rcard { background: var(--white); border-radius: 28px; padding: 32px 30px; box-shadow: var(--card-shadow); display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--indigo); }
.rcard:nth-child(2) { border-top-color: var(--indigo-l); }
.rcard:nth-child(3) { border-top-color: var(--indigo-xl); }
.rcard h3 { font-size: 24px; }
.rcard .who { font-weight: 700; color: var(--indigo); font-size: 15px; }
.rcard p:last-child { color: var(--ink-2); }

/* ── Questions ─────────────────────────────────────────────────────────── */
.qa { display: flex; flex-direction: column; gap: 10px; max-width: 780px; margin: 0 auto; }
.qa details { background: var(--white); border-radius: 18px; box-shadow: var(--card-shadow); }
.qa summary { cursor: pointer; list-style: none; font: 700 17px/1.4 var(--font); padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ''; width: 9px; height: 9px; border-inline-end: 2.5px solid var(--gray); border-bottom: 2.5px solid var(--gray); transform: rotate(45deg); flex: none; margin-top: -4px; }
.qa details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.qa p { padding: 0 24px 22px; color: var(--ink-2); }

/* ── Appel final ───────────────────────────────────────────────────────── */
.final { padding-block: var(--pad); }
.final .panel-dark { border-radius: 36px; padding: 64px 24px; text-align: center; color: var(--white); display: flex; flex-direction: column; align-items: center; gap: 18px;
  background: radial-gradient(700px 380px at 50% 0%, rgb(169 176 240 / .26), transparent 60%), radial-gradient(600px 360px at 100% 100%, rgb(76 86 166 / .6), transparent 60%), var(--indigo-dd); }
.final .mark { width: 64px; height: 64px; margin-bottom: 6px; }
.final h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.06; max-width: 800px; }
.final p { font-size: 19px; color: rgb(255 255 255 / .76); max-width: 600px; }
.final .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.final .btn-cta { background: var(--white); color: var(--indigo-d); box-shadow: 0 12px 30px rgb(0 0 0 / .2); }
.final .btn-cta:hover { background: var(--indigo-xl); color: var(--indigo-d); }
@media (min-width: 760px) { .final .panel-dark { padding: 88px 40px; } }

/* ── 404 ───────────────────────────────────────────────────────────────── */
.nf { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; text-align: center; padding: 24px; }
.nf h1 { font-size: clamp(32px, 5vw, 56px); }
.nf .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.site-footer { background: var(--white); border-top: 1px solid var(--line); font-size: 15px; }
.foot-grid { display: grid; gap: 32px; padding-block: 64px 44px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); } }
.foot-grid .about { display: flex; flex-direction: column; gap: 14px; max-width: 320px; }
.foot-grid .about p { color: var(--gray); font-size: 14.5px; }
.foot-grid h2 { font: 700 12px var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-grid a { color: var(--gray); }
.foot-grid a:hover { color: var(--indigo); }
.foot-bottom { border-top: 1px solid var(--line); padding-block: 22px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 13.5px; color: var(--gray); }

/* ══ Un peu de fantaisie ═══════════════════════════════════════════════════
   Tout ce qui bouge s'arrête pour qui a demandé moins d'animations, et rien ne se
   cache sans script (la classe .js est posée par site.js). */

/* Le badge fait défiler les types d'association */
.indigo { --bg: var(--indigo-xl); --fg: var(--indigo); }
.badge { letter-spacing: .06em; }
.rot { display: inline-grid; }
.rot > span { grid-area: 1 / 1; color: var(--fg); opacity: 0; transform: translateY(.7em); transition: opacity .35s, transform .45s cubic-bezier(.16, 1, .3, 1); white-space: nowrap; }
.rot > span.on { opacity: 1; transform: none; }
.rot > span.out { opacity: 0; transform: translateY(-.7em); }

/* Trait dessiné à la main sous la fin du titre */
.hero h1 .grad { position: relative; display: inline-block; }
.squiggle { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .22em; color: #f4a77f; overflow: visible; }
.squiggle path { stroke-dasharray: 340; stroke-dashoffset: 0; }
.js .squiggle path { stroke-dashoffset: 340; animation: draw 1.1s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Confettis pastel derrière l'accroche */
.hero { position: relative; }
.hero .wrap { position: relative; }
.confetti i { position: absolute; display: block; border-radius: 40% 60% 55% 45%; opacity: .8; animation: drift 14s ease-in-out infinite; }
.confetti i:nth-child(1) { width: 18px; height: 18px; background: var(--events); top: 14%; left: 6%; }
.confetti i:nth-child(2) { width: 12px; height: 12px; background: var(--tasks); top: 70%; left: 3%; animation-delay: -3s; }
.confetti i:nth-child(3) { width: 26px; height: 26px; background: var(--members); top: 10%; left: 52%; animation-delay: -6s; }
.confetti i:nth-child(4) { width: 14px; height: 14px; background: var(--money); top: 86%; left: 46%; animation-delay: -9s; }
.confetti i:nth-child(5) { width: 20px; height: 20px; background: var(--volunteer); top: 22%; right: 4%; animation-delay: -2s; }
.confetti i:nth-child(6) { width: 10px; height: 10px; background: var(--info); top: 78%; right: 8%; animation-delay: -7s; border-radius: 3px; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(14px, -18px) rotate(40deg); } 66% { transform: translate(-10px, 12px) rotate(-30deg); } }
@media (max-width: 759px) { .confetti i:nth-child(n+4) { display: none; } }

/* Ruban : des associations de toutes sortes */
.marquee { overflow: hidden; background: var(--white); border-block: 1px solid var(--line); padding-block: 18px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.mq { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px 10px 12px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; white-space: nowrap; }
.mq svg { width: 20px; height: 20px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }

/* Apparition au défilement */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s, transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* Ce que ça change : la question du groupe → sa réponse dans l'application */
.pairs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 22px; max-width: 980px; margin: 0 auto; }
.pair { display: grid; gap: 10px; justify-items: start; }
.bubble { position: relative; background: var(--white); border-radius: 22px; border-end-start-radius: 6px; padding: 12px 18px; box-shadow: var(--card-shadow); font-size: 16.5px; max-width: 100%; }
.bubble b { display: block; font-size: 13px; color: var(--gray); }
.pair:nth-child(even) .bubble { transform: rotate(1.2deg); }
.pair:nth-child(odd) .bubble { transform: rotate(-1.2deg); }
.link { width: 2px; height: 18px; margin-inline-start: 28px; background: repeating-linear-gradient(180deg, #c9ccdb 0 5px, transparent 5px 10px); }
.answer { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 20px; padding: 12px 20px 12px 12px; box-shadow: var(--shadow); justify-self: stretch; }
.answer .fi { width: 46px; height: 46px; border-radius: 14px; }
.answer .fi svg { width: 22px; height: 22px; }
.answer small { display: block; font-size: 13px; font-weight: 700; color: var(--fg); text-transform: uppercase; letter-spacing: .08em; }
.answer b { display: block; font-size: 17px; }
.js .pair .bubble { opacity: 0; transform: scale(.8) rotate(-4deg); transition: opacity .4s, transform .5s cubic-bezier(.3, 1.45, .5, 1); }
.js .pair .answer { opacity: 0; transform: translateX(-30px); transition: opacity .5s .35s, transform .6s .35s cubic-bezier(.16, 1, .3, 1); }
.js .pair .link { transform: scaleY(0); transform-origin: top; transition: transform .3s .2s; }
.js .pair.in .bubble { opacity: 1; transform: rotate(-1.2deg); }
.js .pair.in:nth-child(even) .bubble { transform: rotate(1.2deg); }
.js .pair.in .answer { opacity: 1; transform: none; }
.js .pair.in .link { transform: none; }
.js .pair.reveal { opacity: 1; transform: none; }
@media (min-width: 760px) {
  .pair { grid-template-columns: minmax(0, 1fr) 70px minmax(0, 1.15fr); align-items: center; gap: 0; }
  .bubble { justify-self: end; font-size: 17.5px; }
  .link { width: 100%; height: 2px; margin: 0; background: repeating-linear-gradient(90deg, #c9ccdb 0 7px, transparent 7px 14px); }
  .js .pair .link { transform: scaleX(0); transform-origin: left; }
}

/* Fonctionnalités : la pastille sautille au survol */
.feat article:hover .ico { animation: wiggle .5s ease-in-out; }
@keyframes wiggle { 30% { transform: rotate(-10deg) scale(1.08); } 60% { transform: rotate(8deg) scale(1.08); } }

/* Pour qui : socle, types d'association (onglets), modules complémentaires */
.base { text-align: center; margin: 0 auto 56px; max-width: 900px; }
.base .eyebrow { margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 11px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; }
.chip svg { width: 18px; height: 18px; }
.types { max-width: 980px; margin: 0 auto; background: var(--paper); border-radius: 32px; padding: 28px 18px; box-shadow: 0 0 0 1px var(--line); }
.pick { text-align: center; font-weight: 700; color: var(--gray); margin-bottom: 16px; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
.tab { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 16px; background: var(--white); color: var(--ink); font: 700 15px/1.2 var(--font); cursor: pointer; text-align: start; box-shadow: 0 0 0 1px var(--line); transition: transform .15s, box-shadow .15s, background .15s; }
.tab svg { width: 22px; height: 22px; flex: none; color: var(--fg); }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--bg); color: var(--fg); box-shadow: 0 0 0 2px var(--fg); }
@media (min-width: 760px) { .types { padding: 36px 36px 30px; } .tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tpanel dl { margin: 0; display: grid; gap: 0; background: var(--white); border-radius: 22px; padding: 6px 22px; box-shadow: var(--card-shadow); }
.tpanel dl > div { display: grid; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.tpanel dl > div:first-child { border-top: 0; }
.tpanel dt { font-size: 13px; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: .1em; }
.tpanel dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { padding: 4px 11px; border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 14px; font-weight: 700; }
.tags.mods span { display: inline-flex; align-items: center; gap: 6px; }
.tags.mods svg { width: 15px; height: 15px; }
@media (min-width: 760px) { .tpanel dl > div { grid-template-columns: 200px minmax(0, 1fr); align-items: center; } }
.js .tpanel:not([hidden]) dl { animation: pop-in .45s cubic-bezier(.16, 1, .3, 1); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modules { max-width: 980px; margin: 56px auto 0; }
.mhead { text-align: center; margin-bottom: 24px; }
.mhead h3 { font-size: 26px; }
.mhead p { color: var(--ink-2); }
.mcards { display: grid; gap: 20px; }
@media (min-width: 760px) { .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .mcard.more { grid-column: 1 / -1; } }
@media (min-width: 1080px) { .modules { max-width: 1140px; } .mcards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mcard.more { grid-column: auto; } }
/* « D'autres modules arrivent » : une carte en pointillés, ouverte */
.mcard.more { background: transparent; box-shadow: none; border: 2px dashed #c9ccdb; justify-content: center; }
.mcard.more p { color: var(--ink-2); }
.mcard.more .btn { align-self: flex-start; margin-top: 6px; }
.mcard { border-radius: 28px; padding: 30px 28px; background: radial-gradient(380px 240px at 100% 0%, var(--bg), transparent 75%), var(--white); box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.mcard .ico { background: var(--bg); }
.mcard .for { align-self: flex-start; margin-top: 6px; padding: 4px 11px; border-radius: 999px; background: var(--bg); color: var(--fg); font-size: 13px; font-weight: 700; }
.mcard h3 { font-size: 23px; }
.mcard ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.mcard li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.mcard li svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--bg); color: var(--fg); flex: none; margin-top: 3px; }

@media (prefers-reduced-motion: reduce) {
  .rot > span { transition: none; }
  .js .squiggle path { animation: none; stroke-dashoffset: 0; }
  .confetti i, .track, .feat article:hover .ico, .js .tpanel:not([hidden]) dl { animation: none; }
  .marquee { overflow-x: auto; }
  .js .reveal, .js .pair .bubble, .js .pair .answer, .js .pair .link { transition: none; opacity: 1; transform: none; }
}

/* ── Mentions légales ─────────────────────────────────────────────────── */
.narrow { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); margin-bottom: 40px; }
.legal section { margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-inline-start: 22px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal .updated { margin-top: 48px; font-size: 14px; color: var(--gray); }
