@charset "UTF-8";
/* ============================================
   FOUNDATION
   - Design tokens (CSS variables)
   - Reset / base styles
   - Global helpers
   ============================================ */
/* ============================================
   DESIGN TOKENS (alignés maquette Figma)
   ============================================ */
:root {
  /* Couleurs */
  --aa-white: #ffffff;
  --aa-black: #000000;
  --aa-blue: #0080ff;
  --aa-pale-blue: #e6f2ff;
  --aa-light-blue: #a8e5ff;
  --aa-blue-royal: #1a6aff; /* Fond hero maquette */
  --aa-blue-900: #0035a0;
  --aa-blue-950: #004385;
  --aa-blue-ink: #0044ff;
  --aa-accent: #e5ff65;
  --aa-beige: #f8f4ee;
  --aa-gray-50: #fbfbfb;
  /* Badges hero (placeholders) */
  --aa-badge-green: #2e7d32;
  --aa-badge-yellow: #ffc107;
  --aa-badge-red: #e53935;
  /* Typo (NOTE: Cooper & Hyperspace via Adobe Fonts / Typekit, kit cqj1vky) */
  --aa-font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* TODO: fournir & intégrer la police "TT Firs Neue" (fichiers + licence) */
  --aa-font-ui: "TT Firs Neue", var(--aa-font-sans);
  /* Adobe Fonts: cooper-black-std (Cooper Black) */
  --aa-font-heading: "cooper-black-std", Georgia, "Times New Roman", serif;
  /* Adobe Fonts: hyperspace-race-variable (Hyperspace Race Variable) */
  --aa-font-display: "hyperspace-race-variable", Impact, "Arial Black", sans-serif;
  /* Layout (--aa-header-height mis à jour par JS selon hauteur réelle du header fixe) */
  --aa-header-height: 140px;
  --aa-container: 1720px;
  --aa-gutter: clamp(16px, 3vw, 56px);
  /* Rayons / ombres */
  --aa-radius-s: 8px;
  --aa-radius-m: 14px;
  --aa-radius-pill: 999px;
  --aa-shadow-1: 0 8px 24px rgba(0, 0, 0, 0.12);
  /* Échelles */
  --aa-fs-body: clamp(14px, 0.9vw, 18px);
  --aa-fs-lead: clamp(16px, 1.2vw, 28px);
  --aa-fs-h2: clamp(24px, 2.8vw, 52px);
  --aa-fs-h1: clamp(70px, 11vw, 250px);
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--aa-font-sans);
  font-size: var(--aa-fs-body);
  color: var(--aa-black);
  line-height: 1.6;
  overflow-x: hidden;
  /* Aligné sur la première section (hero blue-royal) pour éviter un liseré blanc entre header fixe et main (subpixel/zoom). */
  background: var(--aa-beige);
}

body.home {
  background: var(--aa-blue-royal);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Helpers génériques */
.aa-container {
  width: min(var(--aa-container), 100% - 8 * var(--aa-gutter));
  margin-inline: auto;
}
@media (max-width: 1024px) {
  .aa-container {
    width: 100%;
    padding-left: calc(var(--aa-gutter) * 1.5);
    padding-right: calc(var(--aa-gutter) * 1.5);
  }
}

.aa-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/**
 * Shared utilities and global component tokens.
 * Used across all pages (accents, underlines, buttons).
 * Do not put layout or page-specific rules here.
 */
.aa-accent-yellow {
  color: var(--aa-accent);
}

.aa-accent-blue {
  color: var(--aa-blue);
}

.aa-accent-light-blue {
  color: var(--aa-light-blue);
}

.aa-accent-red {
  color: var(--aa-badge-red);
}

.aa-accent-white {
  color: var(--aa-white);
}

.aa-underline {
  background: linear-gradient(transparent 70%, var(--aa-accent) 0);
  padding: 0 0.2em;
}

.aa-underline-white {
  background: linear-gradient(transparent 70%, var(--aa-white) 0);
  padding: 0 0.2em;
}

/* Buttons: used on hero, join, a-propos, manifesto CTA */
.aa-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: clamp(40px, 4vw, 60px);
  padding: 0 clamp(20px, 3vw, 3.5rem);
  border-radius: var(--aa-radius-pill);
  border: 2px solid transparent;
  font-family: var(--aa-font-ui);
  font-weight: 800;
  font-size: clamp(12px, 1.1vw, 18px);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.aa-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.aa-button--primary {
  background: var(--aa-blue-900);
  color: var(--aa-accent);
}

.aa-button--primary:hover {
  background: var(--aa-blue-950);
  color: var(--aa-accent);
}

.aa-button--accent {
  background: var(--aa-accent);
  color: var(--aa-blue-900);
}

.aa-button--accent:hover {
  background: var(--aa-light-blue);
  color: var(--aa-blue-900);
}

.aa-button--light {
  background: var(--aa-white);
  color: var(--aa-blue-900);
}

.aa-button--light:hover {
  background: var(--aa-pale-blue);
  color: var(--aa-blue-900);
}

.aa-button--outline {
  background: transparent;
  border-color: var(--aa-blue-900);
  color: var(--aa-blue-900);
  font-weight: 800;
}

.aa-button--outline:hover {
  background: var(--aa-blue-900);
  color: var(--aa-accent);
}

section.section-full-height {
  height: 100vh;
  padding: 10vh 0;
}

h1 {
  font-family: var(--aa-font-display);
  font-size: var(--aa-fs-h1);
  font-variation-settings: "wght" 900, "wdth" 50;
  letter-spacing: 0.01em;
  line-height: 0.8;
  color: inherit;
  text-transform: uppercase;
  /* Léger flou en bordure des lettres (même couleur) pour adoucir les angles vifs */
  text-shadow: 0 0 0.25px currentColor, 0 0 0.5px currentColor, 0 0 1px currentColor;
}

.digit {
  font-family: var(--aa-font-display);
  font-size: clamp(56px, 8vw, 200px);
  font-variation-settings: "wght" 900, "wdth" 50;
  letter-spacing: 0.01em;
  line-height: 0.8;
  color: inherit;
  /* Léger flou en bordure des lettres (même couleur) pour adoucir les angles vifs */
  text-shadow: 0 0 0.25px currentColor, 0 0 0.5px currentColor, 0 0 1px currentColor;
}

/**
 * Site header: logo, nav, CTA, social.
 * Au scroll : réduction hauteur (.is-scrolled) + couleur selon section (data-header-bg / data-header-theme).
 * data-header-theme (light|dark) pilote le contraste du contenu (liens, bouton, icônes).
 * Responsive: burger menu < 1024px ; breakpoint 768px pour CTA/button.
 *
 * Le main reçoit un padding-top égal à la hauteur du header (variable --aa-header-height mise à jour par JS)
 * pour que la première slide ne soit jamais masquée sous le header fixe.
 */
.site-main {
  padding-top: calc(var(--aa-header-height) - 1px);
}

.site-header {
  background: var(--aa-beige);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color 0.35s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

/* Fond selon la section en cours (pilote par JS initHeaderScroll) */
.site-header[data-header-bg=blue-royal] {
  background: var(--aa-blue-royal);
}

.site-header[data-header-bg=blue] {
  background: var(--aa-blue);
}

.site-header[data-header-bg=blue-900] {
  background: var(--aa-blue-900);
}

.site-header[data-header-bg=beige] {
  background: var(--aa-beige);
}

.site-header[data-header-bg=pale-blue] {
  background: var(--aa-pale-blue);
}

.site-header[data-header-bg=accent] {
  background: var(--aa-accent);
}

.site-header[data-header-bg=transparent] {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
}

/* État scroll : hauteur réduite, léger relief */
.site-header.is-scrolled {
  padding: 0;
}

.site-header.is-scrolled .site-logo {
  width: 160px;
}

.site-header.is-scrolled .site-logo > img {
  transition: transform 0.3s ease;
}

/* Menu réduit : textes des liens plus petits */
/* Bouton CTA réduit (Rejoignez-nous) */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2vw;
}

/* Panneau nav + CTA : en desktop inline, en mobile overlay */
.header-nav-panel {
  display: flex;
  align-items: center;
  gap: 2vw;
}

/* Burger : masqué en desktop */
.header-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
  transition: opacity 0.2s ease;
}

.header-burger:hover,
.header-burger:focus {
  opacity: 0.9;
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.header-burger__bar {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* État ouvert : transformer en X (optionnel, ou garder 3 barres) */
.site-header.nav-open .header-burger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.site-header.nav-open .header-burger__bar:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .header-burger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.header-left {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.site-logo {
  width: 160px;
  aspect-ratio: 4/3;
  display: block;
  position: relative;
  transition: width 0.3s ease;
  /* Les deux logos sont superposés au même endroit pour n’en afficher qu’un seul */
}
.site-logo > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: opacity 0.35s ease;
}
.site-logo {
  /* Fond clair : logo sombre (logo.png) visible */
}
.site-logo .logo-img--light {
  opacity: 1;
  pointer-events: auto;
}
.site-logo .logo-img--white {
  opacity: 0;
  pointer-events: none;
}

/* Fond sombre : logo clair (logo_white.png) visible */
.site-header[data-header-theme=dark] .site-logo .logo-img--light {
  opacity: 0;
  pointer-events: none;
}

.site-header[data-header-theme=dark] .site-logo .logo-img--white {
  opacity: 1;
  pointer-events: auto;
}

.logo-placeholder {
  display: flex;
  align-items: center;
}

.logo-placeholder-icon {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--aa-font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
  max-width: 140px;
  transition: color 0.35s ease;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2vw;
  align-items: center;
  margin: 0;
  padding: 0;
  transition: gap 0.3s ease;
}

.nav-menu li a {
  position: relative;
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.4;
  transition: color 0.35s ease, opacity 0.2s ease, font-size 0.3s ease;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: background-color 0.35s ease, opacity 0.2s ease, height 0.3s ease, bottom 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
  opacity: 1;
}

.nav-menu li a:hover {
  opacity: 0.95;
}

/* Thème sombre (fond bleu, etc.) : liens et underline clairs pour contraste */
.site-header[data-header-theme=dark] .nav-menu li a {
  color: var(--aa-white);
}

.site-header[data-header-theme=dark] .nav-menu li a::after {
  background: var(--aa-white);
}

.site-header[data-header-theme=dark] .logo-text {
  color: var(--aa-white);
}

/* Thème clair (fond beige, pale-blue, accent) : liens et underline foncés */
.site-header[data-header-theme=light] .nav-menu li a {
  color: var(--aa-blue-900);
}

.site-header[data-header-theme=light] .nav-menu li a::after {
  background: var(--aa-accent);
}

.site-header[data-header-theme=light] .logo-text {
  color: var(--aa-blue-900);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1vw;
}
.header-right .aa-button {
  transition: height 0.3s ease, padding 0.3s ease, font-size 0.3s ease, transform 0.2s ease, opacity 0.2s ease;
}

/* CTA reste lisible sur tous les fonds : accent + bleu-900 (déjà défini) ; option thème sombre = bordure claire */
.header-social {
  display: flex;
  gap: 0.8vw;
}

.social-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.2s ease, opacity 0.2s ease;
}

.social-circle i {
  font-size: 1.3rem;
}

.social-circle:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

/* Thème sombre : cercles clairs pour ressortir sur fond bleu */
.site-header[data-header-theme=dark] .social-circle {
  background: var(--aa-white);
  color: var(--aa-blue-900);
}

.site-header[data-header-theme=dark] .social-circle:hover {
  background: var(--aa-pale-blue);
  color: var(--aa-blue-900);
}

/* Thème clair : cercles bleu foncé + icône blanche */
.site-header[data-header-theme=light] .social-circle {
  background: var(--aa-blue-900);
  color: var(--aa-white);
}

.site-header[data-header-theme=light] .social-circle:hover {
  background: var(--aa-blue-950);
  color: var(--aa-white);
}

.header-burger-logo {
  display: none;
}

/* ----- Burger menu & overlay : < 1024px ----- */
@media (max-width: 1024px) {
  .header-burger {
    display: flex;
    margin-left: auto;
    position: relative;
    z-index: 1001;
  }
  .site-header[data-header-theme=dark] .header-burger__bar {
    background: var(--aa-white);
  }
  .site-header[data-header-theme=light] .header-burger__bar {
    background: var(--aa-blue-900);
  }
  .header-burger-logo {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    margin-left: calc(var(--aa-gutter) * 1.5);
  }
  .header-nav-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--aa-blue-royal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: calc(var(--aa-header-height) + 2rem) var(--aa-gutter) 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    /* Fermé : ne pas intercepter les clics (laisser le burger recevoir le clic) */
    pointer-events: none;
  }
  .site-header.nav-open .header-nav-panel {
    opacity: 1;
    visibility: visible;
    background: var(--aa-blue-royal);
    pointer-events: auto;
  }
  /* Contraste liens dans le panneau : fond bleu → texte blanc */
  .site-header.nav-open .header-nav-panel .nav-menu li a {
    color: var(--aa-white);
  }
  .site-header.nav-open .header-nav-panel .nav-menu li a::after {
    background: var(--aa-white);
  }
  .site-header.nav-open .header-nav-panel .main-navigation {
    width: 100%;
    justify-content: center;
  }
  .site-header.nav-open .header-nav-panel .nav-menu {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  .site-header.nav-open .header-nav-panel .nav-menu li a {
    font-size: var(--aa-fs-h2);
  }
  .site-header.nav-open .header-nav-panel .header-right {
    flex-direction: column;
    gap: 2.5rem;
  }
  .site-header.nav-open .header-nav-panel .header-social {
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .site-header {
    padding: 1rem 0;
  }
  .site-header.is-scrolled .site-logo {
    width: 120px;
  }
  .aa-button {
    height: 45px;
    padding: 0 1.5rem;
  }
}
/**
 * Site footer: barre basse, infos.
 */
.site-footer {
  background: var(--aa-blue-900);
  padding: 1rem 0;
  text-align: center;
}

.footer-container {
  width: min(var(--aa-container), 100% - 2 * var(--aa-gutter));
  margin-inline: auto;
  padding-left: var(--aa-gutter);
  padding-right: var(--aa-gutter);
}

.site-info {
  color: var(--aa-white);
  font-size: 0.875rem;
}

/* ----- Variants (couleurs de fond + texte) ----- */
.manifesto-slide--light,
.a-propos-slide--light {
  background: var(--aa-beige);
  color: var(--aa-blue-900);
}

.manifesto-slide--pale-blue,
.a-propos-slide--pale-blue {
  background: var(--aa-pale-blue);
  color: var(--aa-blue-900);
}

.manifesto-slide--blue,
.a-propos-slide--blue {
  background: var(--aa-blue);
  color: var(--aa-white);
}

.manifesto-slide--yellow,
.a-propos-slide--yellow {
  background: var(--aa-accent);
  color: var(--aa-blue-900);
}

.manifesto-slide--image,
.a-propos-slide--image {
  background-color: var(--aa-blue-900);
  color: var(--aa-white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#manifesto-section-5 {
  background-image: url(../images/view.jpg);
}

#manifesto-section-9 {
  background-image: url(../images/groupe.jpg);
}

.manifesto-slide--gradient,
.a-propos-slide--gradient {
  background-image: linear-gradient(180deg, var(--aa-blue) 0%, var(--aa-blue) 75%, var(--aa-beige) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--aa-white);
}

/* ----- section-full-height (optionnel sur A propos) ----- */
.a-propos-slide.section-full-height {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ----- Structure commune slide inner ----- */
.manifesto-slide-inner,
.a-propos-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

/* ----- Base contenu slide (typo, liens, paragraphes) ----- */
.manifesto-slide-content,
.a-propos-slide-content {
  font-family: var(--aa-font-sans);
  width: 100%;
  text-align: left;
}

.manifesto-slide-content p,
.a-propos-slide-content p {
  margin-bottom: 2.5rem;
}

.manifesto-slide-content p:last-child,
.a-propos-slide-content p:last-child {
  margin-bottom: 0;
}

.manifesto-slide-content a,
.a-propos-slide-content a {
  color: inherit;
}

/* ----- Classes typo partagées (Manifesto + A propos) ----- */
/* aa-slide-display : titre hero / large (ex. manifesto-large-text) */
.manifesto-slide-content .aa-slide-display,
.manifesto-slide-content .manifesto-large-text,
.a-propos-slide-content .aa-slide-display {
  font-family: var(--aa-font-display);
  font-size: var(--aa-fs-h1);
  font-variation-settings: "wght" 900, "wdth" 50;
  letter-spacing: 0.01vw;
  line-height: 0.8;
  text-transform: uppercase;
  color: inherit;
  text-shadow: 0 0 0.25px currentColor, 0 0 0.5px currentColor, 0 0 1px currentColor;
}

/* aa-slide-lead : intro / petit texte (ex. manifesto-small-text) */
.manifesto-slide-content .aa-slide-lead,
.manifesto-slide-content .manifesto-small-text,
.a-propos-slide-content .aa-slide-lead {
  font-size: var(--aa-fs-lead);
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
}

/* aa-slide-base : phrase d'accroche / base (ex. manifesto-base-text) */
.manifesto-slide-content .aa-slide-base,
.manifesto-slide-content .manifesto-base-text,
.a-propos-slide-content .aa-slide-base {
  font-family: var(--aa-font-heading);
  font-size: var(--aa-fs-h2);
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

/* aa-slide-h2 : sous-titres */
.manifesto-slide-content .aa-slide-h2,
.a-propos-slide-content .aa-slide-h2 {
  font-family: var(--aa-font-heading);
  font-size: var(--aa-fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: inherit;
}

/* aa-slide-uppercase : petit titre uppercase (ex. manifesto-uppercase-text) */
.manifesto-slide-content .aa-slide-uppercase,
.manifesto-slide-content .manifesto-uppercase-text,
.a-propos-slide-content .aa-slide-uppercase {
  text-transform: uppercase;
  font-size: var(--aa-fs-lead);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: inherit;
}

/* ----- Chiffres / num (mission 01 02 03) ----- */
.a-propos-slide-content .a-propos-mission-item-title {
  font-family: var(--aa-font-ui);
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: inherit;
}

.a-propos-slide-content .a-propos-mission-item-desc {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
}

/**
 * Home page (front-page): hero, steps, association, testimonials, partners, join.
 * Section-join is reused on Manifesto and A propos; base styles live here.
 */
/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
  background: var(--aa-blue-royal);
  color: var(--aa-white);
  position: relative;
  overflow: visible;
  cursor: default;
}

.section-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 68, 255, 0) 4.44%, var(--aa-blue-royal) 40.44%);
  transform: rotate(180deg);
  pointer-events: none;
}

.hero-container {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: clamp(1.8rem, 2.8vw, 3.5rem);
}

.hero-kicker {
  display: inline-flex;
  align-self: flex-start;
  background: var(--aa-white);
  color: var(--aa-blue);
  padding: 0.35rem 0.9rem;
  border-radius: var(--aa-radius-pill);
  font-family: var(--aa-font-ui);
  font-weight: 600;
  font-size: 1.125rem;
}

.hero-display {
  position: relative;
  margin-top: 5rem;
  perspective: 1200px;
  transform-style: preserve-3d;
}

/* Stickers SVG : position absolue relative à .hero-display (≈ .hero-display-text).
   Positions en % pour cohérence sur toutes les tailles d'écran. */
.hero-sticker {
  z-index: 100;
  position: absolute;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
  transform-origin: center center; /* pour effet 3D cohérent (parallax JS) */
}

.section-hero .hero-sticker--1 {
  width: clamp(80px, 12vw, 160px);
  top: 50%;
  left: -7.55%;
  transform: translateY(-50%) rotate(8deg);
}
.section-hero .hero-sticker--2 {
  width: clamp(80px, 12vw, 160px);
  top: 12%;
  right: 32%;
  transform: rotate(-3deg);
}
.section-hero .hero-sticker--3 {
  width: clamp(60px, 8vw, 120px);
  bottom: -15%;
  left: 7.5%;
  transform: rotate(-2deg);
}
.section-hero .hero-sticker--4 {
  width: clamp(100px, 15vw, 200px);
  bottom: 3%;
  right: -15%;
  transform: rotate(12deg);
}

.hero-title {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.22;
}

.hero-title .hero-highlight {
  background: linear-gradient(transparent 82%, var(--aa-accent) 0);
  padding: 0 0.08em;
}

.hero-lead {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.6;
}

.hero-actions {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

/* ============================================
   STEPS SECTION
   ============================================ */
.section-steps {
  background-image: linear-gradient(180deg, var(--aa-blue-royal) 0%, var(--aa-beige) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 0 5rem;
  color: var(--aa-white);
  position: relative;
}

.steps-container {
  position: relative;
}

.steps-kicker {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.1;
  color: var(--aa-white);
  margin-bottom: 0.5rem;
}

.steps-title {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.1;
  color: var(--aa-accent);
}

.steps-subtitle {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  color: rgba(255, 255, 255, 0.95);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 64px);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0;
  background: transparent;
  border-radius: 0;
  cursor: pointer;
}

.step-item:hover {
  opacity: 0.98;
}

.step-content {
  flex: 1;
}

.step-content::before {
  content: "";
  display: block;
  border-top: 3px solid var(--aa-accent);
  width: min(420px, 100%);
  margin: 1rem 0 1.25rem;
}

.step-title {
  font-family: var(--aa-font-ui);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.step-description {
  font-family: var(--aa-font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  display: none;
  margin-top: 0.5rem;
}

.step-item.active .step-description {
  display: block;
}

.step-toggle {
  background: none;
  border: none;
  color: var(--aa-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.step-item.active .step-toggle {
  transform: rotate(45deg);
}

.steps-cta {
  text-align: center;
}

/* ============================================
   ASSOCIATION SECTION (home)
   ============================================ */
.section-association {
  background: var(--aa-blue);
  padding: 6rem 0 5rem;
  color: var(--aa-white);
}

.association-container {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.association-title {
  font-family: var(--aa-font-display);
  font-weight: 700;
  font-size: var(--aa-fs-h1);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.association-lead {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.6;
}

.association-manifesto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.association-manifesto-text {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.22;
  text-decoration: underline;
  text-decoration-color: var(--aa-accent);
  text-decoration-thickness: 14px;
  text-underline-offset: 10px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.section-testimonials {
  background: var(--aa-beige);
  padding: 4rem 0;
}

.detox-container {
  display: flex;
  flex-direction: column;
}

.detox-kit-lead {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.1;
  color: var(--aa-blue-900);
}

.detox-kit-sub {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.4;
  color: var(--aa-black);
}

.detox-title {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.1;
  text-align: center;
  color: var(--aa-blue-900);
  margin-top: 1vw;
  margin-bottom: 1vw;
}

.detox-lead {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  line-height: 1.4;
  text-align: center;
  color: var(--aa-black);
}

.detox-media {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2vw;
  margin-top: 5vw;
  margin-bottom: 5vw;
}

.detox-bubble {
  width: 33vw;
  max-width: 300px;
  background: var(--aa-white);
}

.detox-bubble--1 {
  background-image: url(../images/canva/canva_1.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
}

.detox-bubble--2 {
  background-image: url(../images/canva/canva_2.gif);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
}

.detox-bubble--3 {
  background-image: url(../images/canva/canva_3.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
}

.detox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .detox-media {
    justify-content: center;
    gap: 1.5rem;
  }
  .detox-bubble {
    width: min(33vw, 100%);
    min-width: 140px;
  }
  .detox-actions .aa-button {
    width: 100%;
  }
}
/* ============================================
   PARTNERS SECTION
   ============================================ */
.section-partners {
  background: var(--aa-pale-blue);
  padding: 2vw 0;
  border-top: 1px solid var(--aa-white);
}

.partners-container {
  text-align: center;
}

.partners-title {
  font-family: var(--aa-font-heading);
  font-weight: 900;
  font-size: var(--aa-fs-h2);
  line-height: 1.1;
  text-align: center;
  color: var(--aa-blue-900);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.partners-subtitle {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: var(--aa-fs-lead);
  color: var(--aa-black);
  margin-bottom: 1rem;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 5vw;
  margin-bottom: 5vw;
}

.resource-card {
  background: var(--aa-white);
  border-radius: var(--aa-radius-s);
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.resource-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.resource-tag {
  font-family: var(--aa-font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aa-blue);
  margin-bottom: 0.75rem;
}

.resource-media {
  width: 100%;
  height: 233px;
  border-radius: 10px;
  background: var(--aa-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
}

.partners-cta {
  text-align: center;
}

.resource-title {
  font-family: var(--aa-font-sans);
  font-weight: 500;
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.25;
  color: var(--aa-black);
}

/* ============================================
   JOIN SECTION (reused on Manifesto + A propos)
   ============================================ */
.section-join {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--aa-pale-blue);
  padding-bottom: 0 !important;
}

.join-images {
  background: var(--aa-blue);
  position: relative;
  perspective: 1200px;
  transform-style: preserve-3d;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
}

.join-image {
  overflow: hidden;
  position: relative;
  background: var(--aa-blue-900);
}

.join-image-double {
  overflow: hidden;
  position: relative;
  background: var(--aa-blue-900);
}

.join-image-alt {
  background: var(--aa-blue-ink);
}

.join-image-ter {
  background: var(--aa-accent);
}

.join-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.join-image-fallback {
  display: none;
  width: 100%;
  height: 100%;
  background: var(--aa-blue-900);
  color: var(--aa-white);
  font-family: var(--aa-font-ui);
  font-weight: 600;
  align-items: center;
  justify-content: center;
}

.join-image-block {
  background: var(--aa-accent);
  border-radius: 8px;
}

.join-image-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.section-join .hero-sticker--1 {
  width: 50%;
  top: 75%;
  left: 4%;
  transform: rotate(8deg);
}
.section-join .hero-sticker--2 {
  width: 40%;
  top: 25%;
  right: 3%;
  transform: rotate(6deg);
}
.section-join .hero-sticker--3 {
  width: 40%;
  top: 52%;
  right: 3%;
  transform: rotate(-8deg);
}
.section-join .hero-sticker--4 {
  width: 45%;
  top: 8%;
  left: 20%;
  transform: rotate(-8deg);
}

.join-content {
  background: var(--aa-white);
  margin-top: 2.5rem;
  padding: clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.join-title {
  position: relative;
  z-index: 1;
  font-family: var(--aa-font-heading);
  font-size: clamp(56px, 6vw, 100px);
  font-weight: 900;
  line-height: 1;
  color: var(--aa-blue-900);
}

.join-text {
  position: relative;
  z-index: 1;
  font-family: var(--aa-font-sans);
  font-size: var(--aa-fs-lead);
  font-weight: 500;
  color: var(--aa-black);
  line-height: 1.6;
}

.join-cta-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: center;
}

.join-cta {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.join-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .join-content {
    padding: clamp(24px, 4vw, 48px);
  }
  .join-cta-container {
    align-items: stretch;
  }
  .join-cta {
    align-self: stretch;
    text-align: center;
  }
}
.section-join .social-circle {
  background: var(--aa-accent);
  color: var(--aa-blue-900);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.section-join .social-circle:hover {
  background: var(--aa-blue-950);
  color: var(--aa-white);
  transform: translateY(-2px);
}

/**
 * Page Manifesto: layout full-viewport, flèche, dots.
 * Variants et typo de base des slides → _slides-shared.scss.
 */
.manifesto-sections {
  position: relative;
}

/* ----- Layout slide (toujours full-height sur Manifesto) ----- */
.manifesto-slide {
  height: 100dvh;
  padding-top: calc(var(--aa-header-height) + 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-sizing: border-box;
}

#manifesto-section-1 {
  height: calc(100vh - var(--aa-header-height));
  padding-top: 5rem;
}

.manifesto-slide-content {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.35;
}

.manifesto-slide-content h1 {
  margin-bottom: 2.5vw;
}

/* Typo des slides : classes partagées aa-slide-* dans _slides-shared.scss */
/* ----- Split layout (éditeur) ----- */
.manifesto-slide.manifesto-split .manifesto-slide-inner {
  max-width: 100%;
}

.manifesto-slide.manifesto-split .manifesto-slide-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.manifesto-slide.manifesto-split .manifesto-slide-content > div:first-child {
  padding: 0 calc(var(--aa-gutter) * 4) 0 0;
}

@media (max-width: 768px) {
  .manifesto-slide.manifesto-split .manifesto-slide-content {
    grid-template-columns: 1fr;
  }
}
.manifesto-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--aa-gutter);
  align-items: start;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .manifesto-content-split {
    grid-template-columns: 1fr;
  }
}
/* ----- Flèche et dots (Manifesto uniquement) ----- */
/* Zone cliquable : le cercle est dessiné par l’icône Font Awesome (circle-chevron-down/up) */
.manifesto-arrow-down {
  position: fixed;
  bottom: var(--aa-gutter);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
  z-index: 99;
}

.manifesto-arrow-down:hover {
  transform: translateX(-50%) scale(1.05);
  opacity: 0.9;
}

/* Masquée sur la dernière section (section-join) */
.manifesto-arrow-down.manifesto-arrow--hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Icône Font Awesome : flèche vers le bas dans un cercle (down/up géré en JS) */
.manifesto-arrow-icon {
  font-size: 3vw;
  color: inherit;
  transition: transform 0.2s ease;
}

.manifesto-dots {
  position: fixed;
  top: 60%;
  right: calc(var(--aa-gutter) * 2);
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  list-style: none;
  transition: opacity 0.2s ease;
}

/* Masqués sur la dernière section (section-join) */
.manifesto-dots.manifesto-dots--hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.manifesto-dot {
  display: block;
  padding: 6px;
  color: inherit;
}

.manifesto-dot-inner {
  display: block;
  width: 0.7vw;
  height: 0.7vw;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.3;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.manifesto-dot:hover .manifesto-dot-inner,
.manifesto-dot[aria-current=true] .manifesto-dot-inner {
  opacity: 1;
}

.manifesto-dot[aria-current=true] .manifesto-dot-inner {
  transform: scale(2);
}

.page-manifesto .manifesto-dots,
.page-manifesto .manifesto-arrow-down {
  color: var(--aa-blue);
}

.page-manifesto[data-section-theme=light] .manifesto-dots,
.page-manifesto[data-section-theme=light] .manifesto-arrow-down {
  color: var(--aa-blue);
}

.page-manifesto[data-section-theme=dark] .manifesto-dots,
.page-manifesto[data-section-theme=dark] .manifesto-arrow-down {
  color: var(--aa-white);
}

/**
 * Page A propos: layout (banner, grilles, formulaire).
 * Variants et typo des slides → _slides-shared.scss.
 */
#a-propos-section-1 {
  min-height: var(--aa-header-height);
}

/* ----- Layout slides (pas de full-height par défaut) ----- */
.a-propos-slide {
  position: relative;
  box-sizing: border-box;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.a-propos-slide.section-full-height .a-propos-slide-inner {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.a-propos-slide--light .aa-slide-lead {
  color: var(--aa-black);
}

/* Marges spécifiques contenu hero (typo partagée → aa-slide-* dans _slides-shared) */
.a-propos-slide-content .aa-slide-display {
  margin-bottom: 1.5rem;
}

.a-propos-slide-content .aa-slide-lead {
  max-width: 900px;
  margin-bottom: 1rem;
}

.a-propos-slide--light .a-propos-slide-content .aa-slide-lead:first-of-type {
  margin-bottom: 2rem;
}

.a-propos-slide-content .aa-slide-base {
  margin-bottom: 0.5rem;
}

/* ----- Bandeau images carousel (avant slide 2) ----- */
/* Conteneur : overflow horizontal, vue ≈ 2 images complètes + 2 bords (2,2 images). */
.a-propos-mission-banner {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-image: linear-gradient(to bottom, var(--aa-beige) 75%, var(--aa-blue) 75%);
  cursor: grab;
  /* Évite le glitch au chargement : couche de composition dès le premier paint. */
  transform: translateZ(0);
  scroll-behavior: auto;
  /* Masqué jusqu'à ce que le JS ait appliqué la position de scroll (évite tremblement entre deux X). */
}
.a-propos-mission-banner.is-initializing {
  visibility: hidden;
}
.a-propos-mission-banner::-webkit-scrollbar {
  display: none;
}

/* Piste horizontale (ajoutée par JS si absente) ou conteneur direct. */
.a-propos-mission-banner-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 5vw;
}

/* Fallback : pas de track (avant init JS), le banner affiche les items en row. */
.a-propos-mission-banner:not(:has(.a-propos-mission-banner-track)) {
  display: flex;
  flex-wrap: nowrap;
}

/* Une image = ~1/2,2 de la largeur visible pour afficher 2 complètes + 2 bords. */
.a-propos-mission-banner-item {
  flex-shrink: 0;
  width: 22.2222222222vw;
  max-width: 420px;
  min-width: 200px;
  overflow: hidden;
  aspect-ratio: 1;
}

.a-propos-mission-banner-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* ----- Layout mission (01 02 03) – typo aa-slide-* dans _slides-shared ----- */
.a-propos-slide-content .aa-slide-h2 {
  margin-bottom: 1.5rem;
}

.a-propos-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-top: 2.5rem;
}

.a-propos-mission-item {
  padding-top: 0.5rem;
}

.a-propos-mission-item-line {
  width: min(100%, 320px);
  height: 3px;
  background: var(--aa-accent);
  margin: 1rem 0 1.25rem;
}

@media (max-width: 768px) {
  .a-propos-mission-banner-item {
    min-width: 160px;
  }
  .a-propos-mission-grid {
    grid-template-columns: 1fr;
  }
}
/* ----- Layout why (lignes + lignes jaunes) ----- */
.a-propos-why-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.a-propos-why-line {
  height: 3px;
  background: var(--aa-accent);
  width: 100%;
  margin: 0;
}

.a-propos-why-row {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 3vw, 2.5rem);
}
.a-propos-why-row > div {
  display: flex;
  flex-direction: column;
}
.a-propos-why-row > div:nth-child(2) {
  padding-top: 0.75rem;
}

.a-propos-why-cta {
  margin: 0.5rem 0 0;
}

.a-propos-why-cta .aa-button--accent {
  color: var(--aa-blue-900);
}

@media (max-width: 768px) {
  .a-propos-why-row {
    grid-template-columns: 1fr;
  }
}
/* ----- Bloc formulaire (après les slides) ----- */
.a-propos-join-form-wrap {
  background-color: var(--aa-beige);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.a-propos-join-form-content {
  padding: clamp(3rem, 6vw, 5rem) calc(var(--aa-gutter) * 1.5) clamp(4rem, 8vw, 6rem);
  max-width: 800px;
}

.a-propos-join-form-title {
  font-family: var(--aa-font-heading);
  font-size: var(--aa-fs-h2);
  font-weight: 700;
  line-height: 1.2;
  color: var(--aa-blue-900);
  text-align: center;
  margin-bottom: 4vw;
}

/* ----- Formulaire (champs, fieldset, bouton) ----- */
.a-propos-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 720px;
}

.aa-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.a-propos-form .aa-form-field label {
  display: block;
  font-family: var(--aa-font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.35rem;
  color: var(--aa-blue-900);
}

.a-propos-form .aa-form-field input[type=text],
.a-propos-form .aa-form-field input[type=email],
.a-propos-form .aa-form-field input[type=tel] {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 2px solid var(--aa-blue-900);
  border-radius: 0;
  font-family: var(--aa-font-sans);
  font-size: 1rem;
  background: transparent;
}

.a-propos-form .aa-form-field input:focus {
  outline: none;
  border-bottom-color: var(--aa-blue);
}

.a-propos-form .aa-form-field .aa-form-select,
.a-propos-form .aa-form-field .aa-form-textarea {
  width: 100%;
  padding: 0.5rem 0;
  border: none;
  border-bottom: 2px solid var(--aa-blue-900);
  border-radius: 0;
  font-family: var(--aa-font-sans);
  font-size: 1rem;
  background: transparent;
}

.a-propos-form .aa-form-field .aa-form-select:focus,
.a-propos-form .aa-form-field .aa-form-textarea:focus {
  outline: none;
  border-bottom-color: var(--aa-blue);
}

.a-propos-form .aa-form-field .aa-form-textarea {
  resize: vertical;
  min-height: 100px;
}

.aa-form-field--full {
  grid-column: 1/-1;
}

.aa-form-fieldset {
  border: 2px solid var(--aa-blue-900);
  border-radius: var(--aa-radius-s);
  padding: 1.25rem;
  margin-top: 0.5rem;
}

.aa-form-fieldset legend {
  font-family: var(--aa-font-ui);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--aa-blue-900);
  padding: 0 0.5rem;
}

.aa-form-fieldset-desc {
  font-family: var(--aa-font-sans);
  font-size: 0.95rem;
  color: var(--aa-blue-900);
  margin: 0.5rem 0 1rem;
}

.aa-form-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aa-form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: var(--aa-font-sans);
  font-size: 1rem;
  color: var(--aa-blue-900);
}

.required {
  color: var(--aa-blue);
}

.aa-form-submit {
  margin-top: 0.5rem;
  margin-bottom: 0;
  text-align: center;
}

.a-propos-join-submit {
  text-transform: uppercase;
  min-height: 56px;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .a-propos-join-headline {
    grid-template-columns: 1fr;
  }
  .aa-form-row {
    grid-template-columns: 1fr;
  }
}
/**
 * Modal Rejoignez-nous (formulaire unique en popup).
 * Réutilise les classes du formulaire .aa-form, .a-propos-form depuis _page-a-propos.scss.
 */
/* Caché par défaut : n’apparaît qu’au clic sur « Rejoignez-nous » / « Nous rejoindre » */
.join-form-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--aa-gutter, 1rem);
  background: transparent;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.join-form-modal.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.join-form-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.join-form-modal__content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--aa-beige, #f5f0e8);
  border-radius: var(--aa-radius-m, 8px);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
  /* Marge --aa-gutter côté/bas ; padding-top pour éviter superposition header Chrome iPhone */
  .join-form-modal {
    padding: max(var(--aa-gutter), 56px) var(--aa-gutter) var(--aa-gutter);
  }
  .join-form-modal__content {
    padding: 1.5rem 1rem 2rem;
    max-height: 75vh;
  }
  .join-form-modal__title {
    font-size: clamp(1.25rem, 5vw, var(--aa-fs-h2));
    padding-right: 2.5rem;
  }
}
.join-form-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--aa-blue-900, #1a2744);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.join-form-modal__close:hover, .join-form-modal__close:focus {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.join-form-modal__title {
  font-family: var(--aa-font-heading);
  font-size: var(--aa-fs-h2, 1.5rem);
  font-weight: 700;
  color: var(--aa-blue-900, #1a2744);
  text-align: center;
  margin: 0 0 1.5rem;
  padding-right: 2.5rem;
}

.join-form-modal__form-wrap {
  margin-top: 0;
}

/* Messages de feedback (succès / erreur) */
.aa-form-message {
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: var(--aa-radius-s, 4px);
  font-family: var(--aa-font-sans);
  font-size: 0.95rem;
}
.aa-form-message--hidden {
  display: none;
}
.aa-form-message--success {
  background: rgba(0, 128, 0, 0.1);
  color: #0a5c0a;
  border: 1px solid rgba(0, 128, 0, 0.3);
}
.aa-form-message--error {
  background: rgba(180, 0, 0, 0.08);
  color: #8b0000;
  border: 1px solid rgba(180, 0, 0, 0.25);
}

/* ==========================================================================
   Modal Projets sains (contenu injecté au clic sur une carte)
   Même structure visuelle que .join-form-modal.
   ========================================================================== */
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--aa-gutter, 1rem);
  background: transparent;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.project-modal.is-open {
  display: flex;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.project-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.project-modal__content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--aa-beige, #f5f0e8);
  border-radius: var(--aa-radius-m, 8px);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--aa-blue-900, #1a2744);
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.project-modal__close:hover, .project-modal__close:focus {
  background: rgba(0, 0, 0, 0.06);
  outline: none;
}

.project-modal__title {
  font-family: var(--aa-font-heading);
  font-size: var(--aa-fs-h2, 1.5rem);
  font-weight: 700;
  color: var(--aa-blue-900, #1a2744);
  text-align: center;
  margin: 0 0 1rem;
  padding-right: 2.5rem;
}

.project-modal__body {
  font-family: var(--aa-font-sans);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--aa-blue-900, #1a2744);
  margin-bottom: 1.5rem;
}
.project-modal__body p {
  margin: 0 0 0.75rem;
}
.project-modal__body p:last-child {
  margin-bottom: 0;
}

.project-modal__link-wrap {
  margin: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .project-modal {
    padding: max(var(--aa-gutter), 56px) var(--aa-gutter) var(--aa-gutter);
  }
  .project-modal__content {
    padding: 1.5rem 1rem 2rem;
    max-height: 75vh;
  }
  .project-modal__title {
    font-size: clamp(1.25rem, 5vw, var(--aa-fs-h2));
    padding-right: 2.5rem;
  }
}
/**
 * Global responsive overrides (cross-section breakpoints).
 * Burger menu < 1024px → _layout-header.scss.
 * Section-specific MQ stay in their partial (e.g. _page-home, _layout-header).
 */
@media (max-width: 1024px) {
  .site-logo {
    width: 160px;
  }
  .section-hero {
    padding-top: 10vh;
    padding-bottom: 5vh;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-display {
    margin-top: 0;
  }
  .section-steps {
    background-image: linear-gradient(180deg, var(--aa-blue-royal) 0%, var(--aa-blue-royal) 70%, var(--aa-beige) 100%);
  }
  .steps-list {
    grid-template-columns: 1fr;
  }
  .step-description {
    display: block;
  }
  .step-toggle {
    display: none;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-join {
    background-color: var(--aa-white);
    grid-template-columns: 1fr;
  }
  .join-images {
    min-height: 400px;
  }
  .join-content {
    padding-bottom: calc(var(--aa-header-height));
  }
  .join-social {
    justify-content: center;
  }
  .manifesto-dots {
    display: none;
  }
  .manifesto-arrow-down {
    display: none;
  }
  .manifesto-slide {
    min-height: auto;
    height: auto;
    padding-top: 10vh !important;
    padding-bottom: var(--aa-header-height);
    padding-left: 0;
    padding-right: 0;
  }
  #manifesto-section-1 {
    height: auto;
  }
  .manifesto-slide.manifesto-split .manifesto-slide-content > div:first-child {
    padding: 0 0 2.5rem 0;
  }
  #a-propos-section-2 {
    background-image: linear-gradient(180deg, var(--aa-blue) 0%, var(--aa-blue) 90%, var(--aa-blue-royal) 100%);
    padding-bottom: 2.5rem;
  }
  #a-propos-section-3 {
    background: var(--aa-blue-royal);
    padding-top: 2.5rem;
  }
  .a-propos-slide {
    padding-top: 10vh;
  }
  .a-propos-why-row {
    gap: 0;
  }
}
@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .section-hero,
  .section-steps,
  .section-testimonials,
  .section-partners {
    padding-left: 0;
    padding-right: 0;
  }
  .site-header {
    padding: 0;
  }
  .section-steps,
  .section-testimonials,
  .section-partners {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}