/* REFONTE-VITRINE (13/11/2026) : bandeau titre commun du site public (includes/_bandeau_titre.php) et illustration du tableau de
   bord (includes/_illustration_tableau.php). Feuille autonome, aucune reconstruction Tailwind ; polices Manrope et Inter déclarées
   par tailwind.min.css (servies par le site). Charte : page de connexion sur fond marine de l'en-tête.
   Ruptures : 960 px (celle de l'en-tête commun) et 560 px (téléphone). Toute modification change l'empreinte rendue par asset(). */

.hmb-bande { background: #1B2A4A; position: relative; overflow: hidden; color: #fff; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
/* Halo bleu centré, nul au bord haut : aucune ligne visible à la jonction avec l'en-tête. */
.hmb-bande::before { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse 58% 44% at 50% 52%, rgba(64, 87, 145, .5), rgba(64, 87, 145, 0) 100%); }
.hmb-contenu { position: relative; max-width: 980px; margin: 0 auto; padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.hmb-grand .hmb-contenu { padding-top: 48px; padding-bottom: 72px; }
.hmb-grand.hmb-avec-visuel .hmb-contenu { padding-bottom: 214px; }
.hmb-moyen .hmb-contenu { padding-top: 44px; padding-bottom: 60px; }
.hmb-moyen.hmb-avec-visuel .hmb-contenu { padding-bottom: 204px; }
.hmb-compact .hmb-contenu { padding-top: 30px; padding-bottom: 38px; }

.hmb-titre { font-family: Manrope, Inter, system-ui, sans-serif; font-weight: 800; color: #fff; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
.hmb-grand .hmb-titre { font-size: clamp(32px, 5.6vw, 62px); max-width: 18em; }
.hmb-moyen .hmb-titre { font-size: clamp(28px, 4.1vw, 46px); max-width: 17em; }
.hmb-compact .hmb-titre { font-size: clamp(25px, 3vw, 34px); }
.hmb-titre em { font-style: normal; color: #6ECA97; }
.hmb-sous { margin: 0; color: #C5D0E6; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.6; max-width: 40em; }

.hmb-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #DDE5F3; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; padding: 5px 13px; }
.hmb-badge svg { width: 17px; height: 11px; border-radius: 2px; flex-shrink: 0; }
.hmb-badge-vert { color: #9BE0BA; background: rgba(110, 202, 151, .12); border-color: rgba(110, 202, 151, .32); }

.hmb-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hmb-btn { font-weight: 700; font-size: 16px; border-radius: 10px; padding: 14px 22px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; text-decoration: none; transition: background-color .15s, border-color .15s; }
.hmb-btn small { font-weight: 500; font-size: 12px; opacity: .85; }
.hmb-btn-prim { background: #6ECA97; color: #163B2B; }
.hmb-btn-prim:hover { background: #5DBB87; }
/* Bouton secondaire : filet à la couleur du bouton principal voisin (demande de Christophe du 13/11/2026, plus visible). */
.hmb-btn-sec { color: #fff; border: 1.5px solid #6ECA97; }
.hmb-btn-sec:hover { background: rgba(110, 202, 151, .12); }
.hmb-btn:focus-visible { outline: 3px solid #6ECA97; outline-offset: 3px; }

.hmb-engagements { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: #AEBBD6; font-size: 13.5px; }
.hmb-engagements li::before { content: ""; display: inline-block; width: 9px; height: 5px; margin-right: 8px; border-left: 2px solid #6ECA97; border-bottom: 2px solid #6ECA97; transform: translateY(-3px) rotate(-45deg); }
.hmb-visuel .hmb-engagements { color: #5C677C; margin-top: 20px; }
.hmb-visuel .hmb-engagements li::before { border-color: #1B6B43; }

/* Illustration à cheval sur le bas du bandeau */
.hmb-visuel { position: relative; z-index: 2; max-width: 820px; margin: -186px auto 0; padding: 0 24px 34px; font-family: Inter, system-ui, sans-serif; }
.hmb-illu { background: #fff; color: #1F2C45; border-radius: 16px; text-align: left; overflow: hidden; box-shadow: 0 30px 60px -22px rgba(8, 16, 34, .55), 0 0 0 1px rgba(27, 42, 74, .08); }
.hmb-illu-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid #E6EBF2; }
.hmb-illu-tete b { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 16px; }
.hmb-illu-tete span { font-size: 12px; font-weight: 600; color: #1B6B43; background: #DCF3E6; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.hmb-illu-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 16px 18px 8px; }
.hmb-illu-kpi div { background: #F1F5F9; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hmb-illu-kpi small { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: #5C677C; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmb-illu-kpi strong { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.hmb-illu-plan { padding: 6px 18px 4px; display: flex; flex-direction: column; gap: 9px; }
.hmb-ligne { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; }
.hmb-ligne > span { font-size: 13px; color: #3D485C; white-space: nowrap; }
.hmb-piste { position: relative; height: 24px; background: #F1F5F9; border-radius: 6px; }
.hmb-piste i { position: absolute; top: 3px; bottom: 3px; border-radius: 4px; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; padding-left: 7px; line-height: 18px; overflow: hidden; white-space: nowrap; }
.hmb-illu-note { display: block; font-size: 11px; color: #5C677C; padding: 8px 18px 14px; }

@media (max-width: 560px) {
    .hmb-contenu { padding-left: 18px; padding-right: 18px; }
    .hmb-grand .hmb-titre { font-size: clamp(26px, 7.6vw, 32px); }
    .hmb-moyen .hmb-titre { font-size: clamp(24px, 6.8vw, 28px); }
    .hmb-badge { font-size: 12px; }
    .hmb-grand .hmb-contenu { padding-top: 40px; padding-bottom: 48px; }
    .hmb-moyen .hmb-contenu { padding-top: 34px; padding-bottom: 42px; }
    .hmb-compact .hmb-contenu { padding-top: 22px; padding-bottom: 28px; }
    .hmb-grand.hmb-avec-visuel .hmb-contenu, .hmb-moyen.hmb-avec-visuel .hmb-contenu { padding-bottom: 130px; }
    .hmb-boutons { flex-direction: column; align-self: stretch; }
    .hmb-btn { width: 100%; }
    .hmb-visuel { margin-top: -100px; padding: 0 14px 24px; }
    .hmb-illu-tete { padding: 12px 14px; } .hmb-illu-tete b { font-size: 14px; } .hmb-illu-tete span { font-size: 11px; }
    .hmb-illu-kpi { gap: 6px; padding: 12px 14px 6px; } .hmb-illu-kpi div { padding: 8px; }
    .hmb-illu-kpi small { font-size: 9.5px; letter-spacing: .03em; } .hmb-illu-kpi strong { font-size: 17px; }
    .hmb-illu-plan { padding: 6px 14px 4px; } .hmb-ligne { grid-template-columns: 74px minmax(0, 1fr); gap: 8px; }
    .hmb-ligne > span { font-size: 11.5px; } .hmb-piste i { font-size: 10px; padding-left: 5px; }
    .hmb-illu-note { padding: 6px 14px 12px; }
}
@media (prefers-reduced-motion: reduce) { .hmb-btn { transition: none; } }

/* Illustrations des pages de fonctionnalités (REFONTE-VITRINE, passe 2, 13/11/2026) : largeur propre à chaque visuel. */
.hmb-visuel-synchro { max-width: 640px; }
.hmb-visuel-facture { max-width: 460px; }
.hmb-visuel-reservation { max-width: 520px; }
.hmb-centre { text-align: center; }

/* Synchronisation : trois canaux reliés à HostManager */
.hmb-synchro { padding: 20px 20px 4px; }
.hmb-synchro-canaux { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hmb-synchro-col { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.hmb-synchro-canal { width: 100%; background: #fff; border: 1px solid #E6EBF2; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 14px 8px 12px; box-shadow: 0 6px 16px rgba(20, 32, 58, .06); }
.hmb-synchro-icone { width: 38px; height: 38px; border-radius: 10px; background: #DCF3E6; display: flex; align-items: center; justify-content: center; }
.hmb-synchro-canal b { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 15px; text-align: center; line-height: 1.2; }
.hmb-synchro-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #1B6B43; }
.hmb-synchro-fleche { display: flex; flex-direction: column; align-items: center; padding: 4px 0; }
.hmb-synchro-fleche i { display: block; }
.hmb-synchro-fleche .hmb-haut { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 9px solid #405791; }
.hmb-synchro-fleche .hmb-trait { width: 2px; height: 30px; background: #405791; }
.hmb-synchro-fleche .hmb-bas { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 9px solid #405791; }
.hmb-synchro-hm { background: #1B2A4A; color: #fff; border-radius: 14px; padding: 18px 16px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.hmb-synchro-logo { display: inline-flex; align-items: center; gap: 10px; font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 22px; }
.hmb-synchro-logo img { height: 24px; width: auto; display: block; }
.hmb-synchro-cm { font-family: Manrope, Inter, sans-serif; font-weight: 700; font-size: 15px; color: #6ECA97; }
.hmb-synchro-quoi { font-size: 13px; color: #C5D0E6; }

/* Facture */
.hmb-facture { padding: 20px 20px 4px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hmb-facture-tete { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hmb-facture-tete b { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 18px; }
.hmb-facture-tete span { font-size: 12px; font-weight: 600; color: #1B6B43; background: #DCF3E6; border-radius: 999px; padding: 4px 10px; }
.hmb-facture-sejour { color: #5C677C; }
.hmb-facture-lignes { border-top: 1px solid #E6EBF2; padding-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.hmb-facture-lignes div, .hmb-facture-total, .hmb-facture-caution { display: flex; justify-content: space-between; gap: 10px; }
.hmb-facture-total { border-top: 1px solid #E6EBF2; padding-top: 10px; font-weight: 700; }
.hmb-facture-caution { background: #F1F5F9; border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.hmb-facture .hmb-illu-note { padding: 0 0 14px; }

/* Calendrier */
.hmb-plan-haut { padding-top: 14px; }
.hmb-jours { display: flex; justify-content: space-between; font-size: 11px; color: #7A8497; font-style: normal; }
.hmb-jours i { font-style: normal; }
.hmb-piste-haute { height: 30px; }
.hmb-piste-haute i { top: 4px; bottom: 4px; line-height: 22px; }
.hmb-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 18px 0; font-size: 12px; color: #5C677C; }
.hmb-legende i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* Réservation directe */
.hmb-resa-corps { padding: 16px 18px 4px; display: flex; flex-direction: column; gap: 12px; }
.hmb-resa-champs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hmb-resa-champs div { border: 1px solid #DCE2EC; border-radius: 10px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hmb-resa-champs small { font-size: 11px; color: #5C677C; }
.hmb-resa-champs strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hmb-resa-total { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: #5C677C; }
.hmb-resa-total b { font-family: Manrope, Inter, sans-serif; font-weight: 800; font-size: 22px; color: #1F2C45; }
.hmb-resa-btn { background: #1B2A4A; color: #fff; border-radius: 10px; padding: 12px; text-align: center; font-weight: 700; font-size: 15px; }
.hmb-resa-sur { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: #5C677C; }

@media (max-width: 560px) {
    .hmb-synchro, .hmb-facture { padding: 14px 14px 2px; }
    .hmb-synchro-canaux { gap: 6px; }
    .hmb-synchro-canal { padding: 10px 4px; border-radius: 12px; }
    .hmb-synchro-icone { width: 32px; height: 32px; } .hmb-synchro-icone svg { width: 17px; height: 17px; }
    .hmb-synchro-canal b { font-size: 12.5px; } .hmb-synchro-ok { font-size: 10.5px; }
    .hmb-synchro-fleche .hmb-trait { height: 20px; }
    .hmb-synchro-logo { font-size: 19px; } .hmb-synchro-quoi { font-size: 12px; }
    .hmb-facture { font-size: 13px; } .hmb-facture-tete b { font-size: 16px; }
    .hmb-resa-corps { padding: 12px 14px 4px; } .hmb-resa-champs { gap: 5px; } .hmb-resa-champs div { padding: 6px 7px; }
    .hmb-resa-champs strong { font-size: 12.5px; } .hmb-resa-total b { font-size: 19px; }
    .hmb-legende { padding: 8px 14px 0; font-size: 11px; }
}

/* Bandes d'appel en bas des pages de fonctionnalités (REFONTE-VITRINE, passe 3) : bouton principal de la charte sur fond marine. */
.hmb-btn-bande { background: #6ECA97; color: #163B2B; text-decoration: none; }
.hmb-btn-bande:hover { background: #5DBB87; }
.hmb-btn-bande:focus-visible { outline: 3px solid #6ECA97; outline-offset: 3px; }
