/* ==========================================================
   A.T.I.A.M. — Maquette V2 séparée
   Hero immersif inspiré de la composition du fichier « Nico ».
   Toutes les règles sont limitées à .home-v2.
   ========================================================== */

.home-v2 {
    --v2-gold: #d9b56d;
    --v2-gold-light: #f2d9a5;
    --v2-cyan: #66d7e5;
    --v2-cream: #fbfaf7;
    background: var(--v2-cream);
    font-family: "Montserrat", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.home-v2 .topbar {
    border-bottom-color: rgba(15, 42, 58, .08);
    box-shadow: 0 8px 30px rgba(7, 23, 34, .045);
}

.home-v2 .brand-text strong {
    letter-spacing: .10em;
}

.home-v2 .desktop-nav .nav-link {
    letter-spacing: .035em;
}

.home-v2 .premium-hero-v2 {
    position: relative;
    min-height: clamp(720px, calc(100svh - 78px), 940px);
    display: grid;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    background: #0b2535;
}

.home-v2 .premium-hero-v2::before {
    display: none;
}

.home-v2 .premium-hero-v2-media,
.home-v2 .premium-hero-v2-overlay {
    position: absolute;
    inset: 0;
}

.home-v2 .premium-hero-v2-media {
    z-index: -3;
    background-image: url("../img/nice-cote-d-azur-hero-v2.webp");
    background-size: cover;
    background-position: center center;
    transform: scale(1.025);
    animation: atiamV2HeroZoom 18s ease-out both;
}

.home-v2 .premium-hero-v2-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(4, 17, 26, .84) 0%, rgba(4, 20, 30, .62) 40%, rgba(5, 21, 31, .36) 72%, rgba(3, 15, 23, .50) 100%),
        linear-gradient(180deg, rgba(4, 18, 27, .16) 0%, rgba(4, 18, 27, .20) 55%, rgba(4, 18, 27, .88) 100%);
}

.home-v2 .premium-hero-v2::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 50% 34%, rgba(255,255,255,.07), transparent 34%),
        linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
    background-size: auto, 72px 72px, 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 88%);
}

.home-v2 .premium-hero-inner-v2 {
    position: relative;
    z-index: 2;
    min-height: clamp(720px, calc(100svh - 78px), 940px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 86px 0 132px;
}

.home-v2 .premium-hero-v2-content {
    width: min(100%, 1120px);
    margin-inline: auto;
    text-align: center;
    color: #fff;
    animation: atiamV2FadeUp .9s ease-out both;
}

.home-v2 .premium-hero-v2-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 0 0 26px;
    color: rgba(255,255,255,.78);
    font-size: .75rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .21em;
    text-transform: uppercase;
}

.home-v2 .premium-hero-v2-kicker span {
    width: 38px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--v2-gold));
}

.home-v2 .premium-hero-v2-kicker span:last-child {
    background: linear-gradient(90deg, var(--v2-gold), transparent);
}

.home-v2 .premium-hero-v2 h1 {
    max-width: 1100px;
    margin: 0 auto 28px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(3.15rem, 6.2vw, 6.55rem);
    line-height: .99;
    font-weight: 400;
    letter-spacing: -.045em;
    text-wrap: balance;
    text-shadow: 0 18px 48px rgba(0,0,0,.35);
}

.home-v2 .premium-hero-v2 h1 em {
    color: var(--v2-gold-light);
    font-weight: 400;
}

.home-v2 .premium-hero-v2 .lead {
    max-width: 860px;
    margin: 0 auto;
    color: rgba(241, 248, 249, .89);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.82;
    font-weight: 300;
    text-shadow: 0 10px 32px rgba(0,0,0,.48);
}

.home-v2 .premium-hero-v2-actions {
    justify-content: center;
    margin-top: 38px;
    gap: 14px;
}

.home-v2 .premium-hero-v2-actions .btn {
    min-height: 56px;
    padding: 15px 24px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .095em;
    text-transform: uppercase;
    box-shadow: 0 18px 44px rgba(0,0,0,.20);
}

.home-v2 .premium-hero-v2-primary {
    background: #fff;
    color: #102a3a;
    border: 1px solid #fff;
}

.home-v2 .premium-hero-v2-primary:hover {
    color: #0b2535;
    background: var(--v2-gold-light);
    border-color: var(--v2-gold-light);
    transform: translateY(-2px);
}

.home-v2 .premium-hero-v2-secondary {
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.home-v2 .premium-hero-v2-secondary:hover {
    color: #102a3a;
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.home-v2 .premium-hero-v2-reassurance {
    max-width: 850px;
    margin: 38px auto 0;
    padding-top: 23px;
    border-top: 1px solid rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 30px;
    color: rgba(255,255,255,.75);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .045em;
}

.home-v2 .premium-hero-v2-reassurance span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.home-v2 .premium-hero-v2-reassurance i {
    color: var(--v2-gold-light);
}

.home-v2 .premium-hero-v2-scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: grid;
    place-items: center;
    gap: 7px;
    color: rgba(255,255,255,.66);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.home-v2 .premium-hero-v2-scroll i {
    color: var(--v2-gold-light);
    animation: atiamV2Scroll 1.9s ease-in-out infinite;
}

.home-v2 .home-trust-strip {
    margin-top: 0;
    padding: 0;
    background: #081d29;
}

.home-v2 .home-trust-strip .container {
    width: 100%;
    max-width: none;
}

.home-v2 .home-trust-panel {
    width: 100%;
    max-width: none;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-v2 .home-trust-item {
    min-height: 122px;
    border-right: 1px solid rgba(255,255,255,.10);
    background: transparent;
    transition: background .25s ease;
}

.home-v2 .home-trust-item:first-child,
.home-v2 .home-trust-item:last-child {
    border-radius: 0;
}

.home-v2 .home-trust-item:hover {
    background: rgba(255,255,255,.04);
}

.home-v2 .home-trust-item strong {
    color: var(--v2-gold-light);
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    font-weight: 500;
}

.home-v2 .home-trust-item span {
    color: rgba(255,255,255,.68);
    font-size: .76rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-v2 .home-trust-item:last-child {
    border-right: 0;
}

.home-v2 .section-head h2,
.home-v2 .section h2 {
    letter-spacing: -.035em;
}

.home-v2 .section-head.center h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
}

.home-v2 .premium-card {
    border-radius: 18px;
}

.home-v2::after {
    content: "V2";
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1000;
    padding: 8px 11px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(7, 23, 34, .72);
    color: rgba(255,255,255,.88);
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(12px);
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    pointer-events: none;
}

@keyframes atiamV2FadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes atiamV2HeroZoom {
    from { transform: scale(1.085); }
    to { transform: scale(1.025); }
}

@keyframes atiamV2Scroll {
    0%, 100% { transform: translateY(0); opacity: .65; }
    50% { transform: translateY(6px); opacity: 1; }
}

@media (max-width: 920px) {
    .home-v2 .premium-hero-v2,
    .home-v2 .premium-hero-inner-v2 {
        min-height: 760px;
    }

    .home-v2 .premium-hero-v2-media {
        background-position: 58% center;
    }

    .home-v2 .premium-hero-v2-overlay {
        background:
            linear-gradient(90deg, rgba(4,17,26,.82), rgba(4,18,27,.58)),
            linear-gradient(180deg, rgba(4,18,27,.18), rgba(4,18,27,.92));
    }

    .home-v2 .premium-hero-inner-v2 {
        padding: 76px 0 126px;
    }
}

@media (max-width: 680px) {
    .home-v2 .premium-hero-v2,
    .home-v2 .premium-hero-inner-v2 {
        min-height: calc(100svh - 78px);
    }

    .home-v2 .premium-hero-v2-media {
        background-position: 62% center;
    }

    .home-v2 .premium-hero-v2-overlay {
        background:
            linear-gradient(90deg, rgba(3,15,23,.88), rgba(5,22,32,.66)),
            linear-gradient(180deg, rgba(3,15,23,.28), rgba(3,15,23,.94));
    }

    .home-v2 .premium-hero-inner-v2 {
        padding: 66px 0 112px;
    }

    .home-v2 .premium-hero-v2-kicker {
        gap: 10px;
        font-size: .6rem;
        letter-spacing: .16em;
    }

    .home-v2 .premium-hero-v2-kicker span {
        width: 20px;
    }

    .home-v2 .premium-hero-v2 h1 {
        font-size: clamp(2.75rem, 13vw, 4.3rem);
        line-height: 1.02;
    }

    .home-v2 .premium-hero-v2 .lead {
        font-size: .96rem;
        line-height: 1.68;
    }

    .home-v2 .premium-hero-v2-actions {
        width: 100%;
        flex-direction: column;
    }

    .home-v2 .premium-hero-v2-actions .btn {
        width: 100%;
        min-height: 54px;
        padding-inline: 15px;
        font-size: .68rem;
    }

    .home-v2 .premium-hero-v2-reassurance {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 9px;
        margin-top: 28px;
        padding-top: 18px;
        font-size: .70rem;
    }

    .home-v2 .premium-hero-v2-scroll {
        bottom: 19px;
    }

    .home-v2 .home-trust-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-v2 .home-trust-item {
        min-height: 104px;
        border-bottom: 1px solid rgba(255,255,255,.10);
    }

    .home-v2 .home-trust-item:nth-child(2) {
        border-right: 0;
    }

    .home-v2::after {
        right: 10px;
        bottom: 10px;
        font-size: .57rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 .premium-hero-v2-media,
    .home-v2 .premium-hero-v2-content,
    .home-v2 .premium-hero-v2-scroll i {
        animation: none;
    }
}
