/* ABLOGUI — widget « Bandeau plateforme » : proposition C « Tache jaune » retenue le 26 octobre 2026
   (maquettes/mooc) : grande tache jaune pâle avec sa queue en bulle de pensée, sigle « MOOC » dans une tache
   verte, titre, phrase, thèmes en pastilles, un seul bouton */
.pf-section { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
/* Le bandeau reste proche de ses voisins (retour du 26 octobre 2026) : le bloc au-dessus perd son espace du bas,
   celui d'en dessous son espace du haut, quel que soit le bloc (actualités, chiffres…) */
.ab-section:has(+ .pf-section),
.elementor-element:has(+ .elementor-element .pf-section) .ab-section { padding-bottom: 24px; }
.pf-section + section,
.elementor-element:has(.pf-section) + .elementor-element section { padding-top: 40px; }
.pf-bande { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 5vw, 64px); border-radius: 60px 90px 70px 100px / 90px 60px 100px 70px; background: #fdf1cc; }
/* Queue en bulle de pensée */
.pf-bande::before, .pf-bande::after { content: ""; position: absolute; border-radius: 50%; background: #fdf1cc; }
.pf-bande::before { width: 40px; height: 34px; left: 12%; bottom: -26px; }
.pf-bande::after { width: 20px; height: 18px; left: 9%; bottom: -50px; }
.pf-sigle { display: grid; place-items: center; width: clamp(120px, 14vw, 170px); aspect-ratio: 1; border-radius: 46% 54% 52% 48% / 56% 44% 56% 44%;
  background: var(--ab-vert-texte); color: #fff; text-align: center; transition: transform .6s var(--ab-doux); }
.pf-bande:hover .pf-sigle { transform: rotate(-6deg) scale(1.04); }
.pf-sigle svg { width: 30px; height: 30px; margin: 0 auto 8px; }
.pf-sigle b { display: block; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.pf-sigle small { display: block; margin-top: 4px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; opacity: .85; }
.pf-texte h2.ab-t { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); line-height: 1.08; }
.pf-texte p { margin-top: 8px; color: var(--ab-texte-doux); }
.pf-themes { display: flex; flex-wrap: nowrap; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; } /* thèmes sur une seule ligne */
.pf-themes li { flex: none; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); font-size: .84rem; font-weight: 600; line-height: 1.4; white-space: nowrap; color: var(--ab-vert-nuit); }
.pf-action .ab-pilule { white-space: nowrap; }
/* La queue de la tache dépasse sous le bandeau : un peu plus d'air avant le bloc suivant */
.pf-section { padding-bottom: clamp(48px, 5vw, 64px); }
/* Écrans moyens : le bouton passe sous le texte, pour laisser aux thèmes la place de tenir sur une ligne */
@media (min-width: 861px) and (max-width: 1240px) {
  .pf-bande { grid-template-columns: auto minmax(0, 1fr); row-gap: 20px; }
  .pf-sigle { grid-row: span 2; }
  .pf-action { grid-column: 2; }
}
@media (max-width: 860px) {
  .pf-bande { grid-template-columns: 1fr; gap: 18px; border-radius: 48px 64px 56px 72px / 64px 48px 72px 56px; }
  .pf-sigle { width: 110px; }
  .pf-themes { flex-wrap: wrap; } /* sur téléphone, les thèmes passent à la ligne */
  .pf-action .ab-pilule { width: 100%; justify-content: center; }
}
