:root {
    --text-color: #333;
    --ichigo-red: #E91E63;
    --ichigo-purple: #673AB7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* --- Modification de la classe .hero --- */
/*
.heroo {
    position: relative;
    min-height: 100vh; 
    width: 100%;
    background: url('../images/background-genere.png') no-repeat center right; 
    background-size: cover;
    display: flex;
    align-items: center;
    padding: 20px 0;
}
*/

.heroo {
    position: relative;
    flex: 1 0 auto;
    min-height: 0;
    width: 100%;

    background-image: url('../images/background-genere.webp');
    background-repeat: no-repeat;
    /*
    background-position: right center; 
    background-size: contain; */         
    
    background-position: 80% center;
    background-size: cover;

    display: flex;
    align-items: center;
    /*padding: 20px 0;*/
    padding: clamp(24px, 7vh, 80px) 0;
}



@media (max-width: 992px) {
    .heroo {
        background-position: 70% center; /* Décale un peu l'image pour centrer le téléphone derrière le texte */
    }
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}

/* --- Section Gauche --- */
.content {
    flex: 1;
    color: var(--text-color);
}


/*
.brand-top {
    font-size: 14px;
    color: #888;
    margin-bottom: 30px;
}*/
/* Brand top */
.brand-top {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 28px;

    /* Subtle pill badge */
    background: rgba(0, 0, 0, 0.06);
    padding: 6px 14px;
    border-radius: 100px;
}

.product-name {
    margin-bottom: 10px;
}

.product-name-image {
    display: block;
    width: min(100%, 420px);
    height: auto;
}

.brand-top {
    margin-bottom: 20px;
}

.tagline {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 25px;
    font-family: 'Archivo', sans-serif;
    font-stretch: 125%;
}

.g{
    font-family: 'Inter', sans-serif;
    font-size: 1.7rem;
}

.specs {
    list-style: none;
    margin-bottom: 35px;
}

.specs li {
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #444;
}

.btn-learn {
    display: inline-block;
    padding: 15px 45px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.2s;
}

.btn-learn:hover {
    transform: scale(1.05);
}

/* --- Section Droite (Positionnement du Logo ichiGO) --- */
.branding-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: clamp(20px, 8vh, 90px);
}

.ichigo-text {
    font-size: 5rem;
    font-weight: 800;
    font-style: italic;
    color: var(--ichigo-red);
    line-height: 1;
}

.ichigo-logo {
    max-width: 380px;   /* légèrement plus grand */
    height: auto;
}


.ichigo-text span {
    color: var(--ichigo-purple);
}

.ichigo-sub {
    font-size: 1.2rem;
    color: #888;
    text-align: right;
}

/* --- Footer Noir --- */
.bottom-bar {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    flex-shrink: 0;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 8px;
}

/* ============================= */
/* 📱 Tablet & Mobile Adjustments */
/* ============================= */

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 40px; /* Espace entre le texte du haut et le logo du bas */
    }

    .content {
        order: 1; /* Le texte reste en haut */
        width: 100%;
        background: rgba(255, 255, 255, 0.7); /* Ajoute un fond léger pour la lisibilité */
        padding: 30px;
        border-radius: 15px;
        backdrop-filter: blur(5px); /* Effet de flou moderne */
    }

    .branding-right {
        order: 2; /* Le logo Ichigo passe en dessous */
        margin-top: 0;
        align-items: center;
        width: 100%;
    }
    .product-name-image {
        width: min(100%, 360px);
    }
}

@media (max-width: 576px) {
    .product-name-image {
        width: min(100%, 280px);
    }

    .tagline {
        font-size: 1.3rem;
    }

    .specs li {
        font-size: 0.9rem;
    }

    .ichigo-logo {
        max-width: 220px; /* Logo un peu plus grand sur mobile */
    }
}
