﻿/* AK Agency — Hero Premium V2
   Inspirée de la maquette de référence :
   contenu compact à gauche, visuel immersif à droite,
   arguments horizontaux et mobile réellement responsive.
*/

.ak-hero-v2 {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    background:
        radial-gradient(circle at 72% 40%, rgba(255, 91, 0, .13), transparent 31rem),
        linear-gradient(90deg, #05080c 0%, #05080c 42%, #080706 70%, #120904 100%);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ak-hero-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: .32;
    background:
        radial-gradient(ellipse at 84% 102%, rgba(255, 87, 0, .22), transparent 30%),
        linear-gradient(115deg, transparent 0 54%, rgba(255, 110, 20, .035) 54% 55%, transparent 55% 100%);
}

.ak-hero-v2__main {
    width: min(calc(100% - 40px), 1240px);
    min-height: 570px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr);
    align-items: center;
    gap: 20px;
}

.ak-hero-v2__content {
    position: relative;
    z-index: 3;
    padding: 56px 0 34px;
}

.ak-hero-v2__eyebrow {
    margin: 0 0 18px;
    color: #ff7415;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.ak-hero-v2__title {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 4.25vw, 64px);
    font-weight: 780;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.ak-hero-v2__title > span {
    display: block;
}

.ak-hero-v2__title strong {
    color: #ff6510;
    font-weight: inherit;
}

.ak-hero-v2__description {
    max-width: 585px;
    margin: 22px 0 0;
    color: #aeb4bd;
    font-size: 16px;
    line-height: 1.72;
}

.ak-hero-v2__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.ak-hero-v2__button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 19px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease,
        color .22s ease,
        background .22s ease;
}

.ak-hero-v2__button--primary {
    border: 1px solid rgba(255, 190, 122, .45);
    background:
        linear-gradient(180deg, rgba(255,255,255,.22), transparent 45%),
        linear-gradient(135deg, #ff8120 0%, #ff6509 55%, #ed4900 100%);
    color: #180700;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.32),
        0 13px 28px rgba(255, 94, 0, .22);
}

.ak-hero-v2__button--secondary {
    padding-right: 8px;
    border: 1px solid transparent;
    background: transparent;
    color: #fff;
}

.ak-hero-v2__button-arrow {
    font-size: 17px;
}

.ak-hero-v2__button-circle {
    width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    color: #dfe3e8;
}

.ak-hero-v2__button:hover {
    transform: translateY(-2px);
}

.ak-hero-v2__button--primary:hover {
    color: #180700;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.36),
        0 18px 38px rgba(255, 94, 0, .31);
}

.ak-hero-v2__button--secondary:hover {
    color: #ff7b1a;
}

.ak-hero-v2__visual {
    position: relative;
    align-self: stretch;
    min-width: 0;
    min-height: 570px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ak-hero-v2__visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -10%;
    right: -35%;
    bottom: -10%;
    height: 58%;
    background:
        radial-gradient(ellipse at center, rgba(0,0,0,.96) 0 42%, transparent 72%);
    filter: blur(2px);
}

.ak-hero-v2__visual-aura {
    position: absolute;
    z-index: -2;
    inset: 2% -14% 4% -5%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 70% 52%, rgba(255, 96, 0, .32), rgba(255, 96, 0, .07) 33%, transparent 66%);
    filter: blur(34px);
}

.ak-hero-v2__visual-rock {
    position: absolute;
    z-index: -1;
    bottom: -14%;
    background:
        linear-gradient(145deg, #25272a 0%, #0d0f11 44%, #020304 100%);
    box-shadow:
        inset -20px 24px 45px rgba(255, 111, 20, .08),
        0 -10px 50px rgba(0,0,0,.60);
    filter: blur(.2px);
}

.ak-hero-v2__visual-rock--one {
    left: -7%;
    width: 70%;
    height: 34%;
    clip-path: polygon(0 72%, 13% 28%, 31% 6%, 47% 29%, 66% 18%, 100% 69%, 89% 100%, 10% 100%);
}

.ak-hero-v2__visual-rock--two {
    right: -17%;
    width: 60%;
    height: 30%;
    clip-path: polygon(0 66%, 21% 17%, 43% 33%, 63% 5%, 100% 70%, 100% 100%, 8% 100%);
}

.ak-hero-v2__visual img {
    position: relative;
    z-index: 2;
    display: block;
    width: 112%;
    max-width: none;
    height: auto;
    margin: 0 -11% -3% -7%;
    object-fit: contain;
    filter:
        drop-shadow(0 34px 38px rgba(0,0,0,.58))
        drop-shadow(0 0 25px rgba(255,96,0,.07));
}

.ak-hero-v2__features {
    position: relative;
    z-index: 5;
    width: min(calc(100% - 40px), 1240px);
    margin: -4px auto 0;
    padding: 18px 0 22px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.08);
}

.ak-hero-v2__feature {
    min-width: 0;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 22px;
    border-right: 1px solid rgba(255,255,255,.075);
}

.ak-hero-v2__feature:first-child {
    padding-left: 0;
}

.ak-hero-v2__feature:last-child {
    padding-right: 0;
    border-right: 0;
}

.ak-hero-v2__feature-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #ff7618;
}

.ak-hero-v2__feature-icon svg {
    width: 27px;
    height: 27px;
    display: block;
    fill: currentColor;
}

.ak-hero-v2__feature-copy {
    min-width: 0;
}

.ak-hero-v2__feature-copy strong,
.ak-hero-v2__feature-copy small {
    display: block;
}

.ak-hero-v2__feature-copy strong {
    overflow: hidden;
    color: #f4f6f8;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ak-hero-v2__feature-copy small {
    margin-top: 3px;
    overflow: hidden;
    color: #848b95;
    font-size: 10px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Correctif hamburger : les traits restent visibles même si un style global
   du thème ou d'Elementor cible les <span> des boutons. */
@media (max-width: 980px) {
    .ak-header__burger {
        position: relative !important;
        display: block !important;
        overflow: hidden !important;
        border-color: rgba(255,255,255,.16) !important;
        background: rgba(255,255,255,.035) !important;
    }

    .ak-header__burger span {
        display: none !important;
    }

    .ak-header__burger::before,
    .ak-header__burger::after {
        content: "";
        position: absolute;
        left: 11px;
        width: 22px;
        height: 2px;
        border-radius: 99px;
        background: #fff;
        box-shadow: 0 7px 0 #fff;
    }

    .ak-header__burger::before {
        top: 14px;
    }

    .ak-header__burger::after {
        top: 28px;
        box-shadow: none;
    }
}

@media (max-width: 1060px) {
    .ak-hero-v2__main {
        grid-template-columns: minmax(0, .93fr) minmax(470px, 1.07fr);
    }

    .ak-hero-v2__title {
        font-size: clamp(42px, 4.5vw, 57px);
    }

    .ak-hero-v2__visual img {
        width: 107%;
        margin-right: -5%;
    }
}

@media (max-width: 900px) {
    .ak-hero-v2 {
        background:
            radial-gradient(circle at 70% 67%, rgba(255, 91, 0, .11), transparent 25rem),
            #05080c;
    }

    .ak-hero-v2__main {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .ak-hero-v2__content {
        padding: 40px 0 16px;
    }

    .ak-hero-v2__title {
        max-width: 700px;
        font-size: clamp(43px, 8vw, 61px);
    }

    .ak-hero-v2__description {
        max-width: 650px;
    }

    .ak-hero-v2__visual {
        width: min(100%, 760px);
        min-height: 410px;
        margin: 0 auto;
    }

    .ak-hero-v2__visual img {
        width: 100%;
        margin: 0 0 -2%;
    }

    .ak-hero-v2__features {
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .ak-hero-v2__main {
        width: calc(100% - 28px);
    }

    .ak-hero-v2__content {
        padding-top: 34px;
    }

    .ak-hero-v2__eyebrow {
        margin-bottom: 15px;
        font-size: 11px;
    }

    .ak-hero-v2__title {
        font-size: clamp(38px, 11.8vw, 50px);
        line-height: 1.06;
    }

    .ak-hero-v2__description {
        margin-top: 19px;
        font-size: 15px;
        line-height: 1.68;
    }

    .ak-hero-v2__actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 24px;
    }

    .ak-hero-v2__button {
        width: 100%;
        min-height: 52px;
    }

    .ak-hero-v2__button--secondary {
        border-color: rgba(255,255,255,.11);
        background: rgba(255,255,255,.035);
        padding-right: 14px;
    }

    .ak-hero-v2__visual {
        min-height: 330px;
        margin-top: 12px;
    }

    .ak-hero-v2__visual-rock {
        bottom: -7%;
    }

    .ak-hero-v2__features {
        width: 100%;
        overflow-x: auto;
        grid-template-columns: repeat(4, minmax(190px, 1fr));
        gap: 0;
        padding: 17px 14px 21px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .ak-hero-v2__features::-webkit-scrollbar {
        display: none;
    }

    .ak-hero-v2__feature {
        min-height: 58px;
        padding: 0 17px;
        scroll-snap-align: start;
    }

    .ak-hero-v2__feature:first-child {
        padding-left: 2px;
    }

    .ak-hero-v2__feature-copy strong {
        font-size: 12px;
    }

    .ak-hero-v2__feature-copy small {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .ak-hero-v2__main {
        width: calc(100% - 24px);
    }

    .ak-hero-v2__content {
        padding-top: 28px;
    }

    .ak-hero-v2__title {
        font-size: 39px;
    }

    .ak-hero-v2__visual {
        min-height: 280px;
    }

    .ak-hero-v2__visual img {
        width: 108%;
        margin-left: -4%;
        margin-right: -4%;
    }
}

/* AK HERO BACKGROUND V3 START */

/*
 * Hero avec image de fond complète :
 * espace sombre pour le texte à gauche,
 * ordinateur et téléphone entièrement visibles à droite.
 */
.ak-hero-v2 {
    min-height: 650px !important;
    background:
        linear-gradient(
            90deg,
            rgba(3, 5, 8, .99) 0%,
            rgba(3, 5, 8, .96) 29%,
            rgba(3, 5, 8, .80) 43%,
            rgba(3, 5, 8, .22) 66%,
            rgba(3, 5, 8, .02) 100%
        ),
        url("../images/ak-performance-1a-v1/ak-agency-hero-background-v3-responsive.webp") center right / cover no-repeat !important;
}

.ak-hero-v2::before {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .08) 0%,
            transparent 55%,
            rgba(0, 0, 0, .72) 100%
        ) !important;
    opacity: 1 !important;
}

.ak-hero-v2__main {
    min-height: 570px !important;
    grid-template-columns: minmax(0, 620px) 1fr !important;
    align-items: center !important;
}

.ak-hero-v2__content {
    max-width: 620px !important;
    padding: 54px 0 34px !important;
}

.ak-hero-v2__visual {
    display: none !important;
}

.ak-hero-v2__title {
    max-width: 610px !important;
    font-size: clamp(43px, 4.3vw, 64px) !important;
    line-height: 1.07 !important;
}

.ak-hero-v2__description {
    max-width: 560px !important;
}

.ak-hero-v2__features {
    margin-top: 0 !important;
    padding: 18px 0 22px !important;
    background: linear-gradient(
        90deg,
        rgba(3, 5, 8, .88),
        rgba(3, 5, 8, .72),
        rgba(3, 5, 8, .35)
    ) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 980px) {
    .ak-hero-v2 {
        min-height: auto !important;
        background:
            linear-gradient(
                90deg,
                rgba(3, 5, 8, .99) 0%,
                rgba(3, 5, 8, .95) 52%,
                rgba(3, 5, 8, .42) 76%,
                rgba(3, 5, 8, .12) 100%
            ),
            url("../images/ak-performance-1a-v1/ak-agency-hero-background-v3-responsive.webp") 66% center / cover no-repeat !important;
    }

    .ak-hero-v2__main {
        min-height: 610px !important;
        grid-template-columns: minmax(0, 600px) 1fr !important;
    }

    .ak-hero-v2__content {
        padding: 44px 0 30px !important;
    }
}

@media (max-width: 767px) {
    .ak-hero-v2 {
        background:
            linear-gradient(
                180deg,
                rgba(3, 5, 8, .98) 0%,
                rgba(3, 5, 8, .95) 54%,
                rgba(3, 5, 8, .68) 74%,
                rgba(3, 5, 8, .40) 100%
            ),
            url("../images/ak-performance-1a-v1/ak-agency-hero-background-v3-responsive.webp") 67% center / auto 100% no-repeat !important;
    }

    .ak-hero-v2__main {
        width: calc(100% - 28px) !important;
        min-height: 650px !important;
        display: block !important;
    }

    .ak-hero-v2__content {
        max-width: 100% !important;
        padding: 34px 0 245px !important;
    }

    .ak-hero-v2__title {
        max-width: 100% !important;
        font-size: clamp(37px, 10.8vw, 48px) !important;
    }

    .ak-hero-v2__description {
        max-width: 100% !important;
        font-size: 15px !important;
    }

    .ak-hero-v2__features {
        background: rgba(3, 5, 8, .88) !important;
    }
}

@media (max-width: 480px) {
    .ak-hero-v2 {
        background-position: 66% center !important;
        background-size: auto 100% !important;
    }

    .ak-hero-v2__main {
        min-height: 625px !important;
    }

    .ak-hero-v2__content {
        padding-bottom: 220px !important;
    }

    .ak-hero-v2__title {
        font-size: 38px !important;
    }
}

/* AK HERO BACKGROUND V3 END */

/* AK HERO MOBILE IMAGE V1 START */

/*
 * Image dédiée uniquement au mobile.
 * La version desktop reste inchangée.
 */
@media (max-width: 767px) {
    .ak-hero-v2 {
        min-height: 760px !important;
        background:
            linear-gradient(
                180deg,
                rgba(3, 5, 8, .99) 0%,
                rgba(3, 5, 8, .97) 34%,
                rgba(3, 5, 8, .86) 52%,
                rgba(3, 5, 8, .38) 72%,
                rgba(3, 5, 8, .12) 100%
            ),
            url("../images/ak-agency-hero-mobile-v1.webp") center bottom / cover no-repeat !important;
    }

    .ak-hero-v2::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .08) 0%,
                rgba(0, 0, 0, .04) 54%,
                rgba(0, 0, 0, .42) 100%
            ) !important;
        opacity: 1 !important;
    }

    .ak-hero-v2__main {
        min-height: 760px !important;
        display: block !important;
    }

    .ak-hero-v2__content {
        padding: 30px 0 305px !important;
    }

    .ak-hero-v2__title {
        max-width: 100% !important;
    }

    .ak-hero-v2__description {
        max-width: 100% !important;
    }

    .ak-hero-v2__features {
        position: relative;
        z-index: 5;
        background: rgba(3, 5, 8, .90) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

@media (max-width: 480px) {
    .ak-hero-v2 {
        min-height: 735px !important;
        background-position: center bottom !important;
        background-size: cover !important;
    }

    .ak-hero-v2__main {
        min-height: 735px !important;
    }

    .ak-hero-v2__content {
        padding-top: 26px !important;
        padding-bottom: 285px !important;
    }
}

/* AK HERO MOBILE IMAGE V1 END */

/* AK HERO MOBILE LAYOUT V2 START */

/*
 * Mise en page mobile inspirée de la maquette validée.
 * L'image mobile existante est conservée.
 * Aucun changement sur la version ordinateur.
 */
@media (max-width: 767px) {
    .ak-hero-v2 {
        min-height: auto !important;
        padding: 0 !important;
        font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif !important;
        background:
            linear-gradient(
                180deg,
                rgba(3, 5, 8, .995) 0%,
                rgba(3, 5, 8, .98) 29%,
                rgba(3, 5, 8, .91) 46%,
                rgba(3, 5, 8, .50) 66%,
                rgba(3, 5, 8, .14) 100%
            ),
            url("../images/ak-agency-hero-mobile-v1.webp") center bottom / cover no-repeat !important;
    }

    .ak-hero-v2::before {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, .08) 0%,
                transparent 54%,
                rgba(0, 0, 0, .48) 100%
            ) !important;
        opacity: 1 !important;
    }

    .ak-hero-v2__main {
        width: calc(100% - 28px) !important;
        min-height: 830px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .ak-hero-v2__content {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 34px 0 350px !important;
        text-align: center !important;
    }

    .ak-hero-v2__eyebrow {
        margin: 0 0 16px !important;
        color: #ff7415 !important;
        font-size: 11px !important;
        font-weight: 900 !important;
        line-height: 1.45 !important;
        letter-spacing: .075em !important;
        text-align: center !important;
    }

    .ak-hero-v2__title {
        max-width: 430px !important;
        margin: 0 auto !important;
        color: #fff !important;
        font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif !important;
        font-size: clamp(37px, 10.5vw, 47px) !important;
        font-weight: 800 !important;
        line-height: 1.07 !important;
        letter-spacing: -.045em !important;
        text-align: center !important;
        text-wrap: balance;
    }

    .ak-hero-v2__title > span {
        display: block !important;
    }

    .ak-hero-v2__title strong {
        color: #ff6410 !important;
        font-weight: 800 !important;
    }

    .ak-hero-v2__description {
        max-width: 390px !important;
        margin: 20px auto 0 !important;
        color: #b2b7c0 !important;
        font-size: 15px !important;
        font-weight: 400 !important;
        line-height: 1.7 !important;
        text-align: center !important;
    }

    .ak-hero-v2__actions {
        width: min(100%, 380px) !important;
        margin: 25px auto 0 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .ak-hero-v2__button {
        width: 100% !important;
        min-height: 56px !important;
        padding: 0 21px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-radius: 14px !important;
        font-family: "Montserrat", "Inter", "Segoe UI", Arial, sans-serif !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-align: left !important;
    }

    .ak-hero-v2__button--primary {
        border: 1px solid rgba(255, 188, 117, .48) !important;
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, .21),
                rgba(255, 255, 255, .04) 42%,
                transparent 60%
            ),
            linear-gradient(
                135deg,
                #ff8522 0%,
                #ff6509 55%,
                #ef4b00 100%
            ) !important;
        color: #170700 !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .34),
            0 15px 34px rgba(255, 94, 0, .24) !important;
    }

    .ak-hero-v2__button--secondary {
        border: 1px solid rgba(255, 255, 255, .48) !important;
        background: rgba(8, 11, 15, .48) !important;
        color: #fff !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .05),
            0 12px 25px rgba(0, 0, 0, .18) !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .ak-hero-v2__button-arrow,
    .ak-hero-v2__button-circle {
        width: auto !important;
        height: auto !important;
        display: inline-block !important;
        flex: 0 0 auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: currentColor !important;
        font-size: 19px !important;
        line-height: 1 !important;
    }

    .ak-hero-v2__visual {
        display: none !important;
    }

    .ak-hero-v2__features {
        width: calc(100% - 24px) !important;
        margin: 0 auto 22px !important;
        padding: 10px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        overflow: visible !important;
        border: 1px solid rgba(255, 255, 255, .10) !important;
        border-radius: 22px !important;
        background: rgba(7, 10, 14, .90) !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .04),
            0 24px 55px rgba(0, 0, 0, .30) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .ak-hero-v2__feature {
        min-width: 0 !important;
        min-height: 112px !important;
        padding: 15px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: rgba(255, 255, 255, .018) !important;
        text-align: center !important;
    }

    .ak-hero-v2__feature-icon {
        width: 33px !important;
        height: 33px !important;
        flex: 0 0 33px !important;
        color: #ff7618 !important;
    }

    .ak-hero-v2__feature-icon svg {
        width: 29px !important;
        height: 29px !important;
    }

    .ak-hero-v2__feature-copy {
        width: 100% !important;
        text-align: center !important;
    }

    .ak-hero-v2__feature-copy strong {
        overflow: visible !important;
        color: #f7f8fa !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }

    .ak-hero-v2__feature-copy small {
        margin-top: 5px !important;
        overflow: visible !important;
        color: #9ba1aa !important;
        font-size: 10px !important;
        line-height: 1.4 !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
}

@media (max-width: 430px) {
    .ak-hero-v2__main {
        min-height: 800px !important;
    }

    .ak-hero-v2__content {
        padding-top: 28px !important;
        padding-bottom: 330px !important;
    }

    .ak-hero-v2__title {
        font-size: 38px !important;
    }

    .ak-hero-v2__description {
        font-size: 14px !important;
    }
}

@media (max-width: 360px) {
    .ak-hero-v2__main {
        min-height: 780px !important;
    }

    .ak-hero-v2__content {
        padding-bottom: 310px !important;
    }

    .ak-hero-v2__title {
        font-size: 35px !important;
    }

    .ak-hero-v2__button {
        min-height: 53px !important;
        font-size: 13px !important;
    }
}

/* AK HERO MOBILE LAYOUT V2 END */

/* AK HERO MOBILE STRUCTURE V3 START */

/*
 * Sur mobile, l'image n'est plus utilisée comme fond.
 * Elle devient un vrai bloc placé entre les boutons et les avantages.
 * Cela empêche tout chevauchement et conserve les appareils entièrement visibles.
 */
@media (max-width: 767px) {
    .ak-hero-v2 {
        min-height: auto !important;
        background:
            radial-gradient(circle at 50% 62%, rgba(255, 92, 0, .09), transparent 24rem),
            #05080c !important;
    }

    .ak-hero-v2::before {
        display: none !important;
    }

    .ak-hero-v2__main {
        width: calc(100% - 28px) !important;
        min-height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }

    .ak-hero-v2__content {
        width: 100% !important;
        max-width: 440px !important;
        margin: 0 auto !important;
        padding: 34px 0 22px !important;
        text-align: center !important;
    }

    .ak-hero-v2__visual {
        width: min(100%, 470px) !important;
        min-height: 0 !important;
        margin: 4px auto 0 !important;
        display: block !important;
        overflow: visible !important;
    }

    .ak-hero-v2__visual::before,
    .ak-hero-v2__visual-aura,
    .ak-hero-v2__visual-rock {
        display: none !important;
    }

    .ak-hero-v2__picture {
        display: block !important;
        width: 100% !important;
    }

    .ak-hero-v2__visual img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: contain !important;
        filter: none !important;
    }

    .ak-hero-v2__features {
        position: relative !important;
        z-index: 5 !important;
        width: calc(100% - 24px) !important;
        margin: 6px auto 24px !important;
        padding: 10px !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        overflow: visible !important;
        border: 1px solid rgba(255,255,255,.10) !important;
        border-radius: 22px !important;
        background: rgba(7, 10, 14, .96) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,.04),
            0 24px 55px rgba(0,0,0,.30) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .ak-hero-v2__feature {
        min-width: 0 !important;
        min-height: 112px !important;
        padding: 15px 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        border: 0 !important;
        border-radius: 16px !important;
        background: rgba(255,255,255,.018) !important;
        text-align: center !important;
    }

    .ak-hero-v2__feature:first-child,
    .ak-hero-v2__feature:last-child {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}

@media (max-width: 430px) {
    .ak-hero-v2__main {
        width: calc(100% - 24px) !important;
    }

    .ak-hero-v2__content {
        padding-top: 28px !important;
        padding-bottom: 18px !important;
    }

    .ak-hero-v2__visual {
        width: calc(100% + 12px) !important;
        margin-left: -6px !important;
    }
}

/* AK HERO MOBILE STRUCTURE V3 END */

/* AK HERO MOBILE SPACING V4 START */

/*
 * Réduit l'espace entre les boutons et le visuel mobile.
 * L'image utilisée reste la même ; seul son cadrage est resserré.
 */
@media (max-width: 767px) {
    .ak-hero-v2__content {
        padding-bottom: 7px !important;
    }

    .ak-hero-v2__visual {
        margin-top: -5px !important;
    }

    .ak-hero-v2__picture,
    .ak-hero-v2__picture img {
        line-height: 0 !important;
    }

    .ak-hero-v2__visual img {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
    }

    .ak-hero-v2__features {
        margin-top: -3px !important;
    }
}

@media (max-width: 430px) {
    .ak-hero-v2__content {
        padding-bottom: 5px !important;
    }

    .ak-hero-v2__visual {
        margin-top: -7px !important;
    }
}

/* AK HERO MOBILE SPACING V4 END */

/* AK HERO MOBILE HEIGHT V6 START */

/*
 * Réduction réelle de la hauteur de la Hero mobile.
 * On annule les anciens min-height accumulés et on limite
 * le bloc visuel à une hauteur harmonieuse.
 */
@media (max-width: 767px) {
    .ak-hero-v2 {
        min-height: 0 !important;
        height: auto !important;
    }

    .ak-hero-v2__main {
        min-height: 0 !important;
        height: auto !important;
    }

    .ak-hero-v2__content {
        padding-top: 26px !important;
        padding-bottom: 12px !important;
    }

    .ak-hero-v2__visual {
        width: min(100%, 470px) !important;
        height: 455px !important;
        min-height: 0 !important;
        max-height: 455px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .ak-hero-v2__picture {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .ak-hero-v2__visual img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center 59% !important;
    }

    .ak-hero-v2__features {
        margin-top: 0 !important;
    }
}

@media (max-width: 430px) {
    .ak-hero-v2__content {
        padding-top: 22px !important;
        padding-bottom: 10px !important;
    }

    .ak-hero-v2__visual {
        height: 420px !important;
        max-height: 420px !important;
    }

    .ak-hero-v2__visual img {
        object-position: center 60% !important;
    }
}

@media (max-width: 360px) {
    .ak-hero-v2__visual {
        height: 385px !important;
        max-height: 385px !important;
    }
}

/* AK HERO MOBILE HEIGHT V6 END */

/* AK HERO MOBILE BLEND V7 START */

/*
 * Supprime la coupure visible entre le contenu et l'image.
 * Aucun nouveau visuel : on mélange progressivement le haut
 * de l'image avec le fond noir de la Hero.
 */
@media (max-width: 767px) {
    .ak-hero-v2 {
        overflow: hidden !important;
        background: #05080c !important;
    }

    .ak-hero-v2__content {
        position: relative !important;
        z-index: 4 !important;
        padding-bottom: 4px !important;
        background: #05080c !important;
    }

    .ak-hero-v2__visual {
        position: relative !important;
        isolation: isolate !important;
        width: calc(100% + 28px) !important;
        height: 430px !important;
        min-height: 0 !important;
        max-height: 430px !important;
        margin: -2px -14px 0 !important;
        overflow: hidden !important;
        background: #05080c !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /*
     * Dégradé de fusion : le haut de la photo se fond dans la zone noire
     * au lieu de commencer par un rectangle net.
     */
    .ak-hero-v2__visual::before {
        content: "" !important;
        position: absolute !important;
        z-index: 4 !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        height: 105px !important;
        display: block !important;
        pointer-events: none !important;
        background:
            linear-gradient(
                180deg,
                #05080c 0%,
                rgba(5, 8, 12, .95) 20%,
                rgba(5, 8, 12, .68) 48%,
                rgba(5, 8, 12, .25) 75%,
                rgba(5, 8, 12, 0) 100%
            ) !important;
    }

    .ak-hero-v2__picture {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        background: #05080c !important;
        line-height: 0 !important;
    }

    .ak-hero-v2__visual img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center 60% !important;
        transform: scale(1.015) !important;
        transform-origin: center center !important;
        filter: none !important;
    }

    .ak-hero-v2__features {
        position: relative !important;
        z-index: 5 !important;
        margin-top: -1px !important;
    }
}

@media (max-width: 430px) {
    .ak-hero-v2__visual {
        width: calc(100% + 24px) !important;
        height: 405px !important;
        max-height: 405px !important;
        margin-right: -12px !important;
        margin-left: -12px !important;
    }

    .ak-hero-v2__visual::before {
        height: 92px !important;
    }

    .ak-hero-v2__visual img {
        object-position: center 61% !important;
    }
}

@media (max-width: 360px) {
    .ak-hero-v2__visual {
        height: 375px !important;
        max-height: 375px !important;
    }
}

/* AK HERO MOBILE BLEND V7 END */

