.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}


section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: #003262;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intro-text {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 1300px;
    margin: 0 auto 1.5rem auto;
    line-height: 1.7;
    text-align: center;
}

.p-full-width {
    max-width: 100%;
    text-align: justify;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #495057;
}

/* ==    introduction du blog    == */
.blog-intro-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.blog-intro-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.highlight {
    color: var(--highlight-color);
    font-weight: 800;
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.5rem;
    font-weight: 400;
}

.intro-main-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.intro-main-text p {
    margin-bottom: 1.5rem;
}

.intro-main-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .intro-main-text {
        font-size: 1rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .blog-intro-section {
        padding: 2rem 0;
    }

    .intro-title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/* Internal-link     */

.card-base-hover {
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.card-base-hover:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

.internal-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.internal-link:hover {
    color: var(--primary-color);
    background-color: rgba(0, 123, 255, 0.05);
}

.internal-link:hover::after {
    transform: scaleX(1);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    white-space: nowrap;
    border: 0;
    clip-path: inset(50%);
}


/* CTA Banner (Generic) */

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #29598a);
    color: var(--white-color);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
}

.cta-banner h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* Hero Section        */

.hero {
    display: flex;
    align-items: center;
    padding: clamp(1rem, 5vw, 3rem) clamp(1rem, 5vw, 2rem);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-align: left;
    color: var(--text-color-dark);
    margin-bottom: 1.2rem;
    font-weight: 600;
    max-width: 700px;
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    color: var(--text-color-dark);
}

.section-lead {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color-dark);
}

.hero-image img {
    max-width: 100%;
    width: 800px;
    height: auto;
    display: block;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 1 / 1;
}

.hero-image:hover img {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.highlight-bis {
    color: var(--accent-color);
    font-weight: 600;
}

.article-body h2 .highlight::before {
    content: "✅";
    /* L'émoji est géré ici */
    margin-right: 10px;
    display: inline-block;
}

@media (max-width: 768px) {

    .hero-content,
    .hero-image {
        flex: none;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        text-align: left;
    }

    .hero-lead {
        font-size: 1rem;
        text-align: left;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        margin: 10px 0;
    }
}

/* A propos Section       */

.about-section {
    padding: 100px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image,
.about-text {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        /* <-- La clé N°2 */
    }
}

/* ==        SECTION POURQUOI NOUS CHOISIR    == */

.why-choose {
    background-color: var(--section-bg);
    padding: 4rem 1rem;
    text-align: center;
}

.why-choose .section-title {
    margin-bottom: 1rem;
}

.why-choose .section-lead {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.7;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-item {
    background-color: var(--card-bg);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border-bottom: 4px solid var(--primary-color);
}

.why-choose-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.why-choose-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.why-choose-item h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0 0 0.75rem 0;
}

.why-choose-item p {
    font-size: 1rem;
    color: var(--text-color-light);
    line-height: 1.6;
    margin: 0;
}

/* Services Section    */
.services-section {
    padding: 60px 0;
    background-color: var(--light-color);
}

.section-header {
    margin-bottom: 40px;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--primary-color);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white-color);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.service-card:hover,
.why-choose-item:hover,
.pricing-card:hover,
.feature-item:hover {
    border-color: yellow;
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-8px);
}

.service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Contenu textuel de la carte */
.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-content p {
    margin-bottom: 1rem;
    color: var(--text-color-dark);
    line-height: 1.6;
}

.service-content ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-content ul li {
    margin-bottom: 0.5rem;
    color: var(--text-color-light);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-content ul li i {
    color: var(--primary-color);
    font-size: 1.1em;
    padding-top: 4px;
}

/* ==      SECTION NOTRE MÉTHODE (PROCESS)    == */

.process-section {
    background-color: var(--light-color);
    padding: 4rem 1rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    background-color: var(--white-color);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--border-color);
    z-index: 0;
    line-height: 1;
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border-radius: 50%;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-color-light);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
}

/* Nos convictions Page index    */
.intro-section {
    background-color: var(--section-bg);
    padding: 10px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.intro-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 25px;
    line-height: 1.3;
}

.intro-section .intro-text {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 1350px;
    margin: 0 auto 15px auto;
    line-height: 1.7;
}

.intro-section .intro-text strong {
    color: var(--text-color-dark);
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
    text-align: center;
}

.feature-item {
    background-color: var(--card-bg);
    padding: 50px 30px;
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--card-hover-shadow);
}

.feature-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    font-size: 2.8rem;
    border-radius: 50%;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.feature-item h3 {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.feature-item h3:hover {
    color: var(--primary-color);
}

.feature-item p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.feature-item:hover p {
    color: var(--text-color-dark);
}

@media (max-width: 768px) {
    .intro-section {
        padding: 80px 0;
    }

    .intro-section h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }

    .feature-item {
        padding: 40px 25px;
    }

    .feature-item i {
        width: 70px;
        height: 70px;
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {
    .intro-section h2 {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* FAQ Section         */
.faq-list {
    max-width: 1350px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 22px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #2d3748;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #edf2f7;
}

.faq-question i {
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #f7fafc;
    color: #4a5568;
    line-height: 1.6;
}

.faq-answer p {
    padding: 0 1rem 1.5rem;
    margin-bottom: 0;
    color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Style spécifique pour le lien FAQ */
.faq-link.text-center {
    margin-top: 50px;
    text-align: center;
}

.faq-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.key-takeaways {
    background: linear-gradient(135deg, rgba(73, 155, 239, 0.08), rgba(44, 111, 187, 0.1));
    border: 1px solid rgba(73, 155, 239, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.key-takeaways:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.key-takeaways h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.key-takeaways h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.key-takeaways li:hover {
    transform: translateX(5px);
    background: var(--white-color);
}

.key-takeaways li i {
    color: var(--success-color);
    font-size: 1.2rem;
    min-width: 24px;
    padding-top: 4px;
}

.expert-note {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.expert-note .expert-note-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: rgba(255, 107, 53, 0.15);
    z-index: 0;
}

.expert-note p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.social-share {
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.social-share span {
    font-weight: 600;
    font-size: 1.1rem;
}

.social-share a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-share a.facebook {
    background: #3b5998;
}

.social-share a.twitter {
    background: #000000;
}

.social-share a.linkedin {
    background: #0077b5;
}

.social-share a.link {
    background: #6c757d;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Style pour le conteneur du bouton de copie */
.copy-container {
    position: relative;
    display: inline-block;
}

/* Style pour le message de confirmation (caché par défaut) */
.copy-feedback {
    position: absolute;
    bottom: 125%;
    /* Se positionne au-dessus du bouton */
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    /* Une couleur sombre, à adapter à votre charte */
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    /* Empêche le texte de passer à la ligne */

    /* L'important : la gestion de la visibilité */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

/* Classe pour afficher le message */
.copy-feedback.visible {
    opacity: 1;
    visibility: visible;
}

.author-box {
    margin: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--section-bg), #eef2f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.author-info span {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.author-info p {
    margin: 0.75rem 0 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

.author-name {
    font-weight: 700;
    color: var(--dark-color);
}

.author-title {
    font-style: italic;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-lead {
        font-size: 1.15rem;
        padding: 1rem;
    }

    .article-body h2 {
        font-size: 1.8rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-info h4,
    .author-info span {
        text-align: center;
    }

    .featured-image-container:after {
        height: 60%;
    }
}


/* ==   SECTION LISTING DES ZONES (CAMPAGNES) == */

.region-listing-section {
    background-color: var(--section-bg);
    padding: 4rem 1rem;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.region-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.region-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-hover-shadow);
}

.region-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.region-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1.5rem 1rem 0.5rem;
}

.region-card p {
    color: var(--text-color-light);
    line-height: 1.6;
    padding: 0 1.5rem;
    flex-grow: 1;
}

.region-card .btn {
    margin: 1.5rem auto 2rem;
    width: fit-content;
}

.region-card.coming-soon {
    background-color: #f0f4f8;
    border-color: var(--accent-color);
}

.region-card.coming-soon .btn {
    background-color: var(--accent-color);
    color: var(--white-color);
    border-color: var(--accent-color);
}

.region-card.coming-soon .btn:hover {
    background-color: #d87e04;
}

.cta-simple {
    color: var(--primary-hover);
    background-color: var(--border-color);
    box-shadow: rgba(0, 0, 0, 0.07);
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

.cta-simple h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.cta-simple p {
    margin-bottom: 1rem;
}

.packs {
    color: var(--accent-color);
    font-weight: 700;
}

/* ============================================
   STYLE DES TAGS - MODERNE & ÉLÉGANT (MOTS-CLÉS)
   ============================================ */

.sidebar-widget {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.widget-title {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e2e8f0;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 2px;
}

.tag-link[href*="affichage-publicitaire"] {
    background-color: #e3f2fd;
    color: #1565c0;
    border-color: #90caf9;
}

.tag-link[href*="charente"] {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-color: #a5d6a7;
}

.tag-link[href*="campagne-affichage"] {
    background-color: #fff3e0;
    color: #ef6c00;
    border-color: #ffcc80;
}

.tag-link[href*="impression-affiches"] {
    background-color: #f3e5f5;
    color: #7b1fa2;
    border-color: #ce93d8;
}

.tag-link[href*="afficheur-professionnel"] {
    background-color: #fce4ec;
    color: #c2185b;
    border-color: #f48fb1;
}

/* Styles additionnels pour d'autres tags */
.tag-link[href*="reglementation"] {
    background-color: #e1f5fe;
    color: #01579b;
    border-color: #81d4fa;
}

.tag-link[href*="evenements"] {
    background-color: #f1f8e9;
    color: #558b2f;
    border-color: #c5e1a5;
}

.tag-link[href*="communication-locale"] {
    background-color: #fff9c4;
    color: #f57f17;
    border-color: #fff59d;
}

.tag-link[href*="graphisme"] {
    background-color: #ffebee;
    color: #c62828;
    border-color: #ef9a9a;
}

.tag-link[href*="street-marketing"] {
    background-color: #fce4ec;
    color: #880e4f;
    border-color: #f8bbd0;
}

.tag-link[href*="conseils"] {
    background-color: #eceff1;
    color: #37474f;
    border-color: #b0bec5;
}

.tag-link[href*="ecologie"] {
    background-color: #e0f2f1;
    color: #00695c;
    border-color: #80cbc4;
}

/* Variations de taille */
.tag-small {
    font-size: 12px;
    padding: 6px 12px;
}

.tag-medium {
    font-size: 14px;
    padding: 8px 16px;
}

.tag-large {
    font-size: 16px;
    padding: 10px 20px;
    font-weight: 600;
}

/* Style du widget */
.sidebar-widget {
    padding: 20px;
    background-color: #fafafa;
    border-radius: 8px;
}

.widget-title {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Option 2 : Moderne avec Ombres et Bords Arrondis */
.table-of-contents {
    background: #ffffff;
    border: 1px solid #f1f3f4;
    border-radius: 10px;
    padding: 28px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    font-family: 'Inter', system-ui, sans-serif;
}

.table-of-contents h3 {
    margin: 0 0 18px 0;
    color: var(--primary-hover);
    font-size: 1.3em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-of-contents h3::before {
    content: "📋";
    font-size: 1.1em;
}

.table-of-contents ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.table-of-contents li {
    margin-bottom: 10px;
    counter-increment: toc-counter;
    position: relative;
    padding-left: 28px;
}

.table-of-contents li::before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #f8f9fa;
    color: #6b7280;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    font-weight: 600;
    transition: all 0.3s ease;
}

.table-of-contents a {
    text-decoration: none;
    color: #374151;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    line-height: 1.4;
}

.table-of-contents a:hover {
    background: #f3f4f6;
    color: #111827;
    transform: translateX(4px);
}

.table-of-contents li:hover::before {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

/* ==*/
.agenda-banner {
    background: #f9fafc;
    border: 1px solid var(--primary-color);
    /* ton jaune */
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.agenda-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2B67A7;
    /* ton bleu */
    margin-bottom: 1rem;
}

.agenda-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.agenda-img:hover {
    transform: scale(1.03);
}

.agenda-text {
    font-size: 0.9rem;
    color: #2B3648;
    margin-bottom: 1rem;
}

/*--*/
/* Style général pour la navigation */
.page-nav-pro {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    color: #333;
}

.page-nav-pro h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-weight: 600;
}

/* Grille de navigation */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Style des cartes de navigation */
.nav-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eaeaea;
}

.nav-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.nav-card i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.nav-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: #2c3e50;
    font-weight: 600;
}

.nav-card p {
    font-size: 0.95rem;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}

/* Effet de focus pour l'accessibilité */
.nav-card:focus {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    .nav-grid {
        grid-template-columns: 1fr;
    }
}


.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-new-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #ff4d4f;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    font-weight: 500;
}

.blog-meta time::before,
.blog-meta span::before {
    font-size: 0.9em;
    margin-right: 0.5em;
    opacity: 0.8;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-color-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .blog-preview-image img {
        height: 200px;
    }

    .blog-meta {
        font-size: 0.8rem;
    }
}

/* ==   NOUVEAU HÉRO PROFESSIONNEL POUR LE BLOG   == */
.blog-hero {
    display: none;
}

.blog-hero-pro {
    background: linear-gradient(135deg, var(--primary-color) 0%, #29598a 100%);
    color: var(--white-color);
    padding: 4rem 1rem;
    margin-top: 1.2rem;
    position: relative;
    overflow: hidden;
}

.blog-hero-pro .container {
    position: relative;
    z-index: 2;
}

.decorative-shape {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -150px;
}

.shape-2 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -200px;
}

.blog-hero-title-pro {
    font-size: 3.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 
        0 3px 8px rgba(0, 0, 0, 0.25),
        0 1px 2px rgba(0, 0, 0, 0.2);
}

.highlight-bis {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 2.2rem;
    display: block; /* passe à la ligne pour un rendu plus premium */
    margin-top: 0.5rem;
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.2);
}


.section-subtitle-modern {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 400;
    color: #f1f3f4;
    max-width: 1100px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.7;
}

.blog-categories-modern {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.category-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #fffeee;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-tag.active {
    background: linear-gradient(145deg, #F8D27A, #E8B654);
    color: #0E2A47;
    border: 1px solid #F4C166;

    box-shadow:
        0 6px 18px rgba(244, 193, 102, 0.30),
        0 0 12px rgba(244, 193, 102, 0.35);
}

@media (max-width: 768px) {
    .blog-hero-title-pro {
        font-size: 2.5rem;
    }
}

/* == STYLES POUR LA STRUCTURE DE PAGE DU BLOG  == */

.blog-listing-section {
    padding: 4rem 0;
    background-color: var(--section-bg);
}

.blog-layout-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

.main-content {
    min-width: 0;
}



.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==     STYLES POUR LA GRILLE D'ARTICLES      == */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-preview {
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.blog-preview:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-preview-image {
    position: relative;
    overflow: hidden;
}

.blog-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-preview:hover .blog-preview-image img {
    transform: scale(1.05);
}

.blog-preview-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-new-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--danger-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.blog-preview-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-preview-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
    line-height: 1.4;
}

.blog-preview-content h3 a {
    text-decoration: none;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.blog-preview-content h3 a:hover {
    color: var(--primary-color);
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-meta i {
    color: var(--primary-color);
    font-size: 1.1em;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--text-color-dark);
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.blog-preview-content .btn {
    margin-top: auto;
    align-self: flex-start;
}

.blog-preview-content .btn i {
    transition: transform 0.3s ease;
}

.blog-preview-content .btn:hover i {
    transform: translateX(5px);
}

/* ==           STYLES POUR LA SIDEBAR          == */

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding-right: 10px;
}

.sidebar-widget {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.widget-search-bar form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    overflow: hidden;
}

.widget-search-bar input {
    flex-grow: 1;
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: transparent;
}

.widget-search-bar input:focus {
    outline: none;
}

.widget-search-bar button {
    border: none;
    background-color: var(--primary-color);
    color: white;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: background-color .3s;
}

.widget-search-bar button:hover {
    background-color: var(--primary-hover);
}

.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #f1f1f1;
}

.widget-list a {
   display: flex;
    justify-content: space-between;
    align-items: center;

    text-decoration: none;
    color: var(--text-color-dark);
    font-weight: 500;

    padding: 6px 10px;
    border-radius: 5px;

    transition: all 0.3s ease;
}

.widget-list a:hover {
     background-color: #f2f2f2;
    color: var(--primary-color);
}

.widget-list li.active a {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a8a 100%);
    color: white;
}

.post-count {
    font-size: 0.8rem;
    background-color: #e9ecef;
    color: var(--text-color-light);
    padding: 0.1rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
}

.widget-recent-posts a {
    flex-direction: column;
    align-items: flex-start;
}

.post-date {
    font-size: 0.8rem;
    color: var(--text-color-light);
    margin-top: 0.25rem;
}

.widget-cta {
    background-color: var(--white-color);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.widget-cta h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.widget-cta p {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-color-dark);
}

/* Ajoutez cette règle supplémentaire */
@media (max-width: 992px) {
    .blog-layout-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .main-content {
        order: 1;
    }

    .sidebar {
        order: 2;
        position: relative;
        top: 0;
        height: auto;
        max-height: none;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid var(--border-color);
    }

    /* Optionnel : Réduisez l'espacement des widgets en mobile */
    .sidebar-widget {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
}

/* ==         STYLES POUR LA PAGINATION         == */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
}

.page-item .page-link {
    position: relative;
    display: block;
    padding: .75rem 1rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--primary-color);
    background-color: var(--white-color);
    border: 1px solid var(--border-color);
    transition: all .3s ease-in-out;
    font-weight: 600;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.page-item .page-link:hover {
    z-index: 2;
    color: var(--primary-hover);
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    cursor: default;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border-color: #dee2e6;
}

/* == STYLES POUR LES ARTICLES DE BLOG (SINGLE POST) == */
.article-wrapper {
    padding: 4rem 0;
    background-color: var(--white-color);
}

.article-wrapper .blog-layout-container {
    align-items: flex-start;
}

.article-content-main {
    background-color: var(--white-color);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color);

}

@media (max-width: 768px) {
    .article-content-main {
        padding: 1.5rem;
    }
}

.article-header {
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-title {
    margin: 0 0 1.5rem;
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--text-color);
}

.article-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4a8a 100%);
    color: #e0f2f7;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(44, 111, 187, 0.2);
    transition: transform 0.2s ease;
}

.article-category-badge:hover {
    transform: translateY(-2px);
}

.highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    font-weight: 700;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--meta-color);
}



.author,
.reading-time {
    font-weight: 500;
}

time {
    font-weight: 400;
    font-style: italic;
}


.article-meta {
    margin-top: 1.5rem;
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.article-meta .separator {
    margin: 0 0.5rem;
}

.featured-image-container {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.featured-image-container img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image-container:hover img {
    transform: scale(1.03);
}

.featured-image-container:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 40%);
    pointer-events: none;
}

.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color-dark);
    max-width: 800px;
    margin: 0 auto;
}

.article-lead {
    font-size: 1.3rem;
    line-height: 1.7;
    font-weight: 500;
    color: #343a40;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: rgba(44, 111, 187, 0.05);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.article-body h2 {
    font-family: var(--font-family-heading);
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul,
.article-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    position: relative;
    list-style-type: none;
}

.article-body ol {
    counter-reset: item;
    list-style: none;
}

.article-body ol li {
    counter-increment: item;
}

.article-body hr {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

.article-body a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.article-body a:hover:after {
    width: 100%;
}

.article-body blockquote {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--section-bg);
    border-left: 4px solid var(--primary-color);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--dark-color);
    position: relative;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.article-body blockquote::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    position: absolute;
    left: 1rem;
    top: 0;
    font-size: 5rem;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.2;
}

.content-image {
    width: 100%;
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.key-takeaways {
    background: linear-gradient(135deg, rgba(73, 155, 239, 0.08), rgba(44, 111, 187, 0.1));
    border: 1px solid rgba(73, 155, 239, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.key-takeaways:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary-color);
}

.key-takeaways h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.key-takeaways h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-takeaways li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.key-takeaways li:hover {
    transform: translateX(5px);
    background: var(--white-color);
}

.key-takeaways li i {
    color: var(--success-color);
    font-size: 1.2rem;
    min-width: 24px;
    padding-top: 4px;
}

.expert-note {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 107, 53, 0.03));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}

.expert-note .expert-note-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    color: rgba(255, 107, 53, 0.15);
    z-index: 0;
}

.expert-note p {
    position: relative;
    z-index: 1;
    margin: 0;
}

.social-share {
    margin: 3rem 0 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.social-share span {
    font-weight: 600;
    font-size: 1.1rem;
}

.social-share a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--white-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.social-share a.facebook {
    background: #3b5998;
}

.social-share a.twitter {
    background: #000000;
}

.social-share a.linkedin {
    background: #0077b5;
}

.social-share a.link {
    background: #6c757d;
}

.social-share a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Style pour le conteneur du bouton de copie */
.copy-container {
    position: relative;
    display: inline-block;
}

/* Style pour le message de confirmation (caché par défaut) */
.copy-feedback {
    position: absolute;
    bottom: 125%;
    /* Se positionne au-dessus du bouton */
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    /* Une couleur sombre, à adapter à votre charte */
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    /* Empêche le texte de passer à la ligne */

    /* L'important : la gestion de la visibilité */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
}

/* Classe pour afficher le message */
.copy-feedback.visible {
    opacity: 1;
    visibility: visible;
}

.author-box {
    margin: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--section-bg), #eef2f7);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.author-info span {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.author-info p {
    margin: 0.75rem 0 0 0;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-lead {
        font-size: 1.15rem;
        padding: 1rem;
    }

    .article-body h2 {
        font-size: 1.8rem;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-info h4,
    .author-info span {
        text-align: center;
    }

    .featured-image-container:after {
        height: 60%;
    }
}

/* ==========================================================================
           Section Quiz Améliorée
           ========================================================================== */
.quiz-section {
    background-color: var(--section-bg);
    padding: 4rem 1rem;
}

.quiz-container {
    max-width: 1400px;
    margin: auto;
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    animation: fadeIn 0.7s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    text-align: center;
}

.quiz-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#quiz-title {
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: var(--white-color);
}

.quiz-header p {
    margin: 0;
    opacity: 0.9;
}

.quiz-content {
    padding: 2.5rem;
}

.quiz-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    background-color: #e9ecef;
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
}

.progress-fill {
    background-color: var(--accent-color);
    height: 100%;
    width: 0%;
    border-radius: 50px;
    transition: width 0.4s ease-in-out;
}

.progress-text {
    text-align: right;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color-light);
}

.quiz-form .question {
    display: none;
    animation: slideIn 0.5s forwards;
}

.quiz-form .question.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.question h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color-dark);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: block;
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.option:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.option input[type="radio"] {
    display: none;
}

.option input[type="radio"]:checked+.option-text {
    color: var(--primary-color);
    font-weight: 600;
}

.option.correct {
    background-color: #e9f7ec;
    border-color: var(--success-color);
    color: var(--success-color);
}

.option.incorrect {
    background-color: #fdeaea;
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.option.correct .option-text::after {
    content: " ✔";
}

.option.incorrect .option-text::after {
    content: " ✖";
}


.quiz-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.quiz-results {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.result-header h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
}

.score-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

#result-message {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}


/* Bouton "Retour en haut" */

#btnTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2B67A7 0%, #013263 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#btnTop:hover {
    background: linear-gradient(135deg, #013263 0%, #2b67a7 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#btnTop:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

#btnTop i {
    transition: transform 0.3s ease;
}

#btnTop:hover i {
    transform: scale(1.1);
}

/* Version responsive */
@media (max-width: 768px) {
    #btnTop {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    #btnTop {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 16px;
    }
}

/* Animation d'apparition douce */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#btnTop.show {
    animation: fadeInUp 0.4s ease-out;
}

/* Section Soutenir le site */
.support-section {
    padding: 40px 20px;
    background-color: #f8f9fa;
    text-align: center;
}

.support-container {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.support-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

/* Bouton principal pour l'annonce */
.support-section {
    padding: 40px 20px;
    background-color: #f4f7f6;
}

.support-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.pricing-box {
    display: flex;
    justify-content: space-around;
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
}

.price-item {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.price-tag {
    font-weight: bold;
    color: #27ae60;
    font-size: 1.2rem;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.btn-pay,
.btn-email {
    text-decoration: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-pay {
    background-color: #333;
    /* Couleur sobre pour le paiement */
    color: #fff !important;
}

.btn-pay:hover {
    background-color: #000;
}

.btn-email {
    background-color: #ffffff;
    color: #007bff !important;
    border: 2px solid #007bff;
}

.btn-email:hover {
    background-color: #007bff;
    color: #fff !important;
}

.support-note {
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

/* Styles pour la bannière de cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
    border-top: 1px solid #e0e0e0;
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cookie-banner h3 {
    margin: 0;
    color: #2c5aa0;
    font-size: 1.25rem;
}

.cookie-banner p {
    margin: 0;
    line-height: 1.5;
    color: #333;
}

.cookie-banner-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner-links a {
    color: #2c5aa0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.cookie-banner-links a:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
    flex: 1;
    min-width: 140px;
    text-align: center;
}

.cookie-btn-primary {
    background: #2c5aa0;
    color: white;
}

.cookie-btn-primary:hover {
    background: #1e3d6f;
}

.cookie-btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.cookie-btn-secondary:hover {
    background: #f0f4ff;
}

.cookie-btn-outline {
    background: transparent;
    color: #666;
    border: 1px solid #ccc;
}

.cookie-btn-outline:hover {
    background: #f5f5f5;
}

/* Modal de personnalisation */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.cookie-modal.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h2 {
    margin: 0;
    color: #2c5aa0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.cookie-modal-close:hover {
    background: #f5f5f5;
}

.cookie-modal-body {
    padding: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.cookie-category-info h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.cookie-category-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.cookie-toggle-slider {
    background-color: #2c5aa0;
}

input:checked+.cookie-toggle-slider:before {
    transform: translateX(28px);
}

.cookie-category-essential .cookie-toggle {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category-essential input {
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-banner-container {
        gap: 1rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-btn {
        min-width: 100%;
    }

    .cookie-modal-body {
        padding: 1.5rem;
    }

    .cookie-category-header {
        flex-direction: column;
        gap: 1rem;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }
}

/* partenariat blog */
.sidebar-partners {
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

.sidebar-partners h3 {
    font-family: 'Montserrat', sans-serif;
    color: #2B3648;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #013263;
    display: inline-block;
    padding-bottom: 0.2rem;
}

.partner-item {
    margin: 0.8rem 0;
}

.partner-item img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-item img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.partner-cta {
    background: #2B3648;
    color: #fff;
    border-radius: 8px;
    padding: 0.8rem;
    margin-top: 1rem;
}

.partner-cta p {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

/* Styles pour la page de tag */
.tag-header {
    background: linear-gradient(180deg, #dce9f6, #ffffff);
    padding: 3rem 2rem 2.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

.tag-badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 999px;
    /* badge pill */
    border: 1px solid #76a0f3;
    background-color: rgba(118, 160, 243, 0.1);
    color: #003262;
    /* couleur de marque */
}

.tag-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 1rem 0;
}

.tag-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

/* keyword-highlight.css */
.keyword-highlight {
    background-color: #FFF9C4;
    color: #333;
    padding: 1px 4px;
    border-radius: 3px;
    border-left: 3px solid #FFD700;
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animation subtile */
.keyword-highlight:hover {
    background-color: #FFEB3B;
    transform: translateY(-1px);
    transition: all 0.2s ease;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.9rem;
    color: #777;
}

.article-date {
    background: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
}

.article-category {
    background: #e9f7fe;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    color: #0066cc;
}

/* Amélioration des previews d'articles */
.blog-preview {
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
    margin-bottom: 1rem;
}

.blog-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.blog-preview:hover img {
    transform: scale(1.02);
}

.blog-preview h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-preview:hover h2 {
    color: var(--secondary-color);
}

.blog-preview p {
    color: var(--text-color-dark);
    line-height: 1.6;
    margin: 0.5rem 0 1rem 0;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-color-light);
    display: flex;
    gap: 1rem;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Grille des avantages */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.benefit-card {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-top: 0;
}

/* Boîte de statistiques */
.statistics-box {
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Callout box */
.callout-box {
    background: #e8f4fd;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.callout-box h4 {
    color: var(--primary-color);
    margin-top: 0;
}

/*  == */ 


