.variete-heading {
    color: #A51617;
}

/* Badges AOP / AOC */
.badge-aop,
.badge-aoc {
    display: inline-block;
    padding: 0.45em 0.7em;
    margin: 0.15em 0.2em 0.2em 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 0.35rem;
    text-transform: uppercase;
}

/* AOP */
.badge-aop {
    background-color: #2f5d3a;
    /* vert terroir */
    color: #ffffff;
}

/* AOC */
.badge-aoc {
    background-color: #A51617;
    /* rouge profond */
    color: #ffffff;
}

/* Grille de statistiques  */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.stats-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    padding: 1rem 1.2rem;
    border: 1px solid #EDE6D8;
    border-radius: 0.5rem;
    background-color: #EDE6D8;
}

.stat-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0E, 0, 0, 0.05);
}

.stat-item em {
    display: block;
    font-style: italic;
    font-size: 0.9rem;
    color: #8a8484;
    margin-bottom: 0.3rem;
}

.stat-value-container {
    display: flex;
    align-items: baseline;
    /* Aligne le bas du texte pour un rendu propre */
    gap: 4px;
    /* Espace entre le chiffre et l'unité */
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #A51617;
    line-height: 1.1;
}

.stat-unit {
    display: inline-block;
    font-size: 0.85rem;
    /* Un peu plus petit que la valeur */
    font-weight: 500;
    color: #8a8484;
}

.stat-info {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
    color: #8a8484;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


.img-variete-head {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #EDE6D8;
    transition: transform 0.3s ease;
}

.img-variete-head:hover {
    transform: rotate(2deg) scale(1.05);
}

@media (max-width: 768px) {
    .img-variete-head {
        margin-top: 1.5rem;
        max-width: 200px;
    }

    .img-emplacement {
        margin-top: 1.5rem;
        max-width: 200px;
    }
}

.badge-type-pomme {
    display: inline-block;
    padding: 0.35em 0.8em;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #4E5E3F;
    background-color: rgba(78, 94, 63, 0.1);
    border: 1px solid #4E5E3F;
    border-radius: 50px;
    white-space: nowrap;
}

/* Ajustement pour mobile pour éviter que le titre et le badge se chevauchent */
@media (max-width: 576px) {
    .d-flex.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .badge-type-pomme {
        margin-left: 0 !important;
        margin-top: 0.5rem;
    }
}

.img-emplacement {
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    /* Ombre portée douce */
    border: 2px solid #EDE6D8;
    transition: transform 0.3s ease;
}