/* Khallot — couche commune, chargée en dernier sur chaque page publique.
   L'identité est celle du logo et de l'application : bleu nuit, cobalt,
   menthe, crème (voir `AppTheme.swift`). Cette feuille règle la mise en page
   des pages récentes ; elle ne doit introduire aucune autre famille de
   couleurs ni de caractères. */
:root {
  --bg: #fbf7f1; --soft: #ffffff; --soft-2: #f1ebe0;
  --ink: #101d35; --ink-doux: #3b4150; --muted: #676e80;
  --nuit: #101d35; --primary-clair: #5a7cff;
  --accent-sombre: #0f7d69; --accent: #1ab89c; --primary: #335cf5; --line: #e7dfd1;
  --wide: 1320px;
}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1,h2 { font-weight: 800; letter-spacing: -.045em; color: var(--nuit); }
h1 { font-size: clamp(48px,6vw,86px); line-height: 1.06; }
h2 { font-size: clamp(32px,3.8vw,50px); line-height: 1.12; }
h3 { font-weight: 600; }
a { text-underline-offset: 4px; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible { outline: 3px solid #335cf5; outline-offset: 4px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--muted, #6b7280); }
header.site,.landing header.site { background: #fbf7f1f5; min-height: 78px; border-bottom-color: #e7dfd1; padding-block: 12px; }
header.site .brand { font-size: 23px; letter-spacing: -.065em; gap: 11px; }
header.site .brand img { width: 34px; height: 34px; border-radius: 9px; }
header.site nav a { font-size: 13px; }
.button { font-size: 15px; min-height: 48px; padding: 13px 24px; }
.button.ghost { box-shadow: inset 0 0 0 1px #d6ccba; }
.hero:not(.produit) { padding-block: clamp(48px,6vw,80px); }
.hero:not(.produit) .lede { max-width: 63ch; font-size: clamp(17px,1.6vw,20px); }
section { padding-block: clamp(56px,7vw,96px); }
footer { background: #f4efe6; border-top: 0; margin-top: 40px; padding-top: 64px; }
.plan-du-site { border-bottom-color: #ddd3c2; }
.plan-du-site p { color: #0f7d69; }
.grid article,.grid.portes .porte,.research-teasers article { border-radius: 12px; padding: 28px; background: #fff; }
.sommaire,details { border-radius: 8px; background: #fff; }
blockquote.jury { border-radius: 0; background: #f4efe6; border-left: 3px solid #0f7d69; }
.tableau-defilant { border-radius: 10px; }
/* A composed hero: editorial headline, two actual product screens. */
.portal-home .hero.produit {
  position: relative; grid-template-columns: 1.1fr .9fr; margin-top: 12px;
  padding: clamp(28px,4vw,56px) 0; gap: clamp(30px,4vw,60px); align-items: center;
}
.portal-home .hero.produit h1 { color: var(--nuit); font-size: clamp(54px,6.6vw,92px); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; margin: 18px 0 22px; }
.portal-home .hero.produit h1 span { color: var(--accent-sombre); }
.portal-home .hero.produit .eyebrow { color: var(--accent-sombre); }
.portal-home .hero.produit .lede { color: var(--ink-doux); font-size: clamp(17px,1.6vw,20px); max-width: 44ch; line-height: 1.6; }
.portal-home .hero-name { color: var(--muted); font-size: 14px; max-width: 48ch; margin: 18px 0 28px; }
.portal-home .hero.produit .hero-trust { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); margin-top: 20px; font-size: 13px; }
.hero-trust a { color: inherit; }
.hero-product { position: relative; padding: 28px; background: var(--nuit); border-radius: 24px; width: 100%; }
.hero-product::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(ellipse at 85% 0%,#335cf540,transparent 60%); }
.hero-product-head { position: relative; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .04em; margin-bottom: 20px; color: #d6dceb; }
.hero-product-head span:last-child { color: #87d7bd; border: 1px solid #47608a; border-radius: 30px; padding: 3px 10px; }
.hero-screens { position: relative; display: flex; align-items: center; gap: 16px; }
.hero-product .hero-screen { display: block; flex: 1; min-width: 0; max-width: 236px; margin: 0; }
.hero-product .hero-screen-secondary { flex: .78; display: block; max-width: 182px; margin-top: 72px; }
.hero-product .cadre { border-radius: 18px; box-shadow: 0 18px 30px #00000033; border: 1px solid #536a93; }
.hero-product figcaption { position: relative; font-size: 11px; margin-top: 18px; color: #b4bfd6; text-align: left; }
.hero-product-steps { position: relative; display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px; margin-top: 20px; border-top: 1px solid #2c3d5f; color: #cfd7e7; font-size: 12px; }
.hero-product-steps span b { color: #87d7bd; margin-right: 5px; font-weight: 600; }
.portal-home #ressources { padding-block: 72px; }
.portal-section-head h2 { font-size: clamp(36px,4vw,50px); }
.portal-section-head > a,.showcase-links a { font-size: 13px; color: #0f7d69; font-weight: 600; }
.portal-search-bloc { padding: 24px 0 30px; border-top: 1px solid var(--line); margin-bottom: 0; }
.portal-search { max-width: 100%; background: #fff; border-radius: 8px; border-color: #ddd3c2; padding: 5px; }
.portal-search input { font-size: 15px; }
.portal-streams { gap: 8px; }
.portal-streams a { border-radius: 5px; background: #f1ebe0; border-color: transparent; color: #1c2c4d; min-height: 34px; padding: 5px 12px; }
.portal-streams a:hover { color: #fff; background: #0f7d69; }
.portal-home .need-grid { gap: 16px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.need-card { padding: 24px; border: 1px solid #e7dfd1; background: #fff; border-radius: 10px; transition: border-color .2s,transform .2s; }
.need-card:hover { border-color: #0f7d69; transform: translateY(-3px); }
.need-card > span { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; font-size: 10px; letter-spacing: .05em; color: #676e80; }
.need-icon { width: 36px; height: 36px; padding: 8px; border-radius: 8px; color: #0f7d69; background: #e3f4ee; }
.need-card h3 { font-size: 18px; letter-spacing: -.025em; margin-bottom: 8px; }
.need-card h3::after { content: ""; float: right; font-size: 15px; color: #0f7d69; }
.need-card p { font-size: 13px; line-height: 1.65; margin-bottom: 0; }
.portal-home .calendar-band { background: #f1ebe0; color: #101d35; border-radius: 12px; padding: 40px; margin-bottom: 48px; }
.calendar-band h2 { color: #101d35; font-size: 40px; }
.calendar-band p,.calendar-band .eyebrow { color: #4b5366; }
.calendar-band .button { background: #101d35; color: #fff; }
.home-date { border-color: #ddd3c2; color: #101d35; padding-block: 18px; }
.home-date time { font-size: 34px; font-weight: 700; }
.home-date time span,.home-date small { color: #676e80; }
.home-date strong { font-size: 14px; font-weight: 600; }
.home-date:hover { color: #0f7d69; }
.manifest-principles-head h2,.showcase-head h2 { font-size: clamp(36px,4vw,50px); }
.manifest-pillars h3 { font-size: 28px; font-weight: 700; }
.manifest-pillars article { padding-top: 28px; }
.portal-home .tour { background: #f1ebe0; border-radius: 12px; padding: 36px 40px; }
.portal-home .tour-buttons { border-bottom-color: #ddd3c2; }
.portal-home .tour-buttons button[aria-pressed=true] { background: #101d35; }
.portal-home .tour-panel h3 { font-size: 38px; font-weight: 700; letter-spacing: -.035em; }
.portal-home #liste { background: #f1ebe0; border-radius: 12px; }
.portal-home #faq h2 { font-size: 40px; }
/* The library feels like a work surface, with provenance alongside content. */
.resources-page .hero { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 48px; align-items: end; padding-bottom: 40px; }
.resources-page .hero .eyebrow { grid-column: 1/-1; }
.resources-page .hero h1 { margin: 12px 0 0; font-size: clamp(46px,5.5vw,76px); }
.resources-page .hero .lede { font-size: 17px; margin: 0 0 6px; }
.catalogue-filters { padding: 28px; border-radius: 12px; background: #f4efe6; border-color: #e7dfd1; }
.resource-search-label { font-size: 13px; }
.resource-search-row input,.resource-filter-row select { border-radius: 7px; background: #fff; border-color: #ddd3c2; }
.resource-filter-row { gap: 16px; }
.resource-filter-row label { font-size: 11px; color: #4b5366; }
.resource-needs button { background: #fff; border: 1px solid #ddd3c2; border-radius: 6px; font-size: 12px; min-height: 40px; }
.resource-needs button[aria-pressed=true],.resource-toolbar button[aria-pressed=true] { background: #101d35; color: #fff; }
.resource-toolbar { margin: 24px 0; gap: 12px; }
.resource-toolbar > div { align-items: center; flex-wrap: wrap; }
.resource-toolbar button { min-height: 42px; font-size: 12px; border-radius: 7px; padding-inline: 12px; background: #fff; }
.resource-sort { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
.resource-sort select { appearance: auto; font: inherit; color: var(--ink); background: #fff; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; min-height: 42px; max-width: 190px; }
.resource-card { border-radius: 10px; padding: 24px; box-shadow: 0 4px 16px #101d3503; }
.resource-card-top { margin-bottom: 18px; }
.resource-kind { font-size: 9px; letter-spacing: .09em; font-weight: 700; color: #0f7d69; }
.resource-official .resource-kind { color: #335cf5; }
.resource-card h3 { font-size: 20px; line-height: 1.32; letter-spacing: -.03em; }
.resource-card .resource-description { font-size: 13px; line-height: 1.7; color: #4b5366; }
.resource-bookmark { width: 44px; height: 44px; border: 1px solid #e7dfd1; font-size: 23px; background: #fffdf8; border-radius: 8px; }
.resource-bookmark:hover { background: #f4efe6; }
.resource-tags span { border-radius: 4px; background: #f1ebe0; color: #0f7d69; font-size: 10px; }
.resource-card .resource-source { color: #676e80; font-size: 10px; line-height: 1.8; }
.resource-active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.resource-filter-chip { font: inherit; font-size: 12px; color: #0f7d69; border: 1px solid #9fd9c6; background: #e3f4ee; border-radius: 6px; padding: 8px 12px; min-height: 40px; cursor: pointer; max-width: 100%; overflow-wrap: anywhere; }
.resource-loading-note { padding: 16px; background: #fff5dc; border-left: 3px solid #967327; font-size: 13px; border-radius: 5px; }
.resource-guide { margin-top: 56px; background: #f1ebe0; border-radius: 12px; padding: 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 48px; }
.resource-guide h2 { font-size: 34px; }
.resource-guide ol { display: grid; gap: 16px; margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.8; }
.resource-guide a { font-size: 13px; font-weight: 600; }
@media(max-width:1040px) { .portal-home .hero.produit h1 { font-size: 68px; } .hero-screens { gap: 12px; } .hero-product .hero-screen-secondary { max-width: 145px; } }
@media(max-width:940px) { header.site,.landing header.site { min-height: 0; padding-block: 12px 7px; } .resources-page .hero { column-gap: 30px; } }
@media(max-width:800px) {
  .portal-home .hero.produit { grid-template-columns: 1fr 1fr; gap: 28px; padding: 24px 0; }
  .portal-home .hero.produit h1 { font-size: 56px; }
  .portal-home .hero.produit .lede { font-size: 16px; }
  .hero-product .hero-screen-secondary { display: none; }
  .hero-product .hero-screen { margin-inline: auto; max-width: 215px; }
  .hero-product-steps { gap: 12px; }
  .portal-home .need-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .resource-toolbar { flex-wrap: wrap; }
  .resources-page .hero { grid-template-columns: 1fr; gap: 18px; }
}
@media(max-width:600px) {
  main { padding-inline: 18px; }
  header.site,.landing header.site { padding-inline: 18px; }
  .portal-home .hero.produit { grid-template-columns: 1fr; margin-top: 8px; padding: 20px 0 8px; gap: 28px; }
  .portal-home .hero.produit h1 { font-size: clamp(46px,13vw,64px); }
  .hero-product { padding: 20px; border-radius: 18px; }
  .portal-home .hero.produit .lede { font-size: 16px; }
  .portal-home .hero .actions { flex-direction: column; align-items: stretch; }
  .portal-home .hero .actions .button { justify-content: center; }
  .hero-product { max-width: 350px; }
  .hero-product-head { margin-bottom: 16px; }
  .hero-product .hero-screen { max-width: 166px; }
  .hero-product .hero-screen-secondary { display: block; max-width: 130px; margin-top: 40px; }
  .hero-screens { gap: 12px; align-items: start; }
  .hero-product .cadre { border-radius: 13px; }
  .hero-product figcaption { font-size: 9px; line-height: 1.5; }
  .hero-product-steps { font-size: 10px; justify-content: space-between; gap: 5px; }
  .portal-home #ressources { padding-block: 48px; }
  .portal-section-head { gap: 16px; }
  .portal-section-head h2 { font-size: 36px; }
  .portal-home .need-grid { grid-template-columns: 1fr; gap: 10px; }
  .need-card { padding: 20px; }
  .need-card > span { margin-bottom: 16px; }
  .portal-home .calendar-band { padding: 28px 24px; gap: 24px; }
  .calendar-band h2 { font-size: 34px; }
  .manifest-pillars h3 { font-size: 28px; }
  .portal-home .tour { padding: 24px 20px; }
  .portal-home .tour-panel h3 { font-size: 32px; }
  .catalogue-filters { padding: 20px; }
  .resource-search-row { flex-direction: column; }
  .resource-filter-row { grid-template-columns: 1fr; }
  .resource-toolbar > div { gap: 8px; }
  .resource-sort { flex-basis: 100%; }
  .resource-sort select { flex: 1; max-width: none; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card { padding: 22px; }
  .resource-guide { padding: 24px; grid-template-columns: 1fr; gap: 16px; }
  .plan-du-site { gap: 28px 18px; }
}
@media(prefers-reduced-motion:reduce) { .need-card { transition: none; } .need-card:hover { transform: none; } }

/* Thèmes de l'année : un bloc par texte officiel, la source toujours visible. */
.themes-annee .sommaire-themes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.themes-annee .sommaire-themes a { padding: 9px 16px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: var(--nuit); text-decoration: none; font-size: 14px; font-weight: 600; }
.themes-annee .sommaire-themes a:hover { box-shadow: inset 0 0 0 1px var(--accent-sombre); color: var(--accent-sombre); }
.theme-bloc { max-width: 920px; margin-inline: auto; border-top: 1px solid var(--line); }
.theme-bloc h2 { font-size: clamp(34px,4.6vw,56px); margin: 10px 0 18px; }
.theme-bloc > p { font-size: 17px; line-height: 1.7; max-width: 66ch; color: var(--ink-doux); }
.theme-bloc .eyebrow { color: var(--accent-sombre); }
.theme-dates { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 26px 0 12px; }
.theme-dates div { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.theme-dates dt { font-weight: 700; color: var(--nuit); font-size: 15px; margin-bottom: 6px; }
.theme-dates dd { margin: 0; color: var(--ink-doux); font-size: 15px; line-height: 1.55; }
.theme-oeuvres { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.theme-oeuvres article { background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.theme-oeuvres h3 { font-size: 19px; margin: 0 0 12px; color: var(--nuit); }
.theme-oeuvres ul { margin: 0; padding-left: 18px; display: grid; gap: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-doux); }
.theme-oeuvres cite { font-style: italic; color: var(--nuit); }
.theme-source { font-size: 14px !important; color: var(--muted) !important; }
.theme-source a { color: var(--accent-sombre); }
.theme-bloc .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.theme-app { background: #f1ebe0; border-radius: 24px; border-top: 0; padding-inline: clamp(24px,4vw,48px); margin-block: 40px; }
.theme-methode { max-width: 920px; margin-inline: auto; color: var(--muted); }
@media(max-width:700px) { .theme-dates,.theme-oeuvres { grid-template-columns: 1fr; } .theme-bloc h2 { font-size: 34px; } }

/* Fiche d'épreuve : l'essentiel d'abord, les preuves ensuite. */
.essentiel-fiche { max-width: 920px; margin: 8px auto 0; padding: 28px clamp(22px,3vw,36px); background: var(--soft); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px #101d350a, 0 12px 32px #101d350d; }
.essentiel-fiche .eyebrow { color: var(--accent-sombre); margin-bottom: 14px; }
.essentiel-fiche ol { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 17px; line-height: 1.5; }
.essentiel-fiche li::marker { color: var(--accent-sombre); font-weight: 700; }
.essentiel-fiche ol a { color: var(--nuit); text-decoration: none; font-weight: 600; background-image: linear-gradient(var(--accent),var(--accent)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .25s; }
.essentiel-fiche ol a:hover { background-size: 100% 2px; }
.essentiel-fiche .sur-la-page { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.essentiel-fiche .sur-la-page a { color: var(--accent-sombre); }
.fiche h3[id^="constat-"] { scroll-margin-top: 96px; }
.fiche section[id] { scroll-margin-top: 80px; }

/* Pages de lecture (fiches d'épreuve, statuts, règlement, manifeste, thèmes) :
   une colonne centrée, comme un article, plutôt qu'un texte collé à gauche
   d'un conteneur de 1 320 px. */
main.manifeste, main.themes-annee { max-width: 940px; }
main.manifeste .essentiel-fiche, main.themes-annee .theme-bloc { margin-inline: 0; max-width: none; }

/* Accueil · « Cette année » : thèmes officiels et prochaines dates, côte à côte. */
.cette-annee { background: var(--nuit); color: #f6f8fc; border-radius: 28px; padding: clamp(28px,4vw,56px); margin-block: 12px 40px; position: relative; overflow: hidden; isolation: isolate; }
.cette-annee::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 0%, #335cf54d, transparent 55%), radial-gradient(ellipse at 0% 100%, #1ab89c26, transparent 50%); }
.cette-annee h2 { color: #fff; font-size: clamp(32px,4vw,52px); margin: 10px 0 14px; }
.cette-annee .eyebrow { color: #87d7bd; }
.cette-annee-tete > p:last-child { color: #c4cde0; max-width: 60ch; font-size: 16px; line-height: 1.6; }
.cette-annee-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px,3vw,40px); margin-top: 32px; }
.themes-cartes { display: grid; gap: 12px; align-content: start; }
.theme-carte { display: block; padding: 20px 22px; border-radius: 16px; background: #ffffff0d; border: 1px solid #ffffff1f; color: #fff; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.theme-carte:hover { background: #ffffff17; border-color: #87d7bd80; transform: translateY(-2px); }
.theme-carte span { display: block; font-size: 12px; letter-spacing: .04em; color: #87d7bd; margin-bottom: 6px; font-weight: 600; }
.theme-carte strong { font-size: clamp(18px,1.8vw,22px); letter-spacing: -.02em; line-height: 1.3; }
.cette-annee .lien-fleche { color: #87d7bd; font-weight: 600; font-size: 14px; text-decoration: none; margin-top: 6px; display: inline-block; }
.cette-annee .lien-fleche:hover { text-decoration: underline; }
.dates-a-venir { background: #fbf7f1; color: var(--nuit); border-radius: 20px; padding: 22px 24px; }
.dates-a-venir .eyebrow { color: var(--accent-sombre); margin-bottom: 4px; }
.dates-a-venir .home-date { color: var(--nuit); border-color: var(--line); }
.dates-a-venir .lien-fleche { color: var(--accent-sombre); }
/* Accueil · « Ce que disent les jurys » : une porte par concours. */
.jurys-home { padding-block: clamp(48px,6vw,80px); }
.jurys-lede { font-size: 18px; line-height: 1.6; color: var(--ink-doux); max-width: 70ch; margin: 8px 0 26px; }
.jurys-concours { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.jurys-concours a { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.jurys-concours a:hover { border-color: var(--accent-sombre); transform: translateY(-3px); box-shadow: 0 12px 28px #101d3514; }
.jurys-concours strong { color: var(--nuit); font-size: 18px; letter-spacing: -.02em; }
.jurys-concours span { color: var(--muted); font-size: 13px; }
@media(max-width:900px) { .cette-annee-grille { grid-template-columns: 1fr; } .jurys-concours { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(prefers-reduced-motion:reduce) { .theme-carte,.jurys-concours a { transition: none; } .theme-carte:hover,.jurys-concours a:hover { transform: none; } }

/* Mouvement de l'accueil : le titre entre, les écrans d'iPhone respirent.
   Tout est neutralisé par « Réduire les animations » (règle générale de style.css). */
@keyframes entree-titre { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes flotte { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.anim .portal-home .hero.produit .texte > * { animation: entree-titre .5s var(--ease) both; }
.anim .portal-home .hero.produit .texte > :nth-child(2) { animation-delay: .08s; }
.anim .portal-home .hero.produit .texte > :nth-child(3) { animation-delay: .16s; }
.anim .portal-home .hero.produit .texte > :nth-child(n+4) { animation-delay: .24s; }
.anim .portal-home .hero-product { animation: entree-titre .8s var(--ease) .2s both; }
.portal-home .hero-product .hero-screen .cadre { animation: flotte 6s ease-in-out 1.2s infinite; }
.portal-home .hero-product .hero-screen-secondary .cadre { animation: flotte 6s ease-in-out 2.6s infinite; }
.need-card, .resource-card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.need-card:hover, .resource-card:hover { box-shadow: 0 14px 30px #101d3512; }
.button { transition: transform .15s, box-shadow .2s, background-color .2s; }
.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0) scale(.98); }

/* ══ Mouvement, deuxième passe ══════════════════════════════════════════════
   Apparitions amorties (courbe « expo out ») et courtes : sans flou, pour
   que le texte soit lisible dès qu'il arrive (11 oct. 2026). */
.anim [data-reveal] {
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s cubic-bezier(.16,1,.3,1) calc(var(--delai,0ms) * .5), transform .55s cubic-bezier(.16,1,.3,1) calc(var(--delai,0ms) * .5);
}
.anim [data-reveal].vu { opacity: 1; transform: none; }

/* Bandeaux défilants : de vrais liens, en pause au survol ou au clavier. */
.bandeau-hub { padding-block: 8px 28px; display: grid; gap: 12px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile { overflow: hidden; }
.defile .piste { display: flex; gap: 12px; width: max-content; animation: defile 48s linear infinite; }
.defile[data-sens="droite"] .piste { animation-direction: reverse; animation-duration: 56s; }
.defile:hover .piste, .defile:focus-within .piste { animation-play-state: paused; }
.defile a { flex: none; padding: 12px 20px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line), 0 2px 8px #101d350a; color: var(--nuit); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.defile a:hover { background: var(--nuit); color: #fff; box-shadow: none; }
@keyframes defile { to { transform: translateX(-50%); } }

/* Vignettes flottantes autour des écrans d'iPhone. */
.hero-product { overflow: visible; }
.hero-flottants { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.flottant { position: absolute; display: grid; gap: 2px; padding: 12px 16px; border-radius: 16px; background: #ffffffe8; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px #0b14262e, 0 0 0 1px #ffffff99 inset; color: var(--nuit); font-size: 13px; line-height: 1.35; white-space: nowrap; translate: var(--px,0px) var(--py,0px); transition: translate .5s cubic-bezier(.16,1,.3,1); }
.flottant b { font-size: 11px; letter-spacing: .02em; color: var(--accent-sombre); font-weight: 700; }
.f-khalot { top: 16%; left: -9%; animation: flotte 7s ease-in-out .4s infinite; }
.f-cartes { top: 52%; right: -4%; animation: flotte 8s ease-in-out 1.4s infinite; }
.f-devoir { bottom: 13%; left: -6%; animation: flotte 7.5s ease-in-out 2.2s infinite; }
@media(max-width:1100px) { .f-khalot { left: -2%; } .f-cartes { right: -2%; } .f-devoir { left: 0; } }
@media(max-width:600px) { .flottant { font-size: 11px; padding: 9px 12px; } .flottant b { font-size: 10px; } .f-devoir { display: none; } }

/* Trois écrans qui se redressent au défilement. */
.trois-ecrans { text-align: center; padding-block: clamp(56px,7vw,96px); }
.trois-ecrans-tete { max-width: 760px; margin: 0 auto 40px; }
.trois-ecrans-tete h2 { font-size: clamp(36px,4.6vw,60px); margin: 10px 0 16px; }
.trois-ecrans-tete p:last-child { font-size: 18px; line-height: 1.6; color: var(--ink-doux); }
.trois-ecrans .eyebrow { color: var(--accent-sombre); }
.trois-ecrans-rangee { display: grid; grid-template-columns: repeat(3, minmax(0, 280px)); justify-content: center; gap: clamp(16px,3vw,40px); align-items: start; }
.trois-ecrans-rangee figure { margin: 0; }
.trois-ecrans-rangee figure:nth-child(2) { margin-top: -28px; }
.trois-ecrans-rangee .cadre { border-radius: 30px; overflow: hidden; box-shadow: 0 30px 60px #101d3524, 0 0 0 1px var(--line); background: #fff; }
.trois-ecrans-rangee img { display: block; width: 100%; height: auto; }
.trois-ecrans-rangee figcaption { margin-top: 14px; font-weight: 700; color: var(--nuit); font-size: 15px; }
.trois-ecrans-note { margin-top: 18px; color: var(--muted); }
@supports (animation-timeline: view()) {
  .anim .trois-ecrans-rangee figure { animation: redresse linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  .anim .trois-ecrans-rangee figure:nth-child(1) { --r: -5deg; --x: 40px; }
  .anim .trois-ecrans-rangee figure:nth-child(3) { --r: 5deg; --x: -40px; }
  @keyframes redresse { from { opacity: .3; transform: translate(var(--x,0), 70px) rotate(var(--r,0)) scale(.92); } to { opacity: 1; transform: none; } }
}
@media(max-width:720px) {
  .trois-ecrans-rangee { grid-template-columns: repeat(3, 62vw); justify-content: start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 18px 24px; margin-inline: -18px; }
  .trois-ecrans-rangee figure { scroll-snap-align: center; }
  .trois-ecrans-rangee figure:nth-child(2) { margin-top: 0; }
}
@media(prefers-reduced-motion:reduce) { .defile .piste { animation: none; flex-wrap: wrap; width: auto; } .bandeau-hub { mask-image: none; -webkit-mask-image: none; } }

/* Pages par filière : la filière en une page, chaque bloc sourcé. */
main.filiere .sur-la-page { margin-top: 22px; font-size: 14px; color: var(--muted); }
main.filiere .sur-la-page a { color: var(--accent-sombre); font-weight: 600; }
main.filiere section > h2 { font-size: clamp(28px,3.4vw,40px); }
.filiere-themes { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 12px; margin: 18px 0; }
.theme-carte-claire { display: block; padding: 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.theme-carte-claire:hover { border-color: var(--accent-sombre); transform: translateY(-2px); }
.theme-carte-claire span { display: block; font-size: 12px; font-weight: 700; color: var(--accent-sombre); margin-bottom: 6px; }
.theme-carte-claire strong { color: var(--nuit); font-size: 18px; letter-spacing: -.02em; line-height: 1.35; }
.filiere-dates { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.filiere-dates li { display: grid; grid-template-columns: minmax(180px,.9fr) 1.6fr auto; gap: 8px 20px; align-items: baseline; padding: 16px 20px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.date-quand { color: var(--ink-doux); font-size: 14px; }
.filiere-dates strong { color: var(--nuit); font-size: 16px; }
.date-statut { font-size: 12px; font-weight: 600; white-space: nowrap; }
.statut-confirmée { color: var(--accent-sombre); }
.statut-provisoire { color: #a4550f; }
.date-statut a { color: inherit; }
.fiches-grille { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 12px; margin-top: 18px; }
.fiche-carte { padding: 20px; border-radius: 16px; background: var(--soft); border: 1px solid var(--line); }
.fiche-carte .eyebrow { color: var(--accent-sombre); margin: 0 0 6px; }
.fiche-carte h3 { margin: 0 0 10px; font-size: 19px; }
.fiche-carte h3 a { color: var(--nuit); text-decoration: none; }
.fiche-carte h3 a:hover { color: var(--accent-sombre); }
.fiche-carte ul { margin: 0 0 10px; padding-left: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-doux); display: grid; gap: 4px; }
.filiere-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.liste-liens { padding-left: 18px; display: grid; gap: 8px; font-size: 16px; }
.liste-liens a { color: var(--nuit); font-weight: 600; }
.filieres-portes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.filiere-porte { display: grid; gap: 4px; padding: 24px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s; }
.filiere-porte:hover { border-color: var(--accent-sombre); transform: translateY(-3px); box-shadow: 0 12px 28px #101d3514; }
.filiere-porte strong { font-size: 28px; color: var(--nuit); letter-spacing: -.03em; }
.filiere-porte span { color: var(--muted); font-size: 14px; }
.filieres-terminale { margin-top: 18px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.filieres-terminale a { color: var(--nuit); font-weight: 600; }
@media(max-width:720px) { .filiere-dates li { grid-template-columns: 1fr; } .filiere-colonnes, .filieres-portes { grid-template-columns: 1fr; } }

/* Page « L'application » : la vitrine. Titre centré, quatre vrais écrans en
   éventail qui se redressent au défilement, vignettes flottantes. */
.vitrine-app { text-align: center; padding-block: clamp(56px,7vw,96px) 24px; }
.vitrine-app .eyebrow { color: var(--accent-sombre); }
.vitrine-app h1 { font-size: clamp(54px,8vw,112px); line-height: .98; letter-spacing: -.06em; margin: 16px auto 24px; max-width: 12ch; }
.vitrine-app h1 span { color: var(--accent-sombre); }
.vitrine-app .lede { max-width: 58ch; margin: 0 auto; font-size: clamp(18px,1.7vw,21px); line-height: 1.6; color: var(--ink-doux); }
.vitrine-app .actions { justify-content: center; display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.vitrine-app .feature-availability { margin-top: 16px; color: var(--muted); }
.vitrine-scene { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px,2vw,24px); margin: 56px auto 0; max-width: 1080px; padding-bottom: 20px; }
.v-ecran { margin: 0; width: clamp(150px,20vw,250px); border-radius: clamp(20px,2.4vw,32px); overflow: hidden; background: #fff; box-shadow: 0 40px 80px #101d352e, 0 0 0 1px var(--line); }
.v-ecran img { display: block; width: 100%; height: auto; }
.v-ecran.v1 { transform: rotate(-6deg) translateY(40px); }
.v-ecran.v2 { transform: translateY(-10px); z-index: 1; }
.v-ecran.v3 { transform: translateY(-10px); z-index: 1; }
.v-ecran.v4 { transform: rotate(6deg) translateY(40px); }
@supports (animation-timeline: view()) {
  .anim .v-ecran { animation: eventail linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  @keyframes eventail { from { translate: 0 60px; scale: .94; opacity: .5; } to { translate: 0 0; scale: 1; opacity: 1; } }
}
.vitrine-flottants .f-khalot { top: 18%; left: 2%; }
.vitrine-flottants .f-cartes { top: 8%; right: 0; }
.vitrine-flottants .f-devoir { bottom: 18%; left: auto; right: 4%; }
.vitrine-note { margin-top: 10px; color: var(--muted); }
@media(max-width:760px) { .v-ecran.v1, .v-ecran.v4 { display: none; } .v-ecran { width: 42vw; } .vitrine-flottants .f-cartes { display: none; } }
/* Une capture réelle par famille de fonctions, qui reste en vue pendant la lecture. */
.feature-family.avec-ecran { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.25fr) 260px; gap: 0 clamp(24px,3vw,48px); align-items: start; }
.feature-family.avec-ecran .famille-ecran { grid-column: 3; grid-row: 1 / span 2; position: sticky; top: 110px; margin: 0; }
.famille-ecran img { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px #101d3524, 0 0 0 1px var(--line); display: block; }
.famille-ecran figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.feature-family.avec-ecran:nth-of-type(even) .famille-ecran img { transform: rotate(1.5deg); }
.feature-family.avec-ecran:nth-of-type(odd) .famille-ecran img { transform: rotate(-1.5deg); }
@media(max-width:1100px) { .feature-family.avec-ecran { grid-template-columns: minmax(0,1fr) 220px; } .feature-family.avec-ecran .feature-list { grid-column: 1; } .feature-family.avec-ecran .famille-ecran { grid-column: 2; } }
@media(max-width:720px) { .feature-family.avec-ecran { display: block; } .feature-family.avec-ecran .famille-ecran { position: static; max-width: 220px; margin: 24px auto 0; } }
.vitrine-app .feature-availability { max-width: 62ch; margin: 16px auto 0; text-align: center; }
.vitrine-flottants .f-khalot { top: -2%; left: 6%; }
.vitrine-flottants .f-cartes { top: -6%; right: 8%; }
.vitrine-flottants .f-devoir { bottom: -2%; right: 2%; left: auto; }
.vitrine-note { margin-top: 48px; text-align: center; }
@media(max-width:600px) {
  header.site nav, .landing header.site nav { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg,#000 88%,transparent); mask-image: linear-gradient(90deg,#000 88%,transparent); }
  header.site nav::-webkit-scrollbar { display: none; }
  header.site nav a { font-size: 14px; }
}

/* ══ Châssis d'iPhone, en CSS ══════════════════════════════════════════════
   Proportions d'un iPhone récent : écran de rayon ≈ 13,6 % de la largeur,
   bordure noire de 3,4 %, liseré titane, boutons latéraux. Aucune image :
   net à toutes les tailles. Les captures portent déjà l'îlot dynamique. */
.iphone { position: relative; display: block; padding: 3.4%; border-radius: 16.4% / 7.6%;
  background: linear-gradient(145deg,#1d2026,#07080b 45%,#15181d);
  box-shadow: 0 0 0 1.5px #474c55, 0 0 0 3px #b8bcc4, 0 0 0 4px #5c616a, 0 0 0 5px #23262c,
              0 50px 90px -20px #0b142659, 0 24px 40px -18px #0b142640;
  overflow: visible !important; }
.iphone img { display: block; width: 100%; height: auto; border-radius: 13.6% / 6.3% !important; box-shadow: none !important; transform: none !important; }
.iphone::before, .iphone::after { content: ""; position: absolute; width: 4px; border-radius: 2px;
  background: linear-gradient(90deg,#5c616a,#c9cdd4 45%,#7a7f88); }
.iphone::before { right: -8px; top: 24%; height: 12%; }
.iphone::after { left: -8px; top: 18%; height: 7%; box-shadow: 0 calc(var(--h,60px) * .9) 0 #9ea3ab, 0 calc(var(--h,60px) * 1.8) 0 #9ea3ab; }
/* Les anciens cadres arrondis laissent place au châssis. */
.cadre.iphone, .v-ecran, .trois-ecrans-rangee .cadre.iphone { background: none; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.cadre.iphone { background: linear-gradient(145deg,#1d2026,#07080b 45%,#15181d); border-radius: 16.4% / 7.6%;
  box-shadow: 0 0 0 1.5px #474c55, 0 0 0 3px #b8bcc4, 0 0 0 4px #5c616a, 0 0 0 5px #23262c, 0 50px 90px -20px #0b142659; }
.v-ecran { border-radius: 0; }
.hero-product .cadre.iphone { border: 0; }
.famille-ecran .iphone { max-width: 100%; }
@media(prefers-color-scheme: dark) { .iphone, .cadre.iphone { box-shadow: 0 0 0 1.5px #5b606a, 0 0 0 3px #d2d6dd, 0 0 0 4px #6c717a, 0 0 0 5px #2a2d33, 0 40px 80px -20px #000a; } }
.cadre.iphone, .hero-product .cadre.iphone, .hero.produit .cadre.iphone { padding: 3.4% !important; border-radius: 16.4% / 7.6% !important; }
.vitrine-note { margin-top: 84px; }
.cadre.iphone, .iphone { background: linear-gradient(145deg,#1d2026,#07080b 45%,#15181d) !important; border: 0 !important;
  box-shadow: 0 0 0 1.5px #474c55, 0 0 0 3px #b8bcc4, 0 0 0 4px #5c616a, 0 0 0 5px #23262c, 0 50px 90px -20px #0b142659 !important; }
.hero-product .cadre.iphone { box-shadow: 0 0 0 1.5px #6b717b, 0 0 0 3px #d5d9df, 0 0 0 4px #7b808a, 0 0 0 5px #1a1d22, 0 30px 60px -10px #000000a0 !important; }

/* ══ Accueil · le duo d'iPhone, troisième passe ═══════════════════════════
   Un écran au premier plan, le second derrière, décalés et inclinés en sens
   contraires ; le duo suit le pointeur en 3D. */
.portal-home .hero-screens { position: relative; display: block; height: clamp(470px, 44vw, 600px); perspective: 1400px; transform-style: preserve-3d;
  transform: rotateY(var(--ry,0deg)) rotateX(var(--rx,0deg)); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.portal-home .hero-product .hero-screen { position: absolute; left: 6%; top: 2%; width: 47%; max-width: none; z-index: 2; transform: rotate(-4deg); }
.portal-home .hero-product .hero-screen-secondary { position: absolute; right: 2%; top: 13%; width: 40%; max-width: none; margin: 0; z-index: 1; transform: rotate(6deg) translateZ(-60px); }
.portal-home .hero-product .hero-screen-secondary .cadre.iphone { filter: brightness(.94); }
.portal-home .hero-product .hero-screen .cadre { animation: flotte 6s ease-in-out 1.2s infinite; }
.portal-home .hero-product .hero-screen-secondary .cadre { animation: flotte 7s ease-in-out 2.4s infinite; }
@keyframes flotte { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(.4deg); } }
.flottant { animation-duration: 5.5s !important; }
.flottant b[data-ecrire]::after { content: "|"; margin-left: 1px; color: var(--accent); animation: curseur 1s steps(1) infinite; }
.flottant b.ecrit { color: var(--primary); }
@keyframes curseur { 50% { opacity: 0; } }
.portal-home .f-khalot { top: 10%; left: -8%; }
.portal-home .f-cartes { top: 56%; right: -6%; }
.portal-home .f-devoir { bottom: 4%; left: -4%; min-width: 250px; }
@media(max-width:800px) { .portal-home .hero-screens { height: 92vw; } .portal-home .f-khalot { left: -2%; } .portal-home .f-cartes { right: -2%; } .portal-home .f-devoir { left: 0; } }
/* Le titre d'accueil se pose mot à mot. */
.anim .portal-home .hero.produit h1 { animation: none; }
.anim .portal-home .hero.produit h1 .mot { display: inline-block; animation: entree-titre .8s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--i) * 70ms + 80ms); }
.portal-home .hero.produit h1 .mot { color: inherit; }
.portal-home .hero.produit h1 .mot.cap { color: var(--accent-sombre); }
.portal-home .hero-screens { height: clamp(420px, 34vw, 490px); }
.portal-home .f-devoir { bottom: 21%; left: -6%; }
@media(max-width:800px) { .portal-home .hero-screens { height: 88vw; } }

/* ══ Page Association : même niveau que la vitrine de l'app ════════════════ */
.vitrine-asso { text-align: center; padding-block: clamp(56px,7vw,96px) 32px; }
.vitrine-asso .eyebrow { color: var(--accent-sombre); }
.vitrine-asso h1 { font-size: clamp(48px,7.4vw,104px); line-height: 1; letter-spacing: -.06em; margin: 16px auto 24px; max-width: 14ch; }
.vitrine-asso h1 span { color: var(--accent-sombre); }
.vitrine-asso .lede { max-width: 56ch; margin: 0 auto; font-size: clamp(18px,1.7vw,21px); line-height: 1.6; color: var(--ink-doux); }
.vitrine-asso .actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.vitrine-asso .marge { margin: 22px auto 0; max-width: 60ch; color: var(--muted); font-size: 14px; }
.confiance { list-style: none; padding: 0; margin: 40px auto 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; max-width: 980px; }
.confiance li > *, .confiance li { display: grid; gap: 4px; }
.confiance li { padding: 18px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); text-align: left; transition: transform .2s, border-color .2s; }
.confiance li:hover { transform: translateY(-2px); border-color: var(--accent-sombre); }
.confiance a { text-decoration: none; color: inherit; }
.confiance strong { color: var(--nuit); font-size: 16px; }
.confiance span { color: var(--muted); font-size: 13px; }
.asso-objet { background: var(--nuit); color: #f6f8fc; border-radius: 28px; padding: clamp(32px,5vw,72px) !important; margin-block: 24px 40px; position: relative; overflow: hidden; isolation: isolate; }
.asso-objet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 0%, #335cf54d, transparent 55%), radial-gradient(ellipse at 0% 100%, #1ab89c26, transparent 50%); }
.asso-objet .eyebrow { color: #87d7bd; }
.asso-objet blockquote { margin: 18px 0 24px; border: 0; padding: 0; }
.asso-objet blockquote p { font-size: clamp(24px,3vw,40px); line-height: 1.25; letter-spacing: -.03em; font-weight: 700; color: #fff; max-width: 32ch; }
.asso-objet > p { color: #c4cde0; font-size: 17px; line-height: 1.65; max-width: 64ch; }
.asso-constat h2, .asso-modele h2 { font-size: clamp(36px,4.6vw,58px); margin: 10px 0 22px; }
.asso-constat .eyebrow, .asso-modele .eyebrow { color: var(--accent-sombre); }
.constat-chiffres { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin: 10px 0 20px; }
.constat-chiffres div { padding: 26px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); display: grid; gap: 10px; }
.constat-chiffres strong { font-size: clamp(44px,5vw,68px); letter-spacing: -.05em; color: var(--nuit); line-height: 1; }
.constat-chiffres span { color: var(--ink-doux); font-size: 15px; line-height: 1.5; }
.modele-cartes { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 14px !important; }
.modele-cartes article { border: 1px solid var(--line); border-radius: 20px !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.modele-cartes article:hover { transform: translateY(-3px); box-shadow: 0 14px 30px #101d3512; border-color: var(--accent-sombre); }
.asso-adhesion { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; background: #e3f4ee; border-radius: 28px; padding: clamp(28px,4vw,56px) !important; margin-block: 32px; }
.asso-adhesion h2 { font-size: clamp(32px,4vw,52px); margin: 8px 0 14px; }
.asso-adhesion .eyebrow { color: var(--accent-sombre); }
.asso-adhesion p { color: var(--ink-doux); font-size: 17px; line-height: 1.6; max-width: 56ch; }
.asso-adhesion .actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.equipe-liste li { transition: transform .2s; }
@media(max-width:900px) { .confiance { grid-template-columns: repeat(2,minmax(0,1fr)); } .constat-chiffres { grid-template-columns: 1fr; } .modele-cartes { grid-template-columns: 1fr 1fr !important; } .asso-adhesion { grid-template-columns: 1fr; } }
@media(min-width:561px) and (max-width:1100px) { .modele-cartes { grid-template-columns: 1fr 1fr !important; } }
@media(max-width:560px) { .modele-cartes { grid-template-columns: 1fr !important; } }

/* « Dans la marge » : le stylo rouge du correcteur reste (filet, étiquette),
   le texte passe en encre : une note d'honnêteté, pas une alerte. */
.marge { color: var(--ink-doux) !important; }
.marge::before { color: var(--rouge); opacity: 1 !important; }
.vitrine-asso .marge { text-align: left; }

/* Châssis : épaisseur fixe. Un padding en % se calcule sur la largeur du
   PARENT, si bien que le cadre gonflait dans les colonnes larges. */
.iphone, .cadre.iphone, .hero-product .cadre.iphone, .hero.produit .cadre.iphone { padding: 9px !important; }
@media(max-width:760px) { .iphone, .cadre.iphone, .hero-product .cadre.iphone, .hero.produit .cadre.iphone { padding: 6px !important; } }
.iphone img { border-radius: 12.4% / 5.7% !important; }
/* La 3D reste permanente (voulue) ; seul l'assombrissement de l'écran
   arrière est retiré, il ternissait la capture. */
.portal-home .hero-product .hero-screen-secondary .cadre.iphone { filter: none; }
img { image-rendering: auto; }
/* Calendrier sur téléphone : un filtre par ligne, libellés entiers. */
@media(max-width:600px) { .calendar-page select, [data-calendar-page] select { width: 100%; } [data-calendar-page] .filtres, [data-calendar-page] .calendar-filters { grid-template-columns: 1fr !important; } }

/* ══ L'équipe : au niveau du reste de la page ═════════════════════════════ */
.equipe > .eyebrow { color: var(--accent-sombre); }
.equipe > h2 { font-size: clamp(36px,4.6vw,58px); margin: 10px 0 18px; }
.equipe > .lede { font-size: clamp(17px,1.6vw,20px); max-width: 60ch; }
.equipe-mot { background: var(--nuit) !important; color: #fff; border-radius: 28px !important; padding: clamp(28px,4.5vw,64px) !important; position: relative; overflow: hidden; isolation: isolate; margin: 32px 0 !important; }
.equipe-mot::before { content: "«"; position: absolute; right: 4%; top: -12%; font-size: clamp(180px,22vw,320px); line-height: 1; color: #ffffff0d; font-weight: 800; z-index: -1; }
.equipe-mot .eyebrow { color: #87d7bd; }
.equipe-mot blockquote { border: 0 !important; padding: 0 !important; margin: 14px 0 26px !important; }
.equipe-mot blockquote p { font-size: clamp(22px,2.6vw,34px) !important; line-height: 1.3 !important; letter-spacing: -.025em; font-weight: 600; color: #fff !important; max-width: 34ch; }
.equipe-mot figcaption { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.equipe-mot-nom { display: block; font-weight: 700; color: #fff; font-size: 17px; }
.equipe-mot-role { display: block; color: #87d7bd; font-size: 14px; }
.equipe-signature { height: 70px; width: auto; margin-left: auto; filter: invert(1); mix-blend-mode: screen; opacity: .9; }
.equipe-initiales { display: grid !important; place-items: center; flex: none; width: 76px !important; height: 76px !important; border-radius: 50% !important;
  background: linear-gradient(140deg,#335cf5,#101d35 70%) !important; color: #fff !important; font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.02em;
  box-shadow: 0 0 0 4px var(--soft), 0 0 0 5px var(--line), 0 14px 28px #101d3529; }
.equipe-mot .equipe-initiales { width: 52px !important; height: 52px !important; font-size: 18px !important; box-shadow: 0 0 0 2px #ffffff33; background: linear-gradient(140deg,#1ab89c,#335cf5) !important; }
.equipe-groupe { margin-top: 28px; }
.equipe-groupe .equipe-titre { color: var(--accent-sombre); margin-bottom: 14px; border: 0 !important; }
.equipe .equipe-liste { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.equipe .equipe-liste li { display: flex !important; gap: 22px; align-items: center; padding: 28px !important; border-radius: 24px; background: var(--soft); border: 1px solid var(--line) !important; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.equipe .equipe-liste li:hover { transform: translateY(-4px); box-shadow: 0 20px 40px #101d3516; border-color: var(--accent-sombre) !important; }
.equipe-nom { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -.03em; color: var(--nuit) !important; margin: 0 0 4px !important; }
.equipe-role { display: inline-block; font-size: 13px !important; font-weight: 700 !important; color: var(--accent-sombre) !important; background: #e3f4ee; padding: 4px 10px; border-radius: 999px; margin: 0 0 8px !important; }
.equipe-filiere { margin-left: 6px; font-size: 12px; font-weight: 500; letter-spacing: .02em; color: var(--muted); white-space: nowrap; }
.equipe-detail { font-size: 13px !important; color: var(--muted) !important; margin: 0 !important; }
.equipe-note { margin-top: 14px; color: var(--muted); font-size: 14px; }
.equipe-appel { margin-top: 28px; padding: clamp(24px,3.4vw,40px); border-radius: 24px; background: #e3f4ee; }
.equipe-appel .equipe-rejoindre { font-size: clamp(22px,2.4vw,30px) !important; font-weight: 800; letter-spacing: -.03em; color: var(--nuit); margin: 0 0 8px; }
.equipe-appel p:not(.equipe-rejoindre) { color: var(--ink-doux); font-size: 16px; max-width: 60ch; }
.equipe-appel .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.equipe .equipe-liste.compacte { grid-template-columns: 1fr; margin-top: 14px; }
.equipe .equipe-liste.compacte li { gap: 14px; align-items: flex-start; padding: 20px !important; border-radius: 20px; }
.equipe .equipe-liste.compacte .equipe-initiales { width: 52px !important; height: 52px !important; font-size: 16px !important; }
.equipe .equipe-liste.compacte .equipe-nom { font-size: 18px !important; }
.equipe .equipe-liste li.equipe-depliable { display: block !important; padding: 0 !important; }
.equipe-depliable summary { display: flex; gap: 14px; align-items: flex-start; padding: 20px; cursor: pointer; list-style: none; border-radius: 20px; }
.equipe-depliable summary::-webkit-details-marker { display: none; }
.equipe-depliable summary:focus-visible { outline: 2px solid var(--accent-sombre); outline-offset: 2px; }
.equipe-depliable details { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 20px !important; background: transparent !important; }
.equipe-depliable details summary { padding: 20px !important; font-weight: inherit; font-size: inherit; letter-spacing: inherit; }
.equipe-depliable details summary::after { content: none !important; }
.equipe-depliable details p.equipe-presentation { color: var(--ink-doux); margin: 0; }
.equipe-plus { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent-sombre); }
.equipe-plus::after { content: "+"; font-size: 16px; line-height: 1; transition: transform .2s; }
.equipe-depliable details[open] .equipe-plus::after { transform: rotate(45deg); }
.equipe-depliable details[open] .equipe-plus { font-size: 0; }
.equipe-depliable details[open] .equipe-plus::after { font-size: 16px; }
.equipe-deplie { padding: 0 20px 20px 86px; }
.equipe .equipe-liste:not(.compacte) .equipe-deplie { padding-left: 118px; }
@media(max-width:760px) { .equipe-deplie, .equipe .equipe-liste:not(.compacte) .equipe-deplie { padding-left: 20px; } }
.equipe .equipe-liste:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
@media(max-width:760px) { .equipe .equipe-liste, .equipe .equipe-liste:has(> li:nth-child(3):last-child) { grid-template-columns: 1fr !important; } .equipe-signature { margin-left: 0; height: 56px; } }
.equipe-signature { height: 92px !important; }

/* Châssis, version fine : bord noir de 5 px, liseré titane d'un pixel,
   boutons discrets. */
.iphone, .cadre.iphone, .hero-product .cadre.iphone, .hero.produit .cadre.iphone { padding: 5px !important;
  background: #050608 !important;
  box-shadow: 0 0 0 1px #2e3238, 0 0 0 2px #8f949c, 0 0 0 3px #3a3e45, 0 40px 80px -24px #0b142659, 0 18px 36px -18px #0b142640 !important; }
.hero-product .cadre.iphone { box-shadow: 0 0 0 1px #2e3238, 0 0 0 2px #a9aeb6, 0 0 0 3px #3a3e45, 0 30px 60px -12px #000000a0 !important; }
@media(max-width:760px) { .iphone, .cadre.iphone, .hero-product .cadre.iphone, .hero.produit .cadre.iphone { padding: 4px !important; } }
.iphone img { border-radius: 13.2% / 6.1% !important; }
.iphone::before, .iphone::after { width: 3px; background: linear-gradient(90deg,#3a3e45,#8f949c 50%,#3a3e45); }
.iphone::before { right: -5px; } .iphone::after { left: -5px; }
@media(max-width:900px) {
  .portal-home .hero.produit { grid-template-columns: 1fr; }
  .portal-home .hero-product .hero-screen-secondary { display: block; }
  .portal-home .hero-screens { height: min(108vw, 640px); }
  .portal-home .hero-product .hero-screen { width: 48%; }
  .portal-home .hero-product .hero-screen-secondary { width: 41%; }
}

/* ══ Actualités de l'association ══════════════════════════════════════════ */
.actu-liste { display: grid; gap: 16px; max-width: 920px; }
.actu-item { position: relative; display: grid; gap: 8px; padding: clamp(24px,3vw,36px); border-radius: 24px; background: var(--soft); border: 1px solid var(--line); transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.actu-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px #101d3516; border-color: var(--accent-sombre); }
.actu-item:first-child { background: var(--nuit); border-color: var(--nuit); }
.actu-item:first-child .eyebrow { color: #87d7bd; }
.actu-item:first-child h2 a { color: #fff; }
.actu-item:first-child p { color: #c4cde0; }
.actu-item:first-child > a:last-child { color: #87d7bd; }
.actu-item .eyebrow { color: var(--accent-sombre); margin: 0; }
.actu-item h2 { font-size: clamp(26px,3vw,38px); margin: 0; letter-spacing: -.035em; }
.actu-item h2 a { color: var(--nuit); text-decoration: none; }
.actu-item h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.actu-item p { font-size: 17px; line-height: 1.6; color: var(--ink-doux); margin: 0; max-width: 62ch; }
.actu-item > a:last-child { font-weight: 700; color: var(--accent-sombre); text-decoration: none; font-size: 15px; }
.actu-article { max-width: 720px; }
.actu-article > h2 { font-size: clamp(26px,3vw,36px); margin: 36px 0 12px; }
.actu-article > p { font-size: 18px; line-height: 1.75; color: var(--ink-doux); }
.actu-article > p strong { color: var(--nuit); }
.annonce-carte { display: grid; gap: 6px; padding: clamp(22px,3vw,32px); border-radius: 24px; background: linear-gradient(120deg, #101d35, #1c2c4d); color: #fff; text-decoration: none; position: relative; overflow: hidden; transition: transform .25s; }
.annonce-carte:hover { transform: translateY(-3px); }
.annonce-carte::after { content: "Nouveau"; position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 999px; background: #1ab89c; color: #04211a; font-size: 12px; font-weight: 800; }
.annonce-carte .eyebrow { color: #87d7bd; }
.annonce-titre { font-size: clamp(24px,2.8vw,34px); font-weight: 800; letter-spacing: -.035em; margin: 0; }
.annonce-texte { color: #c4cde0; margin: 0; max-width: 60ch; }
.annonce-lien { color: #87d7bd; font-weight: 700; }
.anim .portal-home .hero.produit h1 .mot:nth-of-type(1) { animation-delay: 80ms; }
.anim .portal-home .hero.produit h1 .mot:nth-of-type(2) { animation-delay: 150ms; }
.anim .portal-home .hero.produit h1 .mot:nth-of-type(3) { animation-delay: 220ms; }
.anim .portal-home .hero.produit h1 .mot:nth-of-type(4) { animation-delay: 290ms; }
.anim .portal-home .hero.produit h1 .mot:nth-of-type(5) { animation-delay: 360ms; }
/* Le film de la page « L'application ». */
.film-app { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px,5vw,72px); align-items: center; background: var(--nuit); color: #f6f8fc; border-radius: 28px; padding: clamp(28px,5vw,64px) !important; margin-block: 40px; position: relative; overflow: hidden; isolation: isolate; }
.film-app::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 100%, #335cf555, transparent 55%), radial-gradient(ellipse at 0% 0%, #1ab89c22, transparent 50%); }
.film-app h2 { color: #fff; font-size: clamp(34px,4.4vw,56px); margin: 10px 0 24px; }
.film-app .eyebrow { color: #87d7bd; }
.film-etapes { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; counter-reset: etape; }
.film-etapes li { counter-increment: etape; position: relative; padding-left: 48px; display: grid; gap: 4px; }
.film-etapes li::before { content: counter(etape); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #1ab89c; color: #04211a; font-weight: 800; font-size: 14px; }
.film-etapes strong { color: #fff; font-size: 17px; }
.film-etapes span { color: #c4cde0; font-size: 15px; line-height: 1.5; }
.film-app .fineprint { color: #8e9ab3; }
.film-ecran { margin: 0; justify-self: center; width: min(300px, 100%); }
.film-ecran video { display: block; width: 100%; height: auto; border-radius: 13.2% / 6.1%; background: #fbf7f1; }
@media(max-width:820px) { .film-app { grid-template-columns: 1fr; } .film-ecran { width: min(260px, 80%); } }

/* ══ Accueil, quatrième passe : court et visuel ════════════════════════════ */
.chiffres-cles { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; padding-block: 8px 36px !important; }
.chiffres-cles div { display: grid; gap: 4px; padding: 22px 24px; border-radius: 20px; background: var(--soft); border: 1px solid var(--line); }
.chiffres-cles strong { font-size: clamp(36px,4vw,52px); font-weight: 800; letter-spacing: -.05em; color: var(--nuit); line-height: 1; }
.chiffres-cles span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.fonctions-home { padding-block: clamp(56px,7vw,96px) !important; }
.fonctions-tete { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.fonctions-tete .eyebrow, .principes-home > .eyebrow { color: var(--accent-sombre); }
.fonctions-tete h2, .principes-home h2 { font-size: clamp(38px,5vw,64px); margin: 10px 0 0; line-height: 1.04; }
.fonctions-grille { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.fonction-carte { position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 560px; border-radius: 32px; overflow: hidden; padding: clamp(26px,3vw,40px) clamp(26px,3vw,40px) 0; isolation: isolate; transition: transform .35s cubic-bezier(.16,1,.3,1), box-shadow .35s; }
.fonction-carte:hover { transform: translateY(-4px); box-shadow: 0 30px 60px #101d3520; }
.fonction-carte h3 { font-size: clamp(26px,2.6vw,36px); line-height: 1.12; letter-spacing: -.04em; margin: 8px 0 12px; max-width: 18ch; }
.fonction-carte .fc-texte p:not(.eyebrow) { font-size: 16px; line-height: 1.55; margin: 0 0 14px; max-width: 42ch; }
.fonction-carte .fc-texte a { font-weight: 700; text-decoration: none; font-size: 15px; }
.fonction-carte .eyebrow { margin: 0; }
.fc-ecran { margin: 22px auto 0; width: min(250px, 58%); align-self: end; transform: translateY(18%); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.fonction-carte:hover .fc-ecran { transform: translateY(10%); }
.fc-cobalt { background: linear-gradient(150deg,#4a6ff7,#2a4fe0); color: #fff; }
.fc-cobalt .eyebrow, .fc-cobalt a { color: #dfe6ff; } .fc-cobalt h3 { color: #fff; } .fc-cobalt p { color: #e9eeff; }
.fc-nuit { background: linear-gradient(150deg,#1c2c4d,#101d35); color: #fff; }
.fc-nuit .eyebrow, .fc-nuit a { color: #87d7bd; } .fc-nuit h3 { color: #fff; } .fc-nuit p { color: #c4cde0; }
.fc-menthe { background: linear-gradient(150deg,#d8f2e8,#bfe9da); }
.fc-menthe .eyebrow, .fc-menthe a { color: #0b5e4e; } .fc-menthe h3 { color: var(--nuit); } .fc-menthe p { color: #2a4a44; }
.fc-creme { background: linear-gradient(150deg,#f6efe2,#ecdfc8); }
.fc-creme .eyebrow, .fc-creme a { color: #8a5a12; } .fc-creme h3 { color: var(--nuit); } .fc-creme p { color: #5a4a35; }
.fonctions-pied { text-align: center; margin-top: 32px; }
.principes-home { text-align: center; padding-block: clamp(48px,6vw,88px) !important; }
.principes-grille { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 36px; text-align: left; }
.principes-grille a { display: grid; gap: 8px; padding: 28px; border-radius: 24px; background: var(--soft); border: 1px solid var(--line); text-decoration: none; transition: transform .25s cubic-bezier(.16,1,.3,1), border-color .25s, box-shadow .25s; }
.principes-grille a:hover { transform: translateY(-4px); border-color: var(--accent-sombre); box-shadow: 0 18px 36px #101d3514; }
.principe-icone { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--nuit); color: #87d7bd; font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.principes-grille strong { color: var(--nuit); font-size: 20px; letter-spacing: -.02em; }
.principes-grille span:last-child { color: var(--ink-doux); font-size: 15px; line-height: 1.55; }
.principes-lien { margin-top: 22px; } .principes-lien a { color: var(--accent-sombre); font-weight: 700; }
.portal-home #liste { background: var(--nuit) !important; color: #f6f8fc; border-radius: 32px !important; position: relative; overflow: hidden; isolation: isolate; }
.portal-home #liste::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 100% 0%, #335cf555, transparent 55%), radial-gradient(ellipse at 0% 100%, #1ab89c26, transparent 50%); }
.portal-home #liste h2 { color: #fff; } .portal-home #liste .eyebrow { color: #87d7bd; }
.portal-home #liste p, .portal-home #liste label, .portal-home #liste .beta-note { color: #c4cde0; }
.portal-home #liste a { color: #87d7bd; }
.portal-home #liste input, .portal-home #liste select { background: #ffffff12 !important; color: #fff !important; border-color: #ffffff30 !important; }
.portal-home #liste button { background: #1ab89c !important; color: #04211a !important; }
.association-bande { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; margin-block: 40px; padding: clamp(28px,4vw,56px) !important; border-radius: 32px; background: #e3f4ee; }
.association-bande .eyebrow { color: var(--accent-sombre); }
.association-bande h2 { font-size: clamp(32px,4vw,52px); margin: 8px 0 12px; }
.association-bande p { color: var(--ink-doux); font-size: 17px; line-height: 1.6; max-width: 56ch; }
.association-actions { display: grid; gap: 10px; }
.association-actions .button { justify-content: center; }
.association-actions .fineprint { text-align: center; color: var(--muted); }
@media(max-width:900px) { .chiffres-cles { grid-template-columns: 1fr 1fr; } .fonctions-grille, .principes-grille, .association-bande { grid-template-columns: 1fr; } .fonction-carte { min-height: 520px; } }

/* Cartes de fonctions sans iPhone : deux animations qui montrent le geste. */
.fc-visuel { margin: 26px 0 34px; align-self: center; position: relative; }
.copie-feuille { position: relative; background: #fffdf8; color: #101d35; border-radius: 16px; padding: 22px 22px 46px; font-family: "Iowan Old Style", Georgia, serif; font-size: 18px; line-height: 1.7; box-shadow: 0 20px 40px #0006; transform: rotate(-1.5deg); }
.copie-ligne { margin: 0 !important; color: #101d35 !important; font-size: 18px !important; }
.copie-trait { position: absolute; left: 22px; top: 62px; height: 2px; width: 0; background: #e84545; animation: trait 6s ease-in-out infinite; }
.copie-marge { position: absolute; left: 22px; bottom: 12px; color: #e84545; font-family: "Bradley Hand","Segoe Print",cursive; font-size: 17px; clip-path: inset(0 100% 0 0); animation: ecrit-marge 6s steps(36) infinite; }
.copie-reflexe { position: relative; margin: -14px 18px 0 auto; max-width: 300px; background: #1ab89c; color: #04211a; border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 1.45; box-shadow: 0 14px 28px #0005; opacity: 0; transform: translateY(14px) scale(.96); animation: reflexe 6s cubic-bezier(.16,1,.3,1) infinite; }
.copie-reflexe b { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
@keyframes trait { 0%,8% { width: 0; } 22%,100% { width: 92px; } }
@keyframes ecrit-marge { 0%,22% { clip-path: inset(0 100% 0 0); } 55%,100% { clip-path: inset(0 0 0 0); } }
@keyframes reflexe { 0%,58% { opacity: 0; transform: translateY(14px) scale(.96); } 68%,92% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }
.carte-anim { perspective: 1200px; }
.carte-flip { position: relative; height: 220px; transform-style: preserve-3d; animation: retourne 7s cubic-bezier(.65,0,.35,1) infinite; }
.carte-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fffdf8; border-radius: 20px; padding: 22px 24px; box-shadow: 0 24px 48px #0b5e4e33; display: grid; align-content: center; gap: 10px; }
.carte-face b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #335cf5; }
.carte-verso b { color: #0f7d69; }
.carte-face p { margin: 0 !important; color: #101d35 !important; font-size: 18px !important; line-height: 1.5 !important; }
.carte-verso { transform: rotateY(180deg); }
@keyframes retourne { 0%,38% { transform: rotateY(0); } 50%,88% { transform: rotateY(180deg); } 100% { transform: rotateY(360deg); } }
.carte-notes { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.carte-notes span { padding: 7px 12px; border-radius: 999px; background: #ffffffb3; color: #2a4a44; font-size: 13px; font-weight: 700; }
.carte-notes .actif { background: #335cf5; color: #fff; animation: note 7s infinite; }
@keyframes note { 0%,60% { transform: none; box-shadow: none; } 66% { transform: scale(1.08); box-shadow: 0 0 0 6px #335cf533; } 74%,100% { transform: none; box-shadow: none; } }
.fonction-carte { transform: perspective(1400px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)); }
.fonction-carte:hover { transform: perspective(1400px) rotateX(var(--tx,0deg)) rotateY(var(--ty,0deg)) translateY(-4px); }

/* ══ Pages intérieures : le mouvement de l'accueil, en sobre ══════════════ */
/* Un halo coloré dérive derrière le titre de chaque page. */
/* Le halo déborde de sa section : c'est la page qui le coupe, au bord de la fenêtre. Coupé par la section,
   il laissait un bord vertical net derrière l'en-tête (17 oct. 2026). `clip` n'ouvre aucun défilement. */
html { overflow-x: clip; }
main > section.hero, .calendar-page .calendar-main > .calendar-hero, .resources-page .hero { position: relative; isolation: isolate; }
main > section.hero::after, .calendar-page .calendar-main > .calendar-hero::after, .resources-page .hero::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; width: 520px; height: 520px; right: -120px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #335cf522, #1ab89c18 45%, transparent 70%); filter: blur(10px); animation: halo 14s ease-in-out infinite alternate; }
@keyframes halo { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px,60px) scale(1.15); } }
.anim main > section.hero h1 { animation: entree-titre .8s cubic-bezier(.16,1,.3,1) both; }
.anim main > section.hero .lede, .anim main > section.hero > p { animation: entree-titre .8s cubic-bezier(.16,1,.3,1) .12s both; }
/* Calendrier : la prochaine date en bleu nuit, un point qui pulse. */
.calendar-next { background: var(--nuit) !important; color: #f6f8fc !important; border: 0 !important; border-radius: 24px !important; position: relative; overflow: hidden; box-shadow: 0 30px 60px #101d3533; }
.calendar-next::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, #335cf555, transparent 60%); pointer-events: none; }
.calendar-next * { color: inherit !important; position: relative; }
.calendar-next .eyebrow { color: #87d7bd !important; padding-left: 16px; }
.calendar-next .eyebrow::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #1ab89c; box-shadow: 0 0 0 0 #1ab89c99; animation: pouls 1.8s ease-out infinite; }
.calendar-next h2, .calendar-next strong { color: #fff !important; }
.calendar-next a { color: #87d7bd !important; }
@keyframes pouls { 0% { box-shadow: 0 0 0 0 #1ab89c99; } 100% { box-shadow: 0 0 0 12px #1ab89c00; } }
.calendar-event { transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.calendar-event:hover { transform: translateY(-2px); box-shadow: 0 14px 30px #101d3512; }
/* Méthodes : de vraies cartes, sans titres soulignés. */
.manifeste .grid article { position: relative; border: 1px solid var(--line); border-radius: 20px !important; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.manifeste .grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 36px #101d3514; border-color: var(--accent-sombre); }
.manifeste .grid article h3 a { text-decoration: none; color: var(--nuit); }
.manifeste .grid article h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.manifeste .grid article h3::after { content: "→"; float: right; color: var(--accent-sombre); transition: transform .25s; }
.manifeste .grid article:hover h3::after { transform: translateX(4px); }
/* Ressources : pastilles et cartes vivantes. */
.resource-needs button { border-radius: 999px !important; transition: background .2s, color .2s, transform .2s; }
.resource-needs button:hover { transform: translateY(-1px); }
.resource-card { transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s, border-color .25s; }
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px #101d3516; border-color: var(--accent-sombre); }
.resource-bookmark { transition: transform .2s, background .2s; } .resource-bookmark:active { transform: scale(.88); }
.portal-search { box-shadow: 0 10px 30px #101d3510; }
.catalogue-filters { border-radius: 24px !important; }
@media(prefers-reduced-motion:reduce) { main > section.hero::after { animation: none; } .calendar-next .eyebrow::before { animation: none; } }

/* Le statut de l'association, visible dès le haut de page. */
.hero-confiance { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-confiance li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: #e3f4ee; color: #0b5e4e; font-size: 13px; font-weight: 700; }
.hero-confiance li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #1ab89c; }
.hero-confiance.centre { justify-content: center; margin: 18px auto 0; }

/* ══ En-tête : une pastille qui flotte au-dessus de la page ═══════════════
   Sur ordinateur, la barre pleine largeur devient une pastille posée sur le
   papier, floutée par-dessous. Sur téléphone, l'en-tête garde ses deux
   étages en haut de page, puis s'efface quand on descend et revient dès
   qu'on remonte (site.js, classe `masquee`) : 116 px de moins à l'écran. */
@media (min-width: 941px) {
  header.site, .landing header.site {
    top: 12px; margin: 12px auto 0; width: min(var(--wide), calc(100% - 32px)); min-height: 0;
    padding: 8px 8px 8px 20px; gap: 20px;
    border: 1px solid #e7dfd1; border-radius: 999px;
    background: #fbf7f1d6; -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
    box-shadow: 0 1px 0 #fff inset, 0 12px 32px #101d3512;
  }
  header.site.compact, .landing header.site.compact { padding-block: 8px; box-shadow: 0 1px 0 #fff inset, 0 14px 36px #101d351c; }
  header.site .adhesion-cta, header.site .app-cta { border-radius: 999px; min-height: 40px; padding: 9px 16px; }
}
@media (max-width: 940px) {
  header.site, .landing header.site { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
  header.site.masquee { transform: translateY(-100%); box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) { header.site, .landing header.site { transition: none; } }

/* ══ Qui porte Khallot : une ligne de preuve, pas quatre pastilles ════════
   Le statut de l'association se lit d'un coup d'œil sous les boutons, comme
   une note sous un bouton de téléchargement. */
.hero-confiance { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 20px 0 0; font-size: 13px; line-height: 1.4; color: var(--ink-doux); }
.hero-confiance li { display: inline-flex; align-items: center; gap: 6px; padding: 0; border-radius: 0; background: none; color: inherit; font-size: inherit; font-weight: 600; white-space: nowrap; }
.hero-confiance li::before { content: "✓"; display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: #e3f4ee; color: #0f7d69; font-size: 10px; font-weight: 800; }
.hero-confiance.centre { justify-content: center; margin: 18px auto 0; }

/* ══ iPhone commun (accueil, application) ═════════════════════════════════
   Châssis de 5 px fixes (jamais en %), écran au rayon d'un iPhone récent,
   îlot dynamique dessiné, bouton latéral. --w règle la taille. */
.tel { --w: 300px; position: relative; display: block; width: var(--w); flex: none; padding: 5px;
  border-radius: calc(var(--w) * .158); background: linear-gradient(150deg, #23262d, #07080b 46%, #191c22);
  box-shadow: 0 0 0 1px #3d424a, 0 0 0 2px #b9bec6, 0 0 0 3px #4b5058,
              0 40px 80px -24px #101d3566, 0 18px 36px -18px #101d3540; }
.tel img { display: block; width: 100%; height: auto; border-radius: calc((var(--w) - 10px) * .137); background: #fbf7f1; }
.tel::before { content: ""; position: absolute; z-index: 2; top: calc(5px + var(--w) * .028); left: 50%;
  width: calc(var(--w) * .30); height: calc(var(--w) * .088); transform: translateX(-50%); border-radius: 999px; background: #050608; }
.tel::after { content: ""; position: absolute; right: -4px; top: 27%; width: 3px; height: 11%; border-radius: 0 2px 2px 0;
  background: linear-gradient(90deg, #6a6f78, #c6cad1); }
.tel .ecrans { position: relative; display: grid; border-radius: calc((var(--w) - 10px) * .137); overflow: hidden; background: #fbf7f1; }
.tel .ecrans img { grid-area: 1 / 1; border-radius: 0; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.tel .ecrans img:not(.actif) { opacity: 0; transform: translateX(6%); }
.tel .ecrans img.sortant { opacity: 0; transform: translateX(-6%); }

@media (prefers-reduced-motion: reduce) { .tel .ecrans img { transition: none; } }

/* ══ Page de l'application : un téléphone par famille, un écran par fonction ═
   Le téléphone reste à côté de la liste ; l'écran suit la fonction qu'on lit
   (fonctionnalites.js). L'inclinaison passe au châssis entier. */
.feature-family .famille-ecran .tel { --w: 280px; margin: 0 auto; }
.feature-family.avec-ecran .famille-ecran .tel .ecrans img { width: 100%; border-radius: 0; box-shadow: none; }
.feature-family.avec-ecran .famille-ecran .tel .ecrans img:not(.actif) { opacity: 0; transform: translateX(6%); }
.feature-family.avec-ecran .famille-ecran .tel .ecrans img.actif { opacity: 1; transform: none; }
.feature-family.avec-ecran .famille-ecran .tel .ecrans img.sortant { opacity: 0; transform: translateX(-6%); }
.feature-family.avec-ecran:nth-of-type(even) .famille-ecran .tel { transform: rotate(1.5deg); }
.feature-family.avec-ecran:nth-of-type(odd) .famille-ecran .tel { transform: rotate(-1.5deg); }
.suit-lecture .feature-list > div { transition: opacity .35s ease; }
@media (min-width: 721px) {
  .suit-lecture .feature-list > div { opacity: .42; }
  .suit-lecture .feature-list > div.lu { opacity: 1; }
}
@media (max-width: 1100px) { .feature-family .famille-ecran .tel { --w: 214px; } }
.v-ecran .tel { --w: clamp(150px, 20vw, 250px); }
@media (max-width: 760px) { .v-ecran .tel { --w: 42vw; } }

/* ══ Finition des pages intérieures · 2 octobre 2026 ═════════════════════
   Les pages partagent la présence de l'accueil, avec des compositions
   adaptées à la lecture ou aux outils. Cette passe reste dans la feuille
   commune ; l'impression du bulletin conserve sa mise en page A4. */
@media screen {
  .page-breadcrumb { padding-top: 26px; }
  .page-breadcrumb ol { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; margin: 0; padding: 0; list-style: none; }
  .page-breadcrumb li { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
  .page-breadcrumb li + li::before { content: "/"; color: #a8a294; }
  .page-breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink-doux); text-decoration: none; }
  .page-breadcrumb a:hover { color: var(--accent-sombre); text-decoration: underline; }
  .page-breadcrumb [aria-current] { overflow-wrap: anywhere; }

  main:not(.membership-content) > .hero { position: relative; isolation: isolate; padding-block: clamp(40px,5vw,72px) clamp(32px,4vw,56px); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
  main:not(.membership-content) > .hero::before { content: ""; position: absolute; z-index: -1; pointer-events: none; inset: 0; background: radial-gradient(ellipse at 90% 30%,#335cf50d,transparent 55%),radial-gradient(ellipse at 65% 100%,#1ab89c12,transparent 55%); -webkit-mask-image: linear-gradient(90deg,transparent,#000 10%,#000 85%,transparent); mask-image: linear-gradient(90deg,transparent,#000 10%,#000 85%,transparent); }
  main:not(.membership-content) > .hero::after { display: none; }
  main:not(.membership-content) > .hero > .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; color: var(--accent-sombre); }
  main:not(.membership-content) > .hero > .eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; border-radius: 50%; background: currentColor; margin: 0; }
  main:not(.membership-content) > .hero h1 { font-size: clamp(42px,5.4vw,76px); line-height: 1.04; letter-spacing: -.05em; margin: 18px 0 24px; text-wrap: balance; }
  main:not(.membership-content) > .hero .lede { font-size: clamp(18px,1.8vw,21px); line-height: 1.6; max-width: 58ch; }
  .ac-tete h1 .cap { color: var(--accent-sombre); }

  main.manifeste:not(.membership-content),main.themes-annee { max-width: 1040px; }
  main.manifeste:not(.membership-content) > section:not(.hero):not(.feature):not(.theme-app) { padding-block: clamp(30px,4vw,48px); }
  main.manifeste:not(.membership-content) > section + section:not(.feature):not(.theme-app) { border-top: 1px solid var(--line); }
  .manifeste:not(.membership-content) section h2 { font-size: clamp(28px,3.2vw,40px); line-height: 1.15; letter-spacing: -.035em; text-wrap: balance; }
  .manifeste:not(.membership-content) section h3 { font-size: 21px; line-height: 1.4; }
  .manifeste:not(.membership-content) section p { max-width: 70ch; }
  .manifeste:not(.membership-content) section .fineprint { font-size: 14px; line-height: 1.65; }
  .manifeste:not(.membership-content) .hero .eyebrow { max-width: none; font-size: 11px; }
  .manifeste:not(.membership-content) .essentiel { border-radius: 20px; background: #eaf1eb; padding: 24px 28px 24px 28px; border: 1px solid #cadcd0; color: var(--nuit); }
  .manifeste:not(.membership-content) .essentiel li { padding-left: 30px; line-height: 1.65; margin-block: 7px; }
  .manifeste:not(.membership-content) .essentiel li::marker { color: var(--accent-sombre); }
  .sommaire,.essentiel-fiche { border-radius: 22px; padding: clamp(22px,3vw,32px); background: #fffdf8; border-color: var(--line); box-shadow: 0 10px 30px -20px #101d3524; }
  .sommaire a { min-height: 36px; }
  blockquote.jury { border-radius: 0 18px 18px 0; padding: 24px 28px; background: #f1ebe0; border-left: 3px solid var(--accent-sombre); }
  blockquote.jury p { font-size: 18px; line-height: 1.65; }
  blockquote.jury cite { display: block; font-size: 13px; line-height: 1.6; margin-top: 14px; }
  .source-record { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fffdf8; margin-block: 20px; }
  .source-record h3 { margin-top: 0; }

  .fiche-carte,.filiere-porte,.filiere-themes > a,.resource-card { border-radius: 22px; background: #fffdf8; box-shadow: 0 4px 16px -12px #101d3526; }
  .fiche-carte { padding: 24px; }
  .fiche-carte ul { font-size: 15px; line-height: 1.65; }
  .fiche-carte .fineprint { border-top: 1px solid var(--line); padding-top: 12px; }
  .filiere-colonnes { gap: 24px; }
  .filiere-colonnes > div { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fffdf8; min-width: 0; }
  .filiere-colonnes h3 { margin-top: 0; }
  .filiere-dates li { border-radius: 18px; padding: 20px; }
  .filiere-porte { padding: 28px; }
  .theme-bloc .eyebrow { font-size: 11px; }
  .theme-app { background: #e7f0ea; }

  .resources-page .hero { margin-bottom: 32px; }
  .catalogue-filters { border-radius: 24px; background: #fffdf8; box-shadow: 0 20px 40px -30px #101d3526; }
  .resource-search-row input,.resource-filter-row select { background: #f7f2e9; border-radius: 12px; font-size: 15px; }
  .resource-card { padding: 26px; transition: border-color .2s,box-shadow .2s; }
  .resource-card:hover { border-color: #9cbcaf; box-shadow: 0 16px 34px -24px #101d3540; }
  .resource-card .resource-description { font-size: 15px; line-height: 1.65; color: var(--ink-doux); }
  .resource-kind { color: var(--accent-sombre); }
  .resource-tags span { font-size: 11px; border-radius: 6px; padding: 4px 8px; background: #eaf1eb; }
  .resource-card .resource-source { font-size: 12px; }
  .resource-bookmark { min-width: 44px; min-height: 44px; }
  .resource-guide { border-radius: 24px; }

  .calendar-page .calendar-main { max-width: 1320px; }
  .calendar-page .calendar-main > .calendar-hero { padding-top: 48px; gap: 48px; }
  .calendar-hero h1 { font-size: clamp(44px,5.2vw,72px); text-wrap: balance; }
  .calendar-next { padding: 32px; box-shadow: 0 24px 48px -28px #101d354d; }
  .calendar-filters { background: #fffdf8; border-color: var(--line); border-radius: 22px; padding: 24px; }
  .calendar-filters input[type="search"],.calendar-filters select { background: #f7f2e9; border-color: var(--line); border-radius: 10px; }
  .calendar-filters label { font-size: 13px; }
  .calendar-filter-note { font-size: 12px; color: var(--muted); }
  .calendar-event { border-radius: 20px; border-color: var(--line); background: #fffdf8; padding: 24px; }
  .calendar-event h3 { font-size: 20px; }
  .calendar-event-meta,.calendar-event-footer,.calendar-verified { font-size: 12px; }
  .calendar-event-detail { font-size: 14px; line-height: 1.6; color: var(--ink-doux); }
  .calendar-views { background: #f1ebe0; border-color: var(--line); border-radius: 12px; }
  .calendar-views button { border-radius: 8px; min-height: 36px; }
  .calendar-tool { border-radius: 10px; min-height: 44px; font-size: 13px; }

  .feature-access-grid article,.feature-pending { border-radius: 24px; background: #fffdf8; }
  .feature-contents a { border-radius: 12px 12px 0 0; padding-inline: 10px; }
  .feature-family-heading .feature-state { border-radius: 999px; padding: 6px 12px; }
  .feature-context,.feature-footnote { border-radius: 18px; }
  footer .plan-du-site { padding: clamp(24px,4vw,40px); border: 1px solid var(--line); border-radius: 24px; background: #fffdf8; }
  footer .plan-du-site p { font-size: 11px; color: var(--accent-sombre); }
  footer .plan-du-site a { display: inline-block; padding-block: 3px; font-size: 14px; line-height: 1.55; }

  @media (min-width: 941px) and (max-width: 1180px) {
    header.site,.landing header.site { gap: 12px; padding-inline: 16px; }
    header.site nav,.landing header.site nav { gap: 12px; }
    header.site nav a { font-size: 12px; }
    header.site .brand { font-size: 20px; }
    header.site .header-actions { gap: 6px; }
    header.site .adhesion-cta,header.site .app-cta { padding-inline: 12px; font-size: 12px; }
  }
  @media (max-width: 760px) {
    main:not(.membership-content) > .hero { padding-block: 32px; margin-bottom: 12px; }
    main:not(.membership-content) > .hero h1 { font-size: clamp(36px,8.5vw,56px); }
    .page-breadcrumb { padding-top: 16px; }
    .manifeste:not(.membership-content) .essentiel { padding: 18px 20px; }
    blockquote.jury { padding: 20px; }
    .filiere-colonnes > div,.resource-card { padding: 22px; }
    .calendar-page .calendar-main > .calendar-hero { padding-top: 32px; gap: 24px; }
    .calendar-next { padding: 24px; }
    .calendar-event { padding: 20px 16px; gap: 12px; }
    .calendar-event h3 { font-size: 18px; }
    footer .plan-du-site { padding: 24px; gap: 28px 18px; }
  }
  @media (max-width: 940px) {
    header.site nav,.landing header.site nav { flex-wrap: wrap; justify-content: flex-start; gap: 0 16px; overflow: visible; -webkit-mask-image: none; mask-image: none; }
    header.site nav a { min-height: 32px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .resource-card { transition: none; }
  }
}

/* Pages filières : qui s'occupe de la filière */
.filiere-delegues { margin-top: 32px; padding: 28px; border-radius: 22px; background: #eef7f3; }
.filiere-delegues h2 { margin-top: 4px; }
.delegues-liste { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.delegues-liste li { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 14px 16px; }
.delegue-initiales { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: var(--accent-sombre); background: #d6efe5; }
@media (prefers-color-scheme: dark) { .filiere-delegues { background: rgba(255,255,255,.05); } .delegues-liste li { background: rgba(255,255,255,.06); } .delegue-initiales { background: rgba(255,255,255,.1); } }

.hero-fondateurs { margin: 14px 0 0 !important; font-size: 15px; color: var(--muted); }
.hero-fondateurs a { color: inherit; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* Blocs encadrés dans une page « manifeste » : la règle générale
   `.manifeste section { padding: … 0 }` leur retirait la marge intérieure
   latérale, et le texte touchait le bord du cadre. */
main.manifeste > section.theme-app,
main.manifeste > section.filiere-delegues,
main.manifeste > section.cette-annee,
main.manifeste > section.asso-adhesion,
main.manifeste > section.guide-summary,
main.manifeste > section.guide-application { padding-inline: clamp(24px,4vw,48px) !important; }
main.manifeste > section.filiere-delegues { padding-block: clamp(26px,3.4vw,40px) !important; }

/* Le filtre « Affiner les dates » n'est pas une carte : pas de fond ni d'arrondi hérités. */
.calendar-filters details { background: none !important; border-radius: 0 !important; box-shadow: none !important; }

/* Fonctionnalités : questions fréquentes */
.feature-faq { max-width: 860px; margin: 48px auto; padding-inline: 24px; }
.feature-faq details { border-top: 1px solid var(--line); padding: 16px 0; }
.feature-faq summary { font-weight: 700; cursor: pointer; }
.feature-faq details p { margin: 10px 0 0; color: var(--ink-doux); line-height: 1.65; }

/* Support and product questions: calm typography, generous inner spacing. */
body.features-page .feature-faq {
  max-width: 1180px; margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start;
}
.feature-faq .faq-intro h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.12; margin: 18px 0 20px; }
.feature-faq .faq-intro > p:not(.eyebrow) { color: var(--ink-doux); font-size: 16px; line-height: 1.7; max-width: 32ch; }
.feature-faq .faq-intro > a { display: inline-block; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--accent-sombre); }
body.features-page .feature-faq details { padding: 0; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: visible; transition: border-color .2s, box-shadow .2s; }
body.features-page .feature-faq details:hover { border-color: #b9cfc5; }
body.features-page .feature-faq details[open] { border-color: #93bdae; box-shadow: 0 8px 24px -16px #0f7d6940; }
body.features-page .feature-faq summary { position: relative; padding: 24px 70px 24px 26px; font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; list-style: none; }
body.features-page .feature-faq summary::after { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); float: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f0f5f2; color: var(--accent-sombre); font-size: 22px; line-height: 1; }
body.features-page .feature-faq details p { margin: 0; padding: 0 26px 26px; font-size: 15px; line-height: 1.75; max-width: none; }
header.site .button.adhesion-cta { background: #e3efe8; color: #155e4e; box-shadow: inset 0 0 0 1px #c9dfd2; font-weight: 650; }
header.site .button.adhesion-cta:hover { background: #d4e8dd; }
main .support-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; margin: 48px auto; padding: 52px; border-radius: 28px; border: 1px solid #d5e4da; background: #eaf2ec; max-width: 1240px; }
.support-panel .support-intro h2 { font-size: clamp(30px, 3.2vw, 46px); margin: 16px 0 24px; }
.support-panel .support-intro > p:not(.eyebrow) { font-size: 16px; line-height: 1.7; color: #394b43; max-width: 45ch; }
.support-panel .support-intro .support-note { font-size: 14px; }
.support-about { display: inline-block; color: #155e4e; font-size: 14px; font-weight: 600; margin-top: 12px; }
.support-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-option { display: flex; flex-direction: column; align-items: flex-start; padding: 28px 24px; border: 1px solid #d7e3da; border-radius: 20px; background: #fff; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.support-option:hover { transform: translateY(-3px); box-shadow: 0 14px 26px -18px #12392850; }
.support-label { font-size: 9px; letter-spacing: .12em; font-weight: 700; line-height: 1.7; }
.support-price { font-size: clamp(24px, 2.5vw, 34px); font-weight: 750; letter-spacing: -.04em; line-height: 1.2; margin: 24px 0 14px; }
.support-price small { font-size: 14px; font-weight: 500; letter-spacing: 0; }
.support-description { font-size: 14px; line-height: 1.65; }
.support-link { display: flex; justify-content: space-between; width: 100%; margin-top: auto; padding-top: 26px; font-size: 15px; font-weight: 650; }
.support-donation { background: #123d32; color: #fff; border-color: #123d32; }
.support-panel .support-footnote { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; line-height: 1.65; color: #53665a; }
@media (max-width: 900px) {
  body.features-page .feature-faq { grid-template-columns: 1fr; gap: 28px; max-width: 760px; }
  .feature-faq .faq-intro > p:not(.eyebrow) { max-width: 54ch; }
  main .support-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px; }
}
@media (max-width: 540px) {
  body.features-page .feature-faq { padding: 48px 0; }
  body.features-page .feature-faq summary { padding: 20px 58px 20px 20px; font-size: 16px; }
  body.features-page .feature-faq summary::after { right: 16px; width: 28px; height: 28px; }
  body.features-page .feature-faq details p { padding: 0 20px 22px; }
  main .support-panel { margin-block: 32px; padding: 28px 20px; border-radius: 22px; }
  .support-options { grid-template-columns: 1fr; }
  .support-option { padding: 24px; }
  .support-price { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) { .support-option { transition: none; } .support-option:hover { transform: none; } }

.hero-support { display: inline-block; margin-top: 20px; color: #155e4e; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }

/* Deux accès explicites pour rejoindre ou soutenir l’association. */
header.site .donation-cta { border-radius: 999px; min-height: 40px; padding: 9px 14px; color: #155e4e; box-shadow: inset 0 0 0 1px #c9dfd2; white-space: nowrap; }
header.site .donation-cta:hover { background: #e3efe8; }
@media (max-width: 1200px) { header.site .donation-cta { padding-inline: 10px; font-size: 12px; } }
@media (max-width: 600px) { header.site .header-actions { flex-wrap: wrap; } header.site .donation-cta { padding-inline: 10px; } }

/* Fiches de méthode : les idées reçues, confrontées aux rapports (fiches-vers-site.py). */
#idees-recues .croyance { margin-top: 18px; padding: 22px 24px; border-radius: 20px; background: var(--soft, #fffdf8); border: 1px solid var(--line); }
#idees-recues .croyance h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; color: var(--nuit); }
#idees-recues .verdict { display: inline-block; margin: 10px 0 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
#idees-recues .verdict-contredite, #idees-recues .verdict-jamaisExigee { background: #e3f4ee; color: #0b5e4e; }
#idees-recues .verdict-selonLeConcours { background: #fdf0dc; color: #8a5a12; }
#idees-recues .croyance blockquote.jury { margin: 12px 0 0; }

/* Poste à pourvoir dans l'équipe */
.equipe .equipe-liste li.equipe-vacant { background: transparent; border: 1.5px dashed var(--line) !important; }
.equipe .equipe-liste li.equipe-vacant:hover { transform: none; box-shadow: none; }
.equipe .equipe-vacant .equipe-initiales { background: transparent !important; color: var(--muted, #6b7280) !important; border: 1.5px dashed var(--line); box-shadow: none !important; }
.equipe .equipe-vacant .equipe-role { background: transparent !important; color: var(--muted, #6b7280) !important; padding-left: 0 !important; }

/* Liste des soutiens, page Adhérer */
.adhesion-soutiens .soutiens-liste { list-style: none; padding: 0; margin: 22px 0 18px; display: flex; flex-wrap: wrap; gap: 12px; }
.adhesion-soutiens .soutiens-liste li { display: flex; flex-direction: column; gap: 2px; padding: 16px 22px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); min-width: 0; }
.adhesion-soutiens .soutien-nom { font-weight: 650; font-size: 17px; }
.adhesion-soutiens .soutien-qualite { font-size: 13px; color: var(--muted, #6b7280); }

/* Accueil allégé (aperçu) */
.acc-ressources,.acc-beta,.acc-asso{max-width:1180px;margin:0 auto;padding:clamp(64px,8vw,112px) clamp(20px,4vw,48px)}
.acc-tete{max-width:640px;margin-bottom:36px}
.acc-tete h2,.acc-beta h2,.acc-asso h2,.fonctions-tete h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;letter-spacing:-.02em;margin:0 0 12px}
.acc-tete p,.fonctions-tete p{color:var(--muted,#5e6472);font-size:18px;margin:0}
.acc-dates{margin-top:40px;padding-top:28px;border-top:1px solid var(--line)}
.acc-dates h3{font-size:15px;margin:0 0 14px}
.acc-liens{display:flex;flex-wrap:wrap;gap:22px;margin-top:18px;font-weight:600}
.acc-beta{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;background:none!important}
.acc-points{list-style:none;padding:0;margin:20px 0;display:grid;gap:8px;color:var(--muted,#5e6472)}
.acc-points li::before{content:"✓  ";color:var(--accent-sombre,#0e7866);font-weight:700}
.acc-asso{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid var(--line)}
.acc-asso>div:first-child{max-width:560px}
.acc-asso p{color:var(--muted,#5e6472);margin:0}
.acc-asso-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.acc-lien{font-weight:600;margin-left:6px}
@media (max-width:820px){.acc-beta{grid-template-columns:1fr}}

.acc-fonctions{max-width:1100px;margin:0 auto;padding:clamp(64px,8vw,112px) clamp(20px,4vw,48px)}
.acc-centre{text-align:center;margin-left:auto;margin-right:auto}
.acc-fonction{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,6vw,96px);align-items:center;padding:clamp(40px,6vw,72px) 0;border-top:1px solid var(--line)}
.acc-fonction.inverse .acc-fonction-texte{order:2}
.acc-fonction h3{font-size:clamp(26px,2.8vw,36px);letter-spacing:-.02em;line-height:1.1;margin:0 0 14px}
.acc-fonction p{color:var(--muted,#5e6472);font-size:17px;line-height:1.6;margin:0 0 18px;max-width:46ch}
.acc-fonction a{font-weight:600}
.acc-fonction figure{margin:0;display:flex;justify-content:center;background:var(--soft);border-radius:32px;padding:48px 24px 0;overflow:hidden;max-height:520px}
.acc-fonction figure .tel{width:min(280px,70%);display:block}
.acc-fonction figure img{width:100%;height:auto;display:block}
@media (max-width:820px){.acc-fonction{grid-template-columns:1fr}.acc-fonction.inverse .acc-fonction-texte{order:0}}

#liste.acc-beta .acc-points{color:#d6dcea}
#liste.acc-beta .acc-points li::before{color:#5fd3b5}

/* ============ Page « L'équipe » (equipe.html) ============
   Légère : un seul aplat (le bureau, en bleu nuit), des niveaux séparés par
   l'espace et un filet, les personnes en texte. Fiches en popover. */
.equipe-suite{margin:22px 0 0}
.eo-page>section{max-width:1080px;margin:0 auto!important;padding-left:clamp(20px,4vw,40px);padding-right:clamp(20px,4vw,40px)}
.eo-hero{text-align:center;padding-top:clamp(64px,9vw,112px);padding-bottom:clamp(40px,5vw,64px)}
.eo-hero h1{font-size:clamp(46px,7vw,84px);letter-spacing:-.04em;line-height:.95;margin:0 0 18px;color:var(--nuit)}
.eo-hero .lede{max-width:50ch;margin:0 auto;font-size:clamp(17px,1.5vw,19px);color:var(--ink-doux)}
.eo h2{font-size:clamp(19px,1.8vw,22px);letter-spacing:-.02em;margin:0;color:var(--nuit)}
.eo h3{font-size:16px;letter-spacing:-.01em;margin:0;color:var(--nuit)}
.eo-sert{margin:6px 0 0;font-size:14.5px;line-height:1.5;color:var(--muted)}
/* Les personnes : du texte, cliquable */
.eo-personne{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;gap:2px;padding:10px 0;border-radius:6px}
.eo-personne b{font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--ink);transition:color .2s}
.eo-personne small{font-size:13.5px;color:var(--muted);line-height:1.35}
.eo-personne:hover b,.eo-personne:focus-visible b{color:var(--primary)}
.eo-personne:focus-visible{outline:2px solid var(--primary);outline-offset:4px}
.eo-gens{display:flex;flex-direction:column}
/* Le haut : conseillers | bureau | développement */
.eo-haut{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:clamp(20px,3vw,40px);align-items:start}
.eo-groupe{display:flex;flex-direction:column;gap:14px;padding-top:24px}
.eo-cote .eo-gens{border-top:1px solid var(--line)}
.eo-cote .eo-personne{border-bottom:1px solid var(--line);padding:12px 0}
.eo-bureau{background:var(--nuit);color:#fff;border-radius:24px;padding:28px 28px 22px;text-align:left}
.eo-bureau h2{color:#fff}.eo-bureau .eo-sert{color:#aeb8d2}
.eo-bureau .eo-personne b{color:#fff}.eo-bureau .eo-personne small{color:#aeb8d2}
.eo-bureau .eo-personne:hover b{color:#7fe0c8}
.eo-bureau .president{padding:14px 0 16px;border-bottom:1px solid rgba(255,255,255,.14)}
.eo-bureau .president b{font-size:clamp(24px,2.4vw,30px);letter-spacing:-.025em}
.eo-bureau .president small{color:#1ab89c;font-weight:600;font-size:14px;margin-top:2px}
.eo-deux{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;padding-top:6px}
/* Les liaisons et les niveaux */
.eo-lien{width:1px;height:40px;margin:22px auto;background:var(--line)}
.eo-niveau{border-top:1px solid var(--line);padding-top:24px;scroll-margin-top:90px}
.eo-niveau-tete{max-width:640px;margin-bottom:20px}
.eo-rang{display:grid;gap:clamp(20px,3vw,40px)}
.eo-rang.n2{grid-template-columns:repeat(2,minmax(0,1fr))}.eo-rang.n3{grid-template-columns:repeat(3,minmax(0,1fr))}
.eo-carte{display:flex;flex-direction:column;gap:4px;min-width:0;scroll-margin-top:90px}
.eo-filieres{margin:0 0 6px;font-size:13px;color:var(--muted)}
.eo-pole ul{list-style:none;margin:6px 0 4px;padding:0;display:grid;gap:5px}
.eo-pole li{font-size:14.5px;line-height:1.45;color:var(--ink-doux)}
.eo-pole .eo-gens{margin-top:8px;border-top:1px solid var(--line)}
/* Les délégués : le niveau qu'on doit remarquer */
.eo-delegues{border-top:2px solid var(--accent)}
.eo-delegues .eo-niveau-tete h2{font-size:clamp(24px,2.6vw,32px);color:var(--accent-sombre)}
.eo-delegues .eo-niveau-tete .eo-sert{font-size:16.5px;color:var(--ink-doux);max-width:58ch}
.eo-delegues .eo-carte h3{color:var(--accent-sombre)}
/* Les comités */
.eo-niveau-comites{margin-top:56px}
.eo-comites{display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,40px)}
.eo-comite p{margin:6px 0 0;font-size:14.5px;line-height:1.55;color:var(--ink-doux)}
/* La fiche d'une personne */
.eo-fiche{border:0;border-radius:24px;padding:32px;width:min(540px,calc(100vw - 32px));max-height:min(82vh,720px);overflow:auto;
  background:var(--soft);color:var(--ink);box-shadow:0 30px 90px -20px rgba(16,29,53,.45);inset:0;margin:auto}
.eo-fiche::backdrop{background:rgba(16,29,53,.32);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.eo-fiche-tete{padding-right:44px;margin-bottom:6px}
.eo-fiche h3{font-size:clamp(22px,4vw,28px);letter-spacing:-.025em;margin:0;color:var(--nuit)}
.eo-filiere{font-size:13px;color:var(--muted)}
.eo-fiche-role{font-weight:600;color:var(--accent-sombre);margin:12px 0 14px}
.eo-fiche p{font-size:15.5px;line-height:1.6;color:var(--ink-doux);margin:0 0 12px}
.eo-fiche-missions{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:10px}
.eo-fiche-missions li{position:relative;padding-left:18px;font-size:15px;line-height:1.55;color:var(--ink-doux)}
.eo-fiche-missions li::before{content:"";position:absolute;left:0;top:.72em;width:8px;height:1.5px;background:var(--accent)}
.eo-fiche-parcours{padding-top:12px;border-top:1px solid var(--line)}
.eo-fiche-lien{font-weight:600;color:var(--primary)}
.eo-fermer{all:unset;cursor:pointer;position:absolute;top:18px;right:18px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:20px;color:var(--muted)}
.eo-fermer:hover{color:var(--ink);background:var(--bg)}
@media (prefers-reduced-motion:no-preference){.eo-fiche:popover-open{animation:eo-ouvre .3s cubic-bezier(.16,1,.3,1)}}
@keyframes eo-ouvre{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
/* La fin */
.eo-fin{padding-top:clamp(64px,8vw,104px);padding-bottom:72px;text-align:center}
.eo-mot{margin:0 auto 64px;max-width:720px}
.eo-mot blockquote{margin:0;font-size:clamp(19px,2vw,24px);line-height:1.5;letter-spacing:-.01em;color:var(--nuit)}
.eo-mot blockquote::before{content:"« "}.eo-mot blockquote::after{content:" »"}
.eo-mot figcaption{margin-top:12px;font-size:14px;color:var(--muted)}
.eo-engager h2{font-size:clamp(24px,2.8vw,32px);letter-spacing:-.025em;margin:0 0 8px;color:var(--nuit)}
.eo-engager p{color:var(--muted);margin:0 auto 20px;max-width:48ch}
.eo-marge{margin:48px auto 0;max-width:68ch;font-size:13px;color:var(--muted)}
@media (max-width:900px){
  .eo-haut{grid-template-columns:1fr}
  .eo-bureau{order:-1}
  .eo-rang.n3{grid-template-columns:1fr}
}
@media (max-width:600px){
  .eo-rang.n2,.eo-comites{grid-template-columns:1fr}
  .eo-deux{grid-template-columns:1fr}
  .eo-bureau{padding:22px}
  .eo-fiche{padding:24px}
}
@media (prefers-reduced-motion:reduce){.eo-personne b{transition:none}}

.eo-hero{padding-bottom:clamp(24px,3vw,40px)!important}.eo-page>section.eo{padding-top:0!important;padding-bottom:0!important}
/* Page équipe : les noms d'abord, les parties en libellés */
.eo h2,.eo-delegues .eo-niveau-tete h2{font-size:13px!important;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)!important;line-height:1.3}
.eo-bureau h2{color:#9fb0d6!important}
.eo-delegues .eo-niveau-tete h2{color:var(--accent-sombre)!important}
.eo-sert{font-size:14px!important;color:var(--muted)!important}
.eo-delegues .eo-niveau-tete .eo-sert{font-size:15.5px!important;color:var(--ink-doux)!important}
.eo-bureau .eo-sert{color:#aeb8d2!important}
.eo-personne b{font-size:19px!important;font-weight:700;letter-spacing:-.02em}
.eo-personne small{font-size:14px}
.eo-bureau .president b{font-size:clamp(28px,3vw,36px)!important}
.eo-carte h3{font-size:13px!important;font-weight:600;color:var(--muted)!important;letter-spacing:.01em}
.eo-delegues .eo-carte h3{color:var(--accent-sombre)!important}
.eo-pole h3{font-size:18px!important;font-weight:700;color:var(--nuit)!important;letter-spacing:-.015em}
.eo-comite h3{font-size:17px!important;color:var(--nuit)!important}
.eo-niveau-tete{margin-bottom:14px}
@media (min-width:901px){.eo-haut{grid-template-columns:1fr 1.6fr 1fr}}
.eo-deux .eo-personne b{font-size:18px!important;white-space:nowrap}
@media (max-width:600px){.eo-deux .eo-personne b{white-space:normal}}
/* Bureau : le président à peine plus grand, centré */
.eo-bureau .president{align-items:center;text-align:center}
.eo-bureau .president b{font-size:22px!important}
.eo-bureau .president small{font-size:14px}
.eo-bureau h2,.eo-bureau .eo-sert{text-align:center}
.eo-deux{text-align:center;justify-items:center}
.eo-deux .eo-personne{align-items:center}

/* Adhésion : l'exonération est une aide discrète, pas une case à cocher par réflexe */
.adhesion-aide{margin:2px 0 6px;font-size:14px}
.adhesion-aide summary{cursor:pointer;color:var(--muted);text-decoration:underline;text-underline-offset:3px;list-style:none;width:fit-content}
.adhesion-aide summary::-webkit-details-marker{display:none}
.adhesion-aide summary:hover{color:var(--ink)}
.adhesion-aide[open] summary{margin-bottom:8px}
.adhesion-aide .case{margin-top:8px}
