

/* ==========================================================================
   Corrections du 4 décembre 2026 (audit SEO et tour du site)
   ========================================================================== */

/* Ancres du menu : la section visée ne passe plus sous l'en-tête fixe */
html { scroll-padding-top: 140px; }

/* FAQ de l'accueil : le thème interdit le retour à la ligne dans les boutons,
   les questions étaient coupées sur téléphone et tablette */
.pfq-q { white-space: normal !important; }
.pfq-q h3 { min-width: 0 !important; white-space: normal !important; overflow-wrap: break-word !important; }

/* Menu mobile : bouton « Inscription » lisible (le lien prenait la couleur bleue des liens) */
.pantin-mobile a.pantin-mobile-cta,
.pantin-mobile a.pantin-mobile-cta:hover,
.pantin-mobile a.pantin-mobile-cta:focus,
.pantin-mobile a.pantin-mobile-cta * { color: #ffffff !important; }

/* Menu mobile replié : plus d'ombre grise sur le bord droit de l'écran */
.pantin-mobile:not(.active) { box-shadow: none !important; }

/* Accueil, bandeau « Inscrivez votre enfant » : bouton secondaire et texte de la carte Contact lisibles */
#pantin-inscription-cta a.pin-btn-secondary,
#pantin-inscription-cta a.pin-btn-secondary:hover { color: #ffffff !important; }
#pantin-inscription-cta .pin-info-card span { color: rgba(255, 255, 255, 0.85) !important; }
@media (max-width: 1024px) {
	/* la carte Contact restait décalée de 30 px vers la droite (animation d'entrée inachevée) et sortait du bandeau */
	#pantin-inscription-cta .pin-info-card { transform: none !important; }
}

/* Accueil, résultats : les icônes décoratives ne passent plus sur le titre en mobile */
@media (max-width: 767px) {
	.prs-float { display: none !important; }
}

/* Accueil, « Nos formations » : la photo s'affichait seulement au survol de la souris,
   donc jamais sur téléphone et tablette */
@media (hover: none) {
	.pfv1-card .card-photo { opacity: 1 !important; }
}

/* Page introuvable (404) : contenu visible sous l'en-tête fixe */
.error404 .yv-404 { max-width: 760px; margin: 0 auto; padding: 190px 24px 90px; text-align: center; font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif; }
.error404 .yv-404 .yv-404-code { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #2682A9; margin: 0 0 12px; }
.error404 .yv-404 h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 800; color: #0f172a; margin: 0 0 16px; }
.error404 .yv-404 p { font-size: 17px; line-height: 1.6; color: #475569; margin: 0 0 32px; }
.error404 .yv-404 ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.error404 .yv-404 li a { display: inline-block; padding: 13px 22px; border-radius: 12px; background: #f1f5f9; color: #1e5a7e; font-weight: 600; text-decoration: none; }
.error404 .yv-404 li a:hover { background: #1e5a7e; color: #ffffff; }
.error404 .yv-404 li.yv-404-principal a { background: #1e5a7e; color: #ffffff; }
.error404 .yv-404 li.yv-404-principal a:hover { background: #143d54; }
@media (max-width: 767px) { .error404 .yv-404 { padding-top: 150px; } }
.error404 .yv-404 .yv-404-recherche { margin: 40px auto 0; max-width: 520px; text-align: left; }
.error404 .yv-404 .yv-404-recherche label { display: block; font-size: 14px; font-weight: 600; color: #0f172a; margin-bottom: 8px; }
.error404 .yv-404 .yv-404-recherche div { display: flex; gap: 8px; }
.error404 .yv-404 .yv-404-recherche input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 12px; font: inherit; font-size: 16px; }
.error404 .yv-404 .yv-404-recherche button { padding: 12px 20px; border: 0; border-radius: 12px; background: #2682A9; color: #ffffff; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.error404 .yv-404 .yv-404-recherche button:hover { background: #1e5a7e; }

/* Boutons Elementor longs sur téléphone (Inscriptions) : le texte passe à la ligne au lieu de toucher les bords */
@media (max-width: 767px) {
	.elementor-widget-button .elementor-button { white-space: normal; max-width: 100%; text-align: center; }
}

/* Page 404 : même police que le reste du site (le kit Elementor imposait la sienne aux titres) */
.error404 .yv-404, .error404 .yv-404 h1, .error404 .yv-404 p, .error404 .yv-404 a,
.error404 .yv-404 label, .error404 .yv-404 input, .error404 .yv-404 button { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important; letter-spacing: normal; }
.error404 .yv-404 h1 { letter-spacing: -0.02em; }

/* Articles : lien de retour, titre plus lisible, date de publication */
.single-post .yv-retour-actus { margin-bottom: 6px; }
.single-post .yv-retour-actus a, .single-post .elementor-element-1e2279de .elementor-heading-title, .single-post .yv-date-article .elementor-heading-title { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important; }
.single-post .yv-retour-actus a { font-size: 14px; font-weight: 600; color: #2682A9; text-decoration: none; }
.single-post .yv-retour-actus a:hover { text-decoration: underline; }
.single-post .elementor-element-1e2279de .elementor-heading-title { font-size: clamp(1.6rem, 3.2vw, 2.5rem) !important; line-height: 1.2; font-weight: 800 !important; letter-spacing: -0.02em; }
.single-post .yv-date-article .elementor-heading-title { font-size: 15px; font-weight: 500; color: #64748b; margin: 0; }

/* Pop-up portes ouvertes sur téléphone : en haut de l'écran, pour que le bandeau cookies (en bas) ne cache plus la date */
@media (max-width: 767px) {
	#popup-jpo { align-items: flex-start !important; padding-top: 24px !important; overflow-y: auto; }
}

/* Articles sur téléphone : texte aligné à gauche (le texte justifié creusait de grands blancs entre les mots) */
@media (max-width: 767px) {
	.single-post .elementor-widget-text-editor:not(.yv-retour-actus), .single-post .elementor-widget-text-editor:not(.yv-retour-actus) p { text-align: left !important; }
}
