/* Grille d'arômes - Version uniforme et responsive */
.arome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); /* 240px +10% */
    gap: 22px; /* 20px +10% */
    margin: 33px 0; /* 30px +10% */
}

/* Carte Arôme - Dimensions augmentées */
.arome-card {
    background: #fff;
    border-radius: 9px; /* 8px +10% */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid black;
    
    /* Dimensions fixes et uniformes */
    width: 100%;
    height: 286px; /* 260px +10% */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.arome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Image - Format augmenté */
.arome-image {
    height: 143px; /* 130px +10% */
    overflow: hidden;
    border-radius: 9px 9px 0 0; /* 8px +10% */
    flex-shrink: 0;
}

.arome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.arome-card:hover .arome-image img {
    transform: scale(1.05);
}

/* Contenu - Ajusté pour la nouvelle hauteur */
.arome-content {
    padding: 13px; /* 12px +10% */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    
    /* Hauteur fixe recalculée */
    height: calc(286px - 143px); /* 143px de hauteur restante */
    overflow: hidden;
}

.arome-content h3 {
    margin: 0 0 4px 0; /* Inchangé car arrondi difficile */
    font-weight: bold;
    font-size: 2rem; /* 1.1rem +10% */
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-top: auto;
    line-height: 1.2;
}

.arome-content h3 {
    margin: 0 0 4px 0; /* Inchangé car arrondi difficile */
    font-weight: bold;
    font-size: 2rem; /* 1.1rem +10% */
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    margin-top: auto;
    line-height: 1.2;
}

.arome-content h5 {
    margin: 0 0 4px 0; /* Inchangé car arrondi difficile */
    font-weight: bold;
    font-size: 1.2rem; /* 1.1rem +10% */
    color: #333;
    text-align: center;
}


.arome-content p {
    margin: 0 0 9px 0; /* 8px +10% */
    font-size: 0.88rem; /* 0.8rem +10% */
    line-height: 1.4; /* Légèrement augmenté */
    color: #666;
    
    /* Limite le texte à 2 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.arome-badge {
    display: inline-block;
    background: #f0f0f0;
    padding: 3px 9px; /* 8px +10% (arrondi) */
    border-radius: 22px; /* 20px +10% */
    font-size: 0.77rem; /* 0.7rem +10% */
    font-weight: 600;
    color: #1e3b8f;
    margin-bottom: 7px; /* 6px +10% */
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bouton technique - Plus grand */
.button-tech {
    margin-top: auto;
    background: #1e3b8f;
    color: #fff !important;
    text-align: center;
    padding: 5px 5px; /* 8px +10% */
    border-radius: 4px; /* Inchangé */
    font-size: 0.83rem; /* 0.75rem +10% */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px; /* 6px +10% */
    transition: background 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    
    /* Largeur et hauteur fixes */
    width: 100%;
    height: 35px; /* 32px +10% */
    box-sizing: border-box;
}

.button-tech:hover {
    background: #61BD56;
}

.button-tech i {
    font-size: 0.94rem; /* 0.85rem +10% */
}

/* Navigation par thèmes */
.theme-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 11px; /* 10px +10% */
    justify-content: center;
    margin: 33px 0 55px; /* 30px +10%, 50px +10% */
}

.theme-nav .button {
    background: #1e3b8f;
    color: #333;
    padding: 11px 22px; /* 10px +10%, 20px +10% */
    border-radius: 33px; /* 30px +10% */
    font-size: 0.99rem; /* 0.9rem +10% */
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.theme-nav .button:hover {
    background: #61BD56;
    color: #fff;
    border-color: #1e3b8f;
}

/* Sections thématiques */
.theme-section {
    margin-bottom: 66px; /* 60px +10% */
    scroll-margin-top: 33px; /* 30px +10% */
}

.theme-title {
    font-size: 2.2rem; /* 2rem +10% */
    color: #1e3b8f;
    margin-bottom: 33px; /* 30px +10% */
    padding-bottom: 11px; /* 10px +10% */
    border-bottom: 2px solid #1e3b8f;
    display: inline-block;
}

/* Conteneur principal */
.container {
    max-width: 1540px; /* 1400px +10% */
    margin: 0 auto;
    padding: 0 22px; /* 20px +10% */
}

/* Option alternative : Version compacte (gardée proportionnelle) */
.arome-card.compact {
    height: 242px; /* 220px +10% */
}

.arome-card.compact .arome-image {
    height: 121px; /* 110px +10% */
}

.arome-card.compact .arome-content {
    height: calc(242px - 121px);
    padding: 9px; /* 8px +10% */
}

.arome-card.compact h3 {
    font-size: 1.1rem; /* 1rem +10% */
    margin-bottom: 2px;
}

.arome-card.compact p {
    font-size: 0.83rem; /* 0.75rem +10% */
    -webkit-line-clamp: 1;
    margin-bottom: 4px;
}

.arome-card.compact .arome-badge {
    font-size: 0.72rem; /* 0.65rem +10% */
    padding: 2px 7px; /* 6px +10% */
    margin-bottom: 4px;
}

.arome-card.compact .button-tech {
    height: 31px; /* 28px +10% */
    font-size: 0.77rem; /* 0.7rem +10% */
    padding: 4px;
}
/* Media Query - Tablette */
@media screen and (max-width: 768px) {
    .arome-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 17px;
    }
    
    .arome-card {
        height: 290px; /* Augmenté pour image plus grande */
    }
    
    .arome-image {
        height: 160px; /* Uniformisé à 160px comme desktop */
    }
    
    .arome-content {
        height: calc(290px - 160px);
    }
}

/* Media Query - Mobile */
@media screen and (max-width: 736px) {
    .arome-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .arome-card {
        height: 450px; /* Augmenté pour image plus grande */
    }
    
    .arome-image {
        height: 220px; /* Plus grand sur mobile */
    }
    
    .arome-content {
        height: calc(450px - 220px);
        padding: 17px;
    }
    
    .arome-content h3 {
        font-size: 1.32rem;
    }
    
    .button-tech {
        height: 42px;
        padding: 9px;
    }
    
    .theme-title {
        font-size: 1.65rem;
    }
}

/* Media Query - Petits mobiles */
@media screen and (max-width: 480px) {
    .arome-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }
    
    .arome-card {
        height: 430px; /* Ajusté */
        min-height: auto;
    }
    
    .arome-image {
        height: 200px; /* Augmenté */
    }
    
    .arome-content {
        height: calc(430px - 200px);
        padding: 13px;
    }
    
    .arome-content p {
        -webkit-line-clamp: 3;
    }
}

/* Media Query - Très grands écrans */
@media screen and (min-width: 1400px) {
    .arome-grid {
        grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    }
    
    .arome-card {
        height: 360px; /* Augmenté pour image plus grande */
    }
    
    .arome-image {
        height: 200px; /* Uniformisé à 200px pour grands écrans */
    }
    
    .arome-content {
        height: calc(360px - 200px);
    }
}