/* Bulles de Savoir - Page Le programme */
/* ===== Page Le programme (Elementor) ===== */
.bds-page-banniere{padding-top:56px!important;padding-bottom:44px!important;border-bottom:2px solid var(--bds-vert)!important}
.bds-page-banniere .bds-section-titre .elementor-heading-title{margin:0}
.bds-programme{padding:72px 24px 88px!important}
.bds-programme > .e-con-inner{gap:0!important}
.bds-programme-intro{max-width:780px!important;margin:0 auto!important}
.bds-programme-intro p{font-size:1.2rem;line-height:1.75;text-align:center;color:var(--bds-bleu);margin:0}
.bds-programme-cartes{gap:28px!important;margin:64px 0 56px!important;padding:0!important}
.bds-programme-carte{flex:1 1 280px!important;background:#fff;border:1px solid var(--m2)!important;border-radius:22px;padding:36px 30px!important}
.bds-programme-carte .elementor-icon-box-wrapper{text-align:left!important}
.bds-programme-carte .elementor-icon-box-icon{margin-bottom:22px!important}
.bds-programme-carte .elementor-icon{width:64px;height:64px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%;background:var(--m2);color:var(--bds-bleu)!important;font-size:24px!important}
.bds-programme-carte .elementor-icon i, .bds-programme-carte .elementor-icon svg{color:var(--bds-bleu);fill:var(--bds-bleu);width:24px;height:24px}
.bds-programme-carte .elementor-icon-box-title{font:700 1.45rem 'Playfair Display',serif!important;color:var(--bds-bleu)!important;margin:0 0 12px!important}
.bds-programme-carte .elementor-icon-box-description{font-size:1rem;line-height:1.7;color:var(--bds-gris)!important;margin:0}
.bds-programme-cta .elementor-button{padding:14px 30px!important;font-size:1rem!important}
@media (max-width:767px){
  .bds-page-banniere{padding:36px 16px 30px!important}
  .bds-programme{padding:44px 16px 56px!important}
  .bds-programme-intro p{font-size:1.05rem;text-align:left}
  .bds-programme-cartes{gap:18px!important;margin:36px 0 36px!important}
  .bds-programme-carte{padding:26px 22px!important}
}
/* Le programme : cartes en colonne sur tablette et mobile */
@media (max-width:1024px){ .bds-programme-carte{flex-basis:100%!important} }

/* ===== Page Le programme v2 : présentation + comment ça fonctionne ===== */
.bds-prog-section{padding:80px 24px!important}
.bds-prog-section > .e-con-inner{gap:0!important}
.bds-prog-h2 .elementor-heading-title{font:700 clamp(1.6rem,3vw,2.2rem)/1.2 'Playfair Display',serif;color:var(--bds-bleu);text-align:center;margin:0}
.bds-prog-h3 .elementor-heading-title{font:800 1.1rem 'Nunito',sans-serif;color:var(--bds-bleu);text-align:center;margin:56px 0 18px}
.bds-prog-chapo{max-width:640px;margin:10px auto 44px!important}
.bds-prog-chapo p{text-align:center;color:var(--bds-gris);font-size:1.05rem;margin:0}
.bds-prog-surtitre .elementor-heading-title{font:800 .78rem 'Nunito',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--bds-gris);margin:0}

/* Bandeau d'accueil et bulles qui flottent */
.bds-prog-hero{position:relative;overflow:hidden;padding:88px 24px 80px!important;background:linear-gradient(135deg,#f7fbf9 0%,#eaf7f2 100%);border-bottom:1px solid var(--bds-vert-clair)}
.bds-prog-hero > .e-con-inner{position:relative;z-index:1;gap:48px!important;flex-wrap:nowrap!important}
.bds-prog-hero::before,.bds-prog-hero::after,.bds-prog-hero > .e-con-inner::before,.bds-prog-hero > .e-con-inner::after{content:'';position:absolute;border-radius:50%;pointer-events:none;z-index:0;animation:bds-flotte 9s ease-in-out infinite}
.bds-prog-hero::before{width:340px;height:340px;right:-90px;top:-110px;background:rgba(140,202,174,.16)}
.bds-prog-hero::after{width:180px;height:180px;left:-60px;bottom:-70px;background:rgba(173,225,206,.22);animation-duration:11s;animation-delay:-3s}
.bds-prog-hero > .e-con-inner::before{width:70px;height:70px;left:44%;top:-30px;background:rgba(215,148,127,.14);animation-duration:7s;animation-delay:-2s}
.bds-prog-hero > .e-con-inner::after{width:36px;height:36px;left:58%;bottom:-24px;background:rgba(140,202,174,.3);animation-duration:6s;animation-delay:-4s}
@keyframes bds-flotte{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-18px) scale(1.04)}}
.bds-prog-hero-texte{flex:1 1 auto!important;max-width:640px;gap:14px!important}
.bds-prog-titre .elementor-heading-title{font:700 clamp(2rem,4.2vw,3rem)/1.12 'Playfair Display',serif;color:var(--bds-bleu);margin:0}
.bds-prog-titre em{font-style:italic;color:#5aa888;white-space:nowrap}
.bds-prog-intro p{font-size:1.12rem;line-height:1.7;color:var(--bds-gris);margin:0}
.bds-prog-boutons{gap:12px!important;margin-top:10px}
.bds-prog-boutons .elementor-widget-button{width:auto!important}
.bds-prog-chiffres{flex:0 0 380px!important;display:grid!important;grid-template-columns:1fr 1fr;gap:14px!important}
.bds-prog-compteur .elementor-counter{background:#fff;border-radius:18px;padding:16px 20px;display:flex;flex-direction:column;align-items:flex-start;gap:2px}
.bds-prog-compteur .elementor-counter-number-wrapper{order:-1;font:900 2.2rem/1 'Nunito',sans-serif!important;color:var(--bds-bleu)!important;justify-content:flex-start}
.bds-prog-compteur .elementor-counter-title{font:700 .88rem/1.3 'Nunito',sans-serif!important;color:var(--bds-gris)!important;text-align:left;margin-top:6px}

/* Menu d'ancres sous le bandeau : reste visible sous l'en-tête pendant le défilement (--bds-haut calculé par l'extrait n° 9) */
.bds-prog-ancres{position:sticky;top:var(--bds-haut,0px);z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(8px);border-bottom:1px solid var(--bds-vert-clair);padding:0 24px!important;--padding-top:0px;--padding-bottom:0px}
.bds-prog-ancres-liens p{display:flex;justify-content:center;gap:6px;margin:0;padding:10px 0;overflow-x:auto;scrollbar-width:none}
.bds-prog-ancres-liens p::-webkit-scrollbar{display:none}
.bds-prog-ancres-liens a{flex:none;padding:7px 16px;border-radius:99px;font:700 .9rem 'Nunito',sans-serif;color:var(--bds-bleu)!important;text-decoration:none!important;transition:background .2s,color .2s}
.bds-prog-ancres-liens a:hover{background:var(--bds-fond)}
.bds-prog-ancres-liens a.actif{background:#d9efe6;color:#1a2f70!important}
#comment-ca-marche,#modules,#paroles,#association,#commencer{scroll-margin-top:calc(var(--bds-haut,0px) + 64px)}

/* Les 3 étapes, reliées par un pointillé */
.bds-prog-etapes{position:relative;gap:24px!important}
.bds-prog-etapes::before{content:'';position:absolute;left:16%;right:16%;top:62px;width:auto!important;height:0!important;border-top:2px dashed var(--bds-vert-clair);z-index:0}
.bds-prog-etape{position:relative;z-index:1;flex:1 1 0!important;align-items:center!important;text-align:center;background:#fff;border:1px solid var(--m2);border-radius:22px;padding:30px 24px 28px!important;gap:8px!important;transition:transform .25s,box-shadow .25s}
.bds-prog-etape:hover{transform:translateY(-6px)}
.bds-prog-etape-num{position:absolute;top:-14px;left:50%;transform:translateX(-50%);width:auto!important}
.bds-prog-etape-num .elementor-heading-title{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--bds-bleu);color:#fff;font:800 .85rem 'Nunito',sans-serif;margin:0}
.bds-prog-etape-icone .elementor-icon{width:64px;height:64px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%;background:var(--m2);color:var(--bds-bleu)!important;font-size:24px!important;transition:transform .3s}
.bds-prog-etape:hover .elementor-icon{transform:scale(1.1) rotate(-6deg)}
.bds-prog-etape-icone .elementor-icon svg{width:24px;height:24px;fill:var(--bds-bleu)}
.bds-prog-etape-titre .elementor-heading-title{font:700 1.35rem 'Playfair Display',serif;color:var(--bds-bleu);margin:6px 0 0}
.bds-prog-etape-texte p{color:var(--bds-gris);line-height:1.65;margin:0}

/* Les deux regards */
.bds-prog-regards{gap:20px!important;max-width:860px;margin:0 auto}
.bds-prog-regard{flex:1 1 0!important;gap:16px!important;background:var(--bds-fond);border-radius:18px;padding:18px 20px!important}
.bds-prog-regard-icone{width:auto!important}
.bds-prog-regard-icone .elementor-icon{width:52px;height:52px;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%;background:var(--m);color:var(--bds-bleu)!important;font-size:20px!important}
.bds-prog-regard-icone .elementor-icon svg{width:20px;height:20px;fill:var(--bds-bleu)}
.bds-prog-regard-texte{flex:1 1 auto!important;gap:2px!important}
.bds-prog-regard h3{font:800 1.05rem 'Nunito',sans-serif!important;color:var(--bds-bleu)!important;margin:0}
.bds-prog-regard p{margin:0;color:var(--bds-gris);font-size:.95rem}

/* Les modules */
.bds-prog-modules{background:var(--bds-fond)}
.bds-prog-grille{gap:20px!important}
.bds-prog-module{flex:1 1 calc(50% - 10px)!important;position:relative;overflow:hidden;background:#fff;border-radius:22px;padding:26px 26px 22px!important;gap:6px!important;transition:transform .25s,box-shadow .25s}
.bds-prog-module::after{content:'';position:absolute;width:150px;height:150px;border-radius:50%;right:-50px;top:-60px;background:var(--m2);opacity:.7;transition:transform .4s}
.bds-prog-module:hover{transform:translateY(-6px)}
.bds-prog-module:hover::after{transform:scale(1.25)}
.bds-prog-module > *{position:relative;z-index:1}
.bds-prog-module-num .elementor-heading-title{display:inline-block;background:var(--m);color:var(--bds-bleu);padding:5px 14px;border-radius:99px;font:800 .75rem 'Nunito',sans-serif;letter-spacing:.12em;text-transform:uppercase;margin:0}
.bds-prog-module-titre .elementor-heading-title{font:700 1.3rem/1.25 'Playfair Display',serif;color:var(--bds-bleu);margin:8px 0 0}
.bds-prog-module-sous p{color:var(--bds-gris);margin:0}
.bds-prog-module-meta p{font:700 .8rem 'Nunito',sans-serif;color:var(--bds-gris);opacity:.85;margin:4px 0 6px}
.bds-prog-module-lien .elementor-button{background:none!important;padding:0!important;color:var(--bds-bleu)!important;font:800 .95rem 'Nunito',sans-serif!important}
.bds-prog-module-lien .elementor-button::after{content:'';position:absolute;inset:0}
.bds-prog-module .elementor-widget-button{position:static!important}
.bds-prog-module:focus-within{outline:2px solid var(--bds-bleu);outline-offset:3px}
.bds-prog-avenir p{text-align:center;color:var(--bds-gris);font-weight:700;margin:28px 0 0}

/* Paroles de familles : bande qui défile au doigt ou à la souris */
.bds-prog-citations{min-width:0;max-width:100%;width:100%!important;flex-wrap:nowrap!important;gap:18px!important;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px 0 18px!important;scrollbar-width:thin}
/* Carrousel : toujours des cartes entières (3 sur ordinateur, 2 sur tablette, 1 sur téléphone) */
.bds-prog-citation{flex:0 0 calc((100% - 36px) / 3)!important;scroll-snap-align:start;background:#fff;border:1px solid var(--bds-vert-clair);border-radius:22px;padding:26px 24px!important;justify-content:space-between!important;gap:14px!important}
.bds-prog-citation:nth-child(even){background:var(--bds-fond)}
.bds-prog-citation-texte p{font:italic 700 1.15rem/1.45 'Playfair Display',serif;color:var(--bds-bleu);margin:0}
.bds-prog-citation-auteur p{font:700 .85rem 'Nunito',sans-serif;color:var(--bds-gris);margin:0;text-align:right}
.bds-prog-citation-auteur a{color:var(--bds-bleu)!important;text-decoration:underline;text-underline-offset:3px}

/* Association */
.bds-prog-asso > .e-con-inner{gap:48px!important;flex-wrap:nowrap!important;align-items:center!important}
.bds-prog-asso-logo{flex:0 0 260px!important;width:260px!important}
.bds-prog-asso-logo img{width:80%;height:auto;transition:transform .3s}
.bds-prog-asso-logo:hover img{transform:scale(1.04) rotate(-2deg)}
.bds-prog-asso-texte{flex:1 1 auto!important;gap:10px!important}
.bds-prog-asso-texte .bds-prog-h2 .elementor-heading-title{text-align:left}
.bds-prog-asso-texte p{color:var(--bds-gris);line-height:1.7}
.bds-prog-asso .elementor-widget-button{width:auto!important}

/* Appel final */
.bds-prog-fin{padding:72px 24px 88px!important;background:linear-gradient(135deg,#eaf7f2 0%,#f6e3dc 100%);text-align:center}
.bds-prog-fin .bds-prog-chapo{margin-bottom:24px!important}

/* Tablette et téléphone */
@media (max-width:1024px){
  .bds-prog-hero > .e-con-inner{flex-direction:column!important;align-items:flex-start!important}
  .bds-prog-chiffres{flex-basis:auto!important;width:100%!important;grid-template-columns:repeat(4,1fr)}
  .bds-prog-citation{flex-basis:calc((100% - 18px) / 2)!important}
  .bds-prog-etapes{flex-direction:column!important}
  .bds-prog-etapes::before{left:50%;right:auto;top:20px;bottom:20px;width:0!important;height:auto!important;border-top:0;border-left:2px dashed var(--bds-vert-clair)}
  .bds-prog-asso > .e-con-inner{flex-direction:column!important;text-align:center}
  .bds-prog-asso-texte .bds-prog-h2 .elementor-heading-title{text-align:center}
}
@media (max-width:767px){
  .bds-prog-section{padding:52px 16px!important}
  .bds-prog-hero{padding:52px 16px 48px!important}
  .bds-prog-chiffres{gap:8px!important;grid-template-columns:1fr 1fr}
  .bds-prog-ancres{padding:0 8px!important}
  .bds-prog-ancres-liens p{justify-content:flex-start;padding:8px 0;-webkit-mask-image:linear-gradient(90deg,#000 80%,transparent);mask-image:linear-gradient(90deg,#000 80%,transparent)}
  .bds-prog-ancres-liens p.au-bout{-webkit-mask-image:none;mask-image:none}
  .bds-prog-ancres-liens a{padding:6px 12px;font-size:.85rem}
  .bds-prog-compteur .elementor-counter{padding:12px;align-items:center}
  .bds-prog-compteur .elementor-counter-number-wrapper{font-size:1.6rem!important;justify-content:center}
  .bds-prog-compteur .elementor-counter-title{font-size:.72rem!important;text-align:center}
  .bds-prog-regards{flex-direction:column!important}
  .bds-prog-module{flex-basis:100%!important}
  .bds-prog-citation{flex-basis:100%!important}
  .bds-prog-boutons .elementor-widget-button,.bds-prog-boutons .elementor-button{width:100%!important}
}
@media (prefers-reduced-motion:reduce){
  .bds-prog-hero::before,.bds-prog-hero::after,.bds-prog-hero > .e-con-inner::before,.bds-prog-hero > .e-con-inner::after{animation:none}
  .bds-prog-etape,.bds-prog-module,.bds-prog-etape .elementor-icon,.bds-prog-asso-logo img{transition:none}
}


/* Pictos des fiches du programme à la place des icônes (13/10/2026) */
.bds-prog-picto{width:auto!important}
.bds-prog-etape-icone.bds-prog-picto img{width:80px!important;height:80px!important;max-width:none;padding:16px;border-radius:0;background:radial-gradient(circle closest-side,var(--m2) 98%,transparent 100%);object-fit:contain;transition:transform .3s}
.bds-prog-etape:hover .bds-prog-etape-icone.bds-prog-picto img{transform:scale(1.08) rotate(-4deg)}
.bds-prog-regard-icone.bds-prog-picto img{width:64px!important;height:64px!important;max-width:none;padding:12px;border-radius:0;background:radial-gradient(circle closest-side,#fff 98%,transparent 100%);object-fit:contain}
/* Cartes des modules : le symbole du module (le même que dans le menu), en haut à droite */
.bds-prog-module:has(a[href*="module-1"]){--symbole:url(../pictos/symboles/module-1.png)}
.bds-prog-module:has(a[href*="module-2"]){--symbole:url(../pictos/symboles/module-2.png)}
.bds-prog-module:has(a[href*="module-3"]){--symbole:url(../pictos/symboles/module-3.png)}
.bds-prog-module:has(a[href*="module-4"]){--symbole:url(../pictos/symboles/module-4.png)}
.bds-prog-module::before{content:'';position:absolute;top:14px;right:16px;left:auto;bottom:auto;width:62px;height:62px;z-index:1;background:#5aa888;-webkit-mask:var(--symbole) center/contain no-repeat;mask:var(--symbole) center/contain no-repeat;pointer-events:none}
.bds-prog-module.rose::before{background:#c97a62}
.bds-prog-module .elementor-widget-heading:first-of-type h3,.bds-prog-module h3.elementor-heading-title{padding-right:56px}

/* Modules en préparation : la ligne de bulles (comme sur l'accueil), puis les 6 prochains modules */
.bds-prog-avenir{width:100%}
.bds-prog-avenir .bds-avenir-ligne{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin:36px 0 22px;color:#56685f;font-weight:700;font-size:.92rem}
.bds-avenir-points{display:inline-flex;gap:6px}
.bds-avenir-points i{width:12px;height:12px;border-radius:50%;background:#ccede1}
.bds-avenir-points i:nth-child(even){background:#f3d6cb}
.bds-prog-prochains{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.bds-prog-prochains li{--p:#8ccaae;--p2:#e6f5ee;position:relative;overflow:hidden;display:flex;gap:14px;align-items:flex-start;margin:0;padding:20px 20px 18px;border:2px dashed var(--p);border-radius:22px;background:rgba(255,255,255,.75)}
.bds-prog-prochains li:nth-child(even){--p:#e0a792;--p2:#fbece6}
.bds-prog-prochains li::after{content:'';position:absolute;width:110px;height:110px;border-radius:50%;right:-42px;bottom:-48px;background:var(--p2);pointer-events:none}
.bds-prog-prochains li > *{position:relative;z-index:1}
.bds-prog-prochains .num{flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:var(--p2);color:#1a2f70;font:700 1.15rem 'Playfair Display',serif}
.bds-prog-prochains .txt{display:flex;flex-direction:column;gap:4px;font:400 .88rem/1.45 'Nunito',sans-serif;color:#56685f}
.bds-prog-prochains .sous::first-letter{text-transform:uppercase}
.bds-prog-prochains strong{font:700 1.02rem/1.3 'Playfair Display',serif;color:#1a2f70}
.bds-prog-prochains .etiq{align-self:flex-start;margin-top:6px;padding:3px 11px;border-radius:99px;background:var(--p2);color:#1a2f70;font:800 .64rem 'Nunito',sans-serif;letter-spacing:.12em;text-transform:uppercase}
@media (max-width:1024px){ .bds-prog-prochains{grid-template-columns:repeat(2,1fr)} }
@media (max-width:640px){ .bds-prog-prochains{grid-template-columns:1fr} }

/* Deux regards : la carte « Expériences » en corail, comme les écrans-titres des vidéos de témoignage */
.bds-prog-regard.rose{background:linear-gradient(90deg,#f6d1c4 0%,#e9a994 100%)}
.bds-prog-regard.rose h3,.bds-prog-regard.rose p{color:#1a2f70!important}
.bds-prog-regard.rose .bds-prog-regard-icone .elementor-icon{background:#fff}

/* Ancres (19/10/2026) : le thème ajoute déjà 125 px de marge au défilement ; le titre arrive juste sous le menu */
@media (min-width:1025px){
  #comment-ca-marche,#modules,#paroles,#association,#commencer{scroll-margin-top:calc(var(--bds-haut,0px) - 190px)}
}
