/* LOT 10 — Accueil mobile uniquement. Desktop strictement inchangé. */
@media (max-width: 767px){
  :root{--fb-mobile-header-h:64px;--fb-mobile-ticker-h:34px;--fb-mobile-gap:12px}
  html,body{max-width:100%;overflow-x:hidden}
  body{padding-top:calc(var(--fb-mobile-header-h) + var(--fb-mobile-ticker-h))!important}
  body#top .topbar{
    position:fixed!important;top:0!important;left:0!important;right:0!important;
    z-index:3000!important;height:var(--fb-mobile-header-h)!important;min-height:var(--fb-mobile-header-h)!important;
    padding:8px 12px!important;background:#fff!important;box-shadow:0 1px 0 rgba(7,30,102,.12)!important;
  }
  body#top .ticker{
    position:fixed!important;top:var(--fb-mobile-header-h)!important;left:0!important;right:0!important;
    z-index:2999!important;height:var(--fb-mobile-ticker-h)!important;min-height:var(--fb-mobile-ticker-h)!important;
  }
  body#top .ticker b,body#top .ticker-window{height:var(--fb-mobile-ticker-h)!important}
  body#top .topbar .brand{flex:1 1 auto!important;min-width:0!important}
  body#top .topbar .brand span{display:block!important;max-width:132px!important;font-size:11px!important;font-weight:800!important;line-height:1.05!important;color:#08256f!important}
  body#top .topbar .logo,body#top .topbar .logo-img{width:44px!important;height:44px!important;flex:0 0 44px!important}
  body#top .fb-mobile-menu-toggle{margin-left:auto!important}

  /* Neutralise les anciens carrousels génériques, section par section. */
  body#top #programmes .programs,
  body#top #logiciels .soft-grid,
  body#top #services .course-grid,
  body#top #apropos .why-grid,
  body#top #realisations .grid,
  body#top .gallery .grid,
  body#top .news .news-row,
  body#top .process-line{
    overflow:visible!important;scroll-snap-type:none!important;margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;
  }

  /* 4 cartes de présentation : 2 x 2 */
  body#top .stats.overlap,body#top .stats{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;
    padding:18px 12px 28px!important;margin-top:-18px!important;z-index:2!important;
  }
  body#top .stats article{width:auto!important;max-width:none!important;min-height:150px!important;padding:14px 8px!important}

  /* Programmes : une carte par ligne, dynamiques. */
  body#top #programmes .programs{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:18px!important}
  body#top #programmes .programs>*{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important}
  body#top #programmes .program .btn{margin-top:auto!important}

  /* Logiciels : deux par ligne, carte Découvrir conservée. */
  body#top #logiciels .soft-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body#top #logiciels .soft-grid>*{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important}
  body#top #logiciels .soft{padding:10px!important}
  body#top #logiciels .soft h3{font-size:12px!important;overflow-wrap:anywhere}
  body#top #logiciels .soft p{font-size:10px!important}

  /* Cours gratuits : deux cours visibles, puis Voir plus. */
  body#top #services .course-grid{display:grid!important;grid-template-columns:1fr!important;gap:14px!important}
  body#top #services .course-grid>*{width:100%!important;max-width:100%!important;margin:0!important}
  body#top #services .course-grid>.course:nth-of-type(n+3){display:none!important}
  body#top #services .course-grid>.see-more{display:flex!important}

  /* Formateurs : vrai carrousel mobile, une carte à la fois. */
  body#top #formateurs .trainer-grid,
  body#top .certifications-showcase .cert-grid,
  body#top .partners .partner-grid{
    display:flex!important;grid-template-columns:none!important;gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;-webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;padding:4px 6px 14px!important;margin:0!important;
  }
  body#top #formateurs .trainer-grid::-webkit-scrollbar,
  body#top .certifications-showcase .cert-grid::-webkit-scrollbar,
  body#top .partners .partner-grid::-webkit-scrollbar{display:none!important}
  body#top #formateurs .trainer-grid>*{flex:0 0 100%!important;width:100%!important;max-width:100%!important;scroll-snap-align:center!important;margin:0!important}
  body#top #formateurs .trainer-more-card{display:flex!important}

  /* Médias : 3 contenus + carte Voir plus. */
  body#top #temoignages .video-grid,
  body#top #temoignages .whatsapp-grid,
  body#top #realisations .grid,
  body#top .gallery .grid{
    display:grid!important;grid-template-columns:1fr!important;gap:14px!important;overflow:visible!important;padding:0!important;margin:0!important;
  }
  body#top #temoignages .video-grid>*,body#top #temoignages .whatsapp-grid>*,
  body#top #realisations .grid>*,body#top .gallery .grid>*{
    width:100%!important;max-width:100%!important;margin:0!important;min-width:0!important;
  }
  body#top #temoignages .video-grid>:nth-child(4):not(.more-card),
  body#top #temoignages .whatsapp-grid>:nth-child(4):not(.more-card),
  body#top #realisations .grid>:nth-child(4):not(.side-more),
  body#top .gallery .grid>:nth-child(4):not(.side-more){display:none!important}
  body#top #temoignages .more-card,body#top #realisations .side-more,body#top .gallery .side-more{display:flex!important;min-height:150px!important}

  /* Pourquoi choisir : 2 colonnes, tous les contenus administrés conservés. */
  body#top #apropos .why-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body#top #apropos .why-grid>*{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:12px 8px!important}
  body#top #apropos .why-grid h3{font-size:11px!important;overflow-wrap:anywhere}
  body#top #apropos .why-grid p{font-size:10px!important}

  /* Certifications : une carte + points dynamiques. */
  body#top .certifications-showcase .cert-grid>*{flex:0 0 calc(100% - 12px)!important;width:calc(100% - 12px)!important;max-width:calc(100% - 12px)!important;scroll-snap-align:center!important;margin:0!important}
  body#top .fb-mobile-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin:8px 0 0}
  body#top .fb-mobile-dot{width:8px;height:8px;border:0;border-radius:50%;padding:0;background:#b7bfd5;cursor:pointer}
  body#top .fb-mobile-dot.is-active{background:#08256f;transform:scale(1.25)}

  /* Partenaires : carrousel manuel + automatique. */
  body#top .partners .partner-grid>*{flex:0 0 78%!important;width:78%!important;max-width:78%!important;scroll-snap-align:center!important;margin:0!important}

  /* FAQ inchangée : aucune règle de présentation ajoutée ici. */

  /* Processus : 2 x 2 + 5e centrée. */
  body#top .process-line{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px 10px!important;align-items:stretch!important}
  body#top .process-line .step{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;padding:8px!important}
  body#top .process-line .step:nth-child(5){grid-column:1/-1!important;width:calc(50% - 5px)!important;justify-self:center!important}
  body#top .process-line .step::after{display:none!important}
  body#top .process-line h3{font-size:11px!important}
  body#top .process-line p{font-size:10px!important}

  /* Actualités : 2 x 2 */
  body#top .news .news-row{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body#top .news .news-row>*{width:auto!important;max-width:none!important;min-width:0!important;margin:0!important;display:flex!important;flex-direction:column!important}
  body#top .news-card .news-body{min-width:0!important;padding:10px!important}
  body#top .news-card h3{font-size:12px!important;overflow-wrap:anywhere}
  body#top .news-card p,body#top .news-card a{font-size:10px!important}
  body#top .news-date{transform:scale(.82);transform-origin:top left}

  /* Anti-débordement mobile ciblé. */
  body#top main,body#top .section,body#top .grid,body#top .news-row{max-width:100%!important;overflow-x:clip}
  body#top img,body#top video,body#top iframe{max-width:100%!important}
}

@media (max-width:390px){
  body#top .topbar .brand span{max-width:92px!important;font-size:9px!important}
  body#top #logiciels .soft-grid{gap:8px!important}
  body#top .stats article{min-height:142px!important}
}

@media (prefers-reduced-motion:reduce){
  body#top .fb-mobile-autoplay{scroll-behavior:auto!important}
}

/* LOT 10.1 — corrections mobiles complémentaires uniquement. */
@media (max-width:767px){
  body#top .hero{
    height:500px!important;
    min-height:0!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
  }
  body#top .hero-bg,
  body#top .hero-bg.placeholder-img,
  body#top .hero-bg.dark{
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background-size:cover!important;
    background-position:center!important;
  }
  body#top .hero-content{
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    padding:28px 24px 70px!important;
  }
  body#top .hero .eyebrow,
  body#top .hero h1,
  body#top .hero p{
    width:100%!important;
    max-width:620px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    text-align:center!important;
  }
  body#top .hero .eyebrow{font-size:12px!important;letter-spacing:2px!important}
  body#top .hero h1{font-size:clamp(25px,8.4vw,36px)!important;line-height:1.12!important;margin-top:14px!important;margin-bottom:18px!important}
  body#top .hero p{font-size:15px!important;line-height:1.55!important}

  body#top .stats.overlap,body#top .stats{
    margin-top:-42px!important;
    position:relative!important;
    z-index:5!important;
    padding-top:0!important;
  }

  body#top #formateurs .trainer-grid,
  body#top .partners .partner-grid{
    display:flex!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-behavior:smooth!important;
    gap:12px!important;
    padding:4px 6px 14px!important;
    scrollbar-width:none!important;
  }
  body#top #formateurs .trainer-grid::-webkit-scrollbar,
  body#top .partners .partner-grid::-webkit-scrollbar{display:none!important}
  body#top #formateurs .trainer-grid>*:not(.fb-carousel-arrow),
  body#top .partners .partner-grid>*:not(.fb-carousel-arrow){
    flex:0 0 calc(100% - 12px)!important;
    width:calc(100% - 12px)!important;
    max-width:calc(100% - 12px)!important;
    scroll-snap-align:center!important;
    margin:0!important;
  }
  body#top #formateurs .trainer-more-card{display:none!important}

  body#top #temoignages .video-grid>:nth-child(n+4):not(.more-card),
  body#top #temoignages .whatsapp-grid>:nth-child(n+4):not(.more-card),
  body#top #realisations .grid>:nth-child(n+4):not(.side-more),
  body#top .gallery .grid>:nth-child(n+4):not(.side-more){display:none!important}
  body#top #temoignages .more-card,
  body#top #realisations .side-more,
  body#top .gallery .side-more{display:flex!important;order:99!important;width:100%!important;min-height:150px!important}

  body#top #realisations .fb-carousel-arrow,
  body#top .gallery .fb-carousel-arrow{display:none!important}

  body#top .news .news-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  body#top .news .news-row>*{width:100%!important;max-width:100%!important}
}
@media (max-width:390px){
  body#top .hero{height:470px!important}
  body#top .hero-content{padding:24px 18px 66px!important}
  body#top .hero h1{font-size:clamp(23px,8vw,31px)!important}
  body#top .hero p{font-size:14px!important}
  body#top .stats.overlap,body#top .stats{margin-top:-36px!important}
}

/* LOT 10.3 — Préinscription et ajustement modéré des zones médias, mobile uniquement. */
.fb-mobile-preinscription{display:none}
@media (max-width:767px){
  /* En-tête : logo + nom | Préinscription | hamburger, sur une seule ligne. */
  body#top .topbar{gap:7px!important}
  body#top .topbar .brand{flex:1 1 auto!important;min-width:0!important;gap:7px!important}
  body#top .fb-mobile-preinscription{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    flex:0 0 auto!important;min-height:36px!important;padding:7px 10px!important;
    border-radius:9px!important;background:#ff4a12!important;color:#fff!important;
    font-size:10px!important;font-weight:900!important;line-height:1!important;text-decoration:none!important;
    white-space:nowrap!important;box-shadow:0 4px 10px rgba(255,74,18,.2)!important;
  }
  body#top .fb-mobile-menu-toggle{margin-left:0!important;flex:0 0 42px!important}

  /* Les cartes gardent leur taille : seule leur zone média est modifiée. */
  body#top #temoignages .fb-training-video-grid{gap:22px!important}
  body#top #temoignages .fb-training-video-grid>.video{
    height:clamp(185px,52vw,220px)!important;min-height:0!important;
  }

  body#top #temoignages .fb-whatsapp-testimonial-grid{gap:24px!important}
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa{
    height:clamp(225px,67vw,285px)!important;min-height:0!important;
    position:relative!important;overflow:visible!important;margin-bottom:34px!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa>img{
    width:100%!important;height:100%!important;display:block!important;
    object-fit:contain!important;object-position:center!important;border-radius:inherit!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa.fb-five-stars::after{
    content:"★★★★★";position:absolute;left:0;right:0;top:calc(100% + 9px);
    color:#f3b43f;font-size:19px;line-height:1;letter-spacing:3px;text-align:center;
    pointer-events:none;
  }

  body#top #temoignages .fb-video-testimonial-grid{gap:24px!important}
  body#top #temoignages .fb-video-testimonial-grid>.video{
    height:clamp(195px,56vw,235px)!important;min-height:0!important;
    position:relative!important;overflow:visible!important;margin-bottom:34px!important;
    background:#080808!important;border-radius:10px!important;
  }
  body#top #temoignages .fb-video-testimonial-grid>.video>img,
  body#top #temoignages .fb-video-testimonial-grid>.video>video,
  body#top #temoignages .fb-video-testimonial-grid>.video>iframe{
    width:100%!important;height:100%!important;object-fit:contain!important;
    object-position:center!important;border-radius:10px!important;background:#080808!important;
  }
  body#top #temoignages .fb-video-testimonial-grid>.video.fb-five-stars::after{
    content:"★★★★★";position:absolute;left:0;right:0;top:calc(100% + 9px);
    color:#f3b43f;font-size:19px;line-height:1;letter-spacing:3px;text-align:center;
    pointer-events:none;
  }

  /* Galeries : augmentation légère de la partie image/vidéo uniquement. */
  body#top #realisations .gallery-card>.media{
    height:clamp(175px,49vw,205px)!important;min-height:0!important;
  }
  body#top .gallery:not(#realisations) .gallery-card>.fb-real-video-media,
  body#top .gallery:not(#realisations) .gallery-card>.media{
    height:clamp(180px,51vw,215px)!important;min-height:0!important;
  }
  body#top #realisations .gallery-card>.media img,
  body#top .gallery .gallery-card>.media img,
  body#top .gallery .gallery-card>.media video{
    width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;
  }

  /* Certifications : l’image remplit toute sa zone, sans bandes jaunes. */
  body#top .certifications-showcase .cert-card .cert-img{
    height:clamp(145px,42vw,178px)!important;min-height:0!important;
    margin:0 0 12px!important;padding:0!important;overflow:hidden!important;
    border-radius:7px!important;
  }
  body#top .certifications-showcase .cert-card .cert-img>img{
    width:100%!important;height:100%!important;display:block!important;
    object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;
  }

  /* Partenaires : le logo/image remplit le rectangle attribué sans zone jaune résiduelle. */
  body#top .partners .partner{
    height:clamp(125px,37vw,155px)!important;min-height:0!important;
    padding:0!important;overflow:hidden!important;border-radius:8px!important;
  }
  body#top .partners .partner>img{
    width:100%!important;height:100%!important;display:block!important;
    object-fit:cover!important;object-position:center!important;margin:0!important;padding:0!important;
  }
}

@media (max-width:390px){
  body#top .topbar{padding-left:8px!important;padding-right:8px!important;gap:5px!important}
  body#top .topbar .brand{gap:5px!important}
  body#top .topbar .logo,body#top .topbar .logo-img{width:40px!important;height:40px!important;flex-basis:40px!important}
  body#top .topbar .brand span{max-width:78px!important;font-size:8px!important}
  body#top .fb-mobile-preinscription{min-height:34px!important;padding:6px 8px!important;font-size:9px!important;border-radius:8px!important}
  body#top .fb-mobile-menu-toggle{width:40px!important;height:40px!important;flex-basis:40px!important}
}

/* LOT 10.4 — corrections ciblées après contrôle visuel mobile. */
/* Par défaut, aucune étoile n'est visible hors du breakpoint téléphone. */
.fb-five-stars::after{content:none!important;display:none!important}

@media (max-width:767px){
  /* En-tête : conserver la ligne unique et créer un espace net avant le hamburger. */
  body#top .topbar{column-gap:9px!important}
  body#top .fb-mobile-preinscription{margin-right:3px!important;padding-left:9px!important;padding-right:9px!important}
  body#top .fb-mobile-menu-toggle{margin-left:3px!important}

  /* Extraits de formation : carte en deux parties, média modéré + copie restaurée. */
  body#top #temoignages .fb-training-video-grid>.video,
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card{
    height:auto!important;min-height:0!important;display:block!important;overflow:hidden!important;
    background:#fff!important;border:1px solid #dfe5ef!important;border-radius:10px!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-media{
    position:relative!important;width:100%!important;height:clamp(190px,55vw,235px)!important;
    overflow:hidden!important;background:#080808!important;border-radius:10px 10px 0 0!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-media>img,
  body#top #temoignages .fb-training-video-grid .fb-training-video-media>video,
  body#top #temoignages .fb-training-video-grid .fb-training-video-media>iframe{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    object-fit:cover!important;object-position:center!important;border-radius:inherit!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-media>span{
    position:absolute!important;inset:0!important;display:grid!important;place-items:center!important;
    z-index:2!important;color:#fff!important;font-size:40px!important;pointer-events:none!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-copy{
    display:block!important;padding:13px 15px 15px!important;background:#fff!important;text-align:left!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-copy h3{
    display:block!important;margin:0 0 6px!important;color:#07246d!important;font-size:15px!important;line-height:1.3!important;
  }
  body#top #temoignages .fb-training-video-grid .fb-training-video-copy p{
    display:block!important;margin:0!important;color:#4b5870!important;font-size:12px!important;line-height:1.45!important;
  }
  /* Compatibilité avec les anciennes cartes statiques : rendre le libellé inférieur visible. */
  body#top #temoignages .fb-training-video-grid>.video:not(.fb-training-video-card){
    height:clamp(190px,55vw,235px)!important;overflow:visible!important;margin-bottom:34px!important;
  }
  body#top #temoignages .fb-training-video-grid>.video:not(.fb-training-video-card)>small{
    display:block!important;position:absolute!important;top:calc(100% + 8px)!important;bottom:auto!important;
    left:8px!important;right:8px!important;color:#102452!important;font-size:12px!important;text-align:center!important;
  }

  /* WhatsApp : réduire fortement le grand rectangle et faire mieux occuper la capture. */
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa{
    height:clamp(245px,73vw,310px)!important;min-height:0!important;
    padding:10px!important;box-sizing:border-box!important;overflow:visible!important;margin-bottom:34px!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa>img{
    width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
    object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa.fb-five-stars::after{
    content:"★★★★★"!important;display:block!important;position:absolute!important;left:0!important;right:0!important;
    top:calc(100% + 9px)!important;color:#f3b43f!important;font-size:19px!important;line-height:1!important;
    letter-spacing:3px!important;text-align:center!important;pointer-events:none!important;
  }

  /* Témoignages vidéo : réduire légèrement, conserver les étoiles uniquement en mobile. */
  body#top #temoignages .fb-video-testimonial-grid>.video{
    height:clamp(200px,58vw,250px)!important;min-height:0!important;margin-bottom:34px!important;
  }
  body#top #temoignages .fb-video-testimonial-grid>.video.fb-five-stars::after{
    content:"★★★★★"!important;display:block!important;position:absolute!important;left:0!important;right:0!important;
    top:calc(100% + 9px)!important;color:#f3b43f!important;font-size:19px!important;line-height:1!important;
    letter-spacing:3px!important;text-align:center!important;pointer-events:none!important;
  }

  /* Galeries : réduire uniquement la partie média, préserver titre et description. */
  body#top #realisations .gallery-card>.media{
    height:clamp(205px,59vw,250px)!important;min-height:0!important;
  }
  body#top .gallery:not(#realisations) .gallery-card>.fb-real-video-media,
  body#top .gallery:not(#realisations) .gallery-card>.media{
    height:clamp(205px,59vw,250px)!important;min-height:0!important;
  }
  body#top #realisations .gallery-card>h3,
  body#top #realisations .gallery-card>p,
  body#top .gallery .gallery-card>h3,
  body#top .gallery .gallery-card>p{
    display:block!important;visibility:visible!important;opacity:1!important;
  }

  /* Certifications : l'image occupe réellement toute la zone média. */
  body#top .certifications-showcase .cert-card .cert-img{
    position:relative!important;display:block!important;height:clamp(180px,52vw,225px)!important;
    padding:0!important;margin:0 0 12px!important;overflow:hidden!important;background:#ffe66d!important;
  }
  body#top .certifications-showcase .cert-card .cert-img>img{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;
    margin:0!important;padding:0!important;display:block!important;
  }

  /* Partenaires : cibler la vraie sous-zone média dynamique, sans toucher au titre. */
  body#top .partners .partner.partner-public-card{
    height:auto!important;min-height:0!important;padding:0!important;overflow:hidden!important;
  }
  body#top .partners .partner-public-media{
    position:relative!important;display:block!important;width:100%!important;
    height:clamp(175px,50vw,220px)!important;min-height:0!important;flex:0 0 auto!important;
    padding:0!important;margin:0!important;overflow:hidden!important;background:#ffe66d!important;
  }
  body#top .partners .partner-public-media>img{
    position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
    max-width:none!important;max-height:none!important;object-fit:cover!important;object-position:center!important;
    margin:0!important;padding:0!important;display:block!important;
  }
  body#top .partners .partner-public-title{
    display:flex!important;min-height:42px!important;height:auto!important;padding:9px 10px!important;
  }
}

@media (max-width:390px){
  body#top .topbar{column-gap:7px!important}
  body#top .fb-mobile-preinscription{margin-right:2px!important;padding-left:7px!important;padding-right:7px!important}
  body#top .fb-mobile-menu-toggle{margin-left:2px!important}
}

@media (min-width:768px){
  body#top .fb-five-stars::after{content:none!important;display:none!important}
}

/* LOT 10.5 — correction strictement ciblée : extraits vidéo + témoignages WhatsApp, mobile uniquement. */
@media (max-width:767px){
  /* Extraits de nos formations : reprendre le volume visuel des témoignages vidéo,
     sans agrandir la zone texte ni masquer le titre associé. */
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card{
    display:flex!important;
    flex-direction:column!important;
    height:auto!important;
    min-height:0!important;
    overflow:hidden!important;
  }
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-media{
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:clamp(210px,58vw,250px)!important;
    min-height:210px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#080808!important;
    border-radius:10px 10px 0 0!important;
  }
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-media>img,
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-media>video,
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-media>iframe{
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
    display:block!important;
  }
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-copy{
    position:relative!important;
    display:block!important;
    flex:0 0 auto!important;
    width:100%!important;
    min-height:54px!important;
    padding:12px 14px 14px!important;
    background:#fff!important;
    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
  }
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-copy h3,
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-copy p{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }

  /* Compatibilité avec d'anciennes cartes non encore normalisées. */
  body#top #temoignages .fb-training-video-grid>.video:not(.fb-training-video-card){
    height:clamp(210px,58vw,250px)!important;
    min-height:210px!important;
    margin-bottom:36px!important;
  }

  /* Témoignages WhatsApp : retirer environ 30 à 40 px de hauteur et mieux
     occuper la zone jaune, tout en préservant intégralement la capture. */
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa{
    height:clamp(215px,63vw,270px)!important;
    min-height:0!important;
    padding:7px!important;
    box-sizing:border-box!important;
    overflow:visible!important;
    margin-bottom:34px!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa>img{
    width:100%!important;
    height:100%!important;
    max-width:100%!important;
    max-height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
    display:block!important;
    margin:0!important;
    padding:0!important;
  }
}

@media (max-width:360px){
  body#top #temoignages .fb-training-video-grid>.fb-training-video-card .fb-training-video-media,
  body#top #temoignages .fb-training-video-grid>.video:not(.fb-training-video-card){
    height:210px!important;
    min-height:210px!important;
  }
  body#top #temoignages .fb-whatsapp-testimonial-grid>.wa{
    height:215px!important;
  }
}


/* LOT 10.6 — reprise ferme et isolée depuis le ZIP 10.5.
   Uniquement : Extraits de nos formations + Témoignages WhatsApp sur téléphone. */
@media (max-width:767px){
  /* Ciblage direct de la première grille vidéo afin qu'aucune règle générique
     ne puisse à nouveau l'aplatir. */
  body#top #temoignages .fb-extracts-video-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:28px!important;
    width:100%!important;
  }
  body#top #temoignages .fb-extracts-video-grid>.video,
  body#top #temoignages .fb-extracts-video-grid>.fb-training-video-card{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:0!important;
    overflow:hidden!important;
    border:1px solid #dfe5ef!important;
    border-radius:18px!important;
    background:#fff!important;
    box-sizing:border-box!important;
  }
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-media,
  body#top #temoignages .fb-extracts-video-grid>.video:not(.fb-training-video-card){
    position:relative!important;
    flex:0 0 auto!important;
    width:100%!important;
    height:clamp(230px,67vw,290px)!important;
    min-height:230px!important;
    max-height:290px!important;
    aspect-ratio:auto!important;
    overflow:hidden!important;
    background:#050505!important;
    border-radius:18px 18px 0 0!important;
  }
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-media>img,
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-media>video,
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-media>iframe{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:cover!important;
    object-position:center!important;
    border:0!important;
    border-radius:inherit!important;
  }
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-copy{
    position:relative!important;
    display:block!important;
    width:100%!important;
    min-height:62px!important;
    padding:14px 16px 16px!important;
    background:#fff!important;
    overflow:visible!important;
    visibility:visible!important;
    opacity:1!important;
    box-sizing:border-box!important;
  }
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-copy h3,
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-copy p{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
  body#top #temoignages .fb-extracts-video-grid>.video:not(.fb-training-video-card)>small{
    position:relative!important;
    inset:auto!important;
    display:block!important;
    width:100%!important;
    min-height:54px!important;
    padding:14px 16px!important;
    background:#fff!important;
    color:#102452!important;
    text-align:left!important;
    font-size:14px!important;
    line-height:1.35!important;
    box-sizing:border-box!important;
  }
  body#top #temoignages .fb-extracts-video-grid>.more-card{
    width:100%!important;
  }

  /* Témoignages WhatsApp : carte encore plus compacte et image pleine zone,
     sans bord ou grand fond jaune visible. */
  body#top #temoignages .fb-whatsapp-home-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:30px!important;
    width:100%!important;
  }
  body#top #temoignages .fb-whatsapp-home-grid>.wa{
    position:relative!important;
    width:100%!important;
    height:clamp(185px,54vw,225px)!important;
    min-height:185px!important;
    max-height:225px!important;
    margin:0 0 36px!important;
    padding:0!important;
    overflow:visible!important;
    background:transparent!important;
    border-color:transparent!important;
    border-radius:18px!important;
    box-sizing:border-box!important;
  }
  body#top #temoignages .fb-whatsapp-home-grid>.wa>img{
    position:absolute!important;
    inset:0!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:18px!important;
    border:0!important;
  }
  body#top #temoignages .fb-whatsapp-home-grid>.wa.fb-five-stars::after{
    top:calc(100% + 10px)!important;
  }
}

@media (max-width:360px){
  body#top #temoignages .fb-extracts-video-grid .fb-training-video-media,
  body#top #temoignages .fb-extracts-video-grid>.video:not(.fb-training-video-card){
    height:230px!important;
    min-height:230px!important;
  }
  body#top #temoignages .fb-whatsapp-home-grid>.wa{
    height:185px!important;
    min-height:185px!important;
  }
}

/* LOT 10.7 — correction finale forcée, strictement limitée aux deux sections demandées. */
@media screen and (max-width: 767px) {
  /* EXTRAITS DE NOS FORMATIONS : même hauteur média que TÉMOIGNAGES VIDÉO. */
  html body#top section#temoignages .fb-extracts-video-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px !important;
    width: 100% !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
    border-radius: 18px !important;
    background: #fff !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card > .fb-training-video-media {
    display: block !important;
    position: relative !important;
    flex: 0 0 clamp(200px, 58vw, 250px) !important;
    width: 100% !important;
    height: clamp(200px, 58vw, 250px) !important;
    min-height: clamp(200px, 58vw, 250px) !important;
    max-height: 250px !important;
    overflow: hidden !important;
    background: #080808 !important;
    border-radius: 18px 18px 0 0 !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card > .fb-training-video-media > img,
  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card > .fb-training-video-media > video,
  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card > .fb-training-video-media > iframe {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #080808 !important;
    border: 0 !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .fb-training-video-card > .fb-training-video-copy {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 13px 16px 15px !important;
    background: #fff !important;
    color: #102452 !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  /* Cas des cartes anciennes sans sous-conteneur média. */
  html body#top section#temoignages .fb-extracts-video-grid > .video:not(.fb-training-video-card) {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: calc(clamp(200px, 58vw, 250px) + 58px) !important;
    min-height: calc(clamp(200px, 58vw, 250px) + 58px) !important;
    max-height: none !important;
    padding: 0 0 58px !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .video:not(.fb-training-video-card) > img,
  html body#top section#temoignages .fb-extracts-video-grid > .video:not(.fb-training-video-card) > video,
  html body#top section#temoignages .fb-extracts-video-grid > .video:not(.fb-training-video-card) > iframe {
    position: absolute !important;
    inset: 0 0 58px 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: calc(100% - 58px) !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #080808 !important;
  }

  html body#top section#temoignages .fb-extracts-video-grid > .video:not(.fb-training-video-card) > small {
    display: flex !important;
    align-items: center !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 12px 16px !important;
    background: #fff !important;
    color: #102452 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    text-align: left !important;
    visibility: visible !important;
    opacity: 1 !important;
    box-sizing: border-box !important;
  }

  /* TÉMOIGNAGES WHATSAPP : image pleine zone, sans bord jaune visible. */
  html body#top section#temoignages .fb-whatsapp-home-grid > .wa {
    position: relative !important;
    width: 100% !important;
    height: clamp(175px, 50vw, 210px) !important;
    min-height: 175px !important;
    max-height: 210px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  html body#top section#temoignages .fb-whatsapp-home-grid > .wa > img {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 18px !important;
  }

  html body#top section#temoignages .fb-whatsapp-home-grid > .wa.fb-five-stars {
    overflow: visible !important;
    margin-bottom: 36px !important;
  }
}


/* LOT 10.8 — normalisation structurelle définitive des extraits vidéo.
   Les classes uniques ci-dessous neutralisent les anciennes structures concurrentes. */
@media (max-width:767px){
  body#top #temoignages{--fb-mobile-video-media-height:clamp(200px,58vw,250px)}
  body#top #temoignages .fb-home-training-extract-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;width:100%!important;align-items:stretch!important}
  body#top #temoignages .fb-home-training-extract-card{display:flex!important;flex-direction:column!important;width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #dfe5ef!important;border-radius:18px!important;box-shadow:0 6px 15px rgba(0,20,80,.06)!important}
  body#top #temoignages .fb-home-training-extract-media{position:relative!important;display:block!important;flex:0 0 var(--fb-mobile-video-media-height)!important;width:100%!important;height:var(--fb-mobile-video-media-height)!important;min-height:var(--fb-mobile-video-media-height)!important;max-height:var(--fb-mobile-video-media-height)!important;overflow:hidden!important;background:#080808!important;border-radius:18px 18px 0 0!important}
  body#top #temoignages .fb-home-training-extract-media>img,body#top #temoignages .fb-home-training-extract-media>video,body#top #temoignages .fb-home-training-extract-media>iframe{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:0!important;object-fit:contain!important;object-position:center!important;background:#080808!important}
  body#top #temoignages .fb-home-training-extract-media>span{position:absolute!important;top:50%!important;left:50%!important;z-index:2!important;transform:translate(-50%,-50%)!important;color:#fff!important;font-size:46px!important;line-height:1!important;pointer-events:none!important;text-shadow:0 2px 8px rgba(0,0,0,.45)!important}
  body#top #temoignages .fb-home-training-extract-copy{display:block!important;width:100%!important;height:auto!important;min-height:58px!important;padding:13px 16px 15px!important;color:#102452!important;background:#fff!important;overflow:visible!important;visibility:visible!important;opacity:1!important}
  body#top #temoignages .fb-home-training-extract-copy h3{display:block!important;margin:0!important;color:#102452!important;font-size:15px!important;line-height:1.35!important;text-align:left!important;visibility:visible!important;opacity:1!important}
  body#top #temoignages .fb-home-training-extract-copy p{display:block!important;margin:6px 0 0!important;color:#4e5b75!important;font-size:13px!important;line-height:1.45!important;text-align:left!important;visibility:visible!important;opacity:1!important}
  body#top #temoignages .fb-home-training-extract-grid>.more-card{width:100%!important;min-height:var(--fb-mobile-video-media-height)!important}
}

/* LOT 10.9 — Actualités mobile : mêmes quatre cartes, structure horizontale compacte. */
@media (max-width:767px){
  body#top .section.news.target-block .news-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
    width:100%!important;
    margin:16px 0 0!important;
    padding:0!important;
    overflow:visible!important;
  }

  body#top .section.news.target-block .news-row>.news-card{
    display:grid!important;
    grid-template-columns:minmax(88px,32%) minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    align-items:stretch!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:138px!important;
    margin:0!important;
    padding:12px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  /* Cartes possédant une image ou un bloc jaune : visuel à gauche. */
  body#top .section.news.target-block .news-card:has(.news-img){
    grid-template-columns:minmax(96px,32%) minmax(0,1fr)!important;
  }
  body#top .section.news.target-block .news-card:has(.news-img) .news-img{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:100%!important;
    min-height:138px!important;
    max-height:none!important;
    margin:0!important;
    border-radius:6px!important;
    overflow:hidden!important;
  }
  body#top .section.news.target-block .news-card:has(.news-img) .news-date{
    position:absolute!important;
    top:12px!important;
    left:calc(16% - 28px)!important;
    z-index:3!important;
    transform:none!important;
    transform-origin:center!important;
    margin:0!important;
  }

  /* Carte sans image : date conservée dans la colonne gauche. */
  body#top .section.news.target-block .news-card:not(:has(.news-img)):not(.news-with-bg) .news-date{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    align-self:start!important;
    justify-self:center!important;
    transform:none!important;
    margin:0!important;
  }

  /* Contenu toujours à droite, sans espace artificiel. */
  body#top .section.news.target-block .news-card .news-body,
  body#top .section.news.target-block .news-card:has(.news-img) .news-body{
    grid-column:2!important;
    grid-row:1!important;
    position:relative!important;
    z-index:2!important;
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-start!important;
    align-self:stretch!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    padding:2px 0!important;
    margin:0!important;
  }
  body#top .section.news.target-block .news-card .news-body h3{
    margin:0 0 7px!important;
    font-size:14px!important;
    line-height:1.25!important;
    overflow-wrap:anywhere!important;
  }
  body#top .section.news.target-block .news-card .news-body p{
    display:block!important;
    margin:0 0 9px!important;
    font-size:11.5px!important;
    line-height:1.42!important;
    overflow:visible!important;
  }
  body#top .section.news.target-block .news-card .news-body a{
    display:inline-flex!important;
    width:max-content!important;
    margin:0!important;
    padding:0!important;
    font-size:11.5px!important;
    line-height:1.3!important;
    align-self:flex-start!important;
  }

  /* Carte sombre : même organisation horizontale, fond intégral conservé. */
  body#top .section.news.target-block .news-card.news-with-bg{
    grid-template-columns:minmax(88px,30%) minmax(0,1fr)!important;
    display:grid!important;
    padding:12px!important;
    min-height:138px!important;
    height:auto!important;
  }
  body#top .section.news.target-block .news-card.news-with-bg .news-bg-image{
    position:absolute!important;
    inset:0!important;
    z-index:0!important;
  }
  body#top .section.news.target-block .news-card.news-with-bg::after{
    z-index:1!important;
  }
  body#top .section.news.target-block .news-card.news-with-bg .news-date{
    grid-column:1!important;
    grid-row:1!important;
    position:relative!important;
    top:auto!important;
    left:auto!important;
    align-self:start!important;
    justify-self:center!important;
    z-index:2!important;
    transform:none!important;
    margin:0!important;
  }
  body#top .section.news.target-block .news-card.news-with-bg .news-body{
    grid-column:2!important;
    grid-row:1!important;
    padding:2px 0!important;
    min-height:0!important;
    justify-content:flex-start!important;
  }
}

@media (max-width:360px){
  body#top .section.news.target-block .news-row>.news-card{
    grid-template-columns:88px minmax(0,1fr)!important;
    gap:10px!important;
    padding:10px!important;
  }
  body#top .section.news.target-block .news-card:has(.news-img){
    grid-template-columns:94px minmax(0,1fr)!important;
  }
  body#top .section.news.target-block .news-card:has(.news-img) .news-date{
    left:19px!important;
    top:10px!important;
  }
  body#top .section.news.target-block .news-card .news-body h3{font-size:13px!important}
  body#top .section.news.target-block .news-card .news-body p,
  body#top .section.news.target-block .news-card .news-body a{font-size:10.8px!important}
}

/* LOT 10.10 — cinq carrousels tactiles mobiles, sans modification des cartes. */
@media (max-width:767px){
  /* Nom du centre : agrandissement modéré, deux lignes conservées. */
  body#top .topbar .brand span{
    max-width:108px!important;
    font-size:12px!important;
    line-height:1.02!important;
  }

  /* Structure commune : une carte entière visible, glissement tactile et snap. */
  body#top .fb-lot1010-carousel{
    display:flex!important;
    grid-template-columns:none!important;
    align-items:stretch!important;
    gap:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:4px 0 12px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-behavior:smooth!important;
    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:none!important;
    touch-action:pan-x pan-y!important;
  }
  body#top .fb-lot1010-carousel::-webkit-scrollbar{display:none!important}
  body#top .fb-lot1010-carousel>*:not(.more-card):not(.side-more):not(.trainer-more-card):not(.fb-carousel-arrow){
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    margin:0!important;
    scroll-snap-align:center!important;
    scroll-snap-stop:always!important;
    box-sizing:border-box!important;
  }

  /* Voir plus et anciennes flèches : masqués seulement sur téléphone. */
  body#top .fb-lot1010-carousel>.more-card,
  body#top .fb-lot1010-carousel>.side-more,
  body#top .fb-lot1010-carousel>.trainer-more-card,
  body#top .fb-lot1010-carousel>.fb-carousel-arrow{
    display:none!important;
  }

  /* Les anciennes règles nth-child ne doivent plus cacher de vraies cartes. */
  body#top #temoignages .fb-lot1010-carousel>:nth-child(n),
  body#top #realisations .fb-lot1010-carousel>:nth-child(n),
  body#top .gallery .fb-lot1010-carousel>:nth-child(n){
    visibility:visible!important;
  }
  body#top #temoignages .fb-lot1010-carousel>*:not(.more-card),
  body#top #realisations .fb-lot1010-carousel>*:not(.side-more),
  body#top .gallery .fb-lot1010-carousel>*:not(.side-more){
    display:flex!important;
  }

  /* Extraits : carte normalisée conservée, aucune modification du média. */
  body#top #temoignages .fb-lot1010-extracts-carousel>.fb-home-training-extract-card{
    display:flex!important;
    flex-direction:column!important;
  }

  /* WhatsApp et témoignages vidéo : étoiles intégrées au slide. */
  body#top #temoignages .fb-lot1010-whatsapp-carousel>.wa,
  body#top #temoignages .fb-lot1010-video-testimonials-carousel>.video{
    display:flex!important;
    flex-direction:column!important;
  }

  /* Galeries : structure interne existante conservée. */
  body#top .fb-lot1010-gallery-carousel>.gallery-card,
  body#top .fb-lot1010-gallery-video-carousel>.gallery-card{
    display:block!important;
  }

  /* Points communs, maximum quatre générés par JavaScript. */
  body#top .fb-lot1010-dots{
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:9px!important;
    width:100%!important;
    margin:8px 0 22px!important;
  }
  body#top .fb-lot1010-dots .fb-mobile-dot{
    display:block!important;
    width:9px!important;
    height:9px!important;
    min-width:9px!important;
    min-height:9px!important;
    padding:0!important;
    border:0!important;
    border-radius:50%!important;
    background:#b7bfd5!important;
  }
  body#top .fb-lot1010-dots .fb-mobile-dot.is-active{
    background:#08256f!important;
    transform:scale(1.25)!important;
  }
}

@media (max-width:390px){
  body#top .topbar .brand span{
    max-width:100px!important;
    font-size:11px!important;
    line-height:1.02!important;
  }
}

@media (max-width:350px){
  body#top .topbar .brand span{
    max-width:92px!important;
    font-size:10px!important;
  }
}

/* LOT 10.10 — priorité finale contre les anciennes grilles mobiles des lots précédents. */
@media (max-width:767px){
  html body#top section#temoignages .fb-lot1010-carousel,
  html body#top section#realisations .fb-lot1010-carousel,
  html body#top section.gallery .fb-lot1010-carousel{
    display:flex!important;
    grid-template-columns:none!important;
    gap:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    padding:4px 0 12px!important;
  }

  html body#top section#temoignages .fb-lot1010-carousel>*:not(.more-card):not(.side-more):not(.fb-carousel-arrow),
  html body#top section#realisations .fb-lot1010-carousel>*:not(.more-card):not(.side-more):not(.fb-carousel-arrow),
  html body#top section.gallery .fb-lot1010-carousel>*:not(.more-card):not(.side-more):not(.fb-carousel-arrow){
    flex:0 0 100%!important;
    width:100%!important;
    min-width:100%!important;
    max-width:100%!important;
    scroll-snap-align:center!important;
  }

  html body#top section#temoignages .fb-lot1010-carousel>.more-card,
  html body#top section#realisations .fb-lot1010-carousel>.side-more,
  html body#top section.gallery .fb-lot1010-carousel>.side-more,
  html body#top .fb-lot1010-carousel>.fb-carousel-arrow{
    display:none!important;
  }
}

/* LOT 10.11 — restauration stricte de la structure verticale interne des deux galeries mobiles. */
@media (max-width:767px){
  /*
   * Le carrousel reste horizontal au niveau de la grille.
   * Chaque carte retrouve sa structure validée : média en haut, texte en dessous.
   * Aucune dimension de média ou de carte n'est modifiée ici.
   */
  html body#top section#realisations .fb-lot1010-gallery-carousel > .gallery-card,
  html body#top section.gallery .fb-lot1010-gallery-video-carousel > .gallery-card{
    display:block!important;
    flex-direction:initial!important;
    align-items:initial!important;
    justify-content:initial!important;
    height:auto!important;
    overflow:hidden!important;
  }

  html body#top section#realisations .fb-lot1010-gallery-carousel > .gallery-card > .media,
  html body#top section.gallery .fb-lot1010-gallery-video-carousel > .gallery-card > .media,
  html body#top section.gallery .fb-lot1010-gallery-video-carousel > .gallery-card > .fb-real-video-media{
    display:block!important;
    width:100%!important;
    flex:none!important;
  }

  html body#top section#realisations .fb-lot1010-gallery-carousel > .gallery-card > h3,
  html body#top section#realisations .fb-lot1010-gallery-carousel > .gallery-card > p,
  html body#top section.gallery .fb-lot1010-gallery-video-carousel > .gallery-card > h3,
  html body#top section.gallery .fb-lot1010-gallery-video-carousel > .gallery-card > p{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    flex:none!important;
  }
}

/* LOT 10.12 — ajustements strictement mobiles : Préinscription + Lire la suite. */
@media (max-width:767px){
  /* En-tête : bouton légèrement plus large et espace net avant le hamburger. */
  html body#top .fb-mobile-preinscription{
    min-width:clamp(104px,29vw,126px)!important;
    padding-left:12px!important;
    padding-right:12px!important;
    margin-right:9px!important;
    font-size:clamp(11px,3vw,13px)!important;
    line-height:1!important;
    white-space:nowrap!important;
    flex-shrink:0!important;
  }
  html body#top .fb-mobile-menu-toggle{
    margin-left:0!important;
  }

  /* Actualités : conserver toute la carte et placer uniquement le lien en bas à droite. */
  html body#top .section.news.target-block .news-card .news-body,
  html body#top .section.news.target-block .news-card:has(.news-img) .news-body,
  html body#top .section.news.target-block .news-card.news-with-bg .news-body{
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    height:100%!important;
    min-height:0!important;
  }
  html body#top .section.news.target-block .news-card .news-body a{
    align-self:flex-end!important;
    margin-top:auto!important;
    margin-left:auto!important;
    padding:0 0 2px!important;
    width:max-content!important;
    max-width:100%!important;
    color:#08256f!important;
    font-size:clamp(12px,3.15vw,13.5px)!important;
    font-weight:800!important;
    line-height:1.2!important;
    text-align:right!important;
    text-decoration:none!important;
    border-bottom:1.5px solid currentColor!important;
    white-space:nowrap!important;
  }
  html body#top .section.news.target-block .news-card.news-dark .news-body a,
  html body#top .section.news.target-block .news-card.news-with-bg .news-body a{
    color:#fff!important;
  }
}

@media (max-width:350px){
  html body#top .fb-mobile-preinscription{
    min-width:98px!important;
    padding-left:9px!important;
    padding-right:9px!important;
    margin-right:7px!important;
    font-size:10.5px!important;
  }
}

/* LOT 10.13 — harmonisation visuelle ciblée de la barre ANNONCES, tous écrans. */
html body#top .ticker{
  gap:0!important;
  padding:0!important;
  display:flex!important;
  align-items:center!important;
  overflow:hidden!important;
  color:#fff!important;
  background:linear-gradient(90deg,#cf1018 0%,#e31219 46%,#f2181d 100%)!important;
}
html body#top .ticker > b{
  flex:0 0 auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  margin:3px 8px!important;
  padding:3px 10px!important;
  height:calc(100% - 6px)!important;
  min-width:max-content!important;
  color:#fff!important;
  background:transparent!important;
  border:1.5px solid rgba(255,255,255,.96)!important;
  border-radius:7px!important;
  font-size:13px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  z-index:2!important;
}
html body#top .ticker .ticker-icon{
  width:18px!important;
  height:18px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 18px!important;
  color:#fff!important;
}
html body#top .ticker .ticker-icon svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
}
html body#top .ticker .ticker-label-text{
  display:inline-block!important;
  color:#fff!important;
  font:inherit!important;
  letter-spacing:.01em!important;
}
html body#top .ticker-window{
  flex:1 1 auto!important;
  min-width:0!important;
  overflow:hidden!important;
  display:flex!important;
  align-items:center!important;
  background:transparent!important;
}
html body#top .ticker-track{
  color:#fff!important;
  background:transparent!important;
}
html body#top .ticker-track,
html body#top .ticker-track span,
html body#top .ticker-track a{
  color:#fff!important;
  text-decoration:none!important;
}

@media (max-width:767px){
  html body#top .ticker > b{
    margin:3px 5px 3px 4px!important;
    padding:3px 6px!important;
    gap:4px!important;
    font-size:11px!important;
    border-radius:6px!important;
  }
  html body#top .ticker .ticker-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
  html body#top .ticker-track{
    font-size:11px!important;
  }
}

@media (max-width:350px){
  html body#top .ticker > b{
    margin-left:4px!important;
    margin-right:5px!important;
    padding-left:6px!important;
    padding-right:6px!important;
    gap:4px!important;
    font-size:11px!important;
  }
  html body#top .ticker .ticker-icon{
    width:14px!important;
    height:14px!important;
    flex-basis:14px!important;
  }
}
