/* Page d'accueil — nouveau design (voir hc-site.css pour le socle commun). */

.hx-wrap {
    width: 100%;
    max-width: var(--hs-wrap);
    margin: 0 auto;
    padding: 0 24px;
}

/* ------------------------------------------------------------------ Bandeau d'ouverture */
.hx-hero {
    position: relative;
    margin-top: -74px;              /* passe sous la barre de navigation flottante */
    padding: 190px 0 64px;
    overflow: hidden;
    background:
        radial-gradient(52% 60% at 88% 4%, rgba(6, 111, 209, 0.85), transparent 70%),
        radial-gradient(46% 55% at 4% 100%, rgba(6, 111, 209, 0.35), transparent 70%),
        radial-gradient(40% 40% at 55% 30%, rgba(140, 196, 245, 0.14), transparent 70%),
        var(--hs-ink);
    color: #fff;
    font-family: var(--hs-font);
}
.hx-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 3rem;
    align-items: center;
}
.hx-hero__title {
    margin: 0 0 1.5rem;
    color: #fff;
    font: 500 clamp(2.9rem, 6vw, 5.2rem)/0.98 var(--hs-font);
    letter-spacing: -0.04em;
}
.hx-hero__title span {
    display: block;
    margin-top: 0.35rem;
    color: var(--hs-sky);
    font-size: 0.62em;
    line-height: 1.05;
    letter-spacing: -0.035em;
}
.hx-hero__checks {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 0.55rem 2.25rem;
    margin: 0 0 2rem;
    padding: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.0625rem;
    list-style: none;
}
.hx-hero__checks i {
    margin-right: 0.6rem;
    color: var(--hs-sky);
    font-size: 0.8em;
}
.hx-hero__buy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
}
.hx-hero__price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}
.hx-hero__price s {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
}
.hx-hero__price b {
    color: #fff;
    font: 600 2.4rem/1 var(--hs-font);
    letter-spacing: -0.03em;
}
.hx-hero__price small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}
.hx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.hx-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    height: 48px;
    padding: 0 1.4rem;
    border-radius: 999px;
    font: 700 0.9688rem/1 var(--hs-font);
    text-decoration: none !important;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hx-btn i {
    font-size: 0.85em;
}
.hx-btn--primary {
    background: var(--hs-blue);
    color: #fff !important;
}
.hx-btn--primary:hover {
    background: #fff;
    color: var(--hs-navy) !important;
}
.hx-btn--glass {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
}
.hx-btn--glass:hover {
    background: rgba(255, 255, 255, 0.2);
}
.hx-hero__trust {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.6rem;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.9375rem;
    text-decoration: none !important;
}
.hx-hero__trust b {
    color: #fff;
}
.hx-hero__trust img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.hx-hero__stars {
    display: inline-flex;
    gap: 2px;
}
.hx-hero__stars i {
    width: 18px;
    height: 18px;
    background: #00b67a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 3.6l2.5 5.3 5.8.7-4.3 4 1.1 5.7L12 16.5 6.9 19.3 8 13.6l-4.3-4 5.8-.7z'/%3E%3C/svg%3E") center/78% no-repeat;
}

/* Aperçu du panneau, en verre dépoli */
.hx-panel {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--hs-radius);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hx-panel__head span {
    display: block;
    margin-bottom: 0.75rem;
    color: #fff;
    font-weight: 600;
}
.hx-panel__head input {
    width: 100%;
    height: 44px;
    padding: 0 1rem;
    border: 0;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    font: 400 0.9375rem var(--hs-font);
    outline: 0;
}
.hx-panel__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.75rem;
}
.hx-panel__grid span {
    display: grid;
    gap: 0.55rem;
    justify-items: center;
    padding: 1rem 0.4rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8438rem;
    font-weight: 500;
    text-align: center;
}
.hx-panel__grid i {
    color: var(--hs-sky);
    font-size: 1.15rem;
}

/* Chiffres clés */
.hx-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 3.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.hx-stat {
    padding: 1.6rem 1.5rem 0.4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}
.hx-stat:first-child {
    padding-left: 0;
    border-left: 0;
}
.hx-stat b {
    display: block;
    color: #fff;
    font: 500 2.4rem/1.05 var(--hs-font);
    letter-spacing: -0.03em;
}
.hx-stat em {
    margin-left: 0.3rem;
    color: var(--hs-sky);
    font-size: 0.48em;
    font-style: normal;
    letter-spacing: 0;
}
.hx-stat span {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9375rem;
}

/* Systèmes disponibles */
.hx-os {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.4rem;
    margin-top: 1.75rem;
}
.hx-os__label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}
.hx-os a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none !important;
}
.hx-os a:hover {
    border-color: #fff;
}
.hx-os img {
    display: block;
    width: 26px;
    height: 26px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .hx-hero {
        margin-top: 0;
        padding: 56px 0 40px;
    }
    .hx-hero__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .hx-panel {
        display: none;
    }
    .hx-hero__checks {
        grid-template-columns: minmax(0, 1fr);
    }
    .hx-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hx-stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }
}

/* ------------------------------------------------------------------ Sections suivantes : titres et cartes */
.hc-vps-offers-section,
.hc-dc-section,
.hc-how-section,
.hc-why-bento,
.hc-rev,
.hc-seo-guides,
.hc-partners--home {
    font-family: var(--hs-font);
}
.hc-vps-offers-section :is(.vps-loc-title),
.hc-dc-intro h2,
.hc-how-intro h2,
.hc-why-bento__intro h2,
.hc-rev__title,
.hc-seo-guides__head h2 {
    color: var(--hs-navy) !important;
    font: 500 clamp(2rem, 3.6vw, 3.1rem)/1.05 var(--hs-font) !important;
    letter-spacing: -0.035em !important;
}
.hc-vps-offers-section,
.hc-dc-section,
.hc-how-section,
.hc-why-bento,
.hc-seo-guides {
    background: #fff !important;
}
.hc-how-section {
    background: var(--hs-grey) !important;
}
.hc-vps-offers-section h3,
.hc-how-step h3,
.hc-why-bento h3 {
    font-family: var(--hs-font) !important;
    letter-spacing: -0.01em;
}
.hc-how-step,
.hc-why-bento__card {
    border: 0 !important;
    border-radius: var(--hs-radius) !important;
    box-shadow: none !important;
}
.hc-why-bento__card:not(.hc-why-bento__card--support) {
    background: var(--hs-grey) !important;
}
.hc-why-bento__card--support {
    background:
        radial-gradient(60% 70% at 100% 0, rgba(6, 111, 209, 0.75), transparent 70%),
        var(--hs-ink) !important;
}
.hc-why-bento__btn,
.hc-vps-offers-more .btn-cta-main {
    border-radius: 999px !important;
    font-family: var(--hs-font) !important;
}
.hc-vps-offers-more .btn-cta-main {
    background: var(--hs-blue) !important;
    border-color: var(--hs-blue) !important;
}
.hc-seo-guides__links a {
    border-radius: 999px !important;
    font-family: var(--hs-font) !important;
}

/* Titres de section alignés à gauche, comme le bandeau d'ouverture */
.hc-vps-offers-section > .container > .vps-loc-title,
.hc-vps-offers-section > .container > .vps-loc-subtitle,
.hc-dc-intro,
.hc-how-intro,
.hc-why-bento__intro,
.hc-seo-guides__head {
    max-width: 46rem;
    margin-right: auto !important;
    margin-left: 0 !important;
    text-align: left !important;
}
.hc-dc-intro p,
.hc-how-intro p,
.hc-why-bento__intro p,
.hc-seo-guides__head p {
    margin-left: 0 !important;
    color: var(--hs-muted) !important;
    font-family: var(--hs-font);
    font-size: 1.0625rem;
    text-align: left !important;
}
.hc-vps-offers-section,
.hc-dc-section,
.hc-how-section,
.hc-why-bento,
.hc-seo-guides {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}
.hc-seo-guides__links {
    justify-content: flex-start !important;
}

/* Même largeur de contenu pour toutes les sections de l'accueil */
.hc-vps-offers-section > .container,
.hc-dc-section > .container,
.hc-how-section > .container,
.hc-why-bento > .container,
.hc-seo-guides > .container,
.hc-rev > .container {
    width: 100%;
    max-width: calc(var(--hs-wrap) + 48px) !important;
    padding-right: 24px !important;
    padding-left: 24px !important;
}
.hc-how-steps,
.hc-why-bento__grid {
    max-width: none !important;
}
