/* IT Tech Académie — V48 : corrections de l'audit du site (contraste, boutons, carte avec consentement, page 404). */

/* 1. Contraste du texte (WCAG AA : 4,5:1 au minimum) — mesuré dans Chrome avant correction : 3,3 / 2,77 / 2,65 / 1,98 / 4,49 */
.btn.green, button.btn.green, .btn.green.blink-register, .btn.green.big-btn,
.nav-register-first, .v63-menu .nav-register, .v63-menu .nav-register-first, .nav-btn.nav-register {
  background: #15803d !important; border-color: #15803d !important; color: #fff !important;       /* blanc sur #15803d = 5,0:1 (avant #16a34a : 3,3:1) */
}
.whatsapp-float { background: #15803d !important; color: #fff !important; }                            /* avant #25d366 : 1,98:1 */
.v38-note a, main a[href*="youtube.com"]:not([class]) { color: #0369a1; }                              /* avant #0ea5e9 sur blanc : 2,77:1 ; maintenant 5,9:1 */
.check-consent a, label a { color: #0369a1; }
.cndp-notice, p.small.cndp-notice { color: #4b5563 !important; }                                        /* avant #6b7280 : 4,49:1 */

/* 2. Un seul bouton principal par écran : « S'abonner » / « Inscription directe » ; « Payer » et « WhatsApp » deviennent secondaires. */
.nav-pay-btn { background: transparent !important; color: #0b3f88 !important; border: 2px solid #0b3f88 !important; box-shadow: none !important; }
body.landing-v38 .mobile-action-bar.v38-bar a.v38-bar-wa { background: #fff; color: #14532d; border: 2px solid #15803d; animation: none; box-shadow: none; }
.v38-band .v38-btn-green, .home-final-cta .v38-btn-green, .v38-cta-row .v38-btn-green { background: rgba(255,255,255,.14); color: #fff !important; border: 1.5px solid rgba(255,255,255,.7); box-shadow: none; }

/* 3. Carte Google Maps : chargée seulement après le clic du visiteur (consentement) */
.map-consent { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 300px; padding: 20px; text-align: center; border: 1px solid #dbe5ef; border-radius: 16px; background: #f1f7ff; color: #0f172a; }
.map-consent p { margin: 0; max-width: 46ch; line-height: 1.5; }
.map-consent .map-consent-btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: #0b3f88; color: #fff; font-weight: 800; font-size: 1rem; cursor: pointer; }
.map-consent .map-consent-btn:hover { background: #072f66; }
.map-consent a { color: #0369a1; font-weight: 700; }
iframe.map-frame { width: 100%; border: 0; border-radius: 16px; }

/* 4. Page 404 */
.page-404 { text-align: center; padding: 48px 0 24px; }
.page-404 .code-404 { font-size: clamp(4rem, 14vw, 7rem); font-weight: 900; line-height: 1; color: #0b3f88; margin: 0; }
.page-404 h1 { margin: 8px 0 12px; }
.page-404 .cta-404 { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 22px; }
.page-404 .cta-404 a { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 800; text-decoration: none; }
.page-404 .cta-404 a.principal { background: #0b3f88; color: #fff; }
.page-404 .cta-404 a.secondaire { background: #fff; color: #0b3f88; border: 2px solid #0b3f88; }

/* 5. V48-MOBILE : accueil sur téléphone = l'essentiel seulement (demande du propriétaire). Les galeries et vidéos défilantes restent visibles.
      Cachés : « nos étudiants », catalogue complet des modules, sous-titres, phrases d'accroche, descriptions longues des cartes de parcours, détail des étapes. */
@media (max-width: 768px) {
  #etudiants, #catalogue-formations, .home-full-catalog { display: none !important; }
  body.landing-v38 .m-long, body.landing-v38 .v38-lead, body.landing-v38 .v38-access, body.landing-v38 .home-trust-chips { display: none !important; }
  body.landing-v38 .v38-sub { display: none !important; }
  body.landing-v38 .v38-steps li p { display: none !important; }
  body.landing-v38 .path-card-objective, body.landing-v38 .path-level, body.landing-v38 .path-jobs { display: none !important; }
  body.landing-v38 .v38-hero h1 { font-size: clamp(1.45rem, 6.4vw, 1.9rem); line-height: 1.2; }
  body.landing-v38 .v38-head { margin-bottom: 10px; }
}

/* V48 — page Encadrement individuel / révision d'examens */
.enc-tarif { background: #eef5ff; border: 2px solid #0b3f88; border-radius: 14px; padding: 16px 18px; color: #0b2f66; font-size: 1.05rem; line-height: 1.5; }
.enc-tarif b { font-size: 1.15rem; }
.enc-wide { grid-column: 1 / -1; }
.enc-wide textarea { width: 100%; min-height: 110px; font: inherit; padding: 12px; border: 1px solid #b9c6d8; border-radius: 10px; resize: vertical; box-sizing: border-box; }
.enc-creneaux { border: 1px solid #d3dcea; border-radius: 12px; padding: 14px 16px; margin: 18px 0 8px; }
.enc-creneaux legend { font-weight: 800; padding: 0 8px; }
.enc-jours { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 4px 0 12px; }
.enc-jour { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.enc-jour input, .enc-consent input { width: 20px; height: 20px; flex: none; }
.enc-estimation { color: #0b3f88; font-weight: 600; min-height: 1.4em; }
.enc-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0; font-size: .95rem; line-height: 1.45; }
@media (max-width: 767px) { .enc-tarif { font-size: 1rem; } .enc-creneaux { padding: 12px; } }