/* =========================================================
   FORCE V — styles.css (CLEAN)
   - Montserrat partout
   - Header sticky + burger + dropdown mobile (large)
   - Boutons fiables (nav CTA inclus)
   - Sections alternées (fonds doux)
   - Programme timeline
   - Rejoindre : 4 blocs en grille
   - Investir : numérotation 01→05 continue
   ========================================================= */

/* -------------------------
   Variables (charte)
-------------------------- */
:root{
  --ink:#1c2230;
  --ink-soft:#4f596c;
  --muted:#6b7280;

  --bg:#ffffff;
  --bg-soft:#f6f7fb;
  --line:#e7e9ef;

  --primary:#5b4bc7;        /* violet Force V */
  --primary-dark:#4338ca;

  --radius:14px;
  --container:1100px;

  --shadow-soft:0 6px 18px rgba(28,34,48,0.06);
  --shadow:0 16px 40px rgba(28,34,48,0.10);

  --font:"Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* -------------------------
   Reset / Base
-------------------------- */
*,
*::before,
*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:var(--font);
  color:var(--ink);
  line-height:1.65;

  /* Fond global très léger (évite le “tout blanc”) */
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(91,75,199,0.06), transparent 60%),
    radial-gradient(760px 460px at 95% 6%, rgba(120,160,255,0.05), transparent 62%),
    #ffffff;

  /* Compense le header sticky */
  padding-top:72px;
}

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

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

button, input, textarea, select{ font-family:var(--font); }

:focus-visible{
  outline:3px solid rgba(91,75,199,0.35);
  outline-offset:3px;
  border-radius:10px;
}

/* -------------------------
   Layout utilitaires
-------------------------- */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.page{ padding:0; }

.section{
  padding:80px 0;
  position:relative;
  overflow:hidden;
}

.section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
}

.section > .container{
  position:relative;
  z-index:1;
}

/* -------------------------
   Typographie
-------------------------- */
h1,h2,h3{
  color:var(--ink);
  letter-spacing:-0.3px;
}

h1{
  font-size:42px;
  font-weight:800;
  line-height:1.15;
  margin:0 0 16px;
}

h2{
  font-size:26px;
  font-weight:700;
  margin:0 0 12px;
}

h3{
  font-size:18px;
  font-weight:700;
  margin:0 0 8px;
}

p{
  margin:0 0 14px;
  color:var(--ink-soft);
}

.lead{
  font-size:18px;
  max-width:780px;
  color:var(--ink);
}

.small{
  font-size:13px;
  color:var(--muted);
}

/* -------------------------
   Header / Navigation (STICKY)
-------------------------- */
.site-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:#fff;
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
  flex-wrap:nowrap; /* évite les retours / “Force / V” en colonne */
}

.brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  white-space:nowrap;
}

.brand-logo{
  height:34px;
  width:auto;
}

/* Navigation desktop */
.nav{
  display:flex;
  align-items:center;
  gap:20px;
  flex:0 0 auto;
}

.nav a:not(.btn){
  font-size:14px;
  font-weight:600;
  color:var(--muted);
  padding:8px 6px;
  border-radius:8px;
}

.nav a:not(.btn):hover{
  color:var(--ink);
  background:var(--bg-soft);
}

/* Lien actif */
.nav a[aria-current="page"]:not(.btn){
  color: var(--ink);
  background: rgba(91,75,199,0.08);
  position: relative;
}

.nav a[aria-current="page"]:not(.btn)::after{
  content:"";
  position:absolute;
  left:10px;
  right:10px;
  bottom:4px;
  height:2px;
  border-radius:999px;
  background: rgba(91,75,199,0.55);
}

/* -------------------------
   Boutons
-------------------------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 18px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .15s ease;
  line-height:1;
}

.btn-primary{
  background:var(--primary);
  color:#fff !important;
  box-shadow:var(--shadow-soft);
}

.btn-primary:hover{
  background:var(--primary-dark);
  box-shadow:var(--shadow);
}

.btn-secondary{
  background:#fff;
  border:1px solid var(--line);
  color:var(--ink);
}

.btn-secondary:hover{
  background:var(--bg-soft);
}

/* CTA : espacement propre sur desktop & mobile */
.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

/* -------------------------
   Cards / grilles
-------------------------- */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.cards-2{ grid-template-columns:repeat(2,1fr); }
.cards-3{ grid-template-columns:repeat(3,1fr); }
.cards-4{ grid-template-columns:repeat(4,1fr); }

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:22px;
}

/* -------------------------
   Bandeau haut de page
-------------------------- */
.page-hero{
  position:relative;
  min-height:240px;
  background-size:cover;
  background-position:center;
}

.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to right,
    rgba(28,34,48,0.75),
    rgba(28,34,48,0.30)
  );
}

.page-hero-inner{
  position:relative;
  z-index:1;
  padding:60px 0;
  color:#fff;
}

.page-hero h1{
  color:#fff;
  font-size:44px;
}

.page-hero-subtitle{
  font-size:18px;
  max-width:720px;
  color:rgba(255,255,255,0.95);
}

/* -------------------------
   Alternance de fonds (sections)
-------------------------- */
.section-hero::before{
  background:
    radial-gradient(900px 520px at 16% 12%, rgba(91,75,199,0.12), transparent 62%),
    radial-gradient(760px 460px at 86% 22%, rgba(120,160,255,0.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.section-tint::before{
  background:
    radial-gradient(920px 520px at 18% 18%, rgba(91,75,199,0.09), transparent 62%),
    radial-gradient(760px 460px at 84% 35%, rgba(120,160,255,0.06), transparent 62%),
    linear-gradient(180deg, rgba(246,247,251,0.95) 0%, rgba(255,255,255,0.98) 100%);
}

.section-white::before{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(246,247,251,0.70) 100%);
}

.section-gradient::before{
  background:
    radial-gradient(980px 540px at 14% 30%, rgba(91,75,199,0.10), transparent 62%),
    radial-gradient(820px 480px at 88% 18%, rgba(120,160,255,0.08), transparent 62%),
    linear-gradient(180deg, rgba(246,247,251,0.92) 0%, rgba(255,255,255,0.98) 100%);
}

/* CTA final (fond fort) */
.section-cta{
  color:#f2f0f7;
  position:relative;
  padding-bottom:56px;
}

.section-cta::before{
  background:
    radial-gradient(900px 520px at 20% 25%, rgba(200,180,255,0.18), transparent 62%),
    radial-gradient(760px 460px at 88% 30%, rgba(120,160,255,0.14), transparent 62%),
    linear-gradient(180deg, #12091f 0%, #0c0616 100%);
}

.section-cta h2,
.section-cta h3,
.section-cta p{ color:#f2f0f7; }

.section-cta .lead{ color: rgba(242,240,247,0.92); }

.section-cta::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:rgba(255,255,255,0.22);
}

.section-tint .card,
.section-gradient .card{
  box-shadow: 0 16px 40px rgba(28,34,48,0.08);
}

/* -------------------------
   Cards — bandeau dégradé à gauche (stripe)
-------------------------- */
.cards-stripe .card{
  position:relative;
  overflow:hidden;
  padding-left:28px;
}

.cards-stripe .card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:10px;
  background:linear-gradient(180deg,
    rgba(91,75,199,0.95) 0%,
    rgba(120,160,255,0.85) 55%,
    rgba(200,180,255,0.85) 100%
  );
  opacity:.9;
}

/* -------------------------
   HOME — micro-animations
-------------------------- */
.cards-animate .card{
  position:relative;
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change:transform;
}

.cards-animate .card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(120deg,
    rgba(91,75,199,0.00) 0%,
    rgba(91,75,199,0.10) 45%,
    rgba(91,75,199,0.18) 100%
  );
  transform:translateX(-110%);
  transition:transform .38s ease;
  z-index:0;
}

.cards-animate .card > *{
  position:relative;
  z-index:1;
}

.cards-animate .card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow);
  border-color:rgba(91,75,199,0.22);
}

.cards-animate .card:hover::after{
  transform:translateX(0);
}

/* =========================================================
   NAV MOBILE — burger + dropdown LARGE (fiable)
   - Le JS ajoute/retire .is-open sur .site-header
   ========================================================= */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 auto;
}

.nav-toggle .burger{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:6px;
  width:18px;
}

.nav-toggle .burger span{
  display:block;
  width:100%;
  height:2px;
  background:var(--ink);
  border-radius:999px;
  transition:transform .18s ease, opacity .18s ease;
  transform-origin:center;
}

/* Animation burger -> X quand ouvert */
.site-header.is-open .nav-toggle .burger span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}
.site-header.is-open .nav-toggle .burger span:nth-child(2){
  opacity:0;
}
.site-header.is-open .nav-toggle .burger span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* =========================================================
   Pages éditoriales — rythme vertical resserré
   (utile hors Home)
========================================================= */
.page h2{
  margin-top:48px;
  margin-bottom:16px;
}
.page h2:first-child{ margin-top:0; }

.page p{ margin-bottom:12px; }
.page p + p{ margin-top:0; }

.page ul{ margin:12px 0 0; padding-left:18px; }
.page li{ margin-bottom:6px; }

.page .cards{ margin-top:28px; margin-bottom:32px; }
.page .cta{ margin-top:24px; }

.page .section{ padding:44px 0; }
.page .section + .section{ padding-top:22px; }
.page .section .cards{ margin-bottom:14px; }
.page .section:first-child{ padding-top:40px; }
.page .section:last-child{ padding-bottom:40px; }

/* =========================================================
   ACTUS — air autour de la card principale
========================================================= */
.page-actus .page{ padding: 0 20px; }

.page-actus .card{
  margin: 26px auto;
  max-width: var(--container);
}

/* =========================================================
   PROGRAMME — Timeline annuelle
   (structure attendue :
    <section class="programme-annual">
      <div class="timeline">
        <div class="timeline-item timeline-highlight?">
          <div class="timeline-badge">1</div>
          <div class="timeline-card">...</div>
        </div>
      </div>
    </section>
========================================================= */
.programme-annual .timeline{
  margin-top: 28px;
  position: relative;
  display: grid;
  gap: 18px;
}

.programme-annual .timeline::before{
  content:"";
  position:absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(91,75,199,0.20);
  border-radius: 999px;
}

.programme-annual .timeline-item{
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  align-items: start;
}

.programme-annual .timeline-badge{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 22px rgba(28,34,48,0.12);
  position: relative;
  z-index: 1;
}

.programme-annual .timeline-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.programme-annual .timeline-card h3{ margin:0 0 8px; }
.programme-annual .timeline-card p{ margin:0 0 12px; }

/* Tags */
.programme-annual .tag{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  color:var(--ink);
  background: rgba(91,75,199,0.08);
  border:1px solid rgba(91,75,199,0.18);
}

.programme-annual .tag-visio{
  background: rgba(120,160,255,0.12);
  border-color: rgba(120,160,255,0.22);
}

.programme-annual .tag-pres{
  background: rgba(200,180,255,0.14);
  border-color: rgba(200,180,255,0.30);
}

/* Highlight */
.programme-annual .timeline-highlight .timeline-badge{
  background: linear-gradient(180deg, rgba(91,75,199,1) 0%, rgba(120,160,255,0.95) 100%);
}
.programme-annual .timeline-highlight .timeline-card{
  border-color: rgba(91,75,199,0.22);
  box-shadow: 0 18px 44px rgba(28,34,48,0.12);
}

/* =========================================================
   REJOINDRE — 4 blocs “Ce que permet l’adhésion”
   - recommandé : wrapper .benefits + items .benefit
========================================================= */
.page-rejoindre .benefits{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:16px;
}

.page-rejoindre .benefit{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px 18px 16px;
  box-shadow: var(--shadow-soft);
  position:relative;
  overflow:hidden;
}

.page-rejoindre .benefit h3{ margin:0 0 8px; }
.page-rejoindre .benefit p{ margin:0; }

/* léger effet au hover */
.page-rejoindre .benefit::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg,
    rgba(91,75,199,0.00) 0%,
    rgba(91,75,199,0.10) 45%,
    rgba(91,75,199,0.18) 100%
  );
  transform: translateX(-110%);
  transition: transform .38s ease;
  z-index:0;
}
.page-rejoindre .benefit > *{ position:relative; z-index:1; }
.page-rejoindre .benefit:hover::after{ transform: translateX(0); }

/* =========================================================
   INVESTIR — Numérotation 01 → 05 (continue)
   - Appliquer la classe .invest-cards sur les groupes de cards
========================================================= */
.page-investir{ counter-reset: invest; }

.page-investir .invest-cards .card h3{
  position: relative;
  padding-top: 10px;
  z-index: 1;
}

.page-investir .invest-cards .card h3::before{
  counter-increment: invest;
  content: "0" counter(invest);
  position: absolute;
  left: -6px;
  top: -28px;
  font-weight: 800;
  font-size: 96px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: rgba(120,160,255,0.16);
  z-index: 0;
  pointer-events: none;
}

/* sécurité : si une ancienne règle mettait du contenu sur .card::before */
.page-investir .invest-cards .card::before{ content:none !important; }

/* =========================================================
   Footer (négatif violet profond + nav capsules)
========================================================= */
.site-footer{
  background: linear-gradient(180deg, #12091f 0%, #0c0616 100%);
  color:#f2f0f7;
  padding-top:48px;
  margin-top:0;
  border-top:1px solid rgba(200, 180, 255, 0.12);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:32px;
  padding-bottom:32px;
}

.footer-left{ max-width:420px; }

.footer-brand{
  font-size:1.25rem;
  font-weight:800;
  letter-spacing:0.04em;
  margin-bottom:6px;
  color:#ffffff;
}

.footer-tagline{
  font-size:0.95rem;
  color:#cbbfe6;
  line-height:1.4;
}

.footer-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
}

.footer-nav a{
  font-size:0.9rem;
  font-weight:600;
  color:#e9e4f5;
  padding:7px 11px;
  border-radius:999px;
  background: rgba(200, 180, 255, 0.10);
  border: 1px solid rgba(200, 180, 255, 0.22);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.footer-nav a:hover{
  background: rgba(200, 180, 255, 0.18);
  border-color: rgba(200, 180, 255, 0.38);
  color:#ffffff;
}

/* =========================================================
   Responsive global + NAV MOBILE dropdown
========================================================= */
@media (max-width:900px){

  body{ padding-top:64px; }

  /* header */
  .brand-logo{
    height:30px;
    max-width:140px; /* évite le “Force / V” */
  }

  .nav-toggle{ display:inline-flex; }

  /* On cache la nav desktop */
  .site-header .nav{
    display:none;
  }

  /* Dropdown mobile (large, lisible) */
  .site-header .header-inner{
    position:relative; /* ancre le dropdown */
  }

  .site-header.is-open .nav{
    display:flex;
    position:absolute;
    left:16px;
    right:16px;
    top: calc(100% + 10px);
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:14px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
    z-index:1001;

    max-height: calc(100vh - 110px);
    overflow:auto;
  }

  .site-header.is-open .nav a:not(.btn){
    padding:12px 12px;
    border-radius:12px;
    background:var(--bg-soft);
    color:var(--ink);
    font-weight:700;
    width:100%;
  }

  /* CTA pleine largeur */
  .site-header.is-open .nav .nav-cta{
    width:100%;
    justify-content:center;
    padding:12px 14px;
    border-radius:14px;
  }

  /* actif sur mobile */
  .nav a[aria-current="page"]:not(.btn){
    background: rgba(91,75,199,0.12);
  }
  .nav a[aria-current="page"]:not(.btn)::after{
    left:14px;
    right:14px;
    bottom:8px;
  }

  /* grilles */
  .cards,
  .cards-2,
  .cards-3,
  .cards-4{
    grid-template-columns:1fr;
  }

  /* page hero */
  .page-hero h1{ font-size:30px; }
  .page-hero-inner{
    padding-left:20px;
    padding-right:20px;
  }

  /* CTA : évite les boutons collés */
  .cta{ gap:10px; }
  .cta .btn{ width:100%; justify-content:center; }

  /* programme */
  .programme-annual .timeline::before{ left:16px; }
  .programme-annual .timeline-item{
    grid-template-columns: 40px 1fr;
    gap:14px;
  }
  .programme-annual .timeline-badge{
    width:32px;
    height:32px;
  }

  /* rejoindre */
  .page-rejoindre .benefits{
    grid-template-columns:1fr;
  }
}

/* Header nav — supprimer le trait sous le lien actif */
.nav a[aria-current="page"]:not(.btn)::after{
  content:none !important;
}

/* =========================================================
   HOME — FIX WAVE + SPACING
   Objectif :
   - wave collée à la jonction entre deux sections
   - pas de grand vide entre les blocs
   S’applique à : <section class="section section-white section-sep">
   ========================================================= */

/* 1) On réduit l’espace vertical autour de la jonction */
.section-tint + .section-sep{
  padding-top: 56px; /* au lieu de 80 */
}
.section-tint:has(+ .section-sep){
  padding-bottom: 56px; /* au lieu de 80 */
}

/* Fallback si :has() n’est pas supporté (certains navigateurs) :
   Dans ce cas, on réduit seulement la section suivante. */
@supports not selector(:has(+ *)){
  .section.section-sep{
    padding-top: 56px;
  }
}

/* 2) Wave : collée au bord haut de la section suivante */
.section.section-sep{
  overflow: visible; /* la wave doit pouvoir dépasser */
}

.section.section-sep::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;                 /* on l’ancre au bord haut */
  height:64px;
  transform: translateY(-100%); /* elle sort au-dessus, à la jonction */

  pointer-events:none;
  z-index:2;

  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center;

  /* Teinte lavande très douce (cohérente avec tes fonds) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23f6f7fb' d='M0,80L60,74.7C120,69,240,59,360,58.7C480,59,600,69,720,74.7C840,80,960,80,1080,69.3C1200,59,1320,37,1380,26.7L1440,16L1440,120L0,120Z'/%3E%3C/svg%3E");
}

/* Ombre ultra légère (sinon tu vois un “bloc” artificiel) */
.section.section-sep::after{
  filter: drop-shadow(0 8px 14px rgba(28,34,48,0.05));
}

/* Mobile */
@media (max-width:900px){
  .section.section-sep::after{
    height:44px;
  }
}

/* =========================================================
   REJOINDRE — remise en forme ciblée (Bloc 1 + grids + CTA)
   À coller TOUT EN BAS du styles.css
   ========================================================= */

/* 0) NAV : enlever le trait sous l’item actif */
.site-header .nav a[aria-current="page"]:not(.btn)::after{
  content:none !important;
}

/* 1) Bloc 1 : card-feature (titre/texte à gauche, chips à droite) */
.page-rejoindre .card-feature{
  display:grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

/* Le corps */
.page-rejoindre .card-feature-body h2{
  margin: 0 0 10px;
}

/* Sidebar chips */
.page-rejoindre .card-feature-aside{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-content: flex-start;
}

/* Chips : tu les utilises ici en <div class="chip"> */
.page-rejoindre .chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  background: rgba(91,75,199,0.08);
  border: 1px solid rgba(91,75,199,0.18);
  white-space: nowrap;
}

/* Mobile : chips sous le texte */
@media (max-width: 900px){
  .page-rejoindre .card-feature{
    grid-template-columns: 1fr;
  }
  .page-rejoindre .card-feature-aside{
    justify-content: flex-start;
  }
}

/* 2) Bloc 2 : rejoindre-grid (3 cartes) */
.page-rejoindre .rejoindre-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px){
  .page-rejoindre .rejoindre-grid{
    grid-template-columns: 1fr;
  }
}

/* 3) Bloc 3 : benefits (2x2) — sécurité si ça saute à nouveau */
.page-rejoindre .benefits{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.page-rejoindre .benefit{
  background:#fff;
  border:1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.page-rejoindre .benefit h3{ margin: 0 0 8px; }
.page-rejoindre .benefit p{ margin: 0; }

@media (max-width: 900px){
  .page-rejoindre .benefits{
    grid-template-columns: 1fr;
  }
}

/* 4) Bloc 4 : CTA — éviter les boutons collés (surtout mobile) */
.page-rejoindre .cta-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 900px){
  .page-rejoindre .cta-actions .btn{
    width: 100%;
    justify-content: center;
  }
}

/* 5) Optionnel : si tu veux un rendu “premium” sur les blocs white */
.page-rejoindre .section-white .card{
  box-shadow: var(--shadow-soft);
}
/* =========================================================
   HOME — HERO GRID + BLOC "TEMPS DE RENCONTRE"
   Objectif :
   - garder une vraie colonne droite sur desktop (hero-copy / hero-media)
   - permettre un encart (form / agenda) AU-DESSUS du visuel à droite
   Markup attendu (index.html) :
     <div class="container hero-grid">
       <div class="hero-copy">...</div>
       <div class="hero-media">
         <div class="hero-events card">...</div>   (optionnel)
         <div class="hero-visual card">...</div>
       </div>
     </div>
========================================================= */

/* Grille hero (desktop) */
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:28px;
  align-items:start;
}

/* Colonne gauche */
.hero-copy .muted{ color: var(--muted); }

/* CTA row (home) — si présent dans le HTML */
.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:18px;
}

/* Colonne droite : encart + visuel */
.hero-media{
  display:grid;
  gap:16px;
  align-content:start;
}

/* Visuel (image) */
.hero-visual{
  padding:0;               /* la card ne rajoute pas une “double marge” autour de l’image */
  overflow:hidden;
  border-radius: var(--radius);
}

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

/* Encart “Temps de rencontre” (dans la colonne droite) */
.hero-events{
  border-color: rgba(91,75,199,0.18);
  background:
    radial-gradient(520px 220px at 18% 10%, rgba(91,75,199,0.10), transparent 55%),
    linear-gradient(180deg, rgba(246,247,251,0.92) 0%, rgba(255,255,255,0.98) 100%);
  box-shadow: var(--shadow-soft);
  padding:18px;
}

.hero-events h3{
  margin:0 0 10px;
  font-size:18px;
}

.hero-events p{
  margin:0 0 10px;
  color: var(--ink-soft);
}

.hero-events ul{
  margin: 8px 0 10px;
  padding-left:18px;
  color: var(--ink);
}

.hero-events li{
  margin: 0 0 6px;
}

/* Lien/CTA interne de l’encart (si tu utilises un <a> simple) */
.hero-events .hero-events-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color: var(--primary);
  margin-top:4px;
}

.hero-events .hero-events-link:hover{
  text-decoration: underline;
}

/* Responsive : passage en 1 colonne (garde le visuel + encart sous le texte) */
@media (max-width:900px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-media{
    margin-top: 18px;
  }
  .hero-events{
    padding:16px;
  }
}
/* Image sous le hero, à la largeur du container (comme avant) */
.section-hero .hero-image-wrap{
  margin-top: 18px; /* ajuste si besoin */
}

.section-hero .hero-image-wrap .hero-visual{
  padding: 0;
  overflow: hidden;
}

.section-hero .hero-image-wrap .hero-img{
  width: 100%;
  height: auto;
  display: block;
}
/* =========================================================
   LOGOS — organisations en lien avec la dynamique Force V.
   ========================================================= */

/* wrapper global */
.logos-wrapper{
  margin-top: 32px;
}

/* groupes */
.logo-group{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* espace entre les 2 lignes */
.logo-group + .logo-group{
  margin-top: 16px;
}

/* tailles différenciées */
.logo-group-primary .logo-item img{
  max-height: 55px !important;
}

.logo-group-secondary .logo-item img{
  max-height: 140px !important;
  padding: 14px 20px;
  transform: scale(1.2);
}

/* carte */
.logo-item{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-width: 140px;
}

/* image */
.logo-item img{
  width: auto !important;
  height: auto !important;
  max-width: 160px;
  object-fit: contain;

  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

/* hover */
.logo-item:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* =========================================================
   V2 2027 : orangé d'appui, pages sans bandeau, cartes
   retournables, CTA éclairci, styles manquants
   ========================================================= */
:root{
  --accent:#F6B98A;                       /* orangé clair d'appui */
  --accent-soft:rgba(246,185,138,0.18);
  --accent-line:rgba(246,185,138,0.55);
  --accent-ink:#9A4E1C;                   /* version foncée, lisible sur blanc */
  --cta-1:#2b1c4f;                        /* CTA : plus clair que le footer */
  --cta-2:#21153f;
}

/* ---------- Surtitre ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--primary);
}
.eyebrow::before{
  content:"";
  width:28px;
  height:3px;
  border-radius:3px;
  background:var(--accent);
}

/* ---------- Titres de section : filet orangé ---------- */
main .section:not(.section-cta) > .container > h2::after,
.page-head h1::after{
  content:"";
  display:block;
  width:44px;
  height:4px;
  border-radius:4px;
  background:var(--accent);
  margin-top:12px;
}

/* ---------- En-tête de page (remplace le bandeau violet) ---------- */
.page-head{ padding-top:56px !important; }
.page-head h1{ font-size:40px; margin-bottom:18px; }
.page-head .lead{ max-width:820px; }

/* ---------- Cartes à bandeau : dégradé violet vers orangé ---------- */
.cards-stripe .card::before{
  background:linear-gradient(180deg,
    rgba(91,75,199,0.95) 0%,
    rgba(200,180,255,0.85) 55%,
    var(--accent) 100%
  );
}

/* ---------- Programme : pastilles et étiquettes ---------- */
.programme-annual .timeline-badge{
  background:var(--accent);
  color:var(--ink);
}
.programme-annual .timeline-highlight .timeline-badge{
  background:linear-gradient(180deg, var(--primary) 0%, #7a6be0 100%);
  color:#fff;
  box-shadow:0 0 0 4px var(--accent-soft), 0 10px 22px rgba(28,34,48,0.12);
}
.programme-annual .tag{
  background:var(--accent-soft);
  border-color:var(--accent-line);
}

/* ---------- CTA : fond un peu plus clair que le footer ---------- */
.section-cta::before{
  background:
    radial-gradient(900px 520px at 20% 25%, rgba(200,180,255,0.20), transparent 62%),
    radial-gradient(760px 460px at 88% 30%, rgba(246,185,138,0.12), transparent 62%),
    linear-gradient(180deg, var(--cta-1) 0%, var(--cta-2) 100%);
}
.section-cta::after{ background:rgba(246,185,138,0.35); }
.section-cta .btn-primary{
  background:var(--accent);
  color:var(--ink) !important;
}
.section-cta .btn-primary:hover{ background:#f3a873; }
.section-cta .btn-secondary,
.btn-cta-link{
  background:transparent;
  color:#f2f0f7;
  border:1px solid rgba(242,240,247,0.40);
}
.section-cta .btn-secondary:hover,
.btn-cta-link:hover{
  background:rgba(255,255,255,0.06);
  border-color:var(--accent);
}
.section-cta .small{ color:rgba(242,240,247,0.80); }

/* CTA final (accueil) */
.cta-final{
  display:grid;
  grid-template-columns:1.3fr 0.7fr;
  gap:28px;
  align-items:center;
}
.cta-final-actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:12px;
}
.cta-final-actions .small{ margin:4px 0 0; }

/* CTA scindé (programme, rejoindre) : styles qui manquaient */
.cta-split-inner{
  display:grid;
  grid-template-columns:1.35fr 0.65fr;
  gap:32px;
  align-items:stretch;
}
.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.cta-note{ margin-top:14px; }
.cta-split-media{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:240px;
}
.cta-split-media-img{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
}
.cta-split-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, var(--cta-1) 0%, rgba(43,28,79,0.25) 45%, rgba(43,28,79,0) 100%);
}

/* ---------- Bloc texte + visuel ---------- */
.split{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:36px;
  align-items:center;
}
.media-card{
  padding:0;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.media-card img{
  width:100%;
  height:100%;
  min-height:300px;
  object-fit:cover;
}

/* ---------- Accueil : intro ---------- */
.intro-text{ max-width:860px; }
.intro-text p{ font-size:17px; }
.intro-text p:first-of-type{ color:var(--ink); }

/* Deux colonnes « Ce qui vous amène » / « Ce que vous y gagnez » */
.duo{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  margin-top:32px;
}
.duo-col{
  border-radius:var(--radius);
  padding:26px 26px 22px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-soft);
}
.duo-col h2{
  font-size:20px;
  margin:0 0 18px;
  display:flex;
  align-items:center;
  gap:12px;
}
.duo-col h2::after{ content:none !important; }
.duo-icon{
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:17px;
  font-weight:800;
}
.duo-signals{ border-top:5px solid var(--accent); }
.duo-signals .duo-icon{ background:var(--accent-soft); color:var(--accent-ink); }
.duo-gains{ border-top:5px solid var(--primary); }
.duo-gains .duo-icon{ background:rgba(91,75,199,0.10); color:var(--primary); }
.duo-list{
  list-style:none;
  margin:0 !important;
  padding:0 !important;
  display:grid;
  gap:14px;
}
.duo-list li{
  position:relative;
  padding-left:26px;
  margin:0 !important;
  color:var(--ink-soft);
  line-height:1.5;
}
.duo-list li strong{ display:block; color:var(--ink); }
.duo-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:6px;
  width:12px;
  height:12px;
  border-radius:50%;
}
.duo-signals .duo-list li::before{ background:var(--accent); }
.duo-gains .duo-list li::before{
  background:var(--primary);
  box-shadow:0 0 0 3px rgba(91,75,199,0.15);
}

/* ---------- Cartes retournables ---------- */
.flip-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:28px;
}
.flip-card{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  background:none;
  font:inherit;
  color:inherit;
  text-align:left;
  cursor:pointer;
  perspective:1400px;
  border-radius:var(--radius);
  display:block;
  width:100%;
}
.flip-card:focus-visible{
  outline:3px solid var(--accent);
  outline-offset:4px;
}
.flip-inner{
  display:grid;
  min-height:290px;
  height:100%;
  transition:transform .6s cubic-bezier(.2,.7,.2,1);
  transform-style:preserve-3d;
}
.flip-face{
  grid-area:1 / 1;
  display:flex;
  flex-direction:column;
  border-radius:var(--radius);
  padding:26px 24px 22px;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
.flip-front{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(420px 220px at 90% 0%, rgba(246,185,138,0.28), transparent 60%),
    linear-gradient(155deg, #5b4bc7 0%, #3a2b8f 100%);
  box-shadow:0 16px 40px rgba(28,34,48,0.14);
}
.flip-front::before{
  content:"";
  position:absolute;
  left:0; right:0; top:0;
  height:5px;
  background:var(--accent);
}
.flip-num{
  font-size:44px;
  font-weight:800;
  line-height:1;
  color:var(--accent);
  margin-bottom:18px;
}
.flip-title{
  font-size:20px;
  font-weight:700;
  line-height:1.35;
  color:#fff;
}
.flip-hint{
  margin-top:auto;
  padding-top:18px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:700;
  color:rgba(255,255,255,0.85);
}
.flip-hint::after{ content:"↻"; color:var(--accent); font-size:16px; }
.flip-back{
  background:#fff;
  border:1px solid var(--line);
  border-top:5px solid var(--accent);
  box-shadow:0 16px 40px rgba(28,34,48,0.10);
  transform:rotateY(180deg);
}
.flip-back-title{
  font-size:16px;
  font-weight:700;
  color:var(--primary);
  margin-bottom:10px;
  line-height:1.35;
}
.flip-text{
  font-size:15px;
  line-height:1.6;
  color:var(--ink-soft);
}
@media (hover:hover){
  .flip-card:hover .flip-inner{ transform:rotateY(180deg); }
}
.flip-card:focus-visible .flip-inner,
.flip-card.is-flipped .flip-inner{ transform:rotateY(180deg); }
@media (prefers-reduced-motion:reduce){
  .flip-inner{ transition:none; }
}

/* ---------- Programme : année pilote / 2027 ---------- */
.pilot{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  margin-top:28px;
}
.pilot-col{
  border-radius:var(--radius);
  padding:22px 24px;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
}
.pilot-col.is-next{
  border:1px dashed var(--accent-line);
  background:linear-gradient(180deg, #fff 0%, rgba(246,185,138,0.08) 100%);
}
.pilot-year{
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--primary);
  margin:0 0 4px;
}
.pilot-col.is-next .pilot-year{ color:var(--accent-ink); }
.pilot-col h3{ margin:0 0 14px; }
.chips{ display:flex; flex-wrap:wrap; gap:10px; }
.chip-pill{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
  background:rgba(91,75,199,0.08);
  border:1px solid rgba(91,75,199,0.20);
}
.is-next .chip-pill{
  background:var(--accent-soft);
  border-color:var(--accent-line);
}
.pilot-note{ margin:12px 0 0 !important; font-size:13px; color:var(--muted); }

/* ---------- Pied de page ---------- */
.footer-mail{
  display:inline-block;
  margin-top:12px;
  font-size:0.9rem;
  font-weight:600;
  color:var(--accent);
}
.footer-mail:hover{ text-decoration:underline; }
.footer-bottom{
  border-top:1px solid rgba(200,180,255,0.12);
  padding:16px 20px 22px;
  font-size:13px;
  color:#a99cc9;
}

/* ---------- Responsive V2 ---------- */
@media (max-width:900px){
  .page-head{ padding-top:36px !important; }
  .page-head h1{ font-size:30px; }
  .duo,
  .flip-grid,
  .pilot,
  .split,
  .cta-final,
  .cta-split-inner{ grid-template-columns:1fr; }
  .flip-inner{ min-height:230px; }
  .media-card img{ min-height:200px; }
  .cta-split-media{ min-height:180px; }
  .cta-final-actions .btn{ width:100%; }
}
.page .section.section-cta{ padding-top:56px; padding-bottom:56px; }
@media (max-width:900px){ .section-hero h1{ font-size:32px; } }

/* ---------- Ajustements V2 (27/10, 2e passe) ---------- */
.duo-sub{ margin:-6px 0 16px !important; font-weight:600; color:var(--ink); }
.duo-list{ counter-reset:duo; }
.duo-list li{ counter-increment:duo; padding-left:38px; }
.duo-list li::before{
  content:counter(duo);
  top:0;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:800;
  line-height:1;
}
.duo-signals .duo-list li::before{ background:var(--accent); color:var(--ink); }
.duo-gains .duo-list li::before{ background:var(--primary); color:#fff; }
.flip-text strong{ color:var(--ink); font-weight:700; }
.split-copy .lead strong{ font-weight:700; color:var(--ink); }
/* Investir : numéros des cartes en orangé */
.page-investir .invest-cards .card h3::before{ color:rgba(246,185,138,0.55); }
.page-investir .invest-cards .card{ border-top:4px solid var(--accent); }
.duo-list li{ min-height:26px; padding-top:2px; }
.duo-list li strong{ font-weight:600; }
.page-investir .invest-cards .card h3{ padding-top:0; }
.page-investir .invest-cards .card h3::before{
  position:static;
  display:block;
  font-size:40px;
  line-height:1;
  letter-spacing:-0.02em;
  margin:0 0 12px;
  color:var(--accent);
}

/* =========================================================
   V3 accueil : ouverture photo + bloc « flow » adouci
   ========================================================= */
.hero-photo{
  position:relative;
  min-height:clamp(440px, 46vw, 620px);
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-photo-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:20% 55%;
}
.hero-photo-veil{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,252,248,0.72) 55%, rgba(255,252,248,0.92) 75%),
    linear-gradient(180deg, rgba(255,255,255,0) 70%, #ffffff 100%);
}
.hero-photo-inner{
  position:relative;
  z-index:1;
  width:100%;
  display:flex;
  justify-content:flex-end;
}
.hero-photo-copy{
  max-width:520px;
  padding:48px 0;
}
.hero-photo-copy h1{ font-size:40px; }
.hero-photo-copy p:not(.eyebrow){ color:var(--ink); font-size:17px; line-height:1.7; }

/* Bloc flow : deux panneaux doux reliés par une flèche */
.flow-section{ padding-top:24px !important; }
.flow{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:22px;
  align-items:stretch;
}
.flow-col{
  border-radius:28px;
  padding:30px 32px 28px;
}
.flow-from{
  background:linear-gradient(160deg, rgba(246,185,138,0.20) 0%, rgba(246,185,138,0.07) 100%);
}
.flow-to{
  background:linear-gradient(160deg, rgba(91,75,199,0.11) 0%, rgba(192,189,228,0.10) 100%);
}
.flow-label{
  margin:0 0 4px !important;
  font-size:20px;
  font-weight:700;
  color:var(--ink);
}
.flow-sub{
  margin:0 0 18px !important;
  font-size:15px;
  color:var(--ink-soft);
}
.flow-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  counter-reset:flow;
}
.flow-list li{
  counter-increment:flow;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:9px 16px 9px 10px;
  border-radius:999px;
  background:rgba(255,255,255,0.80);
  font-size:15px;
  font-weight:500;
  color:var(--ink);
  line-height:1.3;
}
.flow-list li::before{
  content:counter(flow);
  flex:0 0 auto;
  width:24px;
  height:24px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:12px;
  font-weight:700;
}
.flow-from .flow-list li::before{ background:rgba(246,185,138,0.45); color:var(--accent-ink); }
.flow-to .flow-list li::before{ background:rgba(91,75,199,0.14); color:var(--primary); }
.flow-arrow{
  display:grid;
  place-items:center;
}
.flow-arrow span{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  color:var(--accent-ink);
  font-size:22px;
  box-shadow:0 6px 18px rgba(28,34,48,0.08);
}

/* Bloc vulnérabilités & performance : citation centrée */
.vp-quote{ max-width:820px; text-align:center; }
.vp-lead{ font-size:20px; line-height:1.6; color:var(--ink) !important; }
.vp-lead strong{ color:var(--ink); }

@media (max-width:900px){
  .hero-photo{ display:block; min-height:0; }
  .hero-photo-img{ position:relative; height:260px; }
  .hero-photo-veil{ height:260px; background:linear-gradient(180deg, rgba(255,255,255,0) 60%, #ffffff 100%); }
  .hero-photo-inner{ display:block; }
  .hero-photo-copy{ max-width:none; padding:8px 0 24px; }
  .hero-photo-copy h1{ font-size:30px; }
  .flow{ grid-template-columns:1fr; }
  .flow-arrow span{ transform:rotate(90deg); }
  .vp-lead{ font-size:18px; }
}
.flow-list{ flex-direction:column; align-items:flex-start; }
.flow{ align-items:center; }
.flow-col{ align-self:stretch; }
/* Bord net en bas de la photo (validé 28/10) */
.hero-photo-veil{ background:linear-gradient(90deg, rgba(255,255,255,0) 30%, rgba(255,252,248,0.72) 55%, rgba(255,252,248,0.92) 75%); }
.flow-section{ padding-top:56px !important; }
@media (max-width:900px){ .hero-photo-veil{ background:none; } .hero-photo-copy{ padding-top:24px; } }
/* Nuage de hashtags « Ce qui vous amène » */
.flow-tags{
  list-style:none;
  margin:0 !important;
  padding:0 !important;
  display:flex;
  flex-wrap:wrap;
  gap:8px 8px;
}
.flow-tags li{
  margin:0 !important;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(255,255,255,0.78);
  font-size:14px;
  font-weight:500;
  color:var(--accent-ink);
  line-height:1.2;
}
.flow-tags li:nth-child(-n+4){ font-weight:700; color:#7c3d12; background:#fff; }
.flow-to{ display:flex; flex-direction:column; justify-content:center; }
.flow-gains{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(91,75,199,0.15);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
}
.flow-gains-label{
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--primary);
  margin-right:4px;
}
.flow-gain{
  padding:7px 13px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
}

/* ---------- Bandeaux photo pleine largeur (pages intérieures) ---------- */
.photo-band{
  position:relative;
  height:clamp(240px, 30vw, 420px);
  overflow:hidden;
}
.photo-band img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* En-tête avec image à droite (Raisons d'investir) */
.head-split{
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:36px;
  align-items:center;
}
.head-split-media img{
  width:100%;
  height:auto;
  border-radius:var(--radius);
  display:block;
}
@media (max-width:900px){
  .head-split{ grid-template-columns:1fr; gap:20px; }
}

/* =========================================================
   Effet d'apparition des photos : violet puis vraies couleurs
   (actif seulement si le JS a posé .tint-ready sur <html>)
   ========================================================= */
.tint-ready .hero-photo::after,
.tint-ready .photo-band::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(135deg, #5b4bc7 0%, #3a2b8f 100%);
  mix-blend-mode:color;
  opacity:1;
  transition:opacity 1.8s ease 0.3s;
}
.tint-ready .hero-photo-img,
.tint-ready .photo-band img{
  filter:brightness(0.92) contrast(1.05);
  transition:filter 1.8s ease 0.3s;
}
.tint-ready .is-revealed::after{ opacity:0; }
.tint-ready .is-revealed .hero-photo-img,
.tint-ready .is-revealed img{ filter:none; }
.hero-photo-inner{ z-index:1; }
@media (prefers-reduced-motion:reduce){
  .tint-ready .hero-photo::after,
  .tint-ready .photo-band::after{ display:none; }
  .tint-ready .hero-photo-img,
  .tint-ready .photo-band img{ filter:none; }
}

/* Effet violet atténué (28/10) et retiré de l'accueil */
.tint-ready .hero-photo::after{ display:none; }
.tint-ready .hero-photo-img{ filter:none; transition:none; }
.tint-ready .photo-band::after{
  background:linear-gradient(135deg, #8a7ee0 0%, #b8b2e6 100%);
  opacity:0.45;
  transition:opacity 2.4s ease 0.2s;
}
.tint-ready .photo-band img{ filter:none; }
.tint-ready .photo-band.is-revealed::after{ opacity:0; }

/* Encadré Rencontres dans le temps fort du programme */
.programme-annual .event-box{
  margin:4px 0 14px;
  padding:16px 18px;
  border-radius:12px;
  background:linear-gradient(160deg, rgba(91,75,199,0.07) 0%, rgba(246,185,138,0.12) 100%);
  border-left:4px solid var(--accent);
}
.programme-annual .event-box p{ margin:0 0 6px; }
.programme-annual .event-title{ font-weight:700; color:var(--ink); }
.programme-annual .event-meta{ font-size:14px; color:var(--ink); line-height:1.55; }
.programme-annual .event-theme{ font-size:14px; font-style:italic; color:var(--ink-soft); }
.programme-annual .event-box .btn{ margin-top:8px; }
.programme-annual .event-note{ font-size:12px; color:var(--muted); margin:8px 0 0 !important; }
/* Encadré Rencontres : en violet (28/10) */
.programme-annual .event-box{
  background:rgba(91,75,199,0.07);
  border-left-color:var(--primary);
}

/* =========================================================
   Espace « Guide et kit » (/outils/)
   ========================================================= */
.outils-grid{
  display:grid;
  grid-template-columns:1fr 1.05fr;
  gap:28px;
  margin-top:32px;
  align-items:start;
}
.outils-docs{ display:grid; gap:16px; }
.doc-card{
  border-radius:20px;
  padding:24px 26px;
}
.doc-card h2{ font-size:20px; margin:0 0 10px; }
.doc-card h2::after{ content:none !important; }
.doc-card p:last-child{ margin:0; }
.doc-type{
  margin:0 0 6px !important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--primary);
}
.doc-guide{ background:linear-gradient(160deg, rgba(91,75,199,0.10) 0%, rgba(192,189,228,0.12) 100%); }
.doc-kit{ background:linear-gradient(160deg, rgba(246,185,138,0.22) 0%, rgba(246,185,138,0.08) 100%); }
.doc-kit .doc-type{ color:var(--accent-ink); }

.outils-panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  box-shadow:var(--shadow);
  padding:28px 28px 24px;
  position:relative;
  overflow:hidden;
}
.outils-panel::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:5px;
  background:linear-gradient(90deg, #5b4bc7 0%, #c8b4ff 55%, #f6b98a 100%);
}
.outils-panel h2{ font-size:22px; margin:0 0 6px; }
.outils-panel h2::after{ content:none !important; }
.form-intro{ margin:0 0 18px !important; }
.form-alerte{
  margin:0 0 16px !important;
  padding:10px 14px;
  border-radius:10px;
  background:var(--accent-soft);
  color:var(--ink);
  font-size:14px;
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-field{ display:flex; flex-direction:column; margin-bottom:12px; }
.form-field label{ font-size:14px; font-weight:600; color:var(--ink); margin-bottom:6px; }
.form-field input{
  font:inherit;
  font-size:16px; /* évite le zoom automatique sur iPhone */
  padding:11px 13px;
  border:1px solid #d6d9e3;
  border-radius:10px;
  background:#fff;
  color:var(--ink);
}
.form-field input:focus{ outline:none; border-color:var(--primary); box-shadow:0 0 0 3px rgba(91,75,199,0.15); }
.form-field input[aria-invalid="true"]{ border-color:#c2410c; }
.form-err{ min-height:0; font-size:13px; color:#b42318; margin-top:4px; }
.form-err:empty{ display:none; }
.form-err-global{ margin:10px 0 0 !important; }
.form-check{
  display:flex; gap:10px; align-items:flex-start;
  font-size:14px; color:var(--ink-soft);
  margin:6px 0 18px;
  cursor:pointer;
}
.form-check input{ margin-top:3px; width:18px; height:18px; accent-color:var(--primary); flex:0 0 auto; }
.form-piege{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-submit{ width:100%; padding:14px 18px; font-size:15px; }
.form-submit:disabled{ opacity:.7; cursor:wait; }
.form-rgpd{ margin:16px 0 0 !important; font-size:12px; line-height:1.55; color:var(--muted); }
.form-rgpd a, .ok-note a{ color:var(--primary); text-decoration:underline; }

.outils-ok{ text-align:center; padding:12px 4px 4px; outline:none; }
.ok-check{
  width:56px; height:56px; margin:0 auto 14px !important;
  border-radius:50%;
  display:grid; place-items:center;
  font-size:26px; font-weight:800;
  background:var(--accent-soft); color:var(--accent-ink);
}
.ok-actions{ display:grid; gap:10px; margin:20px 0 16px; }
.ok-actions .btn{ width:100%; padding:14px 16px; white-space:normal; line-height:1.3; }
.ok-note{ font-size:13px; color:var(--muted); margin:0 !important; }

@media (max-width:900px){
  .outils-grid{ grid-template-columns:1fr; }
  .outils-panel{ order:-1; padding:22px 18px 20px; }
  .form-row{ grid-template-columns:1fr; gap:0; }
}
.form-field{ min-width:0; }
.form-field input{ width:100%; box-sizing:border-box; }
