/* Correctifs de la home de test (audit du 25-26 oct 2026). Ne change ni les couleurs ni la mise en page.
   Préfixé par la classe du modèle de page / le conteneur .accueil-bvtc pour l'emporter sur les CSS des plugins (chargés plus bas). */

/* ---- Dernière version du modèle de Laura (cta.css du 22 oct 2026) : un seul bleu pour tous les boutons, 4 cartes « parcours » de même couleur ---- */
#accueil-bvtc{--cta-blue:#0a40a6;--cta-hover:#041f63}
#accueil-bvtc :is(.btn,.btn.gold,.btn.white,.btn.outline),
#accueil-bvtc .mobile-cta a,
#accueil-bvtc .appointment-form .hs-button { background: var(--cta-blue); color: #fff; border-color: var(--cta-blue); }
#accueil-bvtc :is(.btn,.btn.gold,.btn.white,.btn.outline):hover,
#accueil-bvtc .mobile-cta a:hover,
#accueil-bvtc .appointment-form .hs-button:hover { background: var(--cta-hover); color: #fff; border-color: var(--cta-hover); text-decoration: none; }
#accueil-bvtc :is(.btn,.btn.gold,.btn.white,.btn.outline):focus-visible,
#accueil-bvtc .mobile-cta a:focus-visible { outline: 3px solid var(--cta-blue); outline-offset: 4px; box-shadow: 0 0 0 3px #fff; }
#accueil-bvtc #accompagnement .path-card:nth-child(n){--card-bg:#e4edff;--card-ink:#072f85;--card-muted:#3a4e70;--card-line:#072f8530;--icon-bg:#ffffffb3;--action-bg:var(--cta-blue);--action-ink:#fff}
#accueil-bvtc #accompagnement .path-card:hover .path-action{background:var(--cta-hover);color:#fff;text-decoration:none;box-shadow:0 5px 15px #041f6320}

/* Boutons du menu (en-tête commun au site) : alignés sur le bleu du modèle UNIQUEMENT sur cette page de test ; à décider pour tout le site à la bascule. */
body.page-template-page-home-new-test header .btn-rdv,
body.page-template-page-home-new-test header .drawer-sub-cta a,
body.page-template-page-home-new-test header .mm-footer a,
body.page-template-page-home-new-test header .mm-footer a.primary { background: #0a40a6 !important; color: #fff !important; border-color: #0a40a6 !important; }
body.page-template-page-home-new-test header .btn-rdv:hover,
body.page-template-page-home-new-test header .drawer-sub-cta a:hover,
body.page-template-page-home-new-test header .mm-footer a:hover { background: #083488 !important; color: #fff !important; border-color: #083488 !important; }

/* ---- Popup de rendez-vous (formulaire HubSpot) ----
   Une règle globale du thème (bvtc-custom.css) force « display: contents !important » sur tous les labels des formulaires HubSpot ;
   elle écrase le style de la popup (case à cocher centrée au-dessus du texte, astérisque collé au libellé). On la neutralise ici, dans la popup seulement. */
.accueil-bvtc .appointment-form .hs-form label { display: block !important; }
.accueil-bvtc .appointment-form .hs-form label.hs-form-booleancheckbox-display { display: flex !important; }
.accueil-bvtc .appointment-form .hs-form .hs-form-required { display: inline !important; }
.accueil-bvtc .appointment-form .hs-form .hs-form-required { font-size: inherit !important; font-weight: 600 !important; line-height: inherit !important; }
.accueil-bvtc .appointment-form .hs-form input[type=checkbox] { background: transparent !important; color: #000 !important; }
.accueil-bvtc .appointment-form .hs-form .hs-form-booleancheckbox-display span,
.accueil-bvtc .appointment-form .hs-form .hs-form-booleancheckbox-display span a { font-size: 13px !important; font-weight: 400 !important; line-height: 1.6 !important; }
.accueil-bvtc .appointment-form .hs-form .hs-form-booleancheckbox-display span { color: #24334f !important; }
.accueil-bvtc .appointment-form .hs-form input[type=submit],
.accueil-bvtc .appointment-form .hs-form .hs-button { background-color: #0a40a6 !important; border-color: #0a40a6 !important; }
.accueil-bvtc .appointment-form .hs-form input[type=submit]:hover,
.accueil-bvtc .appointment-form .hs-form .hs-button:hover { background-color: #083488 !important; border-color: #083488 !important; }

/* ---- Ancres : le haut de la section atteinte ne passe pas sous l'en-tête fixe (≈ 89 px) ---- */
body.page-template-page-home-new-test #accompagnement, body.page-template-page-home-new-test #formation, body.page-template-page-home-new-test #creation,
body.page-template-page-home-new-test #comptabilite, body.page-template-page-home-new-test #developpement, body.page-template-page-home-new-test #parcours-vtc,
body.page-template-page-home-new-test #premier-rendez-vous, body.page-template-page-home-new-test #avis, body.page-template-page-home-new-test #ressources,
body.page-template-page-home-new-test #contact { scroll-margin-top: 96px; }

/* ---- Croix de fermeture de la popup : recentrée dans son rond ----
   Le remplissage d'origine (8 px / 16 px) dans un rond de 40 px décalait la croix vers le bas et la droite. */
.accueil-bvtc .appointment-header [data-rdv-close] { padding: 0 !important; display: grid; place-items: center; }
.accueil-bvtc .appointment-header [data-rdv-close] span { display: block; line-height: 1; }

/* ---- Confort mobile : cibles tactiles d'au moins 44 px et textes d'au moins 13-14 px ---- */
@media (max-width: 800px) {
  /* ---- cibles tactiles ---- */
  body.page-template-page-home-new-test .testimonial-footer a,
  body.page-template-page-home-new-test .text-link,
  body.page-template-page-home-new-test .under-link,
  body.page-template-page-home-new-test .bvtc-faq a,
  body.page-template-page-home-new-test .journey-section a.text-link { display: inline-flex; align-items: center; min-height: 44px; }
  body.page-template-page-home-new-test .contact-section .phone { display: inline-flex; align-items: center; min-height: 44px; }
  body.page-template-page-home-new-test .promo-toggle { min-width: 44px; min-height: 44px; }
  body.page-template-page-home-new-test .accueil-bvtc [data-rdv-close] { min-width: 44px; min-height: 44px; }
  body.page-template-page-home-new-test .burger,
  body.page-template-page-home-new-test .drawer-close { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  body.page-template-page-home-new-test header .logo,
  body.page-template-page-home-new-test header a.logo { display: inline-flex; align-items: center; min-height: 44px; }
  body.page-template-page-home-new-test .elementor-location-footer a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  /* ---- textes trop petits ---- */
  body.page-template-page-home-new-test .review-date,
  body.page-template-page-home-new-test .review-status,
  body.page-template-page-home-new-test .rating-detail,
  body.page-template-page-home-new-test .review-nav,
  body.page-template-page-home-new-test .review-entity,
  body.page-template-page-home-new-test .testimonial-footer span,
  body.page-template-page-home-new-test .testimonial-footer a,
  body.page-template-page-home-new-test .contact-section span,
  body.page-template-page-home-new-test .micro,
  body.page-template-page-home-new-test .revenue-goal { font-size: .875rem; }
  body.page-template-page-home-new-test .resource-grid span,
  body.page-template-page-home-new-test .image-label,
  body.page-template-page-home-new-test .why b,
  body.page-template-page-home-new-test .badge-mobile,
  body.page-template-page-home-new-test .drawer-contact-label { font-size: .8125rem; }
}
