
/* ==========================================
   PHYTORICA - PALETTE DE COULEURS
========================================== */

:root {
    --primary: #0085AD;
    --primary-dark: #006B8D;
    --secondary: #83A52B;
    --secondary-light: #EDF5E6;
    --background: #F8FAF7;
    --white: #FFFFFF;
    --text: #20343B;
    --footer-bg: #123A46;
}


/* ==========================================
   CONFIGURATION GÉNÉRALE
========================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: var(--background);
    color: var(--text);

    width: 100%;
    max-width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow-x: hidden;
}

/* Éléments multimédias adaptatifs */
img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

/* Empêcher les longs textes de déborder */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}


/* ==========================================
   HEADER
========================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    z-index: 1030;

    background-color: var(--white);

    box-shadow:
        0 4px 10px rgba(18, 58, 70, 0.06),
        0 10px 24px rgba(0, 133, 173, 0.09),
        0 16px 32px rgba(131, 165, 43, 0.05);
}


/* Bande décorative supérieure */
.header-accent {
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--primary) 0%,
        var(--primary) 70%,
        var(--secondary) 70%,
        var(--secondary) 100%
    );
}

/* Barre de navigation */
.site-header .navbar {
    min-height: 65px;
    padding: 5px 0;
}
/* Conteneur du header */
.site-header .navbar > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 15px;
}

/* Logo Phytorica */

.site-logo {
    width: 170px;
    height: 60px;
    object-fit: contain;
    display: block;
    flex-shrink: 1;
}


/* ==========================================
   PHYTORICA - ACTIONS DU HEADER
========================================== */

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;

    margin-left: auto;
    flex-shrink: 0;
}


/* ==========================================
   PHYTORICA - SÉLECTEUR DE LANGUE
========================================== */

.language-switcher {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Bouton principal */
.language-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    background-color: var(--white);
    border: 1px solid #DCE8E9;
    border-radius: 8px;

    padding: 9px 13px;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);

    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Masquer la flèche automatique Bootstrap */
.language-toggle.dropdown-toggle::after {
    display: none;
}

/* Icône globe */
.language-toggle .bi-globe2 {
    font-size: 17px;
    color: var(--primary);
}

/* Flèche personnalisée */
.language-arrow {
    font-size: 11px;
    color: #81979D;
    transition: transform 0.25s ease;
}

/* Rotation de la flèche à l'ouverture */
.language-toggle[aria-expanded="true"] .language-arrow {
    transform: rotate(180deg);
}

/* Survol */
.language-toggle:hover {
    background-color: #F1F8FA;
    border-color: var(--primary);
}

/* Bouton ouvert */
.language-toggle[aria-expanded="true"] {
    background-color: #F1F8FA;
    border-color: var(--primary);
}

/* Accessibilité */
.language-toggle:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* ==========================================
   PHYTORICA - MENU DÉROULANT DES LANGUES
========================================== */

.language-switcher .dropdown-menu {
    min-width: 155px;
    padding: 7px;

    background-color: var(--white);
    border: 1px solid #E3EBED;
    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);

    margin-top: 8px !important;
}

/* Options Français / English */
.language-switcher .dropdown-item {
    padding: 10px 13px;
    border-radius: 6px;

    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* Survol des options */
.language-switcher .dropdown-item:hover {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
}

/* Langue sélectionnée */
.language-switcher .dropdown-item.active {
    background-color: #E8F4F8;
    color: var(--primary);
    font-weight: 700;
}





/* ==========================================
   CONTENU CENTRAL
========================================== */

.site-main {
    flex: 1;
    min-height: 350px;
    background-color: var(--background);
    width: 100%;
}


/* ==========================================
   FOOTER PHYTORICA
========================================== */

.site-footer {
    background-color: var(--footer-bg);
    color: var(--white);
    position: relative;
    width: 100%;
}

/* Bande décorative */
.footer-accent {
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--secondary) 0%,
        var(--primary) 100%
    );
}

/* Espace réservé aux futures rubriques */
.footer-space {
    min-height: 170px;
}


/* ==========================================
   COPYRIGHT
========================================== */

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background-color: rgba(0, 0, 0, 0.12);
}

/* Organisation */
.copyright-content {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

/* Texte */
.copyright-content p {
    margin: 0;

    font-size: 13px;
    font-weight: 400;
    color: #C8DADD;

    letter-spacing: 0.2px;
    line-height: 1.7;
}

/* Nom de l'entreprise */
.copyright-content strong {
    color: var(--white);
    font-weight: 600;
}

/* Séparateur */
.copyright-separator {
    color: var(--secondary);
    margin: 0 10px;
}

/* Icône végétale */
.footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    background-color: #254637;
    color: #A8C65C;

    font-size: 17px;
    flex-shrink: 0;
}


/* ==========================================
   RESPONSIVE - TABLETTES ET MOBILES
========================================== */

@media (max-width: 768px) {

    /* Header */
    .site-header .navbar {
        min-height: 60px;
        padding: 5px 0;
    }

    .site-header .navbar > .container {
        gap: 10px;
    }

    .site-logo {
        width: 135px;
        height: 46px;
        max-height: 46px;
        object-fit: contain;
    }

    /* Actions */
    .header-actions {
        gap: 12px;
    }

    /* Langue */
    .language-toggle {
        gap: 5px;
        padding: 6px 8px;
        font-size: 11px;
    }

    .language-toggle .bi-globe2 {
        font-size: 14px;
    }

    .language-switcher .dropdown-menu {
        min-width: 145px;
    }

    

    

    .menu-button {
        width: 34px;
        height: 34px;
        font-size: 21px;
        border-radius: 8px;
    }

    /* Contenu */
    .site-main {
        min-height: 300px;
    }

    /* Footer */
    .footer-space {
        min-height: 130px;
    }

    /* Copyright */
    .copyright-content {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .copyright-content p {
        font-size: 11px;
        line-height: 1.8;
    }
}


/* ==========================================
   RESPONSIVE - PETITS SMARTPHONES
========================================== */

@media (max-width: 380px) {

    /* Header */
    .site-header .navbar > .container {
        gap: 8px;
    }

    .site-header .navbar {
        min-height: 56px;
        padding: 4px 0;
    }

    .site-logo {
        width: 120px;
        height: 42px;
        max-height: 42px;
    }
    .header-actions {
        gap: 8px;
    }

    /* Langue */
    .language-toggle {
        gap: 4px;
        padding: 5px 7px;
        font-size: 10px;
    }

    .language-toggle .bi-globe2 {
        font-size: 13px;
    }
    

    .language-arrow {
        font-size: 10px;
    }

    .language-switcher .dropdown-menu {
        min-width: 135px;
    }

    
    

    .menu-button {
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    /* Copyright */
    .copyright-content {
        gap: 10px;
    }

    .copyright-content p {
        font-size: 10px;
    }

    .copyright-separator {
        margin: 0 5px;
    }

    .footer-decoration {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }
}


































/* ==========================================
   PHYTORICA - NAVIGATION RESPONSIVE
========================================== */

/* Organisation générale du header */

.site-header .navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 20px;

    padding-left: 25px;
    padding-right: 25px;
}

/* Logo cliquable */

.site-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}


/* ==========================================
   NAVIGATION ORDINATEUR
========================================== */

.desktop-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    gap: clamp(24px, 3vw, 48px);
}

.desktop-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;

    padding: 12px 0;

    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);

    text-decoration: none;
    white-space: nowrap;

    transition: color 0.25s ease;
}

/* Soulignement décoratif */

.desktop-nav-link::after {
    content: "";
    position: absolute;

    bottom: 5px;
    left: 0;

    width: 0;
    height: 3px;

    background-color: var(--secondary);
    border-radius: 5px;

    transition: width 0.25s ease;
}

/* Survol et rubrique active */

.desktop-nav-link:hover,
.desktop-nav-link.active {
    color: var(--primary);
}

.desktop-nav-link:hover::after,
.desktop-nav-link.active::after {
    width: 100%;
}

/* Accessibilité */

.desktop-nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 3px;
}


/* ==========================================
   BOUTON HAMBURGER
========================================== */

.menu-button {
    display: none;
    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    padding: 0;

    background-color: var(--white);
    border: 1px solid #DCE8E9;
    border-radius: 10px;

    color: var(--primary);
    font-size: 27px;
    line-height: 1;

    cursor: pointer;
    flex-shrink: 0;

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.menu-button:hover {
    background-color: #F1F8FA;
    border-color: var(--primary);
    color: var(--primary-dark);
}

.menu-button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}


/* ==========================================
   MENU LATÉRAL - OFFCANVAS BOOTSTRAP
========================================== */

.phytorica-menu {
    --bs-offcanvas-width: 350px;

    width: min(350px, 88vw);

    background-color: var(--white);
    border-left: 1px solid #E3EBED;

    box-shadow: -12px 0 35px rgba(0, 0, 0, 0.10);
}

/* En-tête du panneau */

.phytorica-menu .offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 24px;

    border-bottom: 1px solid #E8EFF0;
}

/* Logo dans le menu */

.mobile-menu-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.mobile-menu-logo {
    display: block;
    width: 145px;
    height: auto;
    max-height: 75px;
    object-fit: contain;
}

/* Bouton de fermeture */

.phytorica-menu .btn-close {
    margin: 0;
    padding: 10px;

    border-radius: 8px;
    box-shadow: none;
    opacity: 0.65;

    transition:
        opacity 0.2s ease,
        background-color 0.2s ease;
}

.phytorica-menu .btn-close:hover {
    opacity: 1;
    background-color: #F1F8FA;
}

.phytorica-menu .btn-close:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Corps du menu */

.phytorica-menu .offcanvas-body {
    padding: 22px 18px;
}

/* Liste des rubriques */

.mobile-navigation {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* Liens */

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 11px 15px;

    border-radius: 10px;

    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* Icônes des rubriques */

.mobile-nav-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;

    color: var(--primary);
    font-size: 16px;

    flex-shrink: 0;
}

/* Survol */

.mobile-nav-link:hover {
    background-color: #F1F8FA;
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Rubrique active */

.mobile-nav-link.active {
    background-color: var(--secondary-light);
    color: var(--primary-dark);
}

.mobile-nav-link.active i {
    color: var(--secondary);
}

/* Accessibilité */

.mobile-nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Fond sombre derrière le panneau */

.offcanvas-backdrop.show {
    opacity: 0.45;
}


/* ==========================================
   RESPONSIVE - ORDINATEURS INTERMÉDIAIRES
========================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .site-header .navbar > .container-fluid {
        gap: 12px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-logo {
        width: 140px;
    }

    .desktop-navigation {
        gap: 12px;
    }

    .desktop-nav-link {
        font-size: 12px;
    }

    .header-actions {
        gap: 10px;
    }
}


/* ==========================================
   RESPONSIVE - TABLETTES ET SMARTPHONES
========================================== */

@media (max-width: 991.98px) {

    /* Masquer la navigation horizontale */

    .desktop-navigation {
        display: none;
    }

    /* Afficher le hamburger */

    .menu-button {
        display: inline-flex;
    }

    /* Répartition du header */

    .site-header .navbar > .container-fluid {
        gap: 12px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-actions {
        gap: 12px;
        margin-left: auto;
    }

    .menu-button {
        width: 39px;
        height: 39px;
        font-size: 25px;
        border-radius: 9px;
    }
}


/* ==========================================
   RESPONSIVE - PETITS SMARTPHONES
========================================== */

@media (max-width: 380px) {

    .site-header .navbar > .container-fluid {
        gap: 7px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-logo {
        width: 110px;
    }

    .header-actions {
        gap: 7px;
    }

    .menu-button {
        width: 35px;
        height: 35px;
        font-size: 23px;
        border-radius: 8px;
    }

    .phytorica-menu .offcanvas-header {
        padding: 18px;
    }

    .mobile-menu-logo {
        width: 125px;
    }

    .phytorica-menu .offcanvas-body {
        padding: 18px 12px;
    }

    .mobile-nav-link {
        padding: 10px 13px;
        font-size: 13px;
    }
    .mobile-nav-link i {
        font-size: 16px;
    }
}






/* ==========================================
   PHYTORICA - LOCALISATION MENU MOBILE
========================================== */

/* Organisation verticale du panneau */

.phytorica-menu .offcanvas-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Navigation en haut du panneau */

.mobile-navigation {
    flex-shrink: 0;
}

/* ==========================================
   BLOC LOCALISATION
========================================== */

.mobile-menu-location {
    display: flex;
    align-items: flex-start;
    gap: 13px;

    margin-top: auto;
    padding: 22px 12px 10px;

    border-top: 1px solid #E8EFF0;
}

/* ==========================================
   ICÔNE DE LOCALISATION
========================================== */

.mobile-menu-location .bi-geo-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    background-color: var(--secondary-light);
    color: var(--secondary);

    border-radius: 50%;
    font-size: 16px;

    flex-shrink: 0;
    margin-top: 0;
}

/* ==========================================
   INFORMATIONS DE LOCALISATION
========================================== */

.location-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

/* Petit intitulé */

.location-details span {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #81979D;
}

/* Adresse du laboratoire */

.location-details strong {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);

    overflow-wrap: break-word;
}


/* ==========================================
   RESPONSIVE - PETITS SMARTPHONES
========================================== */

@media (max-width: 380px) {

    .mobile-menu-location {
        gap: 10px;
        padding: 18px 10px 8px;
    }

    .mobile-menu-location ion-icon {
        font-size: 12px;
    }

    .location-details span {
        font-size: 11px;
    }

    .location-details strong {
        font-size: 12px;
    }
}






/* ==========================================
   PHYTORICA - MENU MOBILE BLEU PREMIUM
========================================== */

/* Fond principal du menu */
.phytorica-menu {
    background: linear-gradient(
        160deg,
        #123A46 0%,
        #174B59 55%,
        #0D303B 100%
    );

    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

/* En-tête du menu */
.phytorica-menu .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Bouton de fermeture blanc */
.phytorica-menu .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Liens de navigation */
.phytorica-menu .mobile-nav-link {
    color: #F1F7F8;
}

/* Icônes des rubriques */
.phytorica-menu .mobile-nav-link i {
    color: #A8C65C;
}

/* Survol des rubriques */
.phytorica-menu .mobile-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.10);
    color: #FFFFFF;
}

/* Rubrique active */
.phytorica-menu .mobile-nav-link.active {
    background-color: rgba(131, 165, 43, 0.20);
    color: #FFFFFF;
}

/* Icône de la rubrique active */
.phytorica-menu .mobile-nav-link.active i {
    color: #B8D875;
}

/* Séparateur de la localisation */
.phytorica-menu .mobile-menu-location {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Icône de localisation */
.phytorica-menu .mobile-menu-location .bi-geo-alt,
.phytorica-menu .mobile-menu-location .bi-geo-alt-fill {
    background-color: rgba(131, 165, 43, 0.18);
    color: #B8D875;
}

/* Intitulé de la localisation */
.phytorica-menu .location-details span {
    color: #B7CDD1;
}

/* Adresse */
.phytorica-menu .location-details strong {
    color: #FFFFFF;
}






















/* ==========================================
   FOOTER PHYTORICA - 5 COLONNES
========================================== */

/* Conteneur des colonnes */
.footer-main {
    display: grid;
    grid-template-columns: 1.28fr 1.28fr 0.85fr 0.92fr 1.4fr;
    gap: 25px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: clamp(20px, 4vw, 70px);
    padding-right: clamp(20px, 4vw, 70px);
    
}

/* Colonnes */
.footer-column {
    min-width: 0;
}

/* Titres */
.footer-column h3 {
    margin: 0 0 20px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

/* ==========================================
   COLONNE 1 : PRÉSENTATION
========================================== */

.footer-logo {
    display: block;
    width: 120px;
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
   
}

.footer-about p {
    margin: 0;
    color: #D5E2E5;
    font-size: 12px;
    line-height: 1.7;
}

.footer-about{
    transform: translateY(-28px);
}

/* ==========================================
   COLONNE 2 : POURQUOI NOUS CHOISIR
========================================== */

.footer-why ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-why li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 14px;
    color: #D5E2E5;
    font-size: 12px;
    line-height: 1.5;
}

.footer-why li i {
    flex-shrink: 0;
    color: #A8C65A;
    font-size: 15px;
}

/* ==========================================
   COLONNE 3 : LIENS RAPIDES
========================================== */

.footer-links nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #D5E2E5;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #A8C65A;
}

/* ==========================================
   COLONNE 4 : RÉSEAUX SOCIAUX
========================================== */

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 5px 8px 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social a:hover {
    background: #83A52B;
}

/* ==========================================
   COLONNE 5 : CONTACT
========================================== */

.footer-contact address {
    margin: 0;
    font-style: normal;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 0 14px;
    color: #D5E2E5;
    font-size: 12px;
    line-height: 1.6;
}

.footer-contact i {
    flex-shrink: 0;
    color: #A8C65A;
    font-size: 15px;
}

.footer-contact a {
    min-width: 0;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: #A8C65A;
}

/* ==========================================
   RESPONSIVE : TABLETTE
========================================== */

@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
    }
}

/* ==========================================
   RESPONSIVE : MOBILE
========================================== */

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .footer-logo {
        width: 75px;
    }

    .footer-column h3 {
        font-size: 13px;
    }
}

/* Très petits écrans */
@media (max-width: 380px) {
    .footer-main {
        grid-template-columns: minmax(0, 1fr);
    }
}











/* ==========================================
   FOOTER - NEWSLETTER
========================================== */

.footer-newsletter {
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding-left: clamp(20px, 4vw, 70px);
    padding-right: clamp(20px, 4vw, 70px);
}

/* Texte */
.newsletter-info {
    flex: 1;
    min-width: 0;
}

.newsletter-info h3 {
    margin: 0 0 7px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
}

.newsletter-info p {
    margin: 0;
    color: #D5E2E5;
    font-size: 12px;
    line-height: 1.6;
}

/* Formulaire */
.newsletter-form {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 440px;
    min-width: 0;
    padding: 5px;
    border-radius: 9px;
    background: #FFFFFF;
}

.newsletter-form input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border: none;
    outline: none;
    background: transparent;
    color: #243B42;
    font-size: 12px;
}

.newsletter-form:focus-within {
    outline: 2px solid #A8C65A;
    outline-offset: 2px;
}

/* Bouton */
.newsletter-form button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 10px 17px;
    border: none;
    border-radius: 6px;
    background: #83A52B;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: #6D8D20;
}


/* ==========================================
   NEWSLETTER - RESPONSIVE CONSENTEMENT
========================================== */

@media (max-width: 767px) {

    .newsletter-consent {
        max-width: 100%;
        margin-top: 9px;
    }

    .newsletter-consent label {
        font-size: 11px;
        line-height: 1.6;
    }
}


/* Responsive */
@media (max-width: 767px) {

    .newsletter-content {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
    }

    .newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 380px) {

    .newsletter-form button {
        padding: 10px;
    }
}



/* Interaction newsletter */

.newsletter-form button {
    transition: background 0.2s, transform 0.2s, opacity 0.2s;
}

.newsletter-form button:active {
    transform: scale(0.96);
}

.newsletter-form button.newsletter-loading {
    opacity: 0.65;
    cursor: wait;
}


/* ==========================================
   NEWSLETTER - NOTIFICATION FLOTTANTE
========================================== */

.newsletter-toast {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 9999;

    display: flex;
    align-items: center;
    gap: 12px;

    width: max-content;
    max-width: calc(100vw - 40px);
    padding: 15px 20px;

    border: 1px solid #D4E9D0;
    border-radius: 10px;

    background: #FFFFFF;
    color: #244A30;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);

    font-size: 13px;
    font-weight: 500;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;

    pointer-events: none;
}

.newsletter-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.newsletter-toast i {
    color: #83A52B;
    font-size: 21px;
    flex-shrink: 0;
}

/* Animation du bouton */
.newsletter-form button:active {
    transform: scale(0.96);
}

.newsletter-form button.newsletter-loading {
    opacity: 0.65;
    cursor: wait;
}

/* Adaptation mobile */
@media (max-width: 575px) {
    .newsletter-toast {
        top: 15px;
        right: 15px;
        left: 15px;
        width: auto;
        max-width: none;
    }
}



/* ==========================================
   NEWSLETTER - FORMULAIRE ET CONSENTEMENT
========================================== */

.newsletter-fields {
    flex: 0 1 440px;
    width: 100%;
    min-width: 0;
}

.newsletter-consent {
    width: 100%;
    margin-top: 10px;
}

.newsletter-consent label {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    margin: 0;

    color: #D5E2E5;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.6;

    cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
    appearance: auto;
    width: 15px;
    height: 15px;
    min-width: 15px;

    margin: 2px 0 0;
    padding: 0;

    accent-color: var(--secondary);
    cursor: pointer;
}

.newsletter-consent span {
    flex: 1;
    min-width: 0;
}

.newsletter-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 3px;
}

/* RESPONSIVE */

@media (max-width: 767px) {

    .newsletter-fields {
        flex: none;
        width: 100%;
    }

    .newsletter-consent {
        margin-top: 9px;
    }
}



/* NEWSLETTER - INDICATEUR D'ENVOI */

.newsletter-form button.newsletter-loading {
    opacity: 0.8;
    cursor: wait;
}

.newsletter-form button.newsletter-loading i {
    animation: newsletter-spin 0.8s linear infinite;
}

@keyframes newsletter-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .newsletter-form button.newsletter-loading i {
        animation: none;
    }
}

/* ==========================================
   NEWSLETTER - ALIGNEMENT DU CONSENTEMENT
========================================== */

.footer-newsletter .newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
}

.footer-newsletter .newsletter-consent input[type="checkbox"] {
    display: block;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    min-width: 16px;
    margin: 2px 0 0;
    padding: 0;
    accent-color: #83A52B;
}

.footer-newsletter .newsletter-consent label {
    display: block;
    flex: 1;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}
















































/* ==========================================
   PHYTORICA - RETOUR EN HAUT
   Design compact aux couleurs du site
========================================== */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: var(--secondary);
    color: #FFFFFF;

    border: 1px solid rgba(18, 58, 70, 0.12);
    border-radius: 50%;

    font-size: 19px;
    cursor: pointer;

    box-shadow: 0 5px 15px rgba(18, 58, 70, 0.14);

    /* État initial */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(18px) scale(0.85);

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.3s ease;
}

/* Apparition */

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

/* Animation de la flèche */

.back-to-top i {
    display: inline-flex;
    transition: transform 0.25s ease;
}

/* Survol */

.back-to-top.show:hover {
    transform: translateY(-4px);
    box-shadow: 0 9px 20px rgba(18, 58, 70, 0.20);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* Clic */

.back-to-top.show:active {
    transform: scale(0.94);
}

/* Accessibilité */

.back-to-top:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Mobile */

@media (max-width: 767.98px) {
    .back-to-top {
        right: 15px;
        bottom: 16px;

        width: 38px;
        height: 38px;

        font-size: 18px;
        border-radius: 50%;
    }
}

/* Réduction des animations */

@media (prefers-reduced-motion: reduce) {
    .back-to-top,
    .back-to-top i {
        transition: none;
    }
}






/* ==========================================
   PHYTORICA - ANIMATIONS GLOBALES AU DÉFILEMENT
   Apparition et disparition des éléments
   sur toutes les pages du site
========================================== */

@media (prefers-reduced-motion: no-preference) {

    /* État invisible uniquement lorsque JS est actif */
    .ph-scroll-ready .ph-scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition:
            opacity 0.85s ease,
            transform 0.85s ease;
        transition-delay: var(--ph-reveal-delay, 0ms);
    }

    /* Élément visible à l'écran */
    .ph-scroll-ready .ph-scroll-reveal.ph-is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {

    .ph-scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


















































/* ==========================================
   PHYTORICA — CONFORT DE SAISIE SUR IPHONE
========================================== */

@media (max-width: 767.98px) {
    input:not([type="checkbox"]):not([type="radio"]),
    textarea,
    select {
        font-size: 16px !important;
    }
}


/* ==========================================
   PHYTORICA — RÉSEAUX SOCIAUX SUR MOBILE
========================================== */

@media (max-width: 600px) {

    .footer-social a {
        width: 30px;
        height: 30px;
        margin: 0 2px 8px 0;
        font-size: 15px;
    }

}










































/* ==========================================
   PHYTORICA — SCROLLBAR BLEU → VERT
========================================== */

html::-webkit-scrollbar {
    width: 9px;
}

html::-webkit-scrollbar-track {
    background: #E8F0F2;
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #0085AD 0%,
        #83A52B 100%
    );
    border-radius: 10px;
    border: 2px solid #E8F0F2;
}

/* Petits écrans */
@media (max-width: 600px) {
    html::-webkit-scrollbar {
        width: 5px;
    }

    html::-webkit-scrollbar-thumb {
        border: none;
    }
}