/*
Theme Name: template-pmi-v2
Description: Thème WordPress payer-moins-impots.fr — Version 2
Author: Rémi
Version: 2.0
*/

@font-face {
    font-family: 'glacialitalic';
    src: url('./font/GlacialIndifference-Italic.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'glacialRegular';
    src: url('./font/GlacialIndifference-Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'glacialBold';
    src: url('./font/GlacialIndifference-Bold.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/*Page d'acceuil*/
.head-section{Width:100%;height:500px;display: flex;flex-direction:column;justify-content: center;align-items:center;gap:30px;background:url(/images/bg-home-pmi.jpg)}
.head-section h1{font-family:glacialBold;font-size:40px;color: #f1b61d;}
.head-section p{font-family:glacialRegular;font-size:28px;color: #fff;}
.slide-btn {display: inline-flex;align-items: center;gap: 0.5rem;padding: 0.875rem 2rem;background: linear-gradient(135deg, #f1b61d 0%, #ffd700 100%);color: #1C1C1C;text-decoration: none;font-weight: 600;font-size: 1rem;border-radius: 50px;border: none;cursor: pointer;transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);position: relative;overflow: hidden;box-shadow: 0 4px 15px rgba(241, 182, 29, 0.2),0 2px 8px rgba(28, 28, 28, 0.1);text-align: center;user-select: none;line-height: 1.4;}
/* Effet de survol principal */
.slide-btn:hover {transform: translateY(-2px);box-shadow: 0 8px 25px rgba(241, 182, 29, 0.3), 0 4px 15px rgba(28, 28, 28, 0.15);background: linear-gradient(135deg, #ffd700 0%, #f1b61d 100%);color: #1C1C1C;text-decoration: none;}
/* Effet de pression */
.slide-btn:active {transform: translateY(0px);transition: transform 0.1s ease;box-shadow:  0 2px 8px rgba(241, 182, 29, 0.2), 0 1px 4px rgba(28, 28, 28, 0.1);}
/* Effet de slide en arrière-plan */
.slide-btn::before {content: '';position: absolute;top: 0;left: -100%;width: 100%;height: 100%;background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);transition: left 0.6s ease;}
.slide-btn:hover::before {left: 100%;}
/* Icône flèche */
.slide-btn .arrow-icon {width: 16px;height: 16px;fill: currentColor;transition: transform 0.3s ease;}
.site-title a {color: #f1b61d;text-decoration: none;}
.solution-content{display: flex;width:100%;gap:5%; margin-top:50px}
.solution-content-text{width:65%;display: flex;flex-direction: column;gap:15px;justify-content: center;}
.solution-content-text-content{display: flex;flex-direction: column;gap:15px}
.solution-content-text-content p{font-size:18px;color:#1C1C1C;font-family:glacialRegular}
.solution-content-text-content p strong{font-size:18px;color:#f1b61d;font-family:glacialBold}
.solution-content-text-content p a{font-size:18px;color:#CD7F32;font-family:glacialBold;text-decoration:underline;}
.solution-content-text-content p a:hover{color:#f1b61d}
.solution-content-text h2{color: #f1b61d;font-size:30px;font-family:glacialBold;}
.solution-content-img{width:30%;display: flex;align-items: center;}
/* ==========================================================================
   HEADER - Design Épuré & Moderne
   ========================================================================== */

.site-header {
    background: #1c1c1c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Header Top - Logo + Actions */
.header-top {
    border-bottom: 1px solid rgba(241, 182, 29, 0.15);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-branding img {
    max-height: 90px;
    width: auto;
    display: block;
    filter: brightness(1.05) contrast(1.1);
}

/* Actions (Contact + YouTube) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

/* Bouton Contact - MISE EN AVANT */
.btn-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #f1b61d 0%, #ffcc33 100%);
    color: #1c1c1c;
    padding: 16px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(241, 182, 29, 0.4);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    height: 56px;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(241, 182, 29, 0.6);
}

/* Icône Contact - SVG professionnel */
.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-icon::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231c1c1c'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
    text-align: left;
    font-size: 13px;
    color: #1c1c1c;
}

.contact-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Bouton YouTube - Même hauteur */
.btn-youtube {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #ffffff;
    padding: 16px 24px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    height: 56px;
    white-space: nowrap;
}

.btn-youtube:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #f1b61d;
    color: #f1b61d;
    transform: translateY(-2px);
}

.btn-youtube svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.btn-youtube:hover svg {
    transform: scale(1.1);
}

.header-bottom {
    background: transparent;
    border-top: 1px solid rgba(241, 182, 29, 0.08);
}

.header-bottom .container {
    display: flex;
    justify-content: center;
}

.nav_menu {
    display: flex;
    width: 100%;
    justify-content: center;
}

.primary-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.primary-menu li {
    margin: 0;
    position: relative;
}

.primary-menu a {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    padding: 14px 20px;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
}

/* Séparateur fin entre les items */
.primary-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
}

/* Effet hover minimaliste */
.primary-menu a::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: #f1b61d;
    transition: width 0.3s ease;
}

.primary-menu a:hover {
    color: #ffffff;
}

.primary-menu a:hover::before {
    width: 30px;
}

.primary-menu .current-menu-item a {
    color: #f1b61d;
    font-weight: 500;
}

.primary-menu .current-menu-item a::before {
    width: 30px;
}

/* Sous-menus - Design épuré */
.primary-menu li {
    position: relative;
}

.primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1c1c1c;
    min-width: 200px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border-top: 1px solid #f1b61d;
    z-index: 1000;
    padding: 8px 0;
    flex-direction: column;
    margin-top: 0;
}

.primary-menu li:hover > .sub-menu {
    display: flex;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.primary-menu .sub-menu li {
    width: 100%;
}

.primary-menu .sub-menu li::after {
    display: none;
}

.primary-menu .sub-menu a {
    padding: 10px 20px;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0.3px;
    color: rgba(255, 255, 255, 0.7);
}

.primary-menu .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background: #f1b61d;
}

.primary-menu .sub-menu a:hover {
    color: #f1b61d;
    background: rgba(241, 182, 29, 0.05);
}

.primary-menu .sub-menu a:hover::before {
    width: 3px;
    height: 100%;
}

/* ==========================================================================
   RESPONSIVE - Menu
   ========================================================================== */

@media (max-width: 1200px) {
    .primary-menu a {
        padding: 14px 16px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .primary-menu {
        gap: 4px;
    }
    
    .primary-menu a {
        padding: 12px 14px;
    }
}

@media (max-width: 768px) {
    .header-bottom {
        border-top: none;
        background: rgba(0, 0, 0, 0.3);
    }
    
    .primary-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 8px 0;
    }
    
    .primary-menu li {
        width: 100%;
    }
    
    .primary-menu li::after {
        display: none;
    }
    
    .primary-menu a {
        padding: 12px 20px;
        justify-content: flex-start;
        text-transform: none;
        font-size: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .primary-menu a::before {
        left: 0;
        transform: translateY(-50%);
        bottom: auto;
        top: 50%;
        height: 0;
        width: 0;
    }
    
    .primary-menu a:hover::before,
    .primary-menu .current-menu-item a::before {
        width: 3px;
        height: 60%;
    }
    
    .primary-menu .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.3);
        border-top: none;
        border-left: 2px solid rgba(241, 182, 29, 0.3);
        margin-left: 20px;
        padding: 0;
    }
    
    .primary-menu .sub-menu a {
        padding-left: 30px;
        font-size: 13px;
    }
}

/*last article page accueil*/

.last-articles{display: flex;flex-direction: column;align-items: center;margin-top:15px}

.children-pages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px 0;
    width: 1200px;
}

.child-page-item {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.child-page-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(234, 214, 33, 0.2);
}

.child-page-thumbnail {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.child-page-thumbnail a {
    display: block;
    height: 100%;
}

.child-page-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.child-page-item:hover .child-page-thumbnail img {
    transform: scale(1.05);
}

.child-page-content {
    padding: 20px;
}

.child-page-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    font-family: glacialBold;
}

.child-page-title a {
    color: #1C1C1C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.child-page-title a:hover {
    color: #f1b61D;
}

.child-page-date {
    font-size: 14px;
    color: #4A4A4A;
    font-family: glacialRegular;
}

/* ==========================================================================
   MENU BURGER
   ========================================================================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px;
    gap: 6px;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
}

.burger-line {
    width: 28px;
    height: 2px;
    background: #f1b61d;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Animation du burger en X */
.menu-toggle.active .burger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active .burger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* Styles du footer */
.site-footer {
    background: #1C1C1C;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
}

.footer-content p a{font-size:18px;color:#f1b61d;font-family:glacialBold;text-decoration:underline;}

/* Styles du contenu */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.main-content {
    min-height: 400px;
    padding: 2rem 0;
}

/* Variante encore plus discrète */
.breadcrumb {
    background: rgba(28, 28, 28, 0.02);
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(28, 28, 28, 0.06);
    border-radius: 8px 8px 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    animation: fadeInUp 0.3s ease-out;
}

/* Liens des breadcrumbs */
.breadcrumb a {
    color: #666;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 400;
    position: relative;
    display: inline-block;
    font-family:glacialRegular;
}

.breadcrumb a:hover {
    color: #f1b61d;
    background: rgba(241, 182, 29, 0.08);
    transform: translateY(-1px);
    text-decoration: none;
}

.breadcrumb a:focus {
    outline: 2px solid #f1b61d;
    outline-offset: 2px;
    background: rgba(241, 182, 29, 0.1);
}

/* Séparateurs */
.breadcrumb .separator {
    color: #ccc;
    font-size: 0.75rem;
    margin: 0 0.5rem;
    opacity: 0.7;
    font-weight: 300;
}

.breadcrumb.minimal {
    background: transparent;
    border-bottom: none;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb.minimal a {
    padding: 0.125rem 0.25rem;
    font-size: 0.8125rem;
}

.breadcrumb.minimal .current {
    background: transparent;
    border-left: 2px solid #f1b61d;
    padding-left: 0.5rem;
    padding-right: 0;
    font-family:glacialRegular;
}

.breadcrumb.minimal .separator {
    margin: 0 0.375rem;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*style page */
.page-header{display: flex;justify-content: center;background:#1C1C1C;padding:10px;border-radius:18px}
.page-header h1{font-size:28px;font-family:glacialBold;color:#f1b61d}
.page-content{display: flex;margin:25px 0;flex-direction: column;gap:15px}
.page-content h2{padding:10px 0;font-family:glacialBold;font-size:24px}
.page-content h3{padding:10px 0;font-family:glacialBold;font-size:20px}
.page-content h4{padding:10px 0;font-family:glacialBold;font-size:18px}
.page-content p{font-size:18px;color:#1C1C1C;font-family:glacialRegular}
.page-content p strong{font-size:18px;color:#f1b61d;font-family:glacialBold}
.page-content p a{font-size:18px;color:#CD7F32;font-family:glacialBold;text-decoration:underline;}
.page-content p a:hover{color:#f1b61d}
.page-content ul, .page-content ol, .solution-content-text-content ul{padding-left:30px}
.page-content ul li, .page-content ol li, .solution-content-text-content ul li{font-size:18px;color:#1C1C1C;font-family:glacialRegular}
.page-content ul li a,.page-content ol li a{font-size:18px;color:#f1b61d;font-family:glacialBold}
.nav_menu{width:100%;display:flex;align-content:center;justify-content:center;}
.nav_menu ul{display:flex;gap:15px;margin:0;}
.nav_menu ul li{list-style:none;}
.nav_menu ul li a{font-family:glacialBold;color: #fff;font-size:16px;text-decoration:none;position:relative;overflow:hidden}
.nav_menu ul li a::after {content: "";display: block;height: 3px;background-color: #f1b61D;width: 0;position: absolute;bottom: -5px;left: 0;    transition: width 0.3s ease-in-out;}

.wp-block-image{display:flex;justify-content: center;padding:8px 0}

.nav_menu ul li a:hover::after {
    width: 100%;
}

/* Styles pour les images à la une */
.featured-image-container {
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

/* Styles spécifiques pour différents types d'images */
.hero-featured-image-container {
    margin-bottom: 3rem;
    position: relative;
}

.hero-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.page-thumbnail-container, .hero-image-container {
    margin: 1rem 0 2rem 0;
}

.page-thumbnail, .hero-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.card-thumbnail-container {
    margin-bottom: 1rem;
}

.card-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

/* Styles pour les pages avec image de fond */
.page-header-with-image {
    position: relative;
    color: white;
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
}

.page-header-with-image .page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-header-with-image .page-type {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Conteneur de tableau responsive */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(28, 28, 28, 0.1);
    background: #ffffff;

    /* Scroll horizontal stylisé */
    scrollbar-width: thin;
    scrollbar-color: #f1b61d #f0f0f0;
}

/* Personnalisation de la scrollbar pour WebKit (Chrome, Safari, Edge) */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #f1b61d 0%, #ffd700 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #e0a800 0%, #f1b61d 100%);
}

/* Styles de base du tableau */
table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
}

/* En-têtes de tableau */
table thead {
    background: linear-gradient(135deg, #1C1C1C 0%, #2D2D2D 100%);
    position: relative;
}

table thead::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f1b61d 0%, #ffd700 100%);
}

table th {
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 1.5rem 1.25rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    border-right: 1px solid rgba(241, 182, 29, 0.2);
}

table th:last-child {
    border-right: none;
}

/* Cellules du corps */
table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
}

table tbody tr:hover {
    background: linear-gradient(135deg, rgba(241, 182, 29, 0.05) 0%, rgba(241, 182, 29, 0.1) 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(241, 182, 29, 0.15);
}

table tbody tr:nth-child(even) {
    background: rgba(28, 28, 28, 0.02);
}

table tbody tr:nth-child(even):hover {
    background: linear-gradient(135deg, rgba(241, 182, 29, 0.08) 0%, rgba(241, 182, 29, 0.12) 100%);
}

table td {
    padding: 1.25rem 1.25rem;
    color: #2D2D2D;
    font-size: 0.95rem;
    line-height: 1.6;
    border-right: 1px solid rgba(28, 28, 28, 0.05);
    vertical-align: middle;
}

table td:last-child {
    border-right: none;
}

/* Styles pour différents types de contenu */
table td.number {
    text-align: right;
    font-family: 'Monaco', 'Menlo', monospace;
    font-weight: 600;
    color: #1C1C1C;
}

table td.price {
    text-align: right;
    font-weight: 700;
    color: #f1b61d;
    font-size: 1.05rem;
}

table td.status {
    text-align: center;
    font-weight: 600;
}

table td.date {
    color: #666;
    font-size: 0.9rem;
}

table td.action {
    text-align: center;
}

/* Badges de statut */
.status-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active, .status-success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.status-pending, .status-warning {
    background: rgba(241, 182, 29, 0.1);
    color: #e0a800;
    border: 1px solid rgba(241, 182, 29, 0.3);
}

.status-inactive, .status-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Boutons dans les tableaux */
.table-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #f1b61d 0%, #ffd700 100%);
    color: #1C1C1C;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.table-button:hover {
    background: linear-gradient(135deg, #e0a800 0%, #f1b61d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 182, 29, 0.3);
    color: #1C1C1C;
}

.table-button.secondary {
    background: linear-gradient(135deg, #2D2D2D 0%, #1C1C1C 100%);
    color: #ffffff;
}

.table-button.secondary:hover {
    background: linear-gradient(135deg, #1C1C1C 0%, #000000 100%);
    box-shadow: 0 6px 20px rgba(28, 28, 28, 0.3);
}

/* Cellule vide ou sans contenu */
table td.empty {
    color: #999;
    font-style: italic;
    text-align: center;
}

/* Tri des colonnes */
.sortable {
    cursor: pointer;
    user-select: none;
    position: relative;
}

.sortable::after {
    content: '↕';
    position: absolute;
    right: 0.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.sortable:hover::after {
    opacity: 1;
    color: #f1b61d;
}

.sortable.ascending::after {
    content: '↑';
    opacity: 1;
    color: #f1b61d;
}

.sortable.descending::after {
    content: '↓';
    opacity: 1;
    color: #f1b61d;
}

/* Footer de tableau */
.table-footer {background: rgba(28, 28, 28, 0.02);padding: 1rem 1.25rem;border-top: 2px solid #f1b61d;font-weight: 600;color: #1C1C1C;}
/* Légendes et notes */
.table-legend {margin-top: 1rem;padding: 1rem;background: rgba(241, 182, 29, 0.05);border-left: 4px solid #f1b61d;font-size: 0.9rem;color: #2D2D2D;border-radius: 0 8px 8px 0;}
/* Tableau compact */
.table-compact table {font-size: 0.85rem;}
.table-compact table th,.table-compact table td {padding: 0.75rem 1rem;}
/* Tableau centré */
.table-centered table th,
.table-centered table td {text-align: center;}

/* Animation de chargement pour tableaux dynamiques */
.table-loading {
    position: relative;
    overflow: hidden;
}

.table-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(241, 182, 29, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Highlight pour nouvelles données */
.table-row-new {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0% { background-color: rgba(241, 182, 29, 0.3); }
    100% { background-color: transparent; }
}

/* Styles pour les listes de pages enfants avec images */
.child-pages-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    list-style: none;
    margin-top: 2rem;
}

.child-pages-list li {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.child-pages-list li:hover {
    transform: translateY(-5px);
}

.child-pages-list a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 1.2rem;
}

.child-pages-list a:hover {
    color: #007cba;
}

/* ============================================
   FORMULAIRE DE CONTACT - Version Premium
   ============================================ */

.contact-form-wrapper {
    max-width: 680px;
    margin: 50px auto;
    padding: 45px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
    color: #1c1c1c;
    margin: 0 0 35px;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

/* Groupes de champs */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: flex;
    color: #1c1c1c;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.form-group label .required {
    color: #f1b61d;
    font-weight: 600;
}

/* Champs de formulaire */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 18px;
    border: 1.5px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #1c1c1c;
    background: #fafafa;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f1b61d;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(241, 182, 29, 0.08);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231c1c1c' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    appearance: none;
}

/* Messages d'erreur */
.error-message {
    color: #e53935;
    font-size: 12px;
    margin-top: 6px;
    display: none;
    font-weight: 500;
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
    border-color: #e53935;
    background: #fff5f5;
}

.form-group.is-invalid .error-message {
    display: block;
}

/* Messages succès/erreur formulaire */
.form-message {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: none;
    font-size: 14px;
    font-weight: 500;
}

.form-message.success {
    background: #f1f8f4;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.form-message.error {
    background: #fff5f5;
    color: #c62828;
    border-left: 4px solid #e53935;
}

/* ============================================
   CHECKBOX NEWSLETTER
   ============================================ */

.checkbox-group {
    margin: 32px 0 30px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    font-size: 15px;
    color: #2c2c2c;
    font-weight: 400;
}

/* Switch container */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 46px;
    height: 24px;
    background: #ddd;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin: 0;
}

.checkbox-label input[type="checkbox"]:hover {
    background: #ccc;
}

/* Switch button */
.checkbox-label input[type="checkbox"]::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* État checked */
.checkbox-label input[type="checkbox"]:checked {
    background: #f1b61d;
}

.checkbox-label input[type="checkbox"]:checked::before {
    left: 24px;
}

.checkbox-label input[type="checkbox"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 182, 29, 0.15);
}

/* ============================================
   BOUTON D'ENVOI
   ============================================ */

.submit-group {
    margin-top: 35px;
}

.btn-submit {
    width: 100%;
    background: #f1b61d;
    color: #1c1c1c;
    padding: 16px 40px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(241, 182, 29, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover {
    background: #1c1c1c;
    color: #f1b61d;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 182, 29, 0.35);
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background: #e8e8e8;
    color: #999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/*CSS display cta*/
#mon-plugin-cta {
    position: fixed;
    z-index: 9999;
    right:0;
    top:50%;
    width:200px;
    height:200px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.3s ease;
    background-color: #1C1C1C;
}

.mon-plugin-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex: 1;
}

.mon-plugin-cta-content {
        margin-right: 0;
        text-align: center;
        padding: 0;
    }

    .mon-plugin-cta-text {
    margin: 0 0 15px 0;
    font-weight: 500;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-family: glacialRegular;
    color:#fff;
}

.mon-plugin-cta-text {
        font-size: 18px;
        margin: 0 0 12px 0;
        padding:0 10px;
        -webkit-line-clamp: 4;
    }

    .mon-plugin-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #f1b61d 0%, #ffd700 100%);
    color: #1C1C1C;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(241, 182, 29, 0.2),
                0 2px 8px rgba(28, 28, 28, 0.1);
    text-align: center;
    user-select: none;
    line-height: 1.4;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 100%;
    font-family: glacialBold;
}

/* Effet hover amélioré */
.mon-plugin-cta-button:hover {
    background: linear-gradient(135deg, #ffd700 0%, #f1b61d 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(241, 182, 29, 0.3),
                0 4px 12px rgba(28, 28, 28, 0.15);
    color: #1C1C1C;
    text-decoration: none;
}

/* Effet actif (clic) */
.mon-plugin-cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(241, 182, 29, 0.2),
                0 1px 6px rgba(28, 28, 28, 0.1);
}

.mon-plugin-cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
        max-width: 170px; /* Laisse 15px de marge de chaque côté */
        min-height: 36px;
    }
    
    /* Pour les textes très longs sur desktop */
    .mon-plugin-cta-button {
        font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    }

/* Animation de pulsation subtile pour attirer l'attention */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(241, 182, 29, 0.2),
                    0 2px 8px rgba(28, 28, 28, 0.1);
    }
    50% {
        box-shadow: 0 4px 20px rgba(241, 182, 29, 0.3),
                    0 2px 10px rgba(28, 28, 28, 0.1);
    }
}

/* Optionnel : animation sur le bouton */
.mon-plugin-cta-button {
    animation: pulse 3s infinite;
}


@media (max-width: 900px) {
    .head-section{width:100%;padding:0 10px}
    .head-section h1{font-size:30px;text-align: center;}
    .head-section p{font-size:20px;text-align: center;}
    .solution-content{flex-direction: column;align-items: center;}
    .solution-content-text{width:100%;align-items: center;}
    .solution-content-img{width:360px;height:360px;overflow: hidden;margin-top: 15px;}
    .site-branding img{width:300px;}
    .breadcrumb {padding: 0.6rem 1rem;margin-bottom: 1.5rem;font-size: 0.8125rem;border-radius: 6px 6px 0 0;}
    .breadcrumb a {padding: 0.2rem 0.375rem;}
    .breadcrumb .current {padding: 0.2rem 0.375rem;}  
    .breadcrumb .separator {margin: 0 0.375rem;}
    .breadcrumb a:first-child {
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .hero-featured-image {height: 250px;}
    .page-header-with-image .page-title {font-size: 2rem;}
    .page-header-with-image {padding: 2rem 0;}
    .table-container {margin: 1rem -1rem;border-radius: 0;box-shadow: none;border-top: 3px solid #f1b61d;border-bottom: 3px solid #f1b61d;}
    table {border-radius: 0;font-size: 0.9rem;}
    table th,table td {padding: 1rem 0.75rem;} 
    table th {font-size: 0.8rem;padding: 1rem 0.75rem;}
    .table-button {padding: 0.5rem 0.8rem;font-size: 0.8rem;}
    .table-container {margin: 1rem 0;border-radius: 8px;/* Assure que le tableau garde sa largeur minimale */min-width: 100%; }
    /* Assure une largeur minimale au tableau pour forcer le scroll */
    .table-container table {min-width: 600px; /* Ajustez selon vos besoins */}
    #mon-plugin-cta {
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        border-radius: 0;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        padding: 15px 20px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        top:inherit
    }
    .mon-plugin-cta-content {
        margin-right: 30px;
        text-align: left;
        padding: 0;
    }
    .mon-plugin-cta-text {
        font-size: 16px;
        margin: 0 0 10px 0;
        -webkit-line-clamp: 2;
    }
    .mon-plugin-cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-height: 42px;
    }

    .contact-form-wrapper {
        padding: 30px 25px;
        margin: 30px 15px;
        border-radius: 10px;
    }
    
    .contact-form-wrapper h2 {
        font-size: 24px;
        margin-bottom: 28px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Évite le zoom iOS */
        padding: 12px 16px;
    }
    
    .btn-submit {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .checkbox-label {
        font-size: 13px;
    }
    .header-top {
        padding: 16px 0;
    }
    
    .site-branding img {
        max-height: 50px;
        width:auto;
    }
    
    .header-actions {
        flex-direction: row;
        gap: 10px;
    }
    .btn-youtube > span{display: none;}
    
    .btn-contact,
    .btn-youtube {
        width: 100%;
        max-width: none;
        justify-content: center;
    }

    .btn-youtube {width:50px}
    
    .btn-contact {
        padding: 14px 20px;
        height: 52px;
    }
    
    .btn-youtube {
        height: 52px;
    }
    
    .contact-text {
        font-size: 12px;
    }
    
    .contact-text strong {
        font-size: 15px;
    }

    /*headermodif*/
    .header-top .container{flex-direction:column;gap:10px}
    /* Menu mobile */
    .header-bottom {
        border-top: none;
        background: transparent;
        position: fixed;
        top: 0;
        right: 0;
        width: auto;
        z-index: 1000;
    }
    
    .header-bottom .container {
        position: relative;
        padding: 0;
        width: auto;
    }
    
    /* Bouton burger en haut à droite */
    .menu-toggle {
        display: flex;
        align-self: flex-end;
        margin: 20px 20px 0 0;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1002;
        background: rgba(28, 28, 28, 0.9);
        padding: 15px;
        border-radius: 8px;
    }
    
    .menu-toggle.active {
        background: transparent;
    }
    
    /* Menu fullscreen */
    .nav_menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(28, 28, 28, 0.98);
        backdrop-filter: blur(20px);
        z-index: 1001;
        overflow-y: auto;
        padding: 80px 20px 40px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav_menu.active {
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1;
        animation: fadeIn 0.3s ease forwards;
    }
    
    /* Liste centrée */
    .primary-menu {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        gap: 0;
        justify-content: center;
        align-items: center;
        padding: 0;
        margin: auto;
    }
    
    .primary-menu li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        border-bottom: none;
    }
    
    .nav_menu.active .primary-menu li {
        animation: slideInUp 0.4s ease forwards;
    }
    
    /* Délais échelonnés pour l'animation */
    .nav_menu.active .primary-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav_menu.active .primary-menu li:nth-child(2) { animation-delay: 0.15s; }
    .nav_menu.active .primary-menu li:nth-child(3) { animation-delay: 0.2s; }
    .nav_menu.active .primary-menu li:nth-child(4) { animation-delay: 0.25s; }
    .nav_menu.active .primary-menu li:nth-child(5) { animation-delay: 0.3s; }
    .nav_menu.active .primary-menu li:nth-child(6) { animation-delay: 0.35s; }
    .nav_menu.active .primary-menu li:nth-child(7) { animation-delay: 0.4s; }
    
    /* Séparateurs cachés */
    .primary-menu li:not(:last-child)::after {
        display: none;
    }
    
    /* Liens centrés et plus grands */
    .primary-menu a {
        padding: 20px 30px;
        justify-content: center;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85);
        letter-spacing: 1px;
        border-bottom: 1px solid rgba(241, 182, 29, 0.1);
        width: 100%;
    }
    
    .primary-menu a:hover {
        background: rgba(241, 182, 29, 0.05);
        color: #f1b61d;
    }
    
    /* Ligne hover centrée */
    .primary-menu a::before {
        left: 50%;
        transform: translateX(-50%);
        bottom: -1px;
        height: 2px;
    }
    
    .primary-menu a:hover::before,
    .primary-menu .current-menu-item a::before {
        width: 60px;
    }
    
    /* Sous-menus */
    .primary-menu .menu-item-has-children > a::after {
        content: '+';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 24px;
        font-weight: 300;
        color: #f1b61d;
        transition: transform 0.3s ease;
    }
    
    .primary-menu .menu-item-has-children.open > a::after {
        content: '−';
    }
    
    .primary-menu .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        border-left: 2px solid rgba(241, 182, 29, 0.3);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .primary-menu .menu-item-has-children.open .sub-menu {
        max-height: 500px;
    }
    
    .primary-menu .sub-menu li {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .primary-menu .sub-menu a {
        padding: 16px 30px 16px 50px;
        font-size: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }

    .children-pages-grid{width:90%}

    /* Grille pages enfants */
    .children-pages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .child-page-thumbnail {
        height: 180px;
    }
    
    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

@media (max-width: 480px) {
    .children-pages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .child-page-thumbnail {
        height: 250px;
    }
}


/* ==========================================================================
   TEMPLATE PMI V2 — NOUVEAUX STYLES
   ========================================================================== */

/* ------------------------------------------------------------------
   RESET CONFLITS — front-page spécifique
   ------------------------------------------------------------------ */

/* Neutralise le padding de .main-content sur la front-page */
.front-page {
    padding: 0 !important;
    background: #1C1C1C;
}

/* ------------------------------------------------------------------
   HERO FRONT-PAGE
   ------------------------------------------------------------------ */

.fp-hero {
    position: relative;
    overflow: hidden;
    background: #1C1C1C;
    padding: 0;
}

/* Grille géométrique fond */
.fp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(241,182,29,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(241,182,29,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
}

/* Halo doré gauche */
.fp-hero::after {
    content: '';
    position: absolute;
    left: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(ellipse, rgba(241,182,29,0.10) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
}

.fp-hero .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.fp-hero-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 3rem;
    align-items: center;
    padding: 80px 0;
    width: 100%;
}

.fp-hero-left {
    min-width: 0;
}

.fp-hero-right {
    min-width: 0;
}

/* Badge */
.fp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(241,182,29,0.1);
    border: 1px solid rgba(241,182,29,0.3);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f1b61d;
    margin-bottom: 1.8rem;
}
.fp-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #f1b61d;
    border-radius: 50%;
    flex-shrink: 0;
    animation: fp-pulse-dot 2s ease-in-out infinite;
}
@keyframes fp-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.35; transform: scale(0.65); }
}

/* H1 */
.fp-hero-h1 {
    font-size: clamp(1.9rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.4rem;
    letter-spacing: -0.01em;
    font-family: glacialBold, sans-serif;
}
.fp-hero-h1 em {
    font-style: normal;
    color: #f1b61d;
}

/* Sous-titre */
.fp-hero-sub {
    font-family: glacialRegular, sans-serif;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 2.4rem;
    max-width: 480px;
}

/* CTAs */
.fp-cta-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.fp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f1b61d 0%, #ffd700 100%);
    color: #1C1C1C;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 30px rgba(241,182,29,0.35);
    position: relative;
    overflow: hidden;
    font-family: glacialBold, sans-serif;
}
.fp-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transition: left 0.5s ease;
}
.fp-btn-primary:hover::before { left: 100%; }
.fp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(241,182,29,0.45);
    color: #1C1C1C;
    text-decoration: none;
}

.fp-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
    letter-spacing: 0.02em;
    font-family: glacialRegular, sans-serif;
}
.fp-btn-secondary:hover { color: #f1b61d; text-decoration: none; }
.fp-btn-secondary svg { transition: transform 0.2s; }
.fp-btn-secondary:hover svg { transform: translateX(3px); }

/* Bande proof points pleine largeur */
.fp-proof-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 18px 2rem;
    background: #242424;
    border-top: 1px solid rgba(241,182,29,0.15);
    border-bottom: 1px solid rgba(241,182,29,0.15);
    flex-wrap: wrap;
}
.fp-proof-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    font-family: glacialRegular, sans-serif;
    white-space: nowrap;
}
.fp-proof-item svg { color: #f1b61d; flex-shrink: 0; }
.fp-proof-sep {
    width: 1px;
    height: 18px;
    background: rgba(241,182,29,0.2);
    flex-shrink: 0;
}

/* Carte dispositifs */
.fp-dispositifs-card {
    background: linear-gradient(135deg, #222 0%, #1a1a1a 100%);
    border: 1px solid rgba(241,182,29,0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.fp-card-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f1b61d, #ffd700, #CD7F32);
}
.fp-card-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f1b61d;
    margin-bottom: 0.8rem;
    opacity: 0.8;
    font-family: glacialBold, sans-serif;
}
.fp-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.4rem;
    line-height: 1.4;
    font-family: glacialBold, sans-serif;
}

.fp-dispositifs-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}
.fp-dispositifs-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.2s ease;
}
.fp-dispositifs-list li:hover {
    background: rgba(241,182,29,0.07);
    border-color: rgba(241,182,29,0.2);
}
.fp-disp-icon {
    width: 32px;
    height: 32px;
    background: rgba(241,182,29,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}
.fp-disp-info { flex: 1; min-width: 0; }
.fp-disp-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
    font-family: glacialBold, sans-serif;
}
.fp-disp-desc {
    font-size: 0.73rem;
    color: #b0b0b0;
    margin-top: 2px;
    font-family: glacialRegular, sans-serif;
}
.fp-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 20px;
    flex-shrink: 0;
    font-family: glacialBold, sans-serif;
}
.fp-tag-hot { background: rgba(205,127,50,0.15); color: #CD7F32; border: 1px solid rgba(205,127,50,0.3); }
.fp-tag-new { background: rgba(241,182,29,0.12); color: #f1b61d; border: 1px solid rgba(241,182,29,0.25); }

.fp-card-footer {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: glacialRegular, sans-serif;
}
.fp-card-footer svg { color: #f1b61d; opacity: 0.6; }

/* Séparateur section */
.fp-section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(241,182,29,0.15), transparent);
    margin: 0;
}

/* ------------------------------------------------------------------
   SECTION 8 DERNIERS GUIDES
   ------------------------------------------------------------------ */

.fp-last-guides {
    padding: 70px 0 0 0;
    background: #1C1C1C;
}

.fp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    gap: 1rem;
}
.fp-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f1b61d;
    margin-bottom: 0.5rem;
    font-family: glacialBold, sans-serif;
}
.fp-section-title {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-family: glacialBold, sans-serif;
}
.fp-section-title span { color: #f1b61d; }

.fp-see-all {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    white-space: nowrap;
    padding-bottom: 4px;
    font-family: glacialRegular, sans-serif;
}
.fp-see-all:hover { color: #f1b61d; text-decoration: none; }
.fp-see-all svg { transition: transform 0.2s; }
.fp-see-all:hover svg { transform: translateX(3px); }

/* Grille 4 colonnes */
.fp-articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.fp-article-card {
    background: #242424;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}
.fp-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(241,182,29,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    text-decoration: none;
}

.fp-article-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #2e2e2e;
}
.fp-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.fp-article-card:hover .fp-article-thumb img {
    transform: scale(1.05);
}
.fp-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #252525, #1e1e1e);
}
.fp-article-cat {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(241,182,29,0.92);
    color: #1C1C1C;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 20px;
    font-family: glacialBold, sans-serif;
    /* Tronquer si titre parent trop long */
    max-width: 130px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fp-article-body {
    padding: 1rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fp-article-parent {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #CD7F32;
    margin-bottom: 0.45rem;
    font-family: glacialBold, sans-serif;
}
.fp-article-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    line-height: 1.45;
    flex: 1;
    margin: 0 0 0.9rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: glacialBold, sans-serif;
    transition: color 0.2s;
}
.fp-article-card:hover .fp-article-title { color: #f1b61d; }

.fp-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.32);
    margin-top: auto;
}
.fp-article-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: glacialRegular, sans-serif;
}
.fp-article-read {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f1b61d;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.2s ease;
    font-family: glacialBold, sans-serif;
}
.fp-article-card:hover .fp-article-read {
    opacity: 1;
    transform: translateX(0);
}

/* ------------------------------------------------------------------
   PAGE PARENT — LISTE ENFANTS
   ------------------------------------------------------------------ */

.parent-children-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(241,182,29,0.15);
}
.parent-children-header {
    margin-bottom: 2rem;
}
.parent-children-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f1b61d;
    margin-bottom: 0.5rem;
    font-family: glacialBold, sans-serif;
}
.parent-children-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.02em;
    font-family: glacialBold, sans-serif;
    line-height: 1.2;
}
.parent-children-title span { color: #f1b61d; }

.parent-children-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.child-link-card {
    background: #242424;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}
.child-link-card:hover {
    transform: translateY(-3px);
    border-color: rgba(241,182,29,0.25);
    box-shadow: 0 8px 30px rgba(0,0,0,0.35);
    text-decoration: none;
}

.child-link-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #2e2e2e;
}
.child-link-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.child-link-card:hover .child-link-thumb img { transform: scale(1.04); }
.child-link-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #252525, #1e1e1e);
}

.child-link-body {
    padding: 0.9rem 1rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.child-link-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.45;
    flex: 1;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: glacialBold, sans-serif;
    transition: color 0.2s;
}
.child-link-card:hover .child-link-title { color: #f1b61d; }

.child-link-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.32);
}
.child-link-date {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: glacialRegular, sans-serif;
}
.child-link-read {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f1b61d;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
    font-family: glacialBold, sans-serif;
}
.child-link-card:hover .child-link-read { opacity: 1; transform: translateX(0); }

/* ------------------------------------------------------------------
   RESPONSIVE V2
   ------------------------------------------------------------------ */

@media (max-width: 1100px) {
    .fp-articles-grid { grid-template-columns: repeat(2, 1fr); }
    .parent-children-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .fp-hero-inner {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        padding: 50px 0;
    }
    .fp-hero-right {
        width: 100%;
        max-width: 100%;
    }
    .fp-hero-sub { max-width: 100%; }
}

@media (max-width: 640px) {
    .fp-hero-inner { padding: 36px 0 40px; }
    .fp-hero-h1 { font-size: 1.75rem; }
    .fp-badge { font-size: 10px; padding: 5px 12px; }
    .fp-cta-group { flex-direction: column; align-items: flex-start; gap: 0.9rem; }
    .fp-btn-primary { width: 100%; justify-content: center; }
    .fp-proof-bar { gap: 1rem; }
    .fp-proof-sep { display: none; }
    .fp-articles-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .parent-children-grid { grid-template-columns: 1fr; }
    .fp-last-guides { padding-top: 50px; }
    .fp-section-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

@media (max-width: 400px) {
    .fp-articles-grid { grid-template-columns: 1fr; }
}

/* Supprime tout margin/padding résiduel avant le footer sur la front-page */
.front-page .fp-last-guides,
.front-page > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.site-footer {
    margin-top: 0 !important;
}
