


/* ======================== */
/* Bannières existantes     */
/* ======================== */
.banner--page--content h1.d-block, .banner--page--content .d-block.h1 {
    display: block !important;
    font-size: 4rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: left !important;
    margin-bottom: 1rem !important; }

.big-text {
    text-align: left;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
    font-size: 2rem;
    line-height: 2.4rem; }

@media screen and (max-width: 992px) {
    .banner--page--content h1.d-block, .banner--page--content .d-block.h1 {
        font-size: 3.4rem !important;
        line-height: 1.3 !important; }
    .big-text {
        font-size: 1.7rem;
        line-height: 2.2rem; } }

@media screen and (max-width: 576px) {
    .banner--page--content h1.d-block, .banner--page--content .d-block.h1 {
        font-size: 2.8rem !important;
        line-height: 1.4 !important; }
    .big-text {
        font-size: 1.5rem;
        line-height: 2rem; } }

.legal-consent-container .hs-richtext {
    font-size: 12px;
    line-height: 18px; }

/* ======================== */
/* Image masquée sur mobile */
/* ======================== */
.hide-mobile {
    display: block; }

@media screen and (max-width: 767px) {
    .hide-mobile {
        display: none; } }

/* ======================== */
/* Bloc icônes (fond beige) */
/* ======================== */
.three-icons-block {
    background-color: #d0c3ab;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem; }

.three-icons-block .icon-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem; }

.three-icons-block .icon-line:last-child {
    margin-bottom: 0; }

.three-icons-block img {
    max-width: 50px;
    height: auto;
    margin-right: 1rem;
    margin-top: 4px; }

.three-icons-block .icon-text h4, .three-icons-block .icon-text .h4 {
    color: #df5f54;
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700; }

.three-icons-block .icon-text p {
    margin: 0;
    color: #333;
    font-size: 1.4rem;
    line-height: 1.6; }

@media screen and (min-width: 768px) {
    .three-icons-block .icon-text h4, .three-icons-block .icon-text .h4 {
        font-size: 2rem; }
    .three-icons-block .icon-text p {
        font-size: 1.8rem; } }

/* ======================== */
/* Section SEO texte        */
/* ======================== */
.mpa-seo-text-section {
    background-color: #f8f9fa;
    padding: 60px 0;
    border-top: 3px solid #ff5064;
    display: flex;
    justify-content: center;
    align-items: center; }

.mpa-seo-text-wrapper {
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto; }

.mpa-seo-text {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 1.6rem;
    color: #333;
    line-height: 1.8;
    text-align: left; }

.mpa-seo-text h1, .mpa-seo-text .h1 {
    font-size: 2.8rem;
    color: #222;
    font-weight: 800;
    text-align: center;
    margin-bottom: 30px; }

.mpa-seo-text h2, .mpa-seo-text .h2 {
    font-size: 2.4rem;
    color: #222;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: left; }

.mpa-seo-text h3, .mpa-seo-text .h3 {
    font-size: 2rem;
    color: #222;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 15px; }

.mpa-seo-text p {
    margin-bottom: 20px;
    font-size: 1.6rem;
    line-height: 1.8; }

.mpa-seo-text ul,
.mpa-seo-text ol {
    margin: 20px 0;
    padding-left: 40px;
    font-size: 1.6rem;
    line-height: 1.8; }

.mpa-seo-text li {
    margin-bottom: 10px; }

@media screen and (max-width: 992px) {
    .mpa-seo-text-wrapper {
        max-width: 90%; }
    .mpa-seo-text h2, .mpa-seo-text .h2 {
        font-size: 2rem; }
    .mpa-seo-text h3, .mpa-seo-text .h3 {
        font-size: 1.8rem; }
    .mpa-seo-text {
        font-size: 1.4rem;
        line-height: 1.6; } }

/* ======================== */
/* Hero image               */
/* ======================== */
.mpa-hero-image {
    position: relative;
    width: 100%;
    overflow: hidden; }

.mpa-hero-image img {
    display: block;
    width: 100%;
    height: auto; }

/* ======================== */
/* Slick Slider (logos)     */
/* ======================== */
.home--slider--nav--clients figure {
    margin: 0 15px;
    display: inline-block;
    width: 185px;
    height: 100px;
    text-align: center; }

.home--slider--nav--clients figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%); }

/* ======================== */
/* Pages shootings (H2)     */
/* ======================== */

.single--prestations h2 {
    background: #324a82;
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    padding: 1.5rem;
    position: absolute;
    text-align: right;
    top: -2.5rem;
    width: 75%;
    z-index: 1;
    font-family: "PT Sans", sans-serif;
}

@media (min-width: 768px) {
    .single--prestations h2 {
        font-size: 3rem;
        padding: 2rem;
        width: 60%;
    }
}
@media (min-width: 1024px) {
    .single--prestations h2 {
        width: 50%;
    }
}
@media (min-width: 1200px) {
    .single--prestations h2 {
        top: -2.5rem;
        font-size: 4rem;
    }
}

/* Alternance gauche/droite comme pour h3 */
.single--prestations:nth-child(even) h2 {
    right: 0;
    text-align: left;
}
.single--prestations:nth-child(odd) h2 {
    left: 0;
    text-align: right;
}

/* Empêcher le débordement
   quand le texte est trop long  sur les pages shootings */
.single--prestations--content {
    position: absolute !important;
    bottom: 0;
    left: 1.5rem;
    width: 35rem;
    height: 75%;
    display: flex;
    flex-direction: column;
    padding: 1rem 1.5rem 0; /* Réduction du padding-top */
    box-sizing: border-box;
}

/* Force visibilité de l'input checkbox */
.single--prestations--content > label {
    margin-bottom: 1rem; /* espace clair en dessous */
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

/* Scroll texte invisible */
.single--prestations--content .overflow-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    margin-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.single--prestations--content .overflow-scroll::-webkit-scrollbar {
    display: none;
}

/* Bouton fixe */
.single--prestations--content .button {
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 1rem;
}

/* ================= */
/* Formulaire en bas des articles ET sur la page blog */
main.single-post .form,
body.page-template-blog .form,
body.home .form {
    margin-top: 20rem !important;
}

/* ================= */
/* LP Lead Magnet    */
/* ================= */

/* --- HERO ------------- */
.landing-leadmagnet-hero .hero {
    padding: 96px 0 0;
    background: #fff;
}
.landing-leadmagnet-hero .hero-tag {
    display: inline-block;
    background: #fe5068;
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1.3rem;
    margin-bottom: 20px;
}
/* Typographie fluide pour h1, ajustée +10% */
.landing-leadmagnet-hero h1 {
    font-size: clamp(2.75rem, 5.5vw, 4.62rem);
    font-weight: 800;
    margin-bottom: 34px;
    line-height: 1.08;
}
.landing-leadmagnet-hero .lead {
    font-size: 2rem;
    margin-bottom: 40px;
    max-width: 800px;
}
.landing-leadmagnet-hero .landing-form {
    max-width: 500px;
    margin-top: 48px;
    text-align: left;
}
/* Form title +10% */
.landing-leadmagnet-hero .form-title {
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: bold;
    letter-spacing: 0.01em;
    text-align: left !important;
}
.landing-leadmagnet-hero input,
.landing-leadmagnet-hero button {
    font-size: 1.2rem;
    padding: 13px;
}
.landing-leadmagnet-hero .mockup {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 410px;
    border-radius: 8px;
    margin: 0 auto;
}

/* --- BENEFITS -------- */
.landing-leadmagnet .benefits-wrapper {
    margin: 20px auto 0;
    padding-bottom: 24px;
    max-width: 1200px;
}
.landing-leadmagnet .container {
    max-width: 1200px;
}
.landing-leadmagnet .benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 0;
}
.landing-leadmagnet .benefit-card {
    background: #fafafa;
    padding: 26px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    border: 1.5px solid #eee;
    transition: box-shadow .2s, border .2s;
    display: flex;
    align-items: flex-start;
    height: 100%;
}
.landing-leadmagnet .benefit-card:hover {
    border-color: #fe5068;
    box-shadow: 0 8px 30px rgba(254,80,104,0.12);
}
.landing-leadmagnet .benefit-card span {
    font-size: 1.6rem;
    color: #fe5068;
    margin-right: 14px;
    line-height: 1;
    flex-shrink: 0;
}
.landing-leadmagnet .benefit-card p {
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
}

/* ========== RESPONSIVE ========== */
@media (max-width:1200px) {
    .landing-leadmagnet-hero .lead { font-size: 1.6rem; }
    .landing-leadmagnet .benefit-card p { font-size: 1.8rem; }
    .landing-leadmagnet .benefit-card span { font-size: 1.8rem; }
    .landing-leadmagnet .benefits { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width:1024px) {
    /* tablette paysage – h1 +10% */
    .landing-leadmagnet-hero h1 { font-size: 3.96rem; }
}

@media (max-width:900px) {
    .landing-leadmagnet-hero .hero { padding: 54px 0 0; }
    .landing-leadmagnet-hero h1 { font-size: 3.08rem; }
    .landing-leadmagnet-hero .lead { font-size: 1.2rem; }
    .landing-leadmagnet .benefits { gap: 20px; }
}

@media (max-width:768px) {
    /* tablette portrait – h1 +10% */
    .landing-leadmagnet-hero h1 { font-size: 3.52rem; }
}

@media (max-width:700px) {
    .landing-leadmagnet-hero .row.align-items-center { flex-direction: column; }
    .landing-leadmagnet-hero .mockup { max-width: 98vw; margin: 16px auto; }
    .landing-leadmagnet-hero .landing-form { max-width: 100%; }
    .landing-leadmagnet .benefits { grid-template-columns: 1fr; gap: 14px; }
    .landing-leadmagnet .benefit-card { padding: 20px 10px; }
}

@media (max-width:600px) {
    /* smartphone grand – h1 +10% */
    .landing-leadmagnet-hero h1 { font-size: 3.08rem; }
}

@media (max-width:480px) {
    /* petit smartphone – h1 +10% */
    .landing-leadmagnet-hero h1 { font-size: 2.75rem; }
    .landing-leadmagnet-hero .lead { font-size: .97rem; }
    .landing-leadmagnet .benefit-card p { font-size: 1.5rem; }
}

/* ===== Skeleton loader & CLS fix ===== */
/* ===== Skeleton loader & CLS fix ===== */
.hs-form-container {
    /* réserve toujours un espace minimal */
    min-height: 500px;
    position: relative;
}

/* Disposition en colonne, espace entre items */
.form-skeleton {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 0 15px; /* même padding que ton form final */
    box-sizing: border-box;
    z-index: 1;
}

/* styles communs à chaque placeholder */
.skeleton-item {
    background: #eee;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* shimmer animation */
.skeleton-item::after {
    content: '';
    position: absolute;
    top: 0; left: -150px;
    width: 150px; height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.6),
            transparent
    );
    animation: shimmer 1.2s infinite;
}
@keyframes shimmer {
    0%   { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* champ de saisie : hauteur équivalente */
.skeleton-field {
    height: 52px;   /* approximativement la hauteur de tes inputs */
}

/* bouton : plus court et centré */
.skeleton-button {
    height: 45px;            /* proche de ton bouton réel */
    width: 40%;              /* ajustable */
    margin: 0 auto;          /* centre le placeholder */
}

/* une fois le vrai form chargé, on remplace le skeleton */
.hs-form-wrapper {
    position: relative;
    z-index: 2;
}

/* utilitaire accessibilité */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/*
 * CSS pour la page Ressources MyPhotoAgency
 * À copier-coller dans Apparence > Personnaliser > CSS additionnel
 * 
 * Inclut :
 * - Import Tailwind CDN
 * - Styles spécifiques pour chaque section
 * - Responsive design
 * - Animations et transitions
 */

/* ========================================
   1. IMPORT TAILWIND CDN
======================================== */
@import url('https://cdn.tailwindcss.com');

/* ========================================
   2. VARIABLES CSS CUSTOM
======================================== */
:root {
    --primary-blue: #2563eb;
    --primary-blue-hover: #1d4ed8;
    --primary-blue-light: #3b82f6;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-600: #16a34a;
    --green-800: #166534;
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-600: #dc2626;
    --red-800: #991b1b;
    --yellow-100: #fef3c7;
    --yellow-800: #92400e;
    --purple-100: #f3e8ff;
    --purple-800: #6b21a8;
    --orange-100: #fed7aa;
    --orange-800: #9a3412;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --transition-colors: color 150ms cubic-bezier(0.4, 0, 0.2, 1), background-color 150ms cubic-bezier(0.4, 0, 0.2, 1), border-color 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-shadow: box-shadow 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-transform: transform 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   3. UTILITAIRES DE BASE
======================================== */

/* Container responsive */
.page-template-page-ressources .container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .page-template-page-ressources .container {
        max-width: 640px;
    }
}

@media (min-width: 768px) {
    .page-template-page-ressources .container {
        max-width: 768px;
    }
}

@media (min-width: 1024px) {
    .page-template-page-ressources .container {
        max-width: 1024px;
    }
}

@media (min-width: 1280px) {
    .page-template-page-ressources .container {
        max-width: 1280px;
    }
}

/* Utilitaires de troncature de texte */
.page-template-page-ressources .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-template-page-ressources .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   4. HERO SECTION
======================================== */

/* Hero container */
.page-template-page-ressources .bg-gradient-to-br {
    background: linear-gradient(to bottom right, var(--blue-50), #e0e7ff);
    padding: 4rem 0;
}

.page-template-page-ressources .hero-title {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .page-template-page-ressources .hero-title {
        font-size: 3rem;
        line-height: 1;
    }
}

.page-template-page-ressources .hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--gray-600);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Statistiques hero */
.page-template-page-ressources .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .page-template-page-ressources .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.page-template-page-ressources .hero-stat {
    text-align: center;
}

.page-template-page-ressources .hero-stat-number {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .page-template-page-ressources .hero-stat-number {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
}

.page-template-page-ressources .hero-stat-label {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: var(--gray-600);
}

/* Boutons CTA hero */
.page-template-page-ressources .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .page-template-page-ressources .hero-cta {
        flex-direction: row;
    }
}

.page-template-page-ressources .hero-cta .btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
    display: inline-block;
}

.page-template-page-ressources .hero-cta .btn-primary:hover {
    background-color: var(--primary-blue-hover);
}

.page-template-page-ressources .hero-cta .btn-secondary {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
    display: inline-block;
}

.page-template-page-ressources .hero-cta .btn-secondary:hover {
    background-color: var(--blue-50);
}

/* ========================================
   5. SECTION FILTRES ET RECHERCHE
======================================== */

.page-template-page-ressources #ressources {
    padding: 3rem 0;
}

.page-template-page-ressources .section-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Barre de recherche */
.page-template-page-ressources .search-container {
    max-width: 28rem;
    margin: 0 auto 2rem auto;
    position: relative;
}

.page-template-page-ressources #search-resources {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition-colors);
}

.page-template-page-ressources #search-resources:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.page-template-page-ressources .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gray-400);
    pointer-events: none;
}

/* Filtres par catégorie */
.page-template-page-ressources .filters-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.page-template-page-ressources .filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 2px solid var(--primary-blue);
    font-weight: 600;
    transition: var(--transition-colors);
    cursor: pointer;
    background: none;
    font-size: 1rem;
}

.page-template-page-ressources .filter-btn:not(.active) {
    color: var(--primary-blue);
    background-color: white;
}

.page-template-page-ressources .filter-btn:not(.active):hover {
    background-color: var(--blue-50);
}

.page-template-page-ressources .filter-btn.active {
    background-color: var(--primary-blue);
    color: white;
}

.page-template-page-ressources .filter-btn.active:hover {
    background-color: var(--primary-blue-hover);
}

/* Compteur de résultats */
.page-template-page-ressources #results-count {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* ========================================
   6. GRILLE DES RESSOURCES
======================================== */

.page-template-page-ressources #resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .page-template-page-ressources #resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .page-template-page-ressources #resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Cards ressources */
.page-template-page-ressources .resource-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-shadow);
    position: relative;
}

.page-template-page-ressources .resource-card:hover {
    box-shadow: var(--shadow-lg);
}

.page-template-page-ressources .resource-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: var(--transition-transform);
}

.page-template-page-ressources .resource-card:hover img {
    transform: scale(1.05);
}

/* Badges sur les images */
.page-template-page-ressources .resource-card .absolute {
    position: absolute;
}

.page-template-page-ressources .resource-card .top-4 {
    top: 1rem;
}

.page-template-page-ressources .resource-card .left-4 {
    left: 1rem;
}

.page-template-page-ressources .resource-card .right-4 {
    right: 1rem;
}

/* Badges catégories */
.page-template-page-ressources .badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    border-radius: 9999px;
}

.page-template-page-ressources .bg-purple-100 {
    background-color: var(--purple-100);
    color: var(--purple-800);
}

.page-template-page-ressources .bg-green-100 {
    background-color: var(--green-100);
    color: var(--green-600);
}

.page-template-page-ressources .bg-blue-100 {
    background-color: var(--blue-100);
    color: var(--primary-blue);
}

.page-template-page-ressources .bg-orange-100 {
    background-color: var(--orange-100);
    color: var(--orange-800);
}

.page-template-page-ressources .bg-yellow-100 {
    background-color: var(--yellow-100);
    color: var(--yellow-800);
}

/* Contenu des cards */
.page-template-page-ressources .resource-card .p-6 {
    padding: 1.5rem;
}

.page-template-page-ressources .resource-card h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.page-template-page-ressources .resource-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Tags */
.page-template-page-ressources .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.page-template-page-ressources .tag {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background-color: var(--gray-100);
    color: var(--gray-600);
    border-radius: 0.25rem;
}

/* Métadonnées */
.page-template-page-ressources .metadata {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.page-template-page-ressources .metadata svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* Boutons CTA cards */
.page-template-page-ressources .card-actions {
    display: flex;
    gap: 0.75rem;
}

.page-template-page-ressources .card-actions .btn-download {
    flex: 1;
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .card-actions .btn-download:hover {
    background-color: var(--primary-blue-hover);
}

.page-template-page-ressources .card-actions .btn-more {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .card-actions .btn-more:hover {
    background-color: var(--gray-50);
}

/* Message aucun résultat */
.page-template-page-ressources #no-results {
    text-align: center;
    padding: 3rem 0;
    grid-column: 1 / -1;
}

.page-template-page-ressources #no-results svg {
    width: 4rem;
    height: 4rem;
    color: var(--gray-400);
    margin: 0 auto 1rem auto;
}

.page-template-page-ressources #no-results h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.page-template-page-ressources #no-results p {
    color: var(--gray-600);
}

/* ========================================
   7. SECTION BLOG
======================================== */

.page-template-page-ressources .blog-section {
    padding: 4rem 0;
    background-color: var(--gray-50);
}

.page-template-page-ressources .blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .page-template-page-ressources .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.page-template-page-ressources .blog-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-shadow);
}

.page-template-page-ressources .blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.page-template-page-ressources .blog-card img {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    transition: var(--transition-transform);
}

.page-template-page-ressources .blog-card:hover img {
    transform: scale(1.05);
}

.page-template-page-ressources .blog-card .p-6 {
    padding: 1.5rem;
}

.page-template-page-ressources .blog-card h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.page-template-page-ressources .blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .blog-card h3 a:hover {
    color: var(--primary-blue);
}

.page-template-page-ressources .blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.page-template-page-ressources .blog-cta {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .blog-cta:hover {
    color: var(--primary-blue-hover);
}

.page-template-page-ressources .blog-cta svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.25rem;
}

.page-template-page-ressources .blog-all-link {
    text-align: center;
}

.page-template-page-ressources .blog-all-link a {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .blog-all-link a:hover {
    background-color: var(--primary-blue-hover);
}

.page-template-page-ressources .blog-all-link svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
}

/* ========================================
   8. SECTION NEWSLETTER
======================================== */

.page-template-page-ressources #newsletter {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .page-template-page-ressources #newsletter {
        padding: 3rem;
    }
}

.page-template-page-ressources .newsletter-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--blue-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
}

.page-template-page-ressources .newsletter-icon svg {
    width: 2rem;
    height: 2rem;
    color: var(--primary-blue);
}

.page-template-page-ressources .newsletter-title {
    font-size: 1.5rem;
    line-height: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .page-template-page-ressources .newsletter-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
}

.page-template-page-ressources .newsletter-description {
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    text-align: center;
}

/* Formulaire newsletter */
.page-template-page-ressources #newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 28rem;
    margin: 0 auto 1.5rem auto;
}

@media (min-width: 640px) {
    .page-template-page-ressources #newsletter-form {
        flex-direction: row;
    }
}

.page-template-page-ressources #newsletter-email {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: var(--transition-colors);
}

.page-template-page-ressources #newsletter-email:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.page-template-page-ressources #newsletter-form button {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-colors);
    white-space: nowrap;
}

.page-template-page-ressources #newsletter-form button:hover {
    background-color: var(--primary-blue-hover);
}

.page-template-page-ressources #newsletter-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Messages newsletter */
.page-template-page-ressources .newsletter-message {
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.page-template-page-ressources #newsletter-success {
    background-color: var(--green-50);
    border: 1px solid var(--green-100);
}

.page-template-page-ressources #newsletter-success svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-600);
    margin-right: 0.5rem;
}

.page-template-page-ressources #newsletter-success span {
    color: var(--green-800);
    font-weight: 500;
}

.page-template-page-ressources #newsletter-error {
    background-color: var(--red-50);
    border: 1px solid var(--red-100);
}

.page-template-page-ressources #newsletter-error svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--red-600);
    margin-right: 0.5rem;
}

.page-template-page-ressources #newsletter-error span {
    color: var(--red-800);
    font-weight: 500;
}

.page-template-page-ressources .newsletter-legal {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-align: center;
}

.page-template-page-ressources .newsletter-legal a {
    color: var(--primary-blue);
    text-decoration: none;
}

.page-template-page-ressources .newsletter-legal a:hover {
    text-decoration: underline;
}

/* ========================================
   9. SECTION FAQ
======================================== */

.page-template-page-ressources .faq-section {
    padding: 4rem 0;
}

.page-template-page-ressources .faq-container {
    max-width: 64rem;
    margin: 0 auto;
}

.page-template-page-ressources .faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-template-page-ressources .faq-title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-template-page-ressources .faq-subtitle {
    font-size: 1.25rem;
    line-height: 1.75rem;
    color: var(--gray-600);
}

/* Accordéon FAQ */
.page-template-page-ressources .faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-template-page-ressources .faq-item {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.page-template-page-ressources .faq-toggle {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-colors);
}

.page-template-page-ressources .faq-toggle:hover {
    background-color: var(--gray-50);
}

.page-template-page-ressources .faq-toggle:focus {
    outline: none;
    background-color: var(--gray-50);
}

.page-template-page-ressources .faq-question {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    padding-right: 1rem;
}

.page-template-page-ressources .faq-icon {
    flex-shrink: 0;
}

.page-template-page-ressources .faq-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--gray-500);
    transition: var(--transition-transform);
}

.page-template-page-ressources .faq-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.625;
}

.page-template-page-ressources .faq-content.hidden {
    display: none;
}

/* Animation pour l'accordéon */
.page-template-page-ressources .faq-content {
    transition: all 0.3s ease;
}

/* Contact FAQ */
.page-template-page-ressources .faq-contact {
    margin-top: 3rem;
    text-align: center;
}

.page-template-page-ressources .faq-contact-box {
    background-color: var(--blue-50);
    border-radius: 0.5rem;
    padding: 2rem;
}

.page-template-page-ressources .faq-contact h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.page-template-page-ressources .faq-contact p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.page-template-page-ressources .faq-contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .page-template-page-ressources .faq-contact-actions {
        flex-direction: row;
    }
}

.page-template-page-ressources .faq-contact-actions a {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-colors);
}

.page-template-page-ressources .faq-contact-actions .btn-contact {
    background-color: var(--primary-blue);
    color: white;
}

.page-template-page-ressources .faq-contact-actions .btn-contact:hover {
    background-color: var(--primary-blue-hover);
}

.page-template-page-ressources .faq-contact-actions .btn-email {
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    background-color: white;
}

.page-template-page-ressources .faq-contact-actions .btn-email:hover {
    background-color: var(--blue-50);
}

/* ========================================
   10. ANIMATIONS ET TRANSITIONS
======================================== */

/* Animation smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animation fade-in pour les cards */
.page-template-page-ressources .resource-card,
.page-template-page-ressources .blog-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation pour les boutons */
.page-template-page-ressources .filter-btn,
.page-template-page-ressources .btn-primary,
.page-template-page-ressources .btn-secondary,
.page-template-page-ressources .btn-download,
.page-template-page-ressources .btn-more {
    transform: translateY(0);
    transition: var(--transition-colors), transform 0.2s ease;
}

.page-template-page-ressources .filter-btn:hover,
.page-template-page-ressources .btn-primary:hover,
.page-template-page-ressources .btn-secondary:hover,
.page-template-page-ressources .btn-download:hover,
.page-template-page-ressources .btn-more:hover {
    transform: translateY(-2px);
}

/* Animation pour les icônes FAQ */
.page-template-page-ressources .faq-icon-plus,
.page-template-page-ressources .faq-icon-minus {
    transition: var(--transition-transform);
}

.page-template-page-ressources .faq-toggle[aria-expanded="true"] .faq-icon-plus {
    transform: rotate(45deg);
}

/* ========================================
   11. ÉTATS FOCUS ET ACCESSIBILITÉ
======================================== */

/* Focus states pour l'accessibilité */
.page-template-page-ressources .filter-btn:focus,
.page-template-page-ressources .faq-toggle:focus,
.page-template-page-ressources #search-resources:focus,
.page-template-page-ressources #newsletter-email:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* États disabled */
.page-template-page-ressources .filter-btn:disabled,
.page-template-page-ressources button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   12. UTILITAIRES RESPONSIVE
======================================== */

/* Masquer sur mobile */
@media (max-width: 767px) {
    .page-template-page-ressources .hidden-mobile {
        display: none !important;
    }
}

/* Masquer sur desktop */
@media (min-width: 768px) {
    .page-template-page-ressources .hidden-desktop {
        display: none !important;
    }
}

/* Texte responsive */
@media (max-width: 640px) {
    .page-template-page-ressources .hero-title {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }

    .page-template-page-ressources .section-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .page-template-page-ressources .faq-title {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .page-template-page-ressources .newsletter-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
}

/* ========================================
   13. PRINT STYLES
======================================== */

@media print {
    .page-template-page-ressources .hero-cta,
    .page-template-page-ressources .filters-container,
    .page-template-page-ressources #newsletter,
    .page-template-page-ressources .card-actions {
        display: none;
    }

    .page-template-page-ressources .resource-card,
    .page-template-page-ressources .blog-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid var(--gray-300);
    }
}

/* ========================================
   14. DARK MODE SUPPORT (OPTIONNEL)
======================================== */

@media (prefers-color-scheme: dark) {
    .page-template-page-ressources {
        /* Variables pour le mode sombre */
        --gray-50: #1f2937;
        --gray-100: #374151;
        --gray-200: #4b5563;
        --gray-300: #6b7280;
        --gray-600: #d1d5db;
        --gray-700: #e5e7eb;
        --gray-800: #f3f4f6;
        --gray-900: #f9fafb;
    }
}

/* ========================================
   15. CORRECTIONS ET OVERRIDES
======================================== */

/* Correction pour les classes Tailwind qui pourraient ne pas se charger */
.page-template-page-ressources .hidden {
    display: none !important;
}

.page-template-page-ressources .flex {
    display: flex;
}

.page-template-page-ressources .grid {
    display: grid;
}

.page-template-page-ressources .block {
    display: block;
}

.page-template-page-ressources .inline-block {
    display: inline-block;
}

.page-template-page-ressources .inline-flex {
    display: inline-flex;
}

/* Espacement pour les éléments WordPress */
.page-template-page-ressources .wp-block-group {
    margin-bottom: 2rem;
}

.page-template-page-ressources .wp-block-separator {
    margin: 2rem 0;
    border-color: var(--gray-200);
}

/* Correction pour les images WordPress */
.page-template-page-ressources .wp-post-image {
    width: 100%;
    height: auto;
}

/* ========================================
   FIN DU CSS
======================================== */