@font-face {  
    font-family: 'Acumin';
    src: url('fonts/Acumin.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Acumin', Arial, Helvetica, sans-serif;
    background-color: white;
}



.header {
    padding: 14px 18px;
    background-color: #243465;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo-left img {
    height: 34px;
}

.logo-center img {
    height: 50px;
}

.menu-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.burger {
    width: 32px;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger:hover {
    transform: scale(1.08);
}

.burger span {
    display: block;
    height: 4px;
    background: white;
    margin: 6px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(255,255,255,0);
}

.burger:hover span {
    box-shadow: 0 0 8px rgba(255,255,255,0.45);
}

.burger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}



.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    background-color: rgba(4, 71, 110, 0.99);
    padding: 6px 10px;
    position: absolute;
    top: 0;
    right: 30px;
    width: max-content;
    text-align: right;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.2;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu a:hover {
    opacity: 0.75;
    transform: translateX(3px);
}


.hero {
    padding: 18px;
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.hero-image img {
    width: 100%;
    display: block;
}



.hero-text {
    position: absolute;
    left: 22px;
    right: 120px;
    bottom: 24px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.hero-text p {
    font-size: 7px;
    line-height: 1.2;
    font-weight: bold;
}

.subtitle {
    margin-top: 10px;
    white-space: nowrap;
}


.buy-now {
    position: absolute;
    right: 22px;
    bottom: 18px;
    background: #4B95D1;
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    box-shadow: 0 0 0 rgba(255,255,255,0);
    overflow: hidden;
}

.buy-now:hover {
    transform: scale(1.08);
    box-shadow: 0 0 14px rgba(255,255,255,0.35);
}

.buy-now::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 70%;
    height: 100%;
    background: rgba(255,255,255,0.22);
    transform: skewX(-20deg);
    transition: left 0.4s ease;
}

.buy-now:hover::after {
    left: 140%;
}

.buy-now.clicked {
    animation: buyPulse 0.45s ease;
}

@keyframes buyPulse {
    0% {
        transform: scale(1);
    }
    40% {
        transform: scale(0.94);
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}



.energy {
    position: relative;
    height: 900px;
    background: #6fb7e6;
    overflow: hidden;
}

.energy-text {
    position: absolute;
    top: 70px;
    left: 40px;
    right: 40px;
    color: white;
    z-index: 2;
}

.energy-text h2 {
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
    text-align: left;
    margin-bottom: 24px;
    white-space: nowrap;
}

.energy-copy {
    font-size: 12px;
    line-height: 1.45;
    font-weight: bold;
    text-align: left;
}

.energy-bottles {
    position: relative;
    width: 100%;
    height: 100%;
}

.bottle {
    position: absolute;
    user-select: none;
    pointer-events: none;
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.bottle-center {
    width: 100%;
    right: -160px;
    top: 255px;
    transform: translateX(220px) rotate(-38deg);
    opacity: 0;
    z-index: 1;
}


.bottle-right {
    width: 100%;
    right: -80px;
    top: 30px;
    transform: translateX(220px) rotate(-40deg);
    opacity: 0;
    z-index: 1;
}

.bottle-left {
    width: 100%;
    left: -10px;
    top: 370px;
    transform: translateX(220px) rotate(-10deg);
    opacity: 0;
    z-index: 1;
}

.energy.show-bottles .bottle-center {
    transform: translateX(0) rotate(-38deg);
    opacity: 1;
}

.energy.show-bottles .bottle-right {
    transform: translateX(0) rotate(-40deg);
    opacity: 1;
}

.energy.show-bottles .bottle-left {
    transform: translateX(0) rotate(-10deg);
    opacity: 1;
}



.hydration {
    background: #6fb7e6;
    text-align: center;
    padding: 38px 20px 55px;
}

.hydration h2 {
    color: white;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 14px;
}

.hydration-copy {
    color: white;
    font-size: 9px;
    line-height: 1.25;
    font-weight: bold;
    margin-bottom: 38px;
}

.hydration-image {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.hydration-image img {
    width: 360px;
    max-width: 100%;
    display: block;
    border-radius: 36px;
    transform: translateX(-220px);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease, box-shadow 0.3s ease;
}

.hydration.show-image .hydration-image img {
    transform: translateX(0);
    opacity: 1;
}

.hydration.show-image .hydration-image img:hover {
    animation: hydrationHover 0.8s ease;
}

@keyframes hydrationHover {
    0% {
        transform: translateX(0) scale(1);
    }
    35% {
        transform: translateX(0) scale(1.04);
    }
    70% {
        transform: translateX(0) scale(0.98);
    }
    100% {
        transform: translateX(0) scale(1);
    }
}


.product-showcase {
    background: #6fb7e6;
    padding: 24px 20px 70px;
    display: flex;
    justify-content: center;
}

.product-card {
    position: relative;
    width: 100%;
    max-width: 340px;
    display: flex;
    justify-content: center;
}

.product-card img {
    width: 100%;
    max-width: 280px;
    display: block;
    filter: drop-shadow(0 10px 12px rgba(0,0,0,0.35));
    transform-origin: center center;
    transform: translateX(-220px);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.9s ease;
}

.product-showcase.show-product-bottle .product-card img {
    transform: translateX(0);
    opacity: 1;
}

.product-bottle-image.bottle-bounce {
    animation: bottleBounce 0.6s ease;
}

@keyframes bottleBounce {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
    55% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

.product-overlay {
    position: absolute;
    top: 125px;
    left: 43%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price {
    color: white;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin-right: 12px;
}

.product-buy {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
}



.footer {
    background: #243465;
    padding: 0 18px 18px;
}

.footer-inner {
    padding: 28px 20px 24px;
    text-align: center;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 42px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease;
}

.footer-nav a:hover {
    transform: scale(1.06);
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255,255,255,0.35);
}

.footer-contact {
    margin-bottom: 42px;
}

.footer-contact h2 {
    color: #DBDBDB;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 28px;
}

.footer-contact-block {
    margin-bottom: 18px;
}

.footer-contact-block h3 {
    color: white;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 6px;
}

.footer-contact-link {
    color: #DBDBDB;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    display: inline-block;
    transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease, color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.footer-contact-link:visited,
.footer-contact-link:active,
.footer-contact-link:focus {
    color: #DBDBDB;
    text-decoration: none;
}

.footer-contact-link:hover {
    transform: scale(1.06);
    opacity: 0.9;
    color: #DBDBDB;
    text-shadow: 0 0 10px rgba(75,149,209,0.45);
}

.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-bottom: 52px;
}

.social-item {
    width: 170px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: white;
    font-size: 13px;
    font-weight: bold;
    gap: 10px;
    transition: transform 0.25s ease, opacity 0.25s ease, text-shadow 0.25s ease, color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}

.social-item:visited,
.social-item:active,
.social-item:focus {
    color: white;
    text-decoration: none;
}

.social-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.35);
}

.social-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.social-item:hover img {
    transform: scale(1.12);
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}

.footer-copy {
    color: white;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 48px;
}

.footer-bottom-logo img {
    width: 54px;
    display: block;
    margin: 0 auto;
}


.desktop-icons {
    display: none;
    align-items: center;
    gap: 12px;
}

.desktop-icons img {
    width: 22px;  
    height: 22px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.desktop-icons img:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.menu-wrapper {
    align-items: center;
}

@media (min-width: 769px) {

    .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: sticky; 
        top: 0;           
        z-index: 1000;    
        padding: 20px 40px;
    }

    .logo-left {
        flex: none; 
    }

    .logo-center {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .menu-wrapper {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

     .burger {
        display: none;
    }

    .desktop-icons {
        display: flex;
    }

    .mobile-menu.active {
        display: flex;
    }

    .mobile-menu a {
        font-size: 16px;
    }

    .hero {
        padding: 30px 40px 40px;
    }

    .hero-image {
        max-width: 1320px;
        width: 100%;
        border-radius: 25px;
    }

    .hero-text {
        left: 70px;
        right: 250px;
        bottom: 60px;
        max-width: none;
    }

    .hero-text p {
        font-size: 30px;
        line-height: 1.4;
    }

    .desktop-icons img {
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

    .desktop-icons img:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

    .subtitle {
        margin-top: 25px;
        font-size: 24px;
        white-space: normal;
    }

    .buy-now {
        display: flex;
        right: 70px;
        bottom: 55px;
        font-size: 16px;
        padding: 14px 24px;
    }

    .energy-text {
        top: 700px;
        left: 90px;
        right: auto;
        transform: none;
        width: 700px;
    }

    .energy-text h2 {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .energy-copy {
        font-size: 22px;
        line-height: 1.6;
    }

    .bottle-center {
        width: 80%;
        right: -25%;
        top: -50px;
        transform: translateX(220px) rotate(-38deg);
        z-index: 1;
        opacity: 0;
    }

    .bottle-right {
        width: 60%;
        right: -11%;
        top: -300px;
        transform: translateX(220px) rotate(-40deg);
        z-index: 1;
        opacity: 0;
    }

    .bottle-left {
        width: 60%;
        left: 25%;
        top: 470px;
        transform: translateX(220px) rotate(-10deg);
        z-index: 1;
        opacity: 0;
    }

    .energy.show-bottles .bottle-center {
        transform: translateX(0) rotate(-38deg);
        opacity: 1;
    }

    .energy.show-bottles .bottle-right {
        transform: translateX(0) rotate(-40deg);
        opacity: 1;
    }

    .energy.show-bottles .bottle-left {
        transform: translateX(0) rotate(-10deg);
        opacity: 1;
    }

    .hydration {
        padding: 90px 70px 110px;
        display: grid;
        grid-template-columns: 520px 520px;
        grid-template-rows: auto auto;
        justify-content: center;
        align-items: center;
        column-gap: 80px;
        row-gap: 12px;
        text-align: center;
    }

    .hydration-image {
        grid-column: 1;
        grid-row: 1 / 3;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        overflow: visible;
    }

    .hydration-image img {
        width: 520px;
        max-width: 100%;
        display: block;
        border-radius: 42px;
        transform: translateX(-260px);
        opacity: 0;
    }

    .hydration.show-image .hydration-image img {
        transform: translateX(0);
        opacity: 1;
    }

    .hydration h2 {
        color: white;
        font-size: 35px;
        line-height: 1.2;
        font-weight: bold;
    }

    .hydration-copy {
        color: white;
        font-size: 16px;
        line-height: 1.25;
        font-weight: bold;
        margin-bottom: 38px;
        margin-top: -190px;
    }

    .product-showcase {
        padding: 40px 30px 100px;
    }

    .product-card {
        max-width: 50%;
        margin-top: -20%;
        position: relative;
    }

    .product-card img {
        max-width: 100%;
        transform: translateX(-500px) rotate(90deg);
        transform-origin: center center;
        opacity: 0;
        transition: transform 1s ease, opacity 1s ease;
    }

    .product-showcase.show-product-bottle .product-card img {
        transform: translateX(0) rotate(90deg);
        opacity: 1;
    }

    .product-bottle-image.bottle-bounce {
        animation: bottleBounceDesktop 0.6s ease;
    }

    .product-overlay {
        position: absolute;
        top: 110px;
        left: 43%;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        justify-content: center;
        width: 240px;
    }

    .product-price {
        position: absolute;
        color: white;
        font-size: 60px;
        font-weight: bold;
        line-height: 1;
        margin: 0;
        top: 360px;
        left: -120px;
    }

    .product-buy {
        display: flex;
        position: relative;
        right: auto;
        bottom: auto;
        top: 600px;
        font-size: 25px;
        padding: 20px 40px;
    }

    .footer {
        background: #243465;
        padding: 0;
    }

    .footer-inner {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        padding: 80px 40px 120px;
        min-height: 488px;
        display: grid;
        grid-template-columns: 220px 360px 220px;
        justify-content: center;
        column-gap: 120px;
        align-items: start;
        text-align: left;
    }

    .footer-nav {
        grid-column: 1;
        display: flex;
        flex-direction: column;
        gap: 18px;
        margin: 52px 0 0 0;
    }

    .footer-nav a {
        font-size: 20px;
        line-height: 1;
        font-weight: bold;
    }

    .footer-contact {
        grid-column: 2;
        margin: 0;
        margin-top: 0;
    }

    .footer-contact h2 {
        color: #DBDBDB;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 28px;
    }

    .footer-contact-block {
        margin-bottom: 22px;
    }

    .footer-contact-block h3 {
        color: white;
        font-size: 18px;
        font-weight: bold;
        margin-bottom: 6px;
    }

    .footer-contact-link {
        font-size: 16px;
        line-height: 1.35;
        color: #DBDBDB;
        font-weight: bold;
    }

    .footer-socials {
        grid-column: 3;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-self: start;
        gap: 22px;
        margin: 22px 0 0 0;
    }

    .social-item {
        width: auto;
        min-width: 220px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-decoration: none;
        color: white;
        font-size: 16px;
        font-weight: bold;
        gap: 12px;
    }

    .social-item img {
        width: 34px;
        height: 34px;
    }

    .footer-copy {
        position: absolute;
        left: 40px;
        bottom: 48px;
        margin: 0;
        font-size: 13px;
        font-weight: bold;
        color: white;
    }

    .footer-bottom-logo {
        position: absolute;
        right: 48px;
        bottom: 24px;
    }

    .footer-bottom-logo img {
        width: 65px;
        display: block;
        margin: 0;
    }

    .energy {
        position: relative;
        height: 1550px;
        background: #6fb7e6;
        overflow: hidden;
    }

    .desktop-icons img {
    display: none; /* cache les icônes */
}

.desktop-word {
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.desktop-word:hover {
    transform: scale(1.15);
    opacity: 0.8;
}

.desktop-icons {
        display: flex;
        gap: 40px; /* ajustable pour plus ou moins d'espace */
        align-items: center;
    }

}

@keyframes bottleBounceDesktop {
    0% {
        transform: rotate(90deg) translateX(0);
    }
    30% {
        transform: rotate(90deg) translateX(-10px);
    }
    55% {
        transform: rotate(90deg) translateX(0);
    }
    75% {
        transform: rotate(90deg) translateX(-4px);
    }
    100% {
        transform: rotate(90deg) translateX(0);
    }
}