/* ==========================================================================
   Thème Heberg-24 – surcouche de Twenty-One (Bootstrap 4)
   ========================================================================== */

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --h24-primary: #0273d4;
    --h24-primary-600: #0261b3;
    --h24-primary-700: #034f91;
    --h24-primary-50: #eef6fe;
    --h24-primary-100: #d8eafc;
    --h24-accent: #5fa52f;
    --h24-accent-50: #eef7e8;
    --h24-ink: #0b1b33;
    --h24-text: #34455c;
    --h24-muted: #66758a;
    --h24-line: #e4e9f0;
    --h24-bg: #ffffff;
    --h24-bg-alt: #f5f8fc;
    --h24-navy: #0a1a33;
    --h24-radius: 14px;
    --h24-radius-sm: 10px;
    --h24-shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 1px 3px rgba(11, 27, 51, .05);
    --h24-shadow: 0 4px 6px -2px rgba(11, 27, 51, .05), 0 12px 24px -6px rgba(11, 27, 51, .10);
    --h24-shadow-lg: 0 24px 48px -12px rgba(2, 64, 130, .22);
    --h24-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
body.h24 {
    font-family: var(--h24-font);
    color: var(--h24-text);
    background: var(--h24-bg-alt);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.h24.h24-marketing { background: var(--h24-bg); }
.h24 h1, .h24 h2, .h24 h3, .h24 h4, .h24 h5, .h24 h6,
.h24 .h1, .h24 .h2, .h24 .h3, .h24 .h4, .h24 .h5, .h24 .h6 {
    font-family: var(--h24-font);
    color: var(--h24-ink);
    font-weight: 700;
    letter-spacing: -.015em;
}
.h24 a { color: var(--h24-primary); }
.h24 a:hover { color: var(--h24-primary-700); }
.h24 ::selection { background: var(--h24-primary-100); }
.h24 :focus-visible { outline: 3px solid rgba(2, 115, 212, .35); outline-offset: 2px; }

/* ---------- Boutons ---------- */
.h24 .btn { border-radius: var(--h24-radius-sm); font-weight: 600; transition: all .18s ease; }
.h24 .btn-lg { padding: .8rem 1.5rem; font-size: 1rem; }
.h24 .btn-primary,
.h24 .btn-primary:not(:disabled):not(.disabled):active {
    background: var(--h24-primary);
    border-color: var(--h24-primary);
    color: #fff;
    box-shadow: 0 6px 16px -6px rgba(2, 115, 212, .55);
}
.h24 .btn-primary:hover, .h24 .btn-primary:focus {
    background: var(--h24-primary-600);
    border-color: var(--h24-primary-600);
    color: #fff;
    transform: translateY(-1px);
}
.h24 .btn-outline-primary { color: var(--h24-primary); border-color: var(--h24-primary); }
.h24 .btn-outline-primary:hover { background: var(--h24-primary); border-color: var(--h24-primary); color: #fff; }
.h24 .btn-outline-secondary { color: var(--h24-ink); border-color: var(--h24-line); background: #fff; }
.h24 .btn-outline-secondary:hover { color: var(--h24-ink); border-color: #c9d3df; background: var(--h24-bg-alt); }
.h24 .btn-success { background: var(--h24-accent); border-color: var(--h24-accent); }
.h24 .btn-success:hover { background: #4f8d25; border-color: #4f8d25; }
.h24 .btn-default { background: #fff; border: 1px solid var(--h24-line); color: var(--h24-ink); }
.h24 .btn-default:hover { background: var(--h24-bg-alt); }
.h24 .btn-light { color: var(--h24-primary-700); }
.h24 .h24-btn-sm { padding: .45rem .9rem; font-size: .9rem; }

/* ---------- En-tête ---------- */
.h24-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .2s ease; }
.h24-header.is-scrolled { box-shadow: 0 6px 20px -10px rgba(11, 27, 51, .25); }
.h24-topbar { background: var(--h24-navy); color: #c6d3e6; font-size: .82rem; }
.h24-topbar .container { min-height: 36px; }
.h24-topbar-link, .h24 .h24-topbar .btn.h24-topbar-link, .h24 .h24-header .h24-topbar a.h24-topbar-link {
    color: #c6d3e6;
    padding: .35rem .6rem;
    font-size: .82rem;
    font-weight: 500;
    background: none;
    border: 0;
    text-decoration: none;
}
.h24 .h24-header .h24-topbar a.h24-topbar-link:hover, .h24 .h24-topbar .btn.h24-topbar-link:hover { color: #fff; text-decoration: none; }
.h24 .h24-header a.btn-primary, .h24 .h24-header a.btn-primary:hover, .h24 a.btn-primary { color: #fff; }
.h24-topbar-link i { margin-right: .3rem; opacity: .8; }

.h24-navbar { padding: .7rem 0; border-bottom: 1px solid var(--h24-line); background: #fff; }
.h24-navbar .navbar-brand { padding: 0; margin-right: 1.5rem; }
.h24-logo { height: 38px; width: auto; display: block; }
.h24-nav .nav-link {
    color: var(--h24-ink) !important;
    font-weight: 600;
    font-size: .95rem;
    padding: .55rem .95rem !important;
    border-radius: 8px;
}
.h24-nav .nav-link:hover, .h24-nav .show > .nav-link { background: var(--h24-bg-alt); color: var(--h24-primary) !important; }
.h24-nav .dropdown-toggle::after { border: 0; content: "\f107"; font-family: "Font Awesome 6 Pro"; font-weight: 400; vertical-align: 0; margin-left: .35rem; font-size: .8em; }
.h24-nav .dropdown-menu {
    border: 1px solid var(--h24-line);
    border-radius: var(--h24-radius);
    box-shadow: var(--h24-shadow);
    padding: .5rem;
    margin-top: .4rem;
    min-width: 250px;
}
.h24-nav .dropdown-item { border-radius: 8px; padding: .55rem .8rem; font-weight: 500; color: var(--h24-text); }
.h24-nav .dropdown-item i { color: var(--h24-primary); margin-right: .45rem; }
.h24-nav .dropdown-item:hover { background: var(--h24-primary-50); color: var(--h24-primary-700); }
.h24-mega .dropdown-menu { min-width: 560px; padding: .75rem; }
.h24-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; }
.h24-mega-item { display: flex; gap: .8rem; padding: .8rem; border-radius: 10px; color: var(--h24-text) !important; text-decoration: none !important; }
.h24-mega-item:hover { background: var(--h24-primary-50); }
.h24-mega-item strong { display: block; color: var(--h24-ink); font-size: .93rem; }
.h24-mega-item small { display: block; color: var(--h24-muted); font-size: .8rem; line-height: 1.4; margin-top: .15rem; }
.h24-mega-icon, .h24-card-icon, .h24-feature-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--h24-primary-50);
    color: var(--h24-primary);
    font-size: 1.1rem;
    --fa-secondary-color: var(--h24-accent);
    --fa-secondary-opacity: .9;
}
.h24-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--h24-line);
    background: #fff;
    color: var(--h24-ink) !important;
    font-size: 1.05rem;
    text-decoration: none !important;
}
.h24-icon-btn:hover { background: var(--h24-bg-alt); }
.h24-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    border-radius: 10px;
    background: var(--h24-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    line-height: 19px;
    text-align: center;
}

@media (min-width: 1200px) {
    .h24-nav .dropdown:hover > .dropdown-menu { display: block; margin-top: 0; }
    .h24-nav .dropdown > .dropdown-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
}
@media (max-width: 1199.98px) {
    #h24MainNav { padding-top: .75rem; }
    .h24-nav { padding: .5rem 0; }
    .h24-nav .dropdown-menu, .h24-mega .dropdown-menu { min-width: 0; box-shadow: none; border: 0; background: var(--h24-bg-alt); margin: 0 0 .5rem; }
    .h24-mega-grid { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .h24-logo { height: 30px; }
    .h24-topbar .container { padding-left: 8px; padding-right: 8px; }
    .h24 .h24-topbar .h24-topbar-link { padding: .35rem .4rem; }
    .h24-topbar-lang-label { display: none; }
}

/* Barre de navigation de l'espace client (connecté) */
.h24 .h24-clientbar { background: #fff; border-bottom: 1px solid var(--h24-line); padding: 0; }
.h24 .h24-clientbar .navbar-nav > li > a {
    display: block;
    color: var(--h24-text);
    font-weight: 600;
    font-size: .9rem;
    padding: .8rem 1rem !important;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.h24 .h24-clientbar .navbar-nav > li > a:hover,
.h24 .h24-clientbar .navbar-nav > li.show > a { color: var(--h24-primary); border-bottom-color: var(--h24-primary); }
.h24 .h24-clientbar .dropdown-menu { border: 1px solid var(--h24-line); border-radius: var(--h24-radius); box-shadow: var(--h24-shadow); padding: .4rem; }
.h24 .h24-clientbar .dropdown-menu li.dropdown-item { padding: 0; background: none; }
.h24 .h24-clientbar .dropdown-menu a.dropdown-item { border-radius: 8px; padding: .5rem .75rem !important; color: var(--h24-text); }
.h24 .h24-clientbar .dropdown-menu a.dropdown-item:hover { background: var(--h24-primary-50); color: var(--h24-primary-700); }
.h24-clientbar-toggle { margin: .5rem 0; font-weight: 600; color: var(--h24-ink); background: var(--h24-bg-alt); }

/* ---------- Fil d'Ariane ---------- */
.h24 .master-breadcrumb { background: transparent; padding: 1rem 0 0; }
.h24 .master-breadcrumb .breadcrumb { background: transparent; padding: 0; margin: 0; font-size: .85rem; }
.h24-breadcrumb { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .85rem; color: var(--h24-muted); }
.h24-hero-compact .h24-breadcrumb { justify-content: flex-start; }
.h24-breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: #b3bfcd; }
.h24-breadcrumb a { color: var(--h24-muted); }

/* ---------- Sections vitrines ---------- */
.h24-section { padding: 88px 0; }
.h24-section-tight { padding: 48px 0; }
.h24-section-alt { background: var(--h24-bg-alt); }
.h24-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.h24-section-head h2, .h24-section h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; margin-bottom: .9rem; }
.h24-section-head p { color: var(--h24-muted); font-size: 1.05rem; margin: 0; }
.h24-narrow { max-width: 860px; }
.h24-muted { color: var(--h24-muted); }
.h24-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .3rem .8rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--h24-primary-50);
    color: var(--h24-primary-700);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.h24-eyebrow-light { background: rgba(255, 255, 255, .14); color: #fff; }
.h24-pulse { font-size: .45rem; color: var(--h24-accent); animation: h24-pulse 2s infinite; }
@keyframes h24-pulse { 50% { opacity: .35; } }
.h24-gradient-text {
    background: linear-gradient(90deg, var(--h24-primary) 0%, #2aa0e6 55%, var(--h24-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hero */
.h24-hero {
    position: relative;
    padding: 80px 0 88px;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(2, 115, 212, .13), transparent 60%),
        radial-gradient(700px 380px at -10% 110%, rgba(95, 165, 47, .10), transparent 60%),
        linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.h24-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(2, 115, 212, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(2, 115, 212, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
    pointer-events: none;
}
.h24-hero > .container { position: relative; }
.h24-hero-page { padding: 56px 0 64px; }
.h24-hero-compact { padding: 40px 0 32px; }
.h24-hero-title { font-size: clamp(2rem, 4.4vw, 3.35rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin-bottom: 1.25rem; }
.h24-hero-compact .h24-hero-title { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.h24-hero-lead { font-size: 1.15rem; color: var(--h24-muted); max-width: 640px; margin-bottom: 2rem; }
.h24-hero-page .h24-hero-lead { margin-left: auto; margin-right: auto; }
.h24-hero-compact .h24-hero-lead { margin-left: 0; margin-bottom: 0; }
.h24-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.h24-checks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 500; color: var(--h24-ink); }
.h24-checks i { color: var(--h24-accent); margin-right: .35rem; }

/* Visuel du hero */
.h24-hero-visual { position: relative; max-width: 520px; margin: 0 auto; padding: 24px 12px; }
.h24-window { background: #fff; border: 1px solid var(--h24-line); border-radius: 18px; box-shadow: var(--h24-shadow-lg); overflow: hidden; }
.h24-window-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--h24-line); background: var(--h24-bg-alt); }
.h24-window-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d5dde8; }
.h24-window-bar span:first-child { background: #ff6b6b; }
.h24-window-bar span:nth-child(2) { background: #ffc145; }
.h24-window-bar span:nth-child(3) { background: #3ecf6e; }
.h24-window-bar em { margin-left: 12px; font-style: normal; font-size: .8rem; color: var(--h24-muted); background: #fff; border: 1px solid var(--h24-line); border-radius: 6px; padding: 2px 10px; }
.h24-window-body { padding: 24px; }
.h24-status { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 600; color: #2f7d14; background: var(--h24-accent-50); padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1.25rem; }
.h24-status i { font-size: .5rem; }
.h24-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 1.5rem; }
.h24-metrics div { background: var(--h24-bg-alt); border-radius: 12px; padding: 12px 14px; }
.h24-metrics small { display: block; color: var(--h24-muted); font-size: .72rem; }
.h24-metrics strong { font-size: 1.15rem; color: var(--h24-ink); }
.h24-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.h24-bars span { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #4aa8f0, var(--h24-primary)); opacity: .9; }
.h24-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem .9rem;
    background: #fff;
    border: 1px solid var(--h24-line);
    border-radius: 12px;
    box-shadow: var(--h24-shadow);
    font-size: .85rem;
    font-weight: 600;
    color: var(--h24-ink);
    animation: h24-float 6s ease-in-out infinite;
}
.h24-float i { color: var(--h24-primary); font-size: 1.1rem; --fa-secondary-color: var(--h24-accent); }
.h24-float-1 { top: 0; right: -8px; }
.h24-float-2 { bottom: 0; left: -8px; animation-delay: -3s; }
@keyframes h24-float { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .h24-float, .h24-pulse { animation: none; } }

/* Cartes */
.h24-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--h24-line);
    border-radius: var(--h24-radius);
    box-shadow: var(--h24-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.h24-card-link, .h24-card-link:hover { color: var(--h24-text); text-decoration: none; }
.h24-card-link:hover { transform: translateY(-4px); box-shadow: var(--h24-shadow); border-color: var(--h24-primary-100); }
.h24-card h3 { font-size: 1.12rem; margin: 1.1rem 0 .5rem; }
.h24-card p { color: var(--h24-muted); font-size: .93rem; flex-grow: 1; }
.h24-card-icon { width: 48px; height: 48px; font-size: 1.35rem; border-radius: 12px; }
.h24-card-price { font-size: 1.35rem; font-weight: 800; color: var(--h24-ink); margin: .25rem 0 1rem; white-space: nowrap; }
.h24-card-price small { font-size: .8rem; font-weight: 500; color: var(--h24-muted); }
.h24-card-more { font-weight: 600; font-size: .9rem; color: var(--h24-primary); }
.h24-card-more i { transition: transform .2s; margin-left: .25rem; }
.h24-card-link:hover .h24-card-more i { transform: translateX(4px); }
.h24-news time { font-size: .8rem; font-weight: 600; color: var(--h24-primary); }
.h24-news h3 { margin-top: .5rem; }

/* Fonctionnalités */
.h24-feature { height: 100%; padding: 28px; border-radius: var(--h24-radius); background: #fff; border: 1px solid var(--h24-line); }
.h24-section-alt .h24-feature { border-color: transparent; box-shadow: var(--h24-shadow-sm); }
.h24-feature-icon { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 12px; margin-bottom: 1.1rem; }
.h24-feature h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.h24-feature p { color: var(--h24-muted); font-size: .93rem; margin: 0; }
.h24-ticks { list-style: none; padding: 0; margin: 0; }
.h24-ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; font-size: .93rem; color: var(--h24-text); }
.h24-ticks li::before { content: "\f00c"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; left: 0; top: .05rem; color: var(--h24-accent); }

/* Chiffres clés */
.h24-stats { padding: 56px 0; background: linear-gradient(120deg, var(--h24-primary-700), var(--h24-primary) 60%, #1f93e0); color: #fff; }
.h24-stats strong { display: block; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.h24-stats span { display: block; font-size: .95rem; opacity: .85; margin-top: .3rem; }

/* Applications */
.h24-apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.h24-apps li { display: flex; align-items: center; gap: .6rem; padding: 14px 16px; background: #fff; border: 1px solid var(--h24-line); border-radius: 12px; font-weight: 600; color: var(--h24-ink); font-size: .92rem; box-shadow: var(--h24-shadow-sm); }
.h24-apps i { font-size: 1.35rem; color: var(--h24-primary); width: 1.4rem; text-align: center; }
.h24-list-card { list-style: none; padding: 12px; margin: 0; background: #fff; border-radius: var(--h24-radius); box-shadow: var(--h24-shadow); }
.h24-list-card li { display: flex; align-items: center; gap: .8rem; padding: 14px 16px; border-bottom: 1px solid var(--h24-line); font-weight: 500; color: var(--h24-ink); }
.h24-list-card li:last-child { border-bottom: 0; }
.h24-list-card i { color: var(--h24-primary); font-size: 1.15rem; width: 1.5rem; text-align: center; --fa-secondary-color: var(--h24-accent); }

/* Bandeau d'appel à l'action */
.h24-cta {
    position: relative;
    overflow: hidden;
    padding: 48px;
    border-radius: 22px;
    color: #dbe9f8;
    background: radial-gradient(600px 300px at 100% 0%, rgba(95, 165, 47, .35), transparent 60%), linear-gradient(120deg, var(--h24-navy), #0b3b6e);
}
.h24-cta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.h24-cta p { margin: 0; opacity: .9; }
.h24 .h24-cta .btn-outline-light:hover { color: var(--h24-navy); }
@media (max-width: 991.98px) { .h24-cta { padding: 32px 24px; } .h24-cta .text-lg-right { margin-top: 1.5rem; } }

/* Recherche de domaine */
.h24-domain-band { background: var(--h24-bg-alt); }
.h24-domain-form { max-width: 760px; margin: 0 auto; }
.h24-domain-input { display: flex; align-items: center; gap: .5rem; padding: 8px 8px 8px 20px; background: #fff; border: 1px solid var(--h24-line); border-radius: 16px; box-shadow: var(--h24-shadow); }
.h24-domain-input > i { color: var(--h24-muted); font-size: 1.1rem; }
.h24 .h24-domain-input .form-control { border: 0; box-shadow: none; font-size: 1.05rem; height: 50px; padding: 0 .5rem; background: transparent; }
.h24-domain-actions { display: flex; gap: .5rem; flex-shrink: 0; }
.h24-domain-actions .btn { height: 48px; padding: 0 1.25rem; }
@media (max-width: 575.98px) {
    .h24-domain-input { flex-wrap: wrap; padding: 8px; }
    .h24-domain-input > i { display: none; }
    .h24-domain-actions { width: 100%; }
    .h24-domain-actions .btn { flex: 1; }
}

/* Grilles tarifaires */
.h24-section-pricing { padding-top: 24px; }
.h24-pricing { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }
.h24-pricing-3 { max-width: 1080px; margin: 0 auto; }
@media (min-width: 768px) { .h24-pricing-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .h24-pricing-4 { grid-template-columns: repeat(4, 1fr); } .h24-pricing-4 .h24-plan { padding: 28px 22px; } }
.h24-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--h24-line);
    border-radius: 18px;
    box-shadow: var(--h24-shadow-sm);
    transition: box-shadow .2s, transform .2s;
}
.h24-plan:hover { box-shadow: var(--h24-shadow); transform: translateY(-3px); }
.h24-plan.is-featured { border: 2px solid var(--h24-primary); box-shadow: var(--h24-shadow-lg); }
.h24-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: .25rem .9rem; border-radius: 999px; background: var(--h24-primary); color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.h24-plan-name { font-size: 1.2rem; margin-bottom: 1rem; }
.h24-cycle { display: flex; padding: 4px; gap: 4px; background: var(--h24-bg-alt); border-radius: 10px; margin-bottom: 1.25rem; }
.h24-cycle-btn { flex: 1; border: 0; background: transparent; border-radius: 7px; padding: .4rem .25rem; font-size: .82rem; font-weight: 600; color: var(--h24-muted); cursor: pointer; }
.h24-cycle-btn.active { background: #fff; color: var(--h24-ink); box-shadow: var(--h24-shadow-sm); }
.h24-plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem; }
.h24-plan-from { width: 100%; font-size: .8rem; color: var(--h24-muted); }
.h24-price { font-size: 2.4rem; font-weight: 800; color: var(--h24-ink); letter-spacing: -.03em; line-height: 1.1; }
.h24-price-unit { color: var(--h24-muted); font-weight: 500; }
.h24-plan-billing { font-size: .85rem; color: var(--h24-muted); min-height: 1.4em; margin-top: .3rem; }
.h24-plan-saving { display: inline-block; align-self: flex-start; margin-top: .5rem; padding: .15rem .6rem; border-radius: 999px; background: var(--h24-accent-50); color: #3c7a17; font-size: .78rem; font-weight: 700; }
.h24-plan-cta { margin: 1.5rem 0; }
.h24-plan-desc { font-size: .9rem; color: var(--h24-muted); border-top: 1px solid var(--h24-line); padding-top: 1.25rem; }
.h24-plan-desc p:first-child strong { color: var(--h24-ink); }
.h24-note { color: var(--h24-muted); font-size: .85rem; }

/* Listes de caractéristiques des produits (descriptions WHMCS) */
.h24 .custom-features { list-style: none; padding: 0; margin: 1rem 0 0; }
.h24 .custom-features li { position: relative; padding: .35rem 0 .35rem 1.7rem; color: var(--h24-text); font-size: .9rem; }
.h24 .custom-features li i { position: absolute; left: 0; top: .6rem; margin: 0 !important; color: var(--h24-primary); width: 1.2rem; text-align: center; --fa-secondary-color: var(--h24-accent); }

/* Témoignages */
.h24-quote { height: 100%; margin: 0; padding: 28px; background: #fff; border: 1px solid var(--h24-line); border-radius: var(--h24-radius); display: flex; flex-direction: column; }
.h24-stars { color: #f5b301; font-size: .85rem; margin-bottom: .9rem; letter-spacing: 2px; }
.h24-quote blockquote { flex-grow: 1; margin: 0 0 1.25rem; font-size: .97rem; color: var(--h24-text); }
.h24-quote figcaption strong { display: block; color: var(--h24-ink); }
.h24-quote figcaption span { font-size: .85rem; color: var(--h24-muted); }

/* Équipe */
.h24-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.h24-member { margin: 0; text-align: center; padding: 20px; background: #fff; border-radius: var(--h24-radius); box-shadow: var(--h24-shadow-sm); }
.h24-member img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: .9rem; border: 4px solid var(--h24-primary-50); }
.h24-member strong { display: block; color: var(--h24-ink); }
.h24-member span { font-size: .85rem; color: var(--h24-muted); }

/* FAQ */
.h24-faq details { background: #fff; border: 1px solid var(--h24-line); border-radius: 12px; margin-bottom: 12px; }
.h24-faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--h24-ink); position: relative; }
.h24-faq summary::-webkit-details-marker { display: none; }
.h24-faq summary::after { content: "\f067"; font-family: "Font Awesome 6 Pro"; font-weight: 400; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--h24-primary); transition: transform .2s; }
.h24-faq details[open] summary::after { content: "\f068"; }
.h24-faq details p { padding: 0 22px 20px; margin: 0; color: var(--h24-muted); }

/* Pages de contenu (légal) */
.h24-prose { background: #fff; border: 1px solid var(--h24-line); border-radius: 18px; padding: 40px; }
.h24-prose h2 { font-size: 1.2rem; margin: 2rem 0 .6rem; }
.h24-prose h2:first-child { margin-top: 0; }
.h24-prose p { color: var(--h24-text); }
.h24-legal-card { padding: 32px; background: var(--h24-bg-alt); border-radius: 18px; }
@media (max-width: 575.98px) { .h24-prose { padding: 24px; } .h24-section { padding: 64px 0; } }

/* ---------- Pied de page ---------- */
.h24 .h24-footer { background: var(--h24-navy); color: #a9b8cc; padding: 72px 0 0; margin-top: 0; font-size: .92rem; }
.h24-footer-logo { height: 34px; width: auto; display: block; margin-bottom: 1.25rem; padding: 10px 14px; box-sizing: content-box; background: #fff; border-radius: 10px; }
.h24-footer-text { max-width: 360px; }
.h24-footer-contact a, .h24-footer-contact span { display: block; color: #c6d3e6; margin-bottom: .4rem; }
.h24-footer-contact a:hover { color: #fff; }
.h24-footer-title { color: #fff !important; font-size: .95rem; margin-bottom: 1rem; }
.h24-footer-links { list-style: none; padding: 0; margin: 0; }
.h24-footer-links li { margin-bottom: .55rem; }
.h24-footer-links a { color: #a9b8cc; }
.h24-footer-links a:hover { color: #fff; text-decoration: none; }
.h24-social a { color: #c6d3e6; }
.h24-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 24px 0; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; }
.h24 .h24-footer-locale { color: #c6d3e6; border: 1px solid rgba(255, 255, 255, .18); background: transparent; font-size: .82rem; font-weight: 500; }
.h24 .h24-footer-locale:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }

/* ---------- Espace client & panier (Twenty-One) ---------- */
.h24 #main-body { padding: 32px 0 64px; background: transparent; }
.h24.h24-marketing #main-body { padding: 0; }
.h24 .card, .h24 .panel { border: 1px solid var(--h24-line); border-radius: var(--h24-radius); box-shadow: var(--h24-shadow-sm); }
.h24 .card-header { background: #fff; border-bottom: 1px solid var(--h24-line); border-radius: var(--h24-radius) var(--h24-radius) 0 0 !important; }
.h24 .card-title, .h24 .card-header h3 { color: var(--h24-ink); font-weight: 700; }
.h24 .sidebar .card { overflow: hidden; }
.h24 .sidebar .list-group-item { border-color: var(--h24-line); color: var(--h24-text); font-size: .9rem; }
.h24 .sidebar .list-group-item.active, .h24 .sidebar .list-group-item.active:hover { background: var(--h24-primary-50); color: var(--h24-primary-700); border-color: var(--h24-line); font-weight: 600; }
.h24 .sidebar .list-group-item:hover { background: var(--h24-bg-alt); }
.h24 .form-control, .h24 .custom-select { border-radius: var(--h24-radius-sm); border-color: #d6dee8; min-height: 42px; }
.h24 .form-control:focus, .h24 .custom-select:focus { border-color: var(--h24-primary); box-shadow: 0 0 0 3px rgba(2, 115, 212, .15); }
.h24 .table th { color: var(--h24-ink); font-weight: 600; border-top: 0; }
.h24 .table td, .h24 .table th { border-color: var(--h24-line); }
.h24 .badge { border-radius: 6px; font-weight: 600; }
.h24 .alert { border-radius: var(--h24-radius-sm); }
.h24 .page-item.active .page-link { background: var(--h24-primary); border-color: var(--h24-primary); }
.h24 .tiles .tile { border-radius: var(--h24-radius); }
.h24 .tiles .tile .stat { color: var(--h24-ink); }
.h24 .client-home-cards .card-header { background: #fff; }
.h24 .modal-content { border-radius: var(--h24-radius); border: 0; box-shadow: var(--h24-shadow-lg); }
.h24 .modal-localisation .modal-content { background: var(--h24-navy); }
.h24 .modal-localisation .item-selector .item.active { background: var(--h24-primary); }
.h24 .primary-content h1, .h24 .header-lined h1 { font-weight: 800; letter-spacing: -.02em; }

/* ---------- Tunnel de commande (panier heberg24 / standard_cart) ---------- */
/* Pas de barre latérale de catégories : le client reste concentré sur sa commande */
.h24 #order-standard_cart .cart-sidebar,
.h24 #order-standard_cart .sidebar-collapsed { display: none !important; }
.h24 #order-standard_cart .cart-body { width: 100% !important; float: none; padding: 0 15px; }
.h24 #order-standard_cart { color: var(--h24-text); }
.h24 #order-standard_cart .header-lined { text-align: center; margin: 0 0 2rem; }
.h24 #order-standard_cart .header-lined h1 { font-size: clamp(1.6rem, 3vw, 2.2rem) !important; font-weight: 800; margin: 0; }

.h24-cart-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.h24-cart-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: .6rem; }
.h24-cart-head p { color: var(--h24-muted); font-size: 1.05rem; margin: 0; }
.h24-cart-reassurance { justify-content: center; margin-top: 2rem; }

/* Étapes */
.h24-steps { display: flex; justify-content: center; gap: 0; list-style: none; padding: 0; margin: 0 auto 2.5rem; max-width: 720px; counter-reset: step; }
.h24-steps li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .45rem; position: relative; font-size: .85rem; font-weight: 600; color: var(--h24-muted); text-align: center; }
.h24-steps li + li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--h24-line); z-index: 0; }
.h24-steps li.is-done + li::before, .h24-steps li.is-active::before { background: var(--h24-primary); }
.h24-step-num { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid #c9d3df; color: var(--h24-muted); font-weight: 700; }
.h24-steps li.is-active { color: var(--h24-ink); }
.h24-steps li.is-active .h24-step-num { background: var(--h24-primary); border-color: var(--h24-primary); color: #fff; box-shadow: 0 0 0 5px var(--h24-primary-100); }
.h24-steps li.is-done .h24-step-num { background: var(--h24-primary-50); border-color: var(--h24-primary); color: var(--h24-primary); }
@media (max-width: 575.98px) { .h24-step-label { font-size: .75rem; } }

/* Blocs du panier : cartes blanches bordées sur fond gris clair (jamais blanc sur blanc) */
.h24 #order-standard_cart .sub-heading { border-top: 0; height: auto; margin: 2rem 0 1rem; text-align: left; }
.h24 #order-standard_cart .sub-heading span { position: static; display: inline-block; padding: 0; background: transparent !important; color: var(--h24-ink); font-size: 1.1rem; font-weight: 700; }
.h24 #order-standard_cart .product-info,
.h24 #order-standard_cart .field-container,
.h24 #order-standard_cart .domain-selection-options .option,
.h24 #order-standard_cart .view-cart-items,
.h24 #order-standard_cart .view-cart-tabs .tab-content,
.h24 #order-standard_cart .panel-addon,
.h24 #order-standard_cart .card,
.h24 #order-standard_cart .account-select-container .account {
    background: #fff;
    border: 1px solid var(--h24-line);
    border-radius: var(--h24-radius);
    box-shadow: var(--h24-shadow-sm);
}
.h24 #order-standard_cart .product-info { padding: 20px 24px; margin-bottom: 1rem; }
.h24 #order-standard_cart .product-info .product-title { color: var(--h24-ink); font-size: 1.2rem; font-weight: 700; }
.h24 #order-standard_cart .field-container { padding: 20px; }
.h24 #order-standard_cart .domain-selection-options .option { padding: 16px 20px; margin-bottom: 12px; }
.h24 #order-standard_cart .domain-selection-options .option-selected { border-color: var(--h24-primary); background: var(--h24-primary-50); }
.h24 #order-standard_cart label { color: var(--h24-ink); font-weight: 600; }

/* Liste du panier */
.h24 #order-standard_cart .view-cart-items-header { background: var(--h24-ink); color: #fff; border-radius: var(--h24-radius) var(--h24-radius) 0 0; padding: 12px 20px; font-weight: 600; }
.h24 #order-standard_cart .view-cart-items { overflow: hidden; border-radius: 0 0 var(--h24-radius) var(--h24-radius); }
.h24 #order-standard_cart .view-cart-items .item { padding: 18px 20px; border-bottom: 1px solid var(--h24-line); background: #fff; }
.h24 #order-standard_cart .view-cart-items .item-title { color: var(--h24-ink); font-weight: 700; }
.h24 #order-standard_cart .view-cart-items .item-group { color: var(--h24-muted); }
.h24 #order-standard_cart .view-cart-items .item-price span:first-child { color: var(--h24-ink); font-weight: 700; font-size: 1.05rem; }
.h24 #order-standard_cart .view-cart-items .item-price .cycle { color: var(--h24-muted); }
.h24 #order-standard_cart .btn-remove-from-cart { color: #c0392b; }
.h24 #order-standard_cart .empty-cart .btn { color: #c0392b; background: #fff; border: 1px solid #f1c6c0; }
.h24 #order-standard_cart .view-cart-tabs .nav-tabs { border: 0; margin-top: 1.5rem; }
.h24 #order-standard_cart .view-cart-tabs .nav-link { color: var(--h24-text); border-radius: 10px 10px 0 0; font-weight: 600; }
.h24 #order-standard_cart .view-cart-tabs .nav-link.active { color: var(--h24-ink); border-color: var(--h24-line) var(--h24-line) #fff; background: #fff; }
.h24 #order-standard_cart .view-cart-tabs .tab-content { padding: 20px; border-top-left-radius: 0; }

/* Récapitulatif de commande : fond bleu nuit, texte blanc (contraste élevé) */
.h24 #order-standard_cart .order-summary { background: var(--h24-navy); border: 0; border-radius: 18px; padding: 8px; box-shadow: var(--h24-shadow-lg); }
.h24 #order-standard_cart .order-summary h2 { color: #fff; font-size: 1.15rem; font-weight: 700; padding: 14px 16px 6px; margin: 0; background: transparent; }
.h24 #order-standard_cart .summary-container { background: #fff; color: var(--h24-text); border-radius: 12px; padding: 18px; min-height: 0; }
.h24 #order-standard_cart .summary-container .product-name, .h24 #order-standard_cart .summary-container .total-due-today .amt { color: var(--h24-ink); }
.h24 #order-standard_cart .summary-container .total-due-today .amt { font-size: 1.9rem; font-weight: 800; }
.h24 #order-standard_cart .summary-container .total-due-today span:not(.amt) { color: var(--h24-muted); }
.h24 #order-standard_cart .order-summary .btn-checkout,
.h24 #order-standard_cart .btn-checkout,
.h24 #order-standard_cart #btnCompleteProductConfig,
.h24 #order-standard_cart #btnCompleteOrder {
    background: var(--h24-accent);
    border-color: var(--h24-accent);
    color: #fff;
    font-weight: 700;
    border-radius: var(--h24-radius-sm);
    padding: .8rem 1.25rem;
    box-shadow: 0 6px 16px -6px rgba(95, 165, 47, .6);
}
.h24 #order-standard_cart .btn-checkout:hover,
.h24 #order-standard_cart #btnCompleteProductConfig:hover,
.h24 #order-standard_cart #btnCompleteOrder:hover { background: #4f8d25; border-color: #4f8d25; color: #fff; }
.h24 #order-standard_cart .order-summary .btn-continue-shopping,
.h24 #order-standard_cart .btn-continue-shopping { color: #fff; opacity: .85; }
.h24 #order-standard_cart .order-summary .btn-continue-shopping:hover { opacity: 1; text-decoration: underline; }

/* Cycles de facturation, options et formulaires */
.h24 #order-standard_cart select.form-control, .h24 #order-standard_cart .form-control { background-color: #fff; border: 1px solid #c9d3df; color: var(--h24-ink); }
.h24 #order-standard_cart .prepend-icon .field-icon { color: var(--h24-muted); }
.h24 #order-standard_cart .alert-warning.info-text-sm { background: var(--h24-primary-50); border: 1px solid var(--h24-primary-100); color: var(--h24-primary-700); }
.h24 #order-standard_cart .alert-warning.info-text-sm a { color: var(--h24-primary-700); text-decoration: underline; }
.h24 #order-standard_cart .btn-default, .h24 #order-standard_cart .btn-light { background: #fff; border: 1px solid #c9d3df; color: var(--h24-ink); }
.h24 #order-standard_cart .btn-default:hover { background: var(--h24-bg-alt); color: var(--h24-ink); }
.h24 #order-standard_cart .domain-checker-container { background: var(--h24-navy); border-radius: 18px; }
.h24 #order-standard_cart .domain-checker-bg { background-image: none; padding: 32px 24px; }
.h24 #order-standard_cart .domain-checker-container .input-group-box { background: #fff; border-radius: 12px; }
.h24 #order-standard_cart .domain-lookup-result .domain-available { color: #2f7d14; }
.h24 #order-standard_cart .domain-lookup-result .domain-unavailable { color: #c0392b; }

/* Étape paiement */
.h24 #order-standard_cart .already-registered { background: var(--h24-primary-50); border: 1px solid var(--h24-primary-100); border-radius: var(--h24-radius); padding: 16px 20px; color: var(--h24-primary-700); }
.h24 #order-standard_cart #paymentGatewaysContainer label,
.h24 #order-standard_cart .payment-methods label { background: #fff; border: 1px solid #c9d3df; border-radius: 10px; padding: 10px 14px; margin-right: .5rem; }
.h24 #order-standard_cart .order-confirmation { background: #fff; border: 1px solid var(--h24-line); border-radius: var(--h24-radius); color: var(--h24-ink); }
/* WHMCS convertit les retours à la ligne des descriptions produit en <br> : on ignore ceux placés entre les blocs */
.h24-plan-desc > br, .h24-plan-desc ul > br { display: none; }
.h24 #order-standard_cart .product-info > br, .h24 #order-standard_cart .product-info ul > br { display: none; }
.h24-page-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin: 1.25rem 0 0; }
