/* ============================================================
   HUB International — Site Assurance Hôtellerie
   Charte de couleurs (logo HUB de production)
   ============================================================ */
:root {
    --hub-navy:        #263746;
    --hub-blue:        #00A0E1;
    --hub-blue-dark:   #064EA0;

    --hub-navy-90:     rgba(38, 55, 70, 0.92);
    --hub-blue-soft:   #E6F4FB;
    --hub-blue-tint:   #F2FAFE;

    --ink:             #1A2530;
    --slate:           #5A6B7B;
    --line:            #E3E9EE;
    --paper:           #FFFFFF;
    --paper-alt:       #F7FAFC;
    --ok:              #1E9E62;
    --err:             #D64545;

    --font-display:    'Playfair Display', Georgia, serif;
    --font-body:       'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm:       8px;
    --radius-md:       14px;
    --radius-lg:       22px;
    --shadow-sm:       0 2px 12px rgba(38, 55, 70, 0.06);
    --shadow-md:       0 12px 40px rgba(38, 55, 70, 0.10);
    --shadow-lg:       0 24px 70px rgba(38, 55, 70, 0.16);

    --maxw:            1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Navigation (partagée) ---------- */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__logo { height: 38px; width: auto; display: block; }
.nav__logo-fallback {
    background: var(--hub-blue); color: #fff; font-weight: 700;
    font-size: 18px; letter-spacing: 1px; padding: 9px 15px;
    border-radius: var(--radius-sm); font-family: var(--font-body);
}
.nav__brand-tag { font-size: 13px; color: var(--slate); font-weight: 500; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--slate); transition: color .2s; }
.nav__links a:hover { color: var(--hub-blue-dark); }
.nav__actions { display: flex; align-items: center; gap: 16px; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 12px; font-weight: 600; }
.lang-switch button { border: none; background: transparent; cursor: pointer; padding: 7px 14px; color: var(--slate); font-family: var(--font-body); transition: all .2s; }
.lang-switch button.active { background: var(--hub-blue); color: #fff; }

/* ---------- Boutons (partagés) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    padding: 14px 28px; border-radius: 999px; cursor: pointer;
    border: 1.5px solid transparent; transition: all .25s ease;
}
.btn--primary { background: var(--hub-blue); color: #fff; }
.btn--primary:hover { background: var(--hub-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--light { background: #fff; color: var(--hub-navy); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--hub-navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--hub-blue); color: var(--hub-blue-dark); }
.btn--lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Pied de page (partagé) ---------- */
.footer { background: var(--hub-navy); color: rgba(255,255,255,.62); padding: 64px 0 28px; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--hub-blue) 0%, var(--hub-blue-dark) 100%); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.10); }
.footer__top--compact { grid-template-columns: 1.6fr 1.2fr 1fr; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col--brand { gap: 18px; }
.footer__logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .92; align-self: flex-start; }
.footer__tagline { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 280px; }
.footer__heading { font-family: var(--font-body); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: #fff; margin-bottom: 4px; }
.footer__col a, .footer__col span { font-size: 14px; color: rgba(255,255,255,.62); transition: color .2s; display: flex; align-items: center; gap: 9px; }
.footer__col a:hover { color: var(--hub-blue); }
.footer__col i { font-size: 13px; color: var(--hub-blue); width: 16px; text-align: center; }
.footer__col--cta p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.55); margin-bottom: 6px; }
.footer__col--cta .btn { align-self: flex-start; margin-top: 4px; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 24px; }
.footer__legal { font-size: 12px; line-height: 1.6; max-width: 640px; color: rgba(255,255,255,.45); }
.footer__copyright { font-size: 12px; color: rgba(255,255,255,.45); white-space: nowrap; }

@media (max-width: 920px) {
    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .nav__links { display: none; }
}
@media (max-width: 560px) {
    .footer__top { grid-template-columns: 1fr; gap: 30px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
    .footer__tagline { max-width: none; }
}
