/*
Theme Name: Fynode Child
Description: Thème enfant pour Fynode
Author: Votre Nom
Template: fynode
Version: 1.0.0
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: fynode-child
*/

/* 
 * Ajoutez vos styles personnalisés ci-dessous
 * Les styles du thème parent seront automatiquement chargés
 */

/* HEADER SECTION - STYLES RESPONSIVE COMPLETS */

/* Styles de base pour le header */
.site-header {
    position: relative;
    z-index: 999;
    transition: all 0.3s ease;
}

.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --header-height-desktop: 55px !important;
}

.site-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100%;
    min-height: 4rem;
    padding: 0 1rem;
    gap: 1rem;
    transition: all 0.3s ease;
}

.site-header.is-sticky .site-header-inner {
    height: 60px;
    padding: 0 1rem;
}

/* Styles pour la colonne brand (logo + menu) */
.brand-column {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1 1 auto;
    gap: clamp(1rem, 3vw, 3rem);
    min-width: 0;
}

.site-header.is-sticky .brand-column {
    gap: 1.5rem;
}

/* Logo responsive */
.site-brand {
    flex-shrink: 0;
}

.site-brand img {
    max-height: 9.6951rem;
    width: auto;
    transition: all 0.3s ease;
}

.site-header.is-sticky .site-brand img {
    max-height: 135px;
}

/* Menu principal */
.site-nav.menu-horizontal {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    margin-left: auto; /* Pousse le menu vers la droite */
}

.site-nav.menu-horizontal .site-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header.is-sticky .site-nav.menu-horizontal .site-menu {
    gap: 0.5rem;
}

.brand-column ul li a {
    font-weight: 600;
    font-size: clamp(0.625rem, 1.2vw, 0.75rem) !important;
    text-transform: uppercase;
    color: #1A1A1A;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.75rem, 2vw, 1.25rem);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.site-header.is-sticky .brand-column ul li a {
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem !important;
}

.site-header.is-sticky .site-nav .site-menu > li > a {
    height: auto;
}

/* Ajuster l'overlay du menu en mode sticky */
.site-header.is-sticky::after,
.site-header.is-sticky .menu-overlay,
.site-header.is-sticky .site-header-overlay {
    top: 60px !important;
}

.brand-column ul li a:hover {
    color: #667eea;
}

/* Actions column (boutons, icônes) */
.actions-column {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1vw, 0.75rem);
    flex-shrink: 0;
}

.site-actions {
    display: flex;
    align-items: center;
    gap: clamp(0.25rem, 1vw, 0.75rem);
}

/* Mobile columns */
.mobile-column {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* RESPONSIVE BREAKPOINTS */

/* Navigation mobile à partir de 1200px et en dessous */
@media screen and (max-width: 75rem) {
    .site-nav.menu-horizontal {
        display: none !important; /* Menu horizontal masqué */
    }

    .actions-column {
        display: none !important; /* Masquer les actions */
    }

    .mobile-column {
        display: flex !important; /* Afficher le menu burger */
        flex-shrink: 0;
    }

    .brand-column {
        flex: 1;
        justify-content: center !important; /* Logo centré */
        order: 2;
    }

    .mobile-column:first-child {
        order: 1;
        margin-right: 15px;
    }

    .mobile-column:last-child {
        order: 3;
        margin-left: 15px;
    }

    .site-header-inner {
        padding: 0 15px;
        min-height: 55px;
    }

    .site-brand img {
        max-height: 9.6951rem;
    }
}

/* Desktop Large - Transition (au-dessus de 1200px uniquement) */
@media screen and (min-width: 75.0625rem) and (max-width: 81.25rem) {
    .site-header-inner {
        padding: 0 clamp(1rem, 3vw, 1.5rem);
        min-height: clamp(4rem, 5vw, 4.5rem);
        gap: clamp(0.8rem, 1.8vw, 1.2rem);
    }

    .brand-column {
        gap: clamp(1rem, 2.5vw, 1.8rem);
    }

    .brand-column ul li a {
        padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.6rem, 1.5vw, 0.9rem);
        font-size: clamp(0.55rem, 1vw, 0.65rem) !important;
    }

    .site-actions {
        gap: clamp(0.3rem, 1vw, 0.6rem);
    }

    .site-actions .contact-button {
        margin-left: clamp(0.2rem, 0.8vw, 0.4rem);
    }

    .site-actions .contact-link {
        padding: clamp(0.3rem, 0.7vw, 0.5rem) clamp(0.5rem, 1.2vw, 0.7rem);
        font-size: clamp(0.45rem, 0.8vw, 0.55rem) !important;
    }
}

/* Desktop Large (1300px+) */
@media screen and (min-width: 81.25rem) {
    .site-header-inner {
        padding: 0 clamp(1.5rem, 4vw, 3rem);
        min-height: clamp(4.5rem, 6vw, 5.5rem);
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .brand-column {
        gap: clamp(2rem, 4vw, 4rem);
    }

    .site-actions {
        gap: clamp(0.75rem, 2vw, 1.5rem);
    }
}

/* Desktop Standard - Zone critique (1024px - 1100px) */
@media screen and (min-width: 64rem) and (max-width: 68.75rem) {
    .site-header-inner {
        padding: 0 clamp(0.5rem, 2vw, 1rem);
        min-height: clamp(3.5rem, 4vw, 4rem);
        gap: clamp(0.4rem, 1.5vw, 0.8rem);
    }

    .brand-column {
        gap: clamp(0.5rem, 1.5vw, 1rem);
    }

    .brand-column ul li a {
        padding: clamp(0.3rem, 0.8vw, 0.5rem) clamp(0.4rem, 1.1vw, 0.7rem);
        font-size: clamp(0.45rem, 0.8vw, 0.55rem) !important;
    }

    .site-actions {
        gap: clamp(0.2rem, 1vw, 0.5rem);
    }

    /* Masquer le bouton contactez-nous dans cette zone critique */
    .site-actions .contact-button {
        display: none !important;
    }
}

/* Desktop Standard - Zone normale (1100px - 1199px) */
@media screen and (min-width: 68.75rem) and (max-width: 74.9375rem) {
    .site-header-inner {
        padding: 0 clamp(0.8rem, 2.5vw, 1.5rem);
        min-height: clamp(3.8rem, 4.5vw, 4.5rem);
        gap: clamp(0.6rem, 2vw, 1.2rem);
    }

    .brand-column {
        gap: clamp(0.8rem, 2vw, 1.5rem);
    }

    .brand-column ul li a {
        padding: clamp(0.35rem, 0.9vw, 0.55rem) clamp(0.5rem, 1.3vw, 0.8rem);
        font-size: clamp(0.5rem, 0.9vw, 0.6rem) !important;
    }

    .actions-column {
        display: flex !important;
    }

    .site-actions {
        gap: clamp(0.3rem, 1.2vw, 0.7rem);
    }

}

/* Tablette (768px - 1023px) */
@media screen and (min-width: 48rem) and (max-width: 63.9375rem) {
    .site-header-inner {
        padding: 0 clamp(0.3rem, 1.5vw, 0.8rem);
        min-height: clamp(3.5rem, 4vw, 4rem);
        gap: clamp(0.3rem, 1.2vw, 0.8rem);
    }

    .brand-column {
        gap: clamp(0.3rem, 1.2vw, 0.8rem);
        justify-content: space-between !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-brand {
        flex-shrink: 0;
    }

    .site-nav.menu-horizontal {
        display: none !important; /* Menu horizontal masqué sur tablette */
    }

    .site-nav.menu-horizontal .site-menu {
        gap: clamp(0.1rem, 0.8vw, 0.4rem);
        flex-wrap: nowrap;
    }

    .brand-column ul li a {
        padding: clamp(0.25rem, 0.7vw, 0.45rem) clamp(0.35rem, 0.9vw, 0.6rem);
        font-size: clamp(0.45rem, 0.8vw, 0.55rem) !important;
        white-space: nowrap;
    }

    .actions-column {
        display: none !important; /* Masquer les actions sur tablette */
    }

    /* Afficher le menu burger sur tablette */
    .mobile-column {
        display: flex !important;
        flex-shrink: 0;
    }

    .brand-column {
        justify-content: center !important; /* Logo centré */
        order: 2;
    }

    .mobile-column:first-child {
        order: 1;
        margin-right: 15px;
    }

    .mobile-column:last-child {
        order: 3;
        margin-left: 15px;
    }
}

/* Mobile Large (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
    .site-header-inner {
        padding: 0 15px;
        min-height: 55px;
    }

    .brand-column {
        flex: 1;
        justify-content: space-between !important;
        gap: 0.5rem;
    }

    .site-brand img {
        max-height: 9.6951rem;
    }

    .site-nav.menu-horizontal {
        display: none !important; /* Menu burger sur mobile */
    }

    .actions-column {
        display: none !important; /* Masquer sur mobile */
    }

    .mobile-column {
        display: flex !important;
    }

    /* Afficher seulement le menu burger et le panier */
    .mobile-column:first-child {
        order: 1;
    }

    .brand-column {
        order: 2;
        justify-content: center !important;
    }

    .mobile-column:last-child {
        order: 3;
    }
}

/* Mobile Small (320px - 479px) */
@media screen and (max-width: 479px) {
    .site-header-inner {
        padding: 0 10px;
        min-height: 50px;
    }

    .brand-column {
        flex: 1;
        justify-content: center !important;
    }

    .site-brand img {
        max-height: 9.6951rem;
    }

    .site-nav.menu-horizontal {
        display: none !important; /* Menu horizontal masqué sur mobile */
    }

    .actions-column {
        display: none !important;
    }

    .mobile-column {
        display: flex !important;
        flex-shrink: 0;
    }

    /* Layout mobile très compact */
    .mobile-column:first-child {
        order: 1;
        margin-right: 10px;
    }

    .brand-column {
        order: 2;
        justify-content: center !important;
    }

    .mobile-column:last-child {
        order: 3;
        margin-left: 10px;
    }
}

/* Styles pour le menu burger */
.menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle i {
    font-size: 18px;
    color: #1A1A1A;
}

/* Optimisations pour les très petits écrans */
@media screen and (max-width: 320px) {
    .site-header-inner {
        padding: 0 8px;
        min-height: 45px;
    }

    .site-brand img {
        max-height: 9.6951rem;
    }

    .mobile-column {
        gap: 0;
    }
}

/* Styles pour améliorer la performance et l'accessibilité */
.site-header * {
    box-sizing: border-box;
}

.site-header img {
    max-width: 100%;
    height: auto;
}

/* Transitions fluides */
.site-header,
.site-header * {
    transition: all 0.3s ease;
}

/* Focus states pour l'accessibilité */
.site-header a:focus,
.site-header button:focus {
    outline: none;
}

#home-section-solutions {
    scroll-margin-top: 100px !important;
    padding-top: 150px !important;
    margin-top: -100px !important;
}

#about-section-solutions {
    scroll-margin-top: 100px !important;
    padding-top: 150px !important;
    margin-top: -100px !important;
}

/* CONTACT MODAL STYLES */

/* Modal overlay */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.contact-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10000;
}

/* Modal header */
.contact-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.contact-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    font-family: 'Inter', sans-serif;
}

.contact-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background: #f8f9fa;
    color: #212529;
}

/* Form styles */
.contact-form {
    padding: 1rem 2rem 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error states */
.form-group.error input,
.form-group.error textarea {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message {
    color: #28a745;
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.form-messages .error-message {
    color: #dc3545;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Submit button */
.form-actions {
    margin-top: 1.5rem;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* reCAPTCHA info */
.recaptcha-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.recaptcha-info small {
    color: #6c757d;
    font-size: 0.75rem;
}

.recaptcha-info a {
    color: #667eea;
    text-decoration: none;
}

.recaptcha-info a:hover {
    text-decoration: underline;
}

/* Contact trigger button styling */
.contact-modal-trigger {
    color: #cccccc !important;
    text-decoration: underline !important;
    font-size: clamp(0.875rem, 1.1vw, 1rem);;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Responsive design */
@media screen and (max-width: 36rem) {
    .contact-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .contact-modal-header,
    .contact-form {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-modal-header h3 {
        font-size: 1.25rem;
    }
}


/* FOOTER SECTION */

.custom-footer {
    background: #212529;
    color: #ffffff;
    padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 3.75rem) clamp(1.5rem, 3vw, 2rem);
    font-family: 'Inter', sans-serif;
    margin: clamp(0.5rem, 2vw, 0.625rem) auto;
    border-radius: clamp(1rem, 2vw, 1.25rem);
    position: relative;
    overflow: hidden;
    width: 65.625rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.8fr 2.2fr 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    max-width: 87.5rem;
    margin: 0 auto;
    align-items: start;
}
.footer-column {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
}
.footer-logo img {
    width: clamp(7rem, 12vw, 8.75rem);
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
    filter: brightness(1.1);
}

.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: clamp(0.75rem, 2vw, 1rem);
}

.footer-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.2vw, 0.875rem);
    border-radius: clamp(1.25rem, 2vw, 1.5625rem);
    padding: clamp(0.6rem, 1.5vw, 0.75rem) clamp(1.2rem, 2.5vw, 1.5rem);
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.625rem rgba(0,0,0,0.1);
    width: fit-content;
}
.footer-buttons a:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.footer-contact {
    padding-top: 0;
}
.footer-contact p {
    margin: 8px 0;
    font-size: 13px;
    color: #cccccc;
    line-height: 1.6;
}
.footer-contact p:first-of-type {
    margin-top: 0;
    margin-bottom: 0;
}
.footer-contact p strong {
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    display: block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-contact a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: clamp(0.875rem, 1.1vw, 1rem);;
}
.footer-contact a:hover {
    color: #ffffff;
}
.footer-contact p {
    white-space: nowrap;
}
.footer-links {
    padding-top: 0;
}
.footer-links h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}
.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* IMAGE DE FOND */
.footer-bg-logo {
    position: absolute;
    right: 40px;
    bottom: 40px;
    z-index: 1;
    color: #F5EBDD;
}
.footer-bg-logo img {
    width: 200px;
    opacity: 0.05;
    filter: brightness(1.5);
}
.footer-bottom {
    border-top: 1px solid #404040;
    margin-top: 60px;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 13px;
    color: #999999;
    position: relative;
    z-index: 2;
}
.footer-bottom p {
    margin: 0;
    font-weight: 500;
}
.footer-bottom div {
    display: flex;
    gap: 15px;
    align-items: center;
}
.footer-bottom a {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: #ffffff;
}

/* FOOTER RESPONSIVE BREAKPOINTS */

/* Desktop Large (1200px+) */
@media screen and (min-width: 75rem) {
    .footer-container {
        grid-template-columns: 2.2fr 1.5fr 1fr 1fr;
        gap: clamp(3rem, 4vw, 4rem);
    }

    .footer-contact p {
        font-size: clamp(0.875rem, 1.1vw, 1rem);
    }

    .footer-links a {
        font-size: clamp(0.875rem, 1vw, 0.9375rem);
    }
}

/* Desktop Standard (1024px - 1199px) */
@media screen and (min-width: 64rem) and (max-width: 74.9375rem) {
    .footer-container {
        grid-template-columns: 2fr 1.4fr 1fr 1fr;
        gap: clamp(2.5rem, 3.5vw, 3rem);
    }

}

/* Tablette (768px - 1023px) */
@media screen and (min-width: 48rem) and (max-width: 63.9375rem) {
    .footer-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: clamp(1.5rem, 3vw, 2rem);
        text-align: center;
        justify-items: center;
        align-items: start;
    }

    .custom-footer {
        width: 96%;
        margin: clamp(0.5rem, 1vw, 0.625rem) auto;
        padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 2.5vw, 2rem);
    }

    /* Ligne 1, Colonne 1 : Logo + Bouton */
    .footer-logo {
        grid-column: 1;
        grid-row: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Ligne 1, Colonne 2 : NATU IN CORSICA */
    .footer-contact {
        grid-column: 2;
        grid-row: 1;
        text-align: center;
        padding-top: 0;
    }

    /* Ligne 2, Colonne 1 : ISULA */
    .footer-links:first-of-type {
        grid-column: 1;
        grid-row: 2;
        text-align: center;
        padding-top: 0;
    }

    /* Ligne 2, Colonne 2 : LOGICIELS */
    .footer-links:last-of-type {
        grid-column: 2;
        grid-row: 2;
        text-align: center;
        padding-top: 0;
    }

    .footer-bg-logo {
        right: clamp(1rem, 3vw, 2rem);
        bottom: clamp(1rem, 3vw, 2rem);
    }
}

/* Mobile Large (480px - 767px) */
@media screen and (min-width: 30rem) and (max-width: 47.9375rem) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 4vw, 2rem);
        text-align: center;
    }

    .custom-footer {
        width: 96%;
        margin: clamp(0.5rem, 1vw, 0.625rem) auto;
        padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 3vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.5rem);
        border-radius: clamp(0.75rem, 1.5vw, 1rem);
    }

    .footer-logo {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-buttons a {
        width: 100%;
        max-width: clamp(16rem, 80vw, 20rem);
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: clamp(0.75rem, 2vw, 1rem);
        text-align: center;
    }

    .footer-bg-logo {
        right: clamp(0.75rem, 2vw, 1.25rem);
        bottom: clamp(0.75rem, 2vw, 1.25rem);
    }

    .footer-bg-logo svg {
        width: clamp(6rem, 20vw, 9rem);
        height: auto;
    }
}

/* Mobile Small (320px - 479px) */
@media screen and (max-width: 29.9375rem) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        text-align: center;
    }

    .custom-footer {
        width: 96%;
        margin: clamp(0.25rem, 1vw, 0.5rem) auto;
        padding: clamp(1.5rem, 4vw, 2.5rem) clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2vw, 1.25rem);
        border-radius: clamp(0.5rem, 1vw, 0.75rem);
    }

    .footer-logo {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .footer-logo img {
        width: clamp(5rem, 25vw, 7rem);
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
    }

    .footer-buttons a {
        width: 100%;
        max-width: 100%;
        font-size: clamp(0.75rem, 3vw, 0.8rem);
        padding: clamp(0.5rem, 2vw, 0.6rem) clamp(1rem, 3vw, 1.2rem);
    }

    .footer-contact p {
        font-size: clamp(0.75rem, 2.5vw, 0.8rem);
        margin: clamp(0.25rem, 1vw, 0.5rem) 0;
    }

    .footer-links h4 {
        font-size: clamp(0.875rem, 3vw, 1rem);
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
    }

    .footer-links a {
        font-size: clamp(0.7rem, 2.5vw, 0.75rem);
    }

    .footer-bottom {
        flex-direction: column;
        gap: clamp(0.5rem, 2vw, 0.75rem);
        text-align: center;
        font-size: clamp(0.7rem, 2.5vw, 0.75rem);
    }

    .footer-bg-logo {
        right: clamp(0.5rem, 1.5vw, 1rem);
        bottom: clamp(0.5rem, 1.5vw, 1rem);
    }

    .footer-bg-logo svg {
        width: clamp(4rem, 15vw, 6rem);
        height: auto;
    }
}

/* BOUTON CONTACTEZ NOUS DANS LE MENU - VERSION RESPONSIVE */
.menu-contact-button {
    margin-left: clamp(1rem, 2vw, 2rem);
    flex-shrink: 0;
}

.menu-contact-link {
    display: inline-flex;
    align-items: center;
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.75rem, 2vw, 1.25rem);
    background-color: #ffffff;
    color: #212529 !important;
    text-decoration: none;
    border-radius: 1.5625rem;
    font-weight: 600;
    font-size: clamp(0.55rem, 1.1vw, 0.7rem) !important;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    border: 0.125rem solid #212529;
    white-space: nowrap;
}

.menu-contact-link:hover {
    background-color: #212529;
    color: #ffffff !important;
    border-color: #212529;
}

.menu-contact-button .contact-text {
    white-space: nowrap;
}

/* Responsive pour le bouton dans le menu - Tablette */
@media screen and (min-width: 48rem) and (max-width: 63.9375rem) {
    .menu-contact-button {
        display: block !important; /* Toujours affiché */
        margin-left: clamp(0.2rem, 1vw, 0.5rem);
    }

    .menu-contact-link {
        padding: clamp(0.25rem, 0.6vw, 0.4rem) clamp(0.4rem, 1vw, 0.6rem);
        font-size: clamp(0.35rem, 0.7vw, 0.5rem) !important;
    }
}

/* Responsive pour le bouton dans le menu - Desktop moyens */
@media screen and (min-width: 64rem) and (max-width: 75rem) {
    .menu-contact-button {
        margin-left: clamp(0.8rem, 1.5vw, 1.2rem);
    }

    .menu-contact-link {
        padding: clamp(0.3rem, 0.7vw, 0.5rem) clamp(0.5rem, 1.2vw, 0.7rem);
        font-size: clamp(0.45rem, 0.8vw, 0.55rem) !important;
    }
}

/* Responsive pour le bouton dans le menu - Zone critique */
@media screen and (min-width: 70.5rem) and (max-width: 71.5rem) {
    .menu-contact-button {
        margin-left: clamp(0.4rem, 1vw, 0.6rem);
    }

    .menu-contact-link {
        padding: 0.3rem 0.5rem;
        font-size: 0.45rem !important;
    }
}

/* Responsive pour le bouton dans le menu - Mobile */
@media (max-width: 47.9375rem) {
    .menu-contact-button {
        display: none !important; /* Masqué car menu horizontal masqué */
    }
}


/* INDICATEUR DE NAVIGATION - PAGE ACTIVE */
/* Indicateur élégant pour la page active dans le menu principal */
.menu-item.current-menu-item a,
.menu-item.current_page_item a,
.menu-item.current-menu-ancestor a,
.menu-item.current_page_ancestor a {
    position: relative !important;
    font-weight: 600 !important;
}

/* Trait de soulignement noir - DESKTOP UNIQUEMENT */
@media (min-width: 993px) {
    .menu-item.current-menu-item a::before,
    .menu-item.current_page_item a::before,
    .menu-item.current-menu-ancestor a::before,
    .menu-item.current_page_ancestor a::before {
        content: '' !important;
        position: absolute !important;
        bottom: 5px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80% !important;
        height: 3px !important;
        background: #000000 !important;
        border-radius: 2px !important;
        z-index: 10 !important;
        animation: slideIn 0.3s ease-out !important;
    }
}

/* Animation d'apparition du trait */
@keyframes slideIn {
    0% {
        width: 0% !important;
        opacity: 0 !important;
    }
    100% {
        width: 80% !important;
        opacity: 1 !important;
    }
}

/* Style pour les sous-menus actifs */
.site-nav.menu-horizontal .site-menu .sub-menu li.current-menu-item > a,
.site-nav.menu-horizontal .site-menu .sub-menu li.current_page_item > a {
    color: #667eea !important;
    font-weight: 600 !important;
    position: relative !important;
}

.site-nav.menu-horizontal .site-menu .sub-menu li.current-menu-item > a::before,
.site-nav.menu-horizontal .site-menu .sub-menu li.current_page_item > a::before {
    content: '' !important;
    position: absolute !important;
    left: -15px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 4px !important;
    height: 20px !important;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%) !important;
    border-radius: 2px !important;
    z-index: 10 !important;
}

.site-nav.menu-horizontal .site-menu .sub-menu {
    top: 60% !important;
}

/* Responsive - adaptation pour mobile */
@media (max-width: 768px) {
    .site-nav.menu-vertical .site-menu > li.current-menu-item > a,
    .site-nav.menu-vertical .site-menu > li.current-menu-ancestor > a,
    .site-nav.menu-vertical .site-menu > li.current_page_item > a,
    .site-nav.menu-vertical .site-menu > li.current_page_ancestor > a {
        background-color: rgba(102, 126, 234, 0.1) !important;
        border-left: 4px solid #667eea !important;
        font-weight: 600 !important;
        color: #667eea !important;
    }
}

/* WIDGET SLIDER PERSONNALISÉ */
.custom-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible; /* Permettre le débordement pour voir les cartes complètes */
    font-family: 'Inter', sans-serif;
}

.custom-slider-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    background-color: #F0F2F9 !important;
    width: 65.625rem !important;
}

/* Largeurs dynamiques selon le nombre de slides */
.custom-slider-container[data-slides-to-show="1"] {
    width: calc(1 * 20rem + 1 * 15px);
}

.custom-slider-container[data-slides-to-show="2"] {
    width: calc(2 * 20rem + 2 * 15px);
}

.custom-slider-container[data-slides-to-show="3"] {
    width: 60rem; /* Largeur fixe à 60rem */
    min-width: 60rem; /* Largeur minimale à 60rem */
}

.custom-slider-container[data-slides-to-show="4"] {
    width: calc(4 * 20rem + 4 * 15px);
}

.custom-slider-container[data-slides-to-show="5"] {
    width: calc(5 * 20rem + 5 * 15px);
}

.custom-slider-container[data-slides-to-show="6"] {
    width: calc(6 * 20rem + 6 * 15px);
}

.custom-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    width: 100%;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    touch-action: pan-y pinch-zoom; /* Permettre le scroll vertical mais pas horizontal */
}

/* Slides clonés pour la boucle infinie */
.custom-slider-slide.cloned {
    /* Les slides clonés ont les mêmes styles que les originaux */
}

.custom-slider-slide {
    flex: 0 0 auto;
    padding: 0 7.5px;
    box-sizing: border-box;
    min-width: 20rem;
    width: 20rem;
}

.custom-slider-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 350px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.custom-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.slider-card-image {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.slider-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Améliorations spécifiques mobile pour les images et interactions tactiles */
@media (max-width: 768px) {
    .custom-slider-wrapper {
        -webkit-overflow-scrolling: touch; /* Scroll fluide sur iOS */
        user-select: none; /* Empêcher la sélection de texte pendant le swipe */
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .custom-slider-track {
        cursor: grab;
        -webkit-tap-highlight-color: transparent; /* Supprimer le highlight sur tap */
    }

    .custom-slider-track:active {
        cursor: grabbing;
    }

    .slider-card-image {
        border-radius: 16px 16px 0 0;
        pointer-events: none; /* Empêcher les interactions avec l'image pendant le swipe */
    }

    .slider-card-image img {
        object-position: center;
        pointer-events: none;
        user-select: none;
        -webkit-user-select: none;
        -webkit-user-drag: none;
        -webkit-touch-callout: none;
    }

    .custom-slider-card {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
    }

    .slider-card-content {
        pointer-events: none; /* Empêcher les interactions pendant le swipe */
    }

    .slider-card-link {
        pointer-events: auto; /* Réactiver les liens */
    }
}

@media (max-width: 480px) {
    .slider-card-image {
        border-radius: 12px 12px 0 0;
    }
}

.custom-slider-card:hover .slider-card-image img {
    transform: scale(1.05);
}

.slider-card-content {
    background: #ffffff;
    padding: 16px;
    border-radius: 0 0 12px 12px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.slider-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.slider-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin: 0;
}

.slider-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    text-decoration: none;
}

/* Flèches de navigation */
.custom-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: #212529;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.custom-slider-arrow:hover {
    background-color: #667eea;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.custom-slider-prev {
    left: 15px;
}

.custom-slider-next {
    right: 15px;
}

/* Points de navigation */
.custom-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.custom-slider-dot {
    width: 4px !important;
    height: 2px !important;
    border-radius: 2px;
    border: none;
    background-color: #cccccc;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.custom-slider-dot.active {
    background-color: #212529 !important;
}

/* Styles pour le positionnement des flèches */
.custom-slider-wrapper {
    position: relative;
}

.custom-slider-container {
    position: relative;
    overflow: hidden;
}

/* Position horizontale des flèches */
.custom-slider-arrow.arrow-h-outside {
    z-index: 15;
}

.custom-slider-arrow.arrow-h-outside.custom-slider-prev {
    left: -60px;
}

.custom-slider-arrow.arrow-h-outside.custom-slider-next {
    right: -60px;
}

.custom-slider-arrow.arrow-h-center.custom-slider-prev {
    left: 0;
    transform: translateX(-50%);
}

.custom-slider-arrow.arrow-h-center.custom-slider-next {
    right: 0;
    transform: translateX(50%);
}

/* Position verticale des flèches */
.custom-slider-arrow.arrow-v-center {
    top: 50%;
    transform: translateY(-50%);
}

.custom-slider-arrow.arrow-h-center.arrow-v-center.custom-slider-prev {
    transform: translate(-50%, -50%);
}

.custom-slider-arrow.arrow-h-center.arrow-v-center.custom-slider-next {
    transform: translate(50%, -50%);
}

/* Responsive Design pour le slider */
@media (max-width: 1024px) {
    .custom-slider-container[data-slides-to-show="3"],
    .custom-slider-container[data-slides-to-show="4"],
    .custom-slider-container[data-slides-to-show="5"],
    .custom-slider-container[data-slides-to-show="6"] {
        width: calc(2 * 24rem + 2 * 16px) !important; /* 2 cartes max sur tablette */
    }

    .custom-slider-slide {
        padding: 0 8px;
        min-width: 24rem;
        width: 24rem;
    }

    .custom-slider-card {
        height: 360px;
    }

    .slider-card-content {
        padding: 15px;
    }

    .slider-card-title {
        font-size: 16px;
    }

    .slider-card-description {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .custom-slider-wrapper {
        padding: 1rem 0.5rem;
    }

    .custom-slider-container {
        padding: 0;
    }

    .custom-slider-container[data-slides-to-show="2"],
    .custom-slider-container[data-slides-to-show="3"],
    .custom-slider-container[data-slides-to-show="4"],
    .custom-slider-container[data-slides-to-show="5"],
    .custom-slider-container[data-slides-to-show="6"] {
        width: calc(100vw - 4rem) !important;
        max-width: 24rem;
    }

    .custom-slider-slide {
        padding: 0 0.5rem;
        min-width: calc(100vw - 4rem);
        width: calc(100vw - 4rem);
        max-width: 24rem;
    }

    .custom-slider-card {
        height: 280px;
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        margin: 0 auto;
    }

    .slider-card-content {
        padding: 1rem;
        text-align: center;
    }

    .slider-card-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        color: #1A1A1A;
    }

    .slider-card-description {
        font-size: 0.9rem;
        line-height: 1.4;
        color: #666666;
    }

    .custom-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
        background-color: rgba(33, 37, 41, 0.8);
        backdrop-filter: blur(10px);
        border: 2px solid rgba(255,255,255,0.2);
    }

    .custom-slider-arrow:hover {
        background-color: #667eea;
        border-color: rgba(255,255,255,0.3);
    }

    .custom-slider-prev {
        left: 0.75rem;
    }

    .custom-slider-next {
        right: 0.75rem;
    }

    .custom-slider-dots {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }

    .custom-slider-dot {
        width: 2rem;
        height: 0.25rem;
        border-radius: 0.125rem;
        background-color: rgba(204, 204, 204, 0.6);
        transition: all 0.3s ease;
    }

    .custom-slider-dot.active {
        background-color: #212529;
        transform: scale(1.1);
    }
}

@media (max-width: 480px) {
    .custom-slider-wrapper {
        padding: 0.75rem 0.25rem;
    }

    .custom-slider-container[data-slides-to-show="2"],
    .custom-slider-container[data-slides-to-show="3"],
    .custom-slider-container[data-slides-to-show="4"],
    .custom-slider-container[data-slides-to-show="5"],
    .custom-slider-container[data-slides-to-show="6"] {
        width: calc(100vw - 3rem) !important;
        max-width: 20rem;
    }

    .custom-slider-slide {
        min-width: calc(100vw - 3rem);
        width: calc(100vw - 3rem);
        max-width: 20rem;
        padding: 0 0.25rem;
    }

    .custom-slider-card {
        height: 240px;
        border-radius: 12px;
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    }

    .slider-card-content {
        padding: 0.75rem;
        text-align: center;
    }

    .slider-card-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
    }

    .slider-card-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .custom-slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .custom-slider-prev {
        left: 0.5rem;
    }

    .custom-slider-next {
        right: 0.5rem;
    }

    .custom-slider-dots {
        margin-top: 1.25rem;
        gap: 0.4rem;
    }

    .custom-slider-dot {
        width: 1.75rem;
        height: 0.2rem;
    }
}


/* SOLUTIONS BOX SECTION */

/* Curseur pointer sur les éléments solutions_box, services_box et tous leurs descendants */
.solutions_box,
.solutions_box *,
.services_box,
.services_box *{
    cursor: default;
}

ul.sub-menu li a:before {
    display: none;
}


/* CONTACT FORM 7 SECTION */

/* Container du formulaire */
.wpcf7-form {
    font-family: 'Inter', sans-serif;
}

.wpcf7-form > p:first-child {
    font-size: 1rem;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
}

/* Lignes avec 2 colonnes */
.cf7-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.cf7-col {
    flex: 1;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-weight: 500;
    font-size: 1.125rem;
    color: #1A1A1A;
}

/* Masquer les br automatiques de CF7 */
.wpcf7-form br {
    display: none;
}

/* Champs de saisie */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Textarea */
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Checkbox acceptance */
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.1rem;
    accent-color: #667eea;
    cursor: pointer;
    flex-shrink: 0;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* Bouton submit */
.wpcf7-form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    background-color: #212529;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form input[type="submit"]:hover,
.wpcf7-form button.wpcf7-submit:hover {
    background-color: #fff;
    color: #212529;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Bouton submit avec flèche */
.wpcf7-form button.wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background-color: #212529;
    color: #ffffff;
    border: 2px solid #212529;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-form button.wpcf7-submit .btn-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.wpcf7-form button.wpcf7-submit:hover .btn-arrow {
    transform: translateX(5px);
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .cf7-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form textarea {
        padding: 0.75rem 0.875rem;
        border-radius: 10px;
    }
    
    .wpcf7-form textarea {
        min-height: 120px;
    }
}


/* Logo noir sur pages blog/single (fond blanc) */
body.page-blog .site-brand-logo.default,
body.page-single-post .site-brand-logo.default {
    content: url('../fynode/assets/img/ISU-logo-black.png');
}

/* Masquer le logo transparent sur ces pages */
body.page-blog .site-brand-logo.transparent,
body.page-single-post .site-brand-logo.transparent {
    display: none !important;
}


/* BLOG ARCHIVE SECTION */

.blog-archive {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 3rem 0;
    font-family: 'Inter', sans-serif;
}

.blog-archive-container {
    max-width: 65.625rem;
    margin: 0 auto;

}

/* Header */
.blog-archive-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.blog-archive-header-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1A1A1A;
    margin: 0;
    text-transform: uppercase;
}

/* Filtres */
.blog-archive-filters {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.blog-search-form input[type="search"] {
    padding: 0 1rem;
    border: 1px solid #D0D0D0;
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    min-width: 180px;
    height: 38px;
    box-sizing: border-box;
}

.blog-search-form input[type="search"]::placeholder {
    color: #999;
}

/* Dropdown personnalisé avec checkboxes */
.category-dropdown {
    position: relative;
}

.category-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
    border: 1px solid #D0D0D0;
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    cursor: pointer;
    min-width: 180px;
    height: 38px;
    max-height: 38px;
    line-height: 1;
    box-sizing: border-box;
}

.category-dropdown-arrow {
    font-size: 0.6rem;
    transition: transform 0.2s ease;
}

.category-dropdown.open .category-dropdown-arrow {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #D0D0D0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
    max-height: 250px;
    overflow-y: auto;
}

.category-dropdown.open .category-dropdown-menu {
    display: block;
}

.category-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.category-checkbox-item:hover {
    background-color: #F5F5F5;
}

.category-checkbox-item input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #D0D0D0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.category-checkbox-item input[type="checkbox"]:checked + .checkbox-custom {
    background-color: #1A1A1A;
    border-color: #1A1A1A;
}

.category-checkbox-item input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #1A1A1A;
}

/* Grille d'articles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte article */
.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image de la carte */
.blog-card-image {
    position: relative;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: linear-gradient(135deg, #C9D0D1 0%, #E7F2F3 100%);
    margin-bottom: 0;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1rem;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.08);
}

/* Masquer tout titre/caption dans la zone image */
.blog-card-image figcaption,
.blog-card-image .wp-caption-text,
.blog-card-image p,
.blog-card-image span,
.blog-card-image .attachment-caption {
    display: none !important;
}

/* Contenu de la carte */
.blog-card-content {
    padding: 1.25rem 1.5rem 1.5rem;
    background: #ffffff;
    border-radius: 0 0 20px 20px;
}

/* Métadonnées */
.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.875rem;
    flex-wrap: nowrap;
    min-height: 32px;
}

.blog-card-category {
    background: #F0F2F5;
    color: #1A1A1A;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 3rem);
    flex-shrink: 1;
}

.blog-card-category:hover {
    background: #E0E3E8;
    transform: none;
}

/* Tags filtres actifs */
.blog-active-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #0046FE 0%, #79FBFF 100%);
    color: #ffffff;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 70, 254, 0.3);
    transition: all 0.3s ease;
}

.active-filter-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 70, 254, 0.5);
}

.active-filter-name {
    color: #ffffff;
}

.active-filter-remove {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.125rem 0.25rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    width: 1rem !important;
    height: 2rem !important;
}

.active-filter-remove:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.blog-card-date {
    font-size: 0.85rem;
    color: #999999;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 500;
}

.blog-card-arrow {
    font-size: 1.125rem;
    color: #0046FE;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: bold;
    margin-left: auto;
    flex-shrink: 0;
}

.blog-card:hover .blog-card-arrow {
    transform: translate(5px, -5px);
    color: #79FBFF;
}

/* Titre */
.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-card-title {
    color: #0046FE;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    margin-top: 1rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-numbers a,
.pagination-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #1A1A1A;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.pagination-numbers a {
    border-color: #1A1A1A;
}

.pagination-numbers span.current {
    background-color: #1A1A1A;
    color: #ffffff;
}

.pagination-numbers a:hover {
    background-color: #1A1A1A;
    color: #ffffff;
}

.pagination-nav {
    display: flex;
    gap: 0.75rem;
}

.pagination-prev-btn,
.pagination-next-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: #1A1A1A;
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-prev-btn:hover,
.pagination-next-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
}

.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding: 3rem;
}

/* État de chargement AJAX */
.blog-grid.loading {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.blog-grid.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #E0E0E0;
    border-top-color: #1A1A1A;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Blog Archive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .blog-card-image {
        height: 220px;
    }
    
    .blog-card-content {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .blog-card-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .blog-archive {
        padding: 2rem 0;
    }
    
    .blog-archive-container {
        padding: 0 1rem;
    }
    
    .blog-archive-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-archive-filters {
        width: 100%;
        flex-direction: column;
    }
    
    .blog-search-form,
    .blog-category-filter {
        width: 100%;
    }
    
    .blog-search-form input[type="search"],
    .blog-category-filter select {
        width: 100%;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-card {
        border-radius: 16px;
    }
    
    .blog-card-image {
        border-radius: 16px 16px 0 0;
        height: 200px;
    }
    
    .blog-card-image img {
        padding: 1.5rem;
    }
    
    .blog-card-content {
        padding: 1rem;
        border-radius: 0 0 16px 16px;
    }
    
    .blog-card-title {
        font-size: 1.05rem;
    }
    
    .blog-card:hover {
        transform: translateY(-4px);
    }
    
    .blog-pagination {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .pagination-numbers {
        order: 2;
    }
    
    .pagination-next-btn {
        order: 1;
        width: 100%;
        justify-content: center;
    }
}


/* SINGLE POST SECTION */

.single-post {
    background-color: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.single-post-container {
    max-width: 65rem;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

/* Header */
.single-post-header {
    margin-bottom: 2rem;
}

.single-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.single-post-date {
    font-size: 0.9rem;
    color: #666666;
}

.single-post-separator {
    color: #999999;
}

.single-post-category {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1A1A1A;
    text-transform: uppercase;
}

/* Intro avec résumé et sidebar */
.single-post-intro {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
}

.single-post-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444444;
}

.single-post-excerpt p {
    margin: 0;
}

/* Sidebar articles récents - Carrousel */
.single-post-sidebar {
    border-left: 1px solid #E0E0E0;
    padding-left: 1.5rem;
}

.sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
}

.recent-posts-carousel {
    position: relative;
    overflow: hidden;
}

.recent-post-item {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    align-items: flex-start;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease;
}

.recent-post-item.active {
    opacity: 1;
    position: relative;
}

.recent-post-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-item:hover .recent-post-title {
    color: #667eea;
}

.recent-post-date {
    font-size: 0.75rem;
    color: #999999;
}

/* Image principale */
.single-post-image {
    margin-bottom: 2.5rem;
    border-radius: 16px;
    overflow: hidden;
}

.single-post-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    display: block;
}

/* Contenu */
.single-post-content {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.single-post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 2rem 0 1rem 0;
}

.single-post-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 1.5rem 0 0.75rem 0;
}

.single-post-content p {
    margin: 0 0 1.5rem 0;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-post-content a {
    color: #667eea;
    text-decoration: underline;
}

.single-post-content ul,
.single-post-content ol {
    margin: 0 0 1.5rem 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

/* Navigation */
.single-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.single-post-navigation a {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.single-post-navigation a:hover {
    color: #667eea;
}

.nav-next {
    margin-left: auto;
}

/* Responsive Single Post */
@media (max-width: 768px) {
    .single-post {
        padding: 2rem 0;
    }
    
    .single-post-container {
        padding: 0 1rem;
    }
    
    .single-post-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .single-post-sidebar {
        border-left: none;
        border-top: 1px solid #E0E0E0;
        padding-left: 0;
        padding-top: 1.5rem;
    }
    
    .single-post-content {
        font-size: 1rem;
    }
    
    .single-post-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-next {
        margin-left: 0;
    }
}


/* ========================================
   PARTENAIRES SECTION
   ======================================== */

/* Logo noir sur pages partenaires (fond blanc) */
body.page-single-partenaire .site-brand-logo.default,
body.page-archive-partenaires .site-brand-logo.default {
    content: url('../fynode/assets/img/ISU-logo-black.png');
}

body.page-single-partenaire .site-brand-logo.transparent,
body.page-archive-partenaires .site-brand-logo.transparent {
    display: none !important;
}


/* ARCHIVE PARTENAIRES */

.archive-partenaires {
    background-color: #ffffff;
    min-height: 100vh;
    padding: 3rem 0;
    font-family: 'Inter', sans-serif;
}

.archive-partenaires-container {
    max-width: 65rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Archive */
.archive-partenaires-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-partenaires-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 1rem 0;
    text-transform: uppercase;
}

.archive-partenaires-description {
    font-size: 1.1rem;
    color: #666666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grille partenaires */
.partenaires-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Carte partenaire */
.partenaire-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.partenaire-card:hover {
    transform: translateY(-5px);
}

.partenaire-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partenaire-card-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #F0F2F9;
    margin-bottom: 0.75rem;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partenaire-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.partenaire-card:hover .partenaire-card-image img {
    transform: scale(1.05);
}

.partenaire-placeholder {
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: linear-gradient(135deg, #E0E0E0 0%, #F5F5F5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partenaire-placeholder::after {
    content: '🤝';
    font-size: 3rem;
    opacity: 0.3;
}

.partenaire-card-content {
    padding: 0 0.25rem;
}

.partenaire-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.partenaire-card-excerpt {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-partenaires {
    grid-column: 1 / -1;
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    padding: 3rem;
}

/* Pagination partenaires */
.partenaires-pagination {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.partenaires-pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}

.partenaires-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #1A1A1A;
    border: 2px solid #1A1A1A;
    transition: all 0.3s ease;
}

.partenaires-pagination .page-numbers.current {
    background-color: #1A1A1A;
    color: #ffffff;
}

.partenaires-pagination .page-numbers:hover {
    background-color: #1A1A1A;
    color: #ffffff;
}

.partenaires-pagination .prev,
.partenaires-pagination .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 25px;
}

/* Responsive Archive Partenaires */
@media (max-width: 1024px) {
    .partenaires-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .archive-partenaires {
        padding: 2rem 0;
    }

    .archive-partenaires-container {
        padding: 0 1rem;
    }

    .partenaires-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}


/* SINGLE PARTENAIRE */

.single-partenaire {
    background-color: #ffffff;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
}

.single-partenaire-container {
    max-width: 65rem;
    margin: 0 auto;
    padding: 3rem 2rem 0;
}

/* Header */
.single-partenaire-header {
    margin-bottom: 2rem;
}

.single-partenaire-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1A1A1A;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Intro avec image et sidebar */
.single-partenaire-intro {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

.single-partenaire-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444444;
}

.single-partenaire-excerpt p {
    margin: 0;
}

/* Sidebar autres partenaires */
.single-partenaire-sidebar {
    border-left: 1px solid #E0E0E0;
    padding-left: 1.5rem;
}

.other-partenaires-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.other-partenaire-item {
    display: flex;
    gap: 0.75rem;
    text-decoration: none;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.other-partenaire-item:hover {
    background-color: #F5F5F5;
}

.other-partenaire-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #F0F2F9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.other-partenaire-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.25rem;
}

.other-partenaire-info {
    flex: 1;
    min-width: 0;
}

.other-partenaire-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.other-partenaire-item:hover .other-partenaire-title {
    color: #667eea;
}

/* Image principale partenaire */
.single-partenaire-image {
    border-radius: 16px;
    overflow: hidden;
    background: #F0F2F9;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 400px;
}

.single-partenaire-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    padding: 2rem;
}

/* Contenu */
.single-partenaire-content {
    max-width: 800px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
}

.single-partenaire-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1A1A1A;
    margin: 2rem 0 1rem 0;
}

.single-partenaire-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 1.5rem 0 0.75rem 0;
}

.single-partenaire-content p {
    margin: 0 0 1.5rem 0;
}

.single-partenaire-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.single-partenaire-content a {
    color: #667eea;
    text-decoration: underline;
}

.single-partenaire-content ul,
.single-partenaire-content ol {
    margin: 0 0 1.5rem 1.5rem;
}

.single-partenaire-content li {
    margin-bottom: 0.5rem;
}

/* Navigation */
.single-partenaire-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #E0E0E0;
}

.single-partenaire-navigation a {
    text-decoration: none;
    color: #1A1A1A;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.single-partenaire-navigation a:hover {
    color: #667eea;
}

/* Retour à la liste */
.back-to-partenaires {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #1A1A1A;
}

/* Responsive Single Partenaire */
@media (max-width: 768px) {
    .single-partenaire {
        padding: 2rem 0;
    }

    .single-partenaire-container {
        padding: 0 1rem;
    }

    .single-partenaire-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .single-partenaire-sidebar {
        border-left: none;
        border-top: 1px solid #E0E0E0;
        padding-left: 0;
        padding-top: 1.5rem;
    }

    .single-partenaire-content {
        font-size: 1rem;
    }

    .single-partenaire-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

/* CHATBOT STYLES */
#chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: #fff;
}

#chatbot-container.chatbot-expanded {
    width: 420px;
    height: 600px;
}

#chatbot-container.chatbot-minimized {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

#chatbot-container.chatbot-minimized #chatbot-iframe {
    display: none;
}

.chatbot-toggle-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1001;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-toggle-btn:hover {
    background: #5568d3;
    transform: scale(1.1);
}

#chatbot-container.chatbot-minimized .chatbot-toggle-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    font-size: 28px;
}

#chatbot-container.chatbot-minimized .chatbot-toggle-btn:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    #chatbot-container.chatbot-expanded {
        width: calc(100vw - 40px);
        height: 500px;
        right: 20px;
        bottom: 20px;
    }
}

/* BLOG CARDS WIDGET */
.blog-cards-widget {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-cards-navigation {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.blog-cards-prev,
.blog-cards-next {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #1A1A1A;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-cards-prev:hover,
.blog-cards-next:hover {
    color: #667eea;
    transform: scale(1.1);
}

.blog-cards-prev:disabled,
.blog-cards-next:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.blog-cards-prev:disabled:hover,
.blog-cards-next:disabled:hover {
    color: #1A1A1A;
    transform: none;
}

.blog-cards-container {
    overflow: hidden;
    width: 100%;
}

.blog-cards-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.blog-card-item {
    flex: 0 0 calc(25% - 15px);
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-card-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-item-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: #2D2E4F;
    overflow: hidden;
}

.blog-card-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.blog-card-item-logos {
    display: flex;
    gap: 15px;
    align-items: center;
}

.blog-card-item-content {
    padding: 20px;
    background: #fff;
}

.blog-card-item-title {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
}

.blog-card-item-category {
    background: #F0F2F9;
    color: #1A1A1A;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 11px;
}

.blog-card-item-date {
    color: #999;
    font-size: 12px;
}

/* Responsive */
@media (max-width: 1200px) {
    .blog-card-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .blog-cards-navigation {
        justify-content: center;
    }
    
    .blog-card-item {
        flex: 0 0 calc(50% - 10px);
        min-width: 250px;
    }
}

@media (max-width: 480px) {
    .blog-card-item {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .blog-cards-track {
        gap: 15px;
    }
}

/*Google reviews*/
body .ti-widget.ti-goog .ti-review-item>.ti-inner,
.ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
    background-color: #F0F2F9 !important;
    padding: 30px 25px 30px 25px !important;
    border-radius: 8px 8px 8px 8px !important;
}


/* Met les étoiles en noir */
body .ti-widget.ti-goog img.ti-star {
    /* convertit l’image en noir pur */
    filter: grayscale(1) brightness(0) saturate(100%) !important;
    -webkit-filter: grayscale(1) brightness(0) saturate(100%) !important;
}

body .ti-widget.ti-goog .ti-verified-review {
    display: none !important;
}

body .ti-widget.ti-goog .ti-platform-icon {
    display: none !important;
}
