/* Passe Premium 2026 — accueil uniquement.
   La palette et les typographies historiques WebInFun sont conservées. */

.hero-premium {
    min-height: calc(100vh - 85px);
    padding: clamp(4rem, 8vw, 7rem) 0 2.25rem;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 18%, rgba(71, 149, 185, 0.34), transparent 28%),
        radial-gradient(circle at 15% 90%, rgba(37, 99, 174, 0.3), transparent 35%),
        linear-gradient(135deg, var(--bleu-profond) 0%, #102f72 48%, var(--bleu-nuit) 100%);
}

.hero-premium::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
    z-index: -2;
}

.hero-premium::after {
    content: '';
    position: absolute;
    inset: auto -12% -38% 42%;
    height: 620px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.025),
        0 0 0 160px rgba(255, 255, 255, 0.018);
    pointer-events: none;
    z-index: -1;
}

.hero-premium .hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: center;
}

.hero-premium .hero-content {
    max-width: 690px;
}

.hero-premium .hero-badge {
    gap: 0.7rem;
    padding: 0.55rem 1rem;
    margin-bottom: 1.5rem;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #8ee8c2;
    box-shadow: 0 0 0 5px rgba(142, 232, 194, 0.13);
}

.hero-premium h1 {
    max-width: 720px;
    margin-bottom: 1.35rem;
    color: white;
    font-size: clamp(3.2rem, 5.3vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.hero-premium h1 span {
    color: #8dc7df;
    text-shadow: 0 12px 45px rgba(71, 149, 185, 0.28);
}

.hero-premium h1 span::after {
    bottom: 0.08em;
    height: 0.1em;
    background: rgba(141, 199, 223, 0.27);
}

.hero-premium .hero-subtitle {
    max-width: 650px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-texte);
    font-size: clamp(1rem, 1.45vw, 1.15rem);
    line-height: 1.75;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 1.65rem;
    list-style: none;
}

.hero-services li {
    padding: 0.42rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-full);
    background: rgba(8, 37, 88, 0.26);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.76rem;
}

.hero-premium .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    max-width: 620px;
    margin-bottom: 1.6rem;
}

.hero-premium .hero-stat {
    min-width: 0;
    padding: 0.8rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.075);
    backdrop-filter: blur(10px);
}

.hero-premium .hero-stat-value,
.hero-premium .hero-stat-label {
    display: block;
}

.hero-premium .hero-stat-value {
    margin-bottom: 0.15rem;
    color: white;
    font-family: var(--font-titres);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 700;
    line-height: 1;
}

.hero-premium .hero-stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    line-height: 1.35;
}

.hero-premium .hero-cta {
    align-items: center;
    margin-bottom: 0.85rem;
}

.hero-premium .btn {
    min-height: 54px;
    border-radius: 0.75rem;
}

.hero-premium .btn-primary {
    border-color: white !important;
    background: white !important;
    color: var(--bleu-profond) !important;
    box-shadow: 0 16px 38px rgba(3, 20, 55, 0.28);
}

.hero-premium .btn-primary:hover {
    background: #eef8fc !important;
    color: var(--bleu-profond-dark) !important;
}

.hero-premium .btn-outline {
    border-color: rgba(255, 255, 255, 0.64);
    background: rgba(255, 255, 255, 0.035);
    color: white;
}

.hero-premium .btn-outline:hover {
    border-color: white;
    background: white;
    color: var(--bleu-profond);
}

.hero-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 0.72rem;
}

.hero-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
}

.hero-reassurance span::before {
    content: '';
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #8ee8c2;
}

.hero-premium .hero-visual {
    order: initial;
    min-height: 530px;
    perspective: 1200px;
}

.hero-showcase {
    position: relative;
    width: min(100%, 560px);
    margin-inline: auto;
    transform: rotateY(-4deg) rotateX(1deg);
    transform-style: preserve-3d;
}

.hero-browser {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 1.35rem;
    background: #f8f9fc;
    box-shadow:
        0 35px 80px rgba(3, 20, 55, 0.42),
        0 0 0 8px rgba(255, 255, 255, 0.045);
}

.hero-browser-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    height: 45px;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(11, 53, 119, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.hero-browser-dot {
    width: 0.58rem;
    height: 0.58rem;
    border-radius: 50%;
    background: #cad2dd;
}

.hero-browser-dot:first-child {
    background: #4795b9;
}

.hero-browser-address {
    flex: 1;
    height: 23px;
    margin-left: 0.35rem;
    border-radius: var(--radius-full);
    background: #edf1f6;
    color: #59697f;
    font-size: 0.58rem;
    line-height: 23px;
    text-align: center;
}

.hero-browser-screen {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #eef2f8;
}

.hero-browser-screen img {
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-browser-screen::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to bottom, transparent, rgba(11, 53, 119, 0.12));
    pointer-events: none;
}

.hero-proof-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0.85rem;
    background: rgba(248, 249, 252, 0.94);
    color: var(--bleu-profond);
    box-shadow: 0 18px 40px rgba(3, 20, 55, 0.28);
    backdrop-filter: blur(12px);
}

.hero-proof-card strong,
.hero-proof-card span {
    display: block;
}

.hero-proof-card strong {
    font-family: var(--font-titres);
    font-size: 1.15rem;
    line-height: 1;
}

.hero-proof-card span {
    margin-top: 0.18rem;
    color: var(--gris-moyen);
    font-size: 0.6rem;
}

.hero-proof-score {
    top: -1.35rem;
    right: -1.2rem;
    animation: premium-float 5.4s ease-in-out infinite;
}

.hero-score-ring {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border: 4px solid #33a474;
    border-radius: 50%;
    background: white;
    color: #176645;
    font-size: 0.72rem;
    font-weight: 700;
}

.hero-proof-local {
    right: 0.25rem;
    bottom: 6.5rem;
    animation: premium-float 6.2s ease-in-out 0.7s infinite reverse;
}

.hero-local-icon {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    border-radius: 0.7rem;
    background: var(--bleu-profond);
    color: white;
    font-size: 1.1rem;
}

.hero-code-card {
    position: absolute;
    z-index: 2;
    left: -2.1rem;
    bottom: -1.4rem;
    width: min(76%, 390px);
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background: rgba(4, 24, 62, 0.94);
    color: #bcd7e8;
    box-shadow: 0 24px 55px rgba(3, 20, 55, 0.35);
    font-size: 0.68rem;
    line-height: 1.65;
    backdrop-filter: blur(12px);
}

.hero-code-card span {
    color: #8ee8c2;
}

.hero-code-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-code-label::before {
    content: '';
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: #8ee8c2;
    box-shadow: 0 0 0 4px rgba(142, 232, 194, 0.12);
}

.hero-premium .hero-story {
    max-width: 1040px;
    margin: 4rem auto 0;
}

.hero-premium .bulle-protectrice {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.hero-premium .bulle-protectrice::before {
    display: none;
}

.hero-story-mark {
    color: #8dc7df;
    font-family: var(--font-titres);
    font-size: 2.7rem;
    line-height: 0.7;
}

.hero-premium .bulle-protectrice p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.76rem;
    font-style: normal;
    line-height: 1.65;
}

.hero-premium .bulle-auteur {
    margin: 0;
    color: white;
    font-size: 0.7rem;
    white-space: nowrap;
}

@keyframes premium-float {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }
    50% {
        transform: translate3d(0, -9px, 0);
    }
}

@media (max-width: 1120px) {
    .hero-premium .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
        gap: 2.5rem;
    }

    .hero-proof-score,
    .hero-proof-local {
        right: 0.25rem;
    }

    .hero-code-card {
        left: -0.8rem;
    }
}

@media (max-width: 1024px) {
    .hero-premium {
        padding-top: 4rem;
    }

    .hero-premium .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .hero-premium .hero-content {
        max-width: 760px;
        margin-inline: auto;
    }

    .hero-premium .hero-visual {
        order: initial;
        width: min(100%, 650px);
        min-height: 500px;
        margin: 1rem auto 0;
    }

    .hero-premium .hero-cta,
    .hero-premium .hero-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .hero-premium {
        min-height: auto;
        padding: 2.7rem 0 1.5rem;
    }

    .hero-premium h1 {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .hero-premium .hero-stats {
        gap: 0.5rem;
    }

    .hero-premium .hero-stat {
        padding: 0.65rem 0.55rem;
    }

    .hero-premium .hero-stat-value {
        font-size: 1.15rem;
    }

    .hero-premium .hero-stat-label {
        font-size: 0.58rem;
    }

    .hero-premium .hero-cta {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .hero-premium .btn {
        width: 100%;
    }

    .hero-premium .hero-visual {
        min-height: 400px;
        margin-top: 0.25rem;
    }

    .hero-showcase {
        width: calc(100% - 1rem);
        transform: none;
    }

    .hero-browser-screen {
        height: 285px;
    }

    .hero-proof-score {
        top: -1rem;
        right: -0.5rem;
    }

    .hero-proof-local {
        right: -0.25rem;
        bottom: 6.5rem;
    }

    .hero-proof-card {
        padding: 0.58rem 0.65rem;
    }

    .hero-proof-card strong {
        font-size: 0.92rem;
    }

    .hero-score-ring,
    .hero-local-icon {
        width: 2.35rem;
        height: 2.35rem;
    }

    .hero-code-card {
        left: -0.45rem;
        bottom: -1.2rem;
        width: 78%;
        padding: 0.75rem;
        font-size: 0.56rem;
    }

    .hero-premium .hero-story {
        margin-top: 2.5rem;
    }

    .hero-premium .bulle-protectrice {
        grid-template-columns: auto 1fr;
    }

    .hero-premium .bulle-auteur {
        grid-column: 2;
        white-space: normal;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-proof-score,
    .hero-proof-local {
        animation: none;
    }
}
