
/* =====================================================
   PAGE NOS VALEURS — HERO
   Laboratoires Phytorica
===================================================== */

.ph-values-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 90px 20px;
    overflow: hidden;
    isolation: isolate;
    background-color: #123A46;
}

/* =====================================================
   PHOTOGRAPHIE — ZOOM CINÉMATOGRAPHIQUE
===================================================== */

.ph-values-hero__background {
    position: absolute;
    inset: -12px;
    z-index: -2;

    background-image: url("../images/nos-valeurs.webp");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    filter: blur(2px);

    animation: phValuesImageZoom 22s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes phValuesImageZoom {
    from {
        transform: scale(1.04);
    }

    to {
        transform: scale(1.14);
    }
}

/* =====================================================
   VOILE BLEU-VERT — LUMIÈRE MOUVANTE
===================================================== */

.ph-values-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;

    background: linear-gradient(
        115deg,
        rgba(10, 42, 43, 0.80) 0%,
        rgba(18, 58, 70, 0.52) 45%,
        rgba(10, 42, 43, 0.76) 100%
    );

    background-size: 180% 180%;

    animation: phValuesLightMove 18s ease-in-out infinite alternate;
}

@keyframes phValuesLightMove {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

/* =====================================================
   CONTENU PRINCIPAL
===================================================== */

.ph-values-hero__content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    color: #FFFFFF;
}

/* Petit texte supérieur */

.ph-values-hero__eyebrow {
    display: block;
    margin-bottom: 18px;

    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #C5E39C;
}

/* Titre principal */

.ph-values-hero__title {
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1.5px;
    color: #FFFFFF;
}

/* Séparateur décoratif */

.ph-values-hero__separator {
    display: block;
    width: 65px;
    height: 3px;
    margin: 24px auto;

    border-radius: 10px;
    background-color: var(--secondary, #83A52B);

    transform-origin: center;
}

/* Sous-titre */

.ph-values-hero__description {
    max-width: 650px;
    margin: 0 auto;

    font-family: "DM Sans", sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.92);
}

/* =====================================================
   APPARITION PROGRESSIVE DES TEXTES
===================================================== */

.ph-values-hero__eyebrow,
.ph-values-hero__title,
.ph-values-hero__separator,
.ph-values-hero__description {
    opacity: 0;
    animation: phValuesTextReveal 0.85s ease-out forwards;
}

.ph-values-hero__eyebrow {
    animation-delay: 0.15s;
}

.ph-values-hero__title {
    animation-delay: 0.35s;
}

.ph-values-hero__separator {
    animation-name: phValuesSeparatorReveal;
    animation-duration: 0.9s;
    animation-delay: 0.55s;
}

.ph-values-hero__description {
    animation-delay: 0.75s;
}

@keyframes phValuesTextReveal {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Apparition avec extension du séparateur */

@keyframes phValuesSeparatorReveal {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* =====================================================
   RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 991.98px) {
    .ph-values-hero {
        min-height: 350px;
        padding: 75px 20px;
    }

    .ph-values-hero__eyebrow {
        font-size: 0.75rem;
        letter-spacing: 2.5px;
    }
}

/* =====================================================
   RESPONSIVE — SMARTPHONE
===================================================== */

@media (max-width: 575.98px) {
    .ph-values-hero {
        min-height: 420px;
        padding: 85px 20px;
    }

    .ph-values-hero__background {
        background-position: center;
        filter: blur(1.5px);
    }

    .ph-values-hero__title {
        font-size: clamp(2rem, 8vw, 2.6rem);
        letter-spacing: -0.8px;
    }

    .ph-values-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 0.7rem;
        letter-spacing: 2px;
    }

    .ph-values-hero__separator {
        margin: 20px auto;
    }

    .ph-values-hero__description {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* =====================================================
   ACCESSIBILITÉ — RÉDUCTION DES ANIMATIONS
===================================================== */

@media (prefers-reduced-motion: reduce) {
    .ph-values-hero__background,
    .ph-values-hero__overlay,
    .ph-values-hero__eyebrow,
    .ph-values-hero__title,
    .ph-values-hero__separator,
    .ph-values-hero__description {
        animation: none;
    }

    .ph-values-hero__background {
        transform: scale(1.04);
    }

    .ph-values-hero__eyebrow,
    .ph-values-hero__title,
    .ph-values-hero__separator,
    .ph-values-hero__description {
        opacity: 1;
        transform: none;
    }
}














/* =====================================================
   SECTION 2 — BIODIVERSITÉ & ÉCONOMIE VERTE
   Laboratoires Phytorica
===================================================== */

.ph-values-biodiversity {
    position: relative;
    padding: 110px 0;
    background-color: #F8FAF7;
    overflow: hidden;
}

.ph-values-biodiversity__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 75px;
}

/* =====================================================
   CONTENU TEXTUEL
===================================================== */

.ph-values-biodiversity__content {
    min-width: 0;
}

.ph-values-biodiversity__eyebrow {
    display: block;
    margin-bottom: 18px;

    font-family: "DM Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #83A52B;
}

.ph-values-biodiversity__title {
    max-width: 680px;
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: #123A46;
}

.ph-values-biodiversity__separator {
    display: block;
    width: 65px;
    height: 3px;
    margin: 26px 0 30px;

    border-radius: 10px;
    background-color: #83A52B;
}

.ph-values-biodiversity__content p {
    margin: 0 0 20px;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: #42565C;
}

/* =====================================================
   ENGAGEMENT DE REPLANTATION
===================================================== */

.ph-values-biodiversity__quote {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    margin: 30px 0 0;
    padding: 24px 28px;

    border-left: 4px solid #83A52B;
    border-radius: 0 14px 14px 0;
    background-color: #EDF5E6;
}

.ph-values-biodiversity__quote i {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #83A52B;
}

.ph-values-biodiversity__quote span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: #123A46;
}

/* =====================================================
   PHOTOGRAPHIE
===================================================== */

.ph-values-biodiversity__visual {
    position: relative;
    min-width: 0;
}

.ph-values-biodiversity__visual img {
    display: block;
    width: 100%;
    height: 570px;

    object-fit: cover;
    object-position: center;

    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(18, 58, 70, 0.13);
}

/* Décoration botanique */

.ph-values-biodiversity__visual::before {
    content: "";
    position: absolute;
    z-index: 0;

    width: 180px;
    height: 180px;
    top: -22px;
    right: -22px;

    border: 2px solid rgba(131, 165, 43, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.ph-values-biodiversity__visual img {
    position: relative;
    z-index: 1;
}

/* =====================================================
   RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 991.98px) {

    .ph-values-biodiversity {
        padding: 80px 0;
    }

    .ph-values-biodiversity__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ph-values-biodiversity__visual img {
        height: 430px;
    }

}

/* =====================================================
   RESPONSIVE — SMARTPHONE
===================================================== */

@media (max-width: 575.98px) {

    .ph-values-biodiversity {
        padding: 65px 0;
    }

    .ph-values-biodiversity__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .ph-values-biodiversity__title {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        letter-spacing: -0.5px;
    }

    .ph-values-biodiversity__separator {
        margin: 22px 0 25px;
    }

    .ph-values-biodiversity__content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .ph-values-biodiversity__quote {
        gap: 12px;
        padding: 20px;
    }

    .ph-values-biodiversity__quote i {
        font-size: 1.35rem;
    }

    .ph-values-biodiversity__visual img {
        height: 350px;
        border-radius: 16px;
    }

    .ph-values-biodiversity__visual::before {
        width: 110px;
        height: 110px;
        top: -12px;
        right: -8px;
    }

}

/* ==========================================
   BIODIVERSITÉ — ZOOM DOUX AU SURVOL
========================================== */

.ph-values-biodiversity__visual {
    overflow: hidden;
    border-radius: 22px;
}

.ph-values-biodiversity__visual img {
    transition: transform 0.7s ease;
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .ph-values-biodiversity__visual:hover img {
        transform: scale(1.045);
    }
}

/* Responsive */
@media (max-width: 575.98px) {
    .ph-values-biodiversity__visual {
        border-radius: 16px;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .ph-values-biodiversity__visual img {
        transition: none;
    }
}












/* =====================================================
   SECTION 3 — ENGAGEMENT COMMUNAUTAIRE
===================================================== */

.ph-values-community {
    position: relative;
    padding: 110px 0;
    background-color: #FFFFFF;
    overflow: hidden;
}

.ph-values-community__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 75px;
}

/* =====================================================
   PHOTOGRAPHIE
===================================================== */

.ph-values-community__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
}

.ph-values-community__visual img {
    display: block;
    position: relative;
    z-index: 1;

    width: 100%;
    height: 530px;

    object-fit: cover;
    object-position: center;

    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(18, 58, 70, 0.13);

    transition: transform 0.7s ease;
    will-change: transform;
}

/* Zoom doux au survol */

@media (hover: hover) and (pointer: fine) {
    .ph-values-community__visual:hover img {
        transform: scale(1.045);
    }
}

/* =====================================================
   CONTENU TEXTUEL
===================================================== */

.ph-values-community__content {
    min-width: 0;
}

.ph-values-community__eyebrow {
    display: block;
    margin-bottom: 18px;

    font-family: "DM Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #83A52B;
}

.ph-values-community__title {
    max-width: 680px;
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: #123A46;
}

.ph-values-community__separator {
    display: block;
    width: 65px;
    height: 3px;
    margin: 26px 0 30px;

    border-radius: 10px;
    background-color: #83A52B;
}

.ph-values-community__content p {
    margin: 0 0 20px;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: #42565C;
}

/* =====================================================
   ENGAGEMENT MIS EN VALEUR
===================================================== */

.ph-values-community__highlight {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 30px;
    padding: 24px 28px;

    border-left: 4px solid #83A52B;
    border-radius: 0 14px 14px 0;
    background-color: #EDF5E6;
}

.ph-values-community__highlight i {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #83A52B;
}

.ph-values-community__highlight span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    line-height: 1.6;
    color: #123A46;
}

/* =====================================================
   RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 991.98px) {

    .ph-values-community {
        padding: 80px 0;
    }

    .ph-values-community__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ph-values-community__visual img {
        height: 430px;
    }

}

/* =====================================================
   RESPONSIVE — SMARTPHONE
===================================================== */

@media (max-width: 575.98px) {

    .ph-values-community {
        padding: 65px 0;
    }

    .ph-values-community__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .ph-values-community__title {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        letter-spacing: -0.5px;
    }

    .ph-values-community__separator {
        margin: 22px 0 25px;
    }

    .ph-values-community__content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .ph-values-community__highlight {
        gap: 12px;
        padding: 20px;
    }

    .ph-values-community__highlight i {
        font-size: 1.35rem;
    }

    .ph-values-community__visual {
        border-radius: 16px;
    }

    .ph-values-community__visual img {
        height: 350px;
        border-radius: 16px;
    }

}

/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .ph-values-community__visual img {
        transition: none;
    }

}

/* ==========================================
   ENGAGEMENT COMMUNAUTAIRE
   TEXTE AVANT IMAGE SUR SMARTPHONE
========================================== */

@media (max-width: 575.98px) {

    .ph-values-community__content {
        order: 1;
    }

    .ph-values-community__visual {
        order: 2;
    }

}











/* =====================================================
   SECTION 4 — ÉDUCATION ET ÉVEIL
===================================================== */

.ph-values-education {
    position: relative;
    padding: 110px 0;
    background-color: #F8FAF7;
    overflow: hidden;
}

.ph-values-education__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 75px;
}

/* =====================================================
   CONTENU TEXTUEL
===================================================== */

.ph-values-education__content {
    min-width: 0;
}

.ph-values-education__eyebrow {
    display: block;
    margin-bottom: 18px;

    font-family: "DM Sans", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #83A52B;
}

.ph-values-education__title {
    max-width: 680px;
    margin: 0;

    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.8px;
    color: #123A46;
}

.ph-values-education__separator {
    display: block;
    width: 65px;
    height: 3px;
    margin: 26px 0 30px;

    border-radius: 10px;
    background-color: #83A52B;
}

.ph-values-education__content p {
    margin: 0 0 20px;

    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: #42565C;
}

/* =====================================================
   ENGAGEMENT MIS EN VALEUR
===================================================== */

.ph-values-education__highlight {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-top: 30px;
    padding: 24px 28px;

    border-left: 4px solid #83A52B;
    border-radius: 0 14px 14px 0;
    background-color: #EDF5E6;
}

.ph-values-education__highlight i {
    flex-shrink: 0;
    font-size: 1.6rem;
    color: #83A52B;
}

.ph-values-education__highlight span {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 600;
    line-height: 1.6;
    color: #123A46;
}

/* =====================================================
   PHOTOGRAPHIE
===================================================== */

.ph-values-education__visual {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 22px;
}

.ph-values-education__visual img {
    display: block;
    position: relative;
    z-index: 1;

    width: 100%;
    height: 530px;

    object-fit: cover;
    object-position: center;

    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(18, 58, 70, 0.13);

    transition: transform 0.7s ease;
    will-change: transform;
}

/* Zoom doux au survol */

@media (hover: hover) and (pointer: fine) {
    .ph-values-education__visual:hover img {
        transform: scale(1.045);
    }
}

/* =====================================================
   RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 991.98px) {

    .ph-values-education {
        padding: 80px 0;
    }

    .ph-values-education__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .ph-values-education__visual img {
        height: 430px;
    }

}

/* =====================================================
   RESPONSIVE — SMARTPHONE
===================================================== */

@media (max-width: 575.98px) {

    .ph-values-education {
        padding: 65px 0;
    }

    .ph-values-education__eyebrow {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .ph-values-education__title {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
        letter-spacing: -0.5px;
    }

    .ph-values-education__separator {
        margin: 22px 0 25px;
    }

    .ph-values-education__content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .ph-values-education__highlight {
        gap: 12px;
        padding: 20px;
    }

    .ph-values-education__highlight i {
        font-size: 1.35rem;
    }

    .ph-values-education__visual {
        border-radius: 16px;
    }

    .ph-values-education__visual img {
        height: 350px;
        border-radius: 16px;
    }

}

/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .ph-values-education__visual img {
        transition: none;
    }

}








/* =====================================================
   NOS VALEURS — PHOTOGRAPHIES ET LÉGENDES
   Affichage complet sans recadrage
===================================================== */

/* Conteneurs des photographies */

.ph-values-biodiversity__visual,
.ph-values-community__visual,
.ph-values-education__visual {
    position: relative;
    min-width: 0;
    margin: 0;
    overflow: visible;
    border-radius: 0;
}

/* Cadres des images */

.ph-values-biodiversity__image,
.ph-values-community__image,
.ph-values-education__image {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background-color: #EDF5E6;
    box-shadow: 0 24px 60px rgba(18, 58, 70, 0.13);
}

/* Photographies : conserver les proportions originales */

.ph-values-biodiversity__image img,
.ph-values-community__image img,
.ph-values-education__image img {
    display: block;
    position: relative;
    z-index: 1;

    width: 100%;
    height: auto;
    max-width: 100%;

    object-fit: contain;
    object-position: center;

    border-radius: 0;
    box-shadow: none;

    transform: none;
    transition: transform 0.7s ease;
}

/* Annulation des anciennes hauteurs fixes */

.ph-values-biodiversity__image img {
    height: auto;
}

/* Zoom très léger uniquement au survol de l'image */

@media (hover: hover) and (pointer: fine) {

    .ph-values-biodiversity__image:hover img,
    .ph-values-community__image:hover img,
    .ph-values-education__image:hover img {
        transform: scale(1.015);
    }

}

/* =====================================================
   LÉGENDES DES PHOTOGRAPHIES
===================================================== */

.ph-values-image-caption {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 9px;

    margin-top: 18px;
    padding: 0 10px;

    font-family: "DM Sans", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
    line-height: 1.7;

    text-align: center;
    color: #607278;
}

.ph-values-image-caption i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 0.95rem;
    color: #83A52B;
}

/* =====================================================
   RESPONSIVE — TABLETTE
===================================================== */

@media (max-width: 991.98px) {

    .ph-values-biodiversity__image img,
    .ph-values-community__image img,
    .ph-values-education__image img {
        height: auto;
    }

}

/* =====================================================
   RESPONSIVE — SMARTPHONE
===================================================== */

@media (max-width: 575.98px) {

    .ph-values-biodiversity__image,
    .ph-values-community__image,
    .ph-values-education__image {
        border-radius: 16px;
    }

    .ph-values-biodiversity__image img,
    .ph-values-community__image img,
    .ph-values-education__image img {
        width: 100%;
        height: auto;
    }

    .ph-values-image-caption {
        margin-top: 15px;
        padding: 0 5px;
        font-size: 0.78rem;
        line-height: 1.6;
    }

}

/* =====================================================
   ACCESSIBILITÉ
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .ph-values-biodiversity__image img,
    .ph-values-community__image img,
    .ph-values-education__image img {
        transition: none;
    }

}
