/* Service cards page index */
.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;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: rgba(73, 155, 239, 0.5);
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-8px);
}

.service-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.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;
}

/* Feature items dans la page A-propos */
.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;
    text-align: center;
}

.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: #007bff;
    color: #f8fafc;
    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);
}

/* Region cards */

.region-listing-section {
    padding: 5rem 0;
    background-color: #f8fafc;
    /* Fond très léger pour se détacher */
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--primary-color);
    background-color: var(--primary-light);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-color-light);
    line-height: 1.6;
}

/* === Grille === */
.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* === Carte === */
.region-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.region-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-hover-shadow);
}

/* Image */
.card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.region-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

/* Contenu */
.card-content {
    padding: 1.75rem 1.75rem 1rem 1.75rem;
    flex-grow: 1;
}

.card-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.card-department {
    font-weight: 500;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.card-description {
    color: var(--text-color-light);
    line-height: 1.6;
    margin: 0.75rem 0 0 0;
    font-size: 0.95rem;
}

.card-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer et Bouton */
.card-footer {
    padding: 1rem 1.75rem 1.75rem 1.75rem;
    margin-top: auto;
}

.region-card .btn {
    margin: 0;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: 1px solid transparent;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-icon {
    transition: transform 0.2s ease;
}

.btn-secondary:hover .btn-icon {
    transform: translateX(4px);
}

/* Petite touche: bordure colorée en haut */
.region-card {
    position: relative;
}

.region-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ffb347);
    /* Dégradé optionnel */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.region-card:hover::after {
    opacity: 1;
}

/* Blog preview cards page bog/index */
.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,
.service-img img {
    aspect-ratio: 3 / 2;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.blog-preview:hover .blog-preview-image img {
    transform: scale(1.05);
}

.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);
}

/* Guarantee cards */
.guarantee-card {
    padding: 2rem 1.5rem;
    background-color: var(--white-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.guarantee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.guarantee-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.guarantee-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.guarantee-text {
    color: var(--text-color);
    font-size: 1rem;
}

/* Partner item */
.partner-item {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.partner-item img {
    max-width: 150px;
    max-height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-item:hover img {
    filter: grayscale(0%);
}

.partner-item h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.partner-item p {
    flex-grow: 1;
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--text-color-light);
}

.partner-item a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.partner-item a:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* ==========================================================================
   GRILLES (GRIDS)
   ========================================================================== */
.services-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.why-choose-grid,
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.region-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* --------------------------------------------------------------------------
 
   1. FAQ SUR LA PAGE D'ACCUEIL (index.html)
   Utilise le sélecteur parent ".faq-section"
-------------------------------------------------------------------------- 
*/
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-header h2 .highlight {
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-color-light);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* ==========================================================================
   FAQ - BASE COMMUNE (utilisée sur index.html et faq.html)
   ========================================================================== */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: var(--white-color);
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color-dark);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.faq-chevron {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    background: #f7fafc;
    padding: 0 1.5rem;
    box-sizing: content-box;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    /* valeur arbitraire grande, sera ajustée par JS */
    padding: 1rem 1.5rem 2rem;
}

.faq-answer p,
.faq-answer ul {
    margin-bottom: 0.8rem;
    color: var(--text-color-dark);
    line-height: 1.8;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   FAQ SUR LA PAGE D'ACCUEIL (section .faq-section)
   ========================================================================== */
.faq-section .faq-container {
    max-width: 900px;
    margin: 2rem auto 0;
    background: var(--white-color);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.faq-section .faq-question-text svg {
    width: 24px;
    height: 24px;
    color: #003262;
}

/* ==========================================================================
   FAQ SUR LA PAGE DÉDIÉE (section .faq-page-section)
   ========================================================================== */
.faq-page-section {
    padding: 2rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.faq-page-section .faq-category-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-page-section .faq-list {
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-page-section .faq-question {
    font-weight: 600;
    /* un peu plus appuyé */
}

/* ==========================================================================
   TABLE DES MATIÈRES (TOC) - propre à faq.html
   ========================================================================== */
.demo-section {
    margin-bottom: 4rem;
    text-align: center;
}

.faq-toc {
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-toc .toc-title {
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.faq-toc ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.faq-toc a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--white-color);
    color: var(--primary-color);
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-toc a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 12px rgba(43, 103, 167, 0.2);
    border-color: var(--primary-color);
}

/* Responsive TOC */
@media (max-width: 768px) {
    .faq-toc ul {
        flex-direction: column;
        align-items: stretch;
    }

    .faq-toc a {
        justify-content: center;
    }
}

/*  ==  */
.faq-cta {
    background: #f5f7fa;
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.faq-cta .title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 15px;
}

.faq-cta .footer-description {
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 25px auto;
    line-height: 1.6;
}

.faq-cta .btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.faq-cta .btn-white {
    background: #ffffff;
    color: #003262;
    border: 2px solid #003262;
}

.faq-cta .btn-white:hover {
    background: #003262;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-cta {
        padding: 40px 20px;
    }

    .faq-cta .title {
        font-size: 1.3rem;
    }
}

/* ==========================================================================
   STYLES POUR LES EN-TÊTES DE PAGE (COMME SUR LA FAQ)
   ========================================================================== */
.page-header {
    padding: 80px 20px;
    margin-top: 1.1rem;
    text-align: center;
    background: linear-gradient(135deg, #1a3a6c, #2c5282);
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,128L48,138.7C96,149,192,171,288,186.7C384,203,480,213,576,197.3C672,181,768,139,864,128C960,117,1056,139,1152,154.7C1248,171,1344,181,1392,186.7L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .section-title {
    color: white !important;
}

.page-header .section-subtitle {
    color: white;
    opacity: 0.9;
}

/* ==========================================================================
   TYPOGRAPHIE & SECTIONS
   ========================================================================== */
.section-title,
.hero-title-section {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.hero-title-section {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.section-subtitle,
.hero-subtitle-section {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text-color-light);
    margin-bottom: 2rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-description {
    font-size: 1.1rem;
    text-align: center;
    color: var(--primary-color);
    max-width: 900px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.10rem;
    text-align: center;
    font-weight: 1200;
    color: #4a5568;
    margin-bottom: 20px;
    line-height: 1.4;
}

.description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #718096;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.internal-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.internal-link:hover {
    color: #419aff;
}

/* Hero-section */
.hero {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 70vh;
}

.hero-content {
    flex: 1.2;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    text-align: left;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--secondary-color);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
    color: var(--text-color-light);
}

.hero-subtitle {
    font-size: 1.2rem;
    text-align: left;
    color: white;
    margin-bottom: 1.2rem;
    font-weight: 500;
    max-width: 700px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .top-bar .contact-info {
        display: none;
    }
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-title,
    .hero-subtitle,
    .hero-lead {
        text-align: center;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-items {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
        transition: right .4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
        padding: calc(var(--header-height) + 1rem) 2rem 2rem;
        overflow-y: auto;
    }

    .nav-items.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: left;
    }

    .nav-cta {
        margin: 1rem 0 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    html {
        font-size: 16px;
    }

    .top-bar {
        display: block;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .contopbar {
        justify-content: center;
    }

    .top-bar-left {
        gap: 1rem;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .top-bar-right {
        justify-content: center;
    }

    .promo-text {
        font-size: 0.9rem;
        padding: 0.2rem 0.6rem;
    }

    .logo-container picture,
    .logo-container img {
        height: 50px;
    }
}

@media (max-width: 480px) {
    .top-bar {
        font-size: 0.75rem;
    }

    .promo-text {
        font-size: 0.8rem;
    }

    .navbar-container {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   BADGES
   ========================================================================== */
.badge-section {
    display: inline-block;
    background: linear-gradient(135deg, #003262, #419aff);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.badge-section::before {
    content: "✨";
    margin-right: 8px;
}

.badge-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.recommended-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    animation: pulse 2s infinite;
    rotate: 10deg;
}

.blog-preview-category,
.blog-new-badge {
    position: absolute;
    top: 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-preview-category {
    right: 1rem;
}

.blog-new-badge {
    left: 1rem;
    background-color: var(--danger-color);
}

/*          STYLES POUR LA PAGE À PROPOS         */
.timeline-section {
    padding: 100px 0;
    background: var(--section-bg);
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), #e0e0e0);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--primary-color);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    top: 30px;
    left: -30px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: auto;
    right: -30px;
}

.timeline-icon:hover {
    transform: scale(1.05);
    background: var(--secondary-color);
}

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content h3 {
    margin: 15px 0 10px;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 700;
}

.timeline-content p {
    color: #003262;
    line-height: 1.6;
    margin: 0;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: violet;
    border: 3px solid white;
    border-radius: 50%;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.timeline-item:hover::after {
    background: var(--secondary-color);
    transform: translateX(-50%) scale(1.2);
}

@media screen and (max-width: 992px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
    }

    .timeline-content {
        width: 100%;
        border-left: 4px solid var(--primary-color);
        border-right: none;
    }

    .timeline-item:nth-child(even) .timeline-content {
        border-left: 4px solid var(--primary-color);
        border-right: none;
    }

    .timeline-icon {
        left: -50px;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: -50px;
        right: auto;
    }

    .timeline-item::after {
        left: 23px;
    }
}

@media screen and (max-width: 576px) {
    .timeline-section {
        padding: 60px 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        left: -40px;
    }
}

/* ==========================================================================
   Banner fin de page
   ========================================================================== */
.banner-simulateur {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin: 40px auto;
    max-width: 800px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-simulateur:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.banner-simulateur h2 {
    color: #fffffe;
    font-size: 2rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.banner-simulateur p {
    color: #fffffe;
    font-size: 1.2rem;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.btn-simulateur {
    display: inline-block;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(118, 107, 217, 0.3);
}

.btn-simulateur:hover {
    background: linear-gradient(135deg, #5649c0 0%, #8e82f0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(118, 107, 217, 0.4);
}

/* ==========================================================================
   Zone section page campagnes charente
   ========================================================================== */
.zone-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.zone-pills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.zone-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #333;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.zone-pill-item:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color, #007bff);
    color: var(--primary-color, #007bff);
    cursor: default;
}

.zone-pill-item i {
    font-size: 1.2rem;
    color: var(--secondary-color, #6c757d);
    transition: color 0.3s ease;
}

.zone-pill-item:hover i {
    color: var(--primary-color, #007bff);
}

/* Section Stats */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #003262 100%);
    position: relative;
    overflow: hidden;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.hero-title-stats {
    font-size: 2.4rem;
    text-align: center;
    color: #e5e7eb;
}

.hero-subtitle-stats {
    font-size: 1.2rem;
    color: rgba(229, 231, 235, 0.9);
    margin-bottom: 3rem;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-discover {
    display: inline-block;
    background: #ffffff;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
    display: block;
    width: fit-content;
}

.btn-discover:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.stat-item.reveal {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .stats-section {
        padding: 60px 0;
    }

    .hero-title-section {
        font-size: 2rem;
    }

    .hero-subtitle-section {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .stat-item {
        padding: 2rem 1rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.875rem;
    }

    .btn-discover {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pricing-container,
    .features-grid,
    .why-choose-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   1. SECTION TARIFS (PRICING GRID)
   Compatible avec la structure : .card-header, .card-body, .card-footer
   ========================================================================== */

 
  :root {
    --primary: #1A3A6B;
    --primary-mid: #2B67A7;
    --accent: #F4A623;
    --accent-glow: rgba(244, 166, 35, 0.25);
    --bg: #F0F4FA;
    --surface: #ffffff;
    --text: #0F1C30;
    --text-muted: #5A6A82;
    --border: rgba(26, 58, 107, 0.1);
    --radius: 20px;
  }
 

 
  /* ===== SECTION WRAPPER ===== */
  .pricing-section {
    padding: 100px 24px 120px;
    background: var(--bg);
    position: relative;
    overflow: hidden;
  }
 
  /* Decorative background blobs */
  .pricing-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(43, 103, 167, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
  .pricing-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 166, 35, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }
 
  /* ===== SECTION HEADER ===== */
  .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
    position: relative;
    z-index: 1;
  }
  .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(43, 103, 167, 0.08);
    border: 1px solid rgba(43, 103, 167, 0.15);
    color: var(--primary-mid);
    font-family: 'Syne', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
  }
  .section-eyebrow i { font-size: 0.9rem; }
  .section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 16px;
  }
  .section-title .highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
  }
  .section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent);
    opacity: 0.25;
    border-radius: 2px;
  }
  .section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
  }
 
  /* ===== CARDS GRID ===== */
  .pricing-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: end;
    position: relative;
    z-index: 1;
  }
 
  /* ===== BASE CARD ===== */
  .pricing-card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.35s ease,
                border-color 0.3s ease;
  }
  .pricing-card:not(.recommended):hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(26, 58, 107, 0.1);
    border-color: rgba(43, 103, 167, 0.25);
  }
 
  /* Subtle top accent line */
  .pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-mid), rgba(43, 103, 167, 0.2));
    opacity: 0;
    transition: opacity 0.3s;
  }
  .pricing-card:hover::before { opacity: 1; }
 
  /* ===== RECOMMENDED CARD ===== */
  .pricing-card.recommended {
    background: linear-gradient(160deg, var(--primary) 0%, #1D4E8F 100%);
    border-color: transparent;
    box-shadow: 0 32px 64px rgba(26, 58, 107, 0.28), 0 0 0 1px rgba(255,255,255,0.05);
    transform: translateY(-16px) scale(1.02);
    z-index: 2;
  }
  .pricing-card.recommended:hover {
    transform: translateY(-24px) scale(1.02);
    box-shadow: 0 40px 72px rgba(26, 58, 107, 0.35);
  }
  .pricing-card.recommended::before { display: none; }
 
  /* BADGE */
  .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #e8900d 100%);
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    box-shadow: 0 4px 16px rgba(244, 166, 35, 0.45);
  }
 
  /* ===== CARD HEADER ===== */
  .card-header {
    padding: 36px 32px 24px;
  }
 
  .pack-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(43, 103, 167, 0.08);
    border-radius: 14px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--primary-mid);
    transition: transform 0.3s;
  }
  .pricing-card:hover .pack-icon { transform: scale(1.1) rotate(-3deg); }
  .recommended .pack-icon {
    background: rgba(255,255,255,0.12);
    color: #fff;
  }
 
  .card-header h3 {
    font-family: 'Syne', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
  }
  .recommended .card-header h3 { color: #fff; }
 
  .ideal-for {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 300;
  }
  .recommended .ideal-for { color: rgba(255,255,255,0.65); }
 
  /* Divider */
  .card-divider {
    height: 1px;
    background: var(--border);
    margin: 0 -0px;
  }
  .recommended .card-divider { background: rgba(255,255,255,0.12); }
 
  /* PRICE */
  .price-block {
    margin: 24px 0 0;
  }
  .price-amount {
    font-family: 'Syne', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .recommended .price-amount { color: #fff; }
  .price-amount sup {
    font-size: 1rem;
    font-weight: 600;
    vertical-align: super;
    opacity: 0.6;
  }
  .price-ttc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 6px;
  }
  .recommended .price-ttc { color: rgba(255,255,255,0.5); }
 
  /* ===== CARD BODY ===== */
  .card-body {
    padding: 24px 32px;
    flex-grow: 1;
  }
 
  .features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .features-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0,0,0,0.04);
  }
  .features-list li:last-child { border-bottom: none; }
  .recommended .features-list li { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.08); }
 
  .check-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    color: #059669;
    font-size: 0.8rem;
    margin-top: 1px;
  }
  .recommended .check-icon {
    background: rgba(255,255,255,0.15);
    color: #fff;
  }
 
  .features-list li.featured-item {
    background: rgba(244, 166, 35, 0.08);
    border-radius: 8px;
    padding: 9px 10px;
    margin: 2px -10px;
    font-weight: 600;
    color: var(--primary);
    border-bottom: none;
  }
  .recommended .features-list li.featured-item {
    background: rgba(244, 166, 35, 0.15);
    color: #fff;
  }
  .features-list li.featured-item .check-icon {
    background: var(--accent-glow);
    color: var(--accent);
  }
 
  /* DURATION CHIP */
  .duration-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(43, 103, 167, 0.06);
    border: 1px solid rgba(43, 103, 167, 0.12);
    color: var(--primary-mid);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    margin-top: 4px;
  }
  .recommended .duration-chip {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
  }
 
  /* ===== CARD FOOTER ===== */
  .card-footer {
    padding: 24px 32px 32px;
  }
 
  .btn-pack {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
  }
  .btn-pack-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--primary);
  }
  .btn-pack-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(26, 58, 107, 0.2);
  }
  .btn-pack-accent {
    background: linear-gradient(135deg, var(--accent) 0%, #e8900d 100%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 24px rgba(244, 166, 35, 0.35);
  }
  .btn-pack-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(244, 166, 35, 0.5);
  }
  .btn-pack i { font-size: 1rem; transition: transform 0.2s; }
  .btn-pack:hover i { transform: translateX(3px); }
 
  /* ===== PRICING NOTE ===== */
  .pricing-note {
    text-align: center;
    margin-top: 56px;
    font-size: 0.92rem;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
  }
  .pricing-note a {
    color: var(--primary-mid);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(43, 103, 167, 0.3);
    padding-bottom: 1px;
    transition: border-color 0.2s, color 0.2s;
  }
  .pricing-note a:hover { color: var(--primary); border-color: var(--primary); }
 
  /* ===== RESPONSIVE ===== */
  @media (max-width: 900px) {
    .pricing-container {
      grid-template-columns: 1fr;
      max-width: 480px;
      align-items: stretch;
    }
    .pricing-card.recommended {
      transform: none;
      order: -1;
    }
    .pricing-card.recommended:hover { transform: translateY(-8px); }
    .pricing-card:not(.recommended):hover { transform: translateY(-8px); }
  }
 
  /* ===== ANIMATIONS ===== */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .pricing-card {
    animation: fadeUp 0.6s ease both;
  }
  .pricing-card:nth-child(1) { animation-delay: 0.1s; }
  .pricing-card:nth-child(2) { animation-delay: 0.2s; }
  .pricing-card:nth-child(3) { animation-delay: 0.3s; }


/* ==========================================================================
   2. SIMULATEUR DE TARIFS (FORMULAIRE + RÉSULTAT)
   ========================================================================== */
.simulator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1100px;
    margin: 40px auto;
    align-items: flex-start;
}

.simulator-form {
    flex: 1;
    min-width: 320px;
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color-dark);
}

.form-group select,
.form-group input[type="range"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #f8fafc;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group select:focus {
    border-color: var(--primary-color, #2B67A7);
    outline: none;
}

.form-help {
    font-size: 0.85rem;
    color: var(--text-color-light);
    margin-top: 0.5rem;
    display: block;
}

/* Range Input */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 5px;
    outline: none;
    padding: 0;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--white-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    cursor: pointer;
    border-radius: 50%;
    border: 3px solid var(--white-color);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.quantity-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color, #2B67A7);
    margin-top: 0.5rem;
}

.tooltip {
    position: relative;
    cursor: help;
    color: #64748b;
    margin-left: 5px;
}

.tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 10px;
    position: absolute;
    z-index: 10;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.8rem;
    width: 200px;
    font-weight: 400;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.first-order-container {
    background: rgba(254, 193, 7, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px dashed #FEC107;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.first-order-container label {
    margin-bottom: 0;
    cursor: pointer;
}

.simulateur-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    line-height: 1.5;
}

.simulateur-img {
    display: block;
    margin: 1rem auto 0;
    max-width: 200px;
    height: auto;
}

.simulator-result {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(145deg, #2B67A7, #1a4575);
    color: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(43, 103, 167, 0.25);
    position: sticky;
    top: 100px;
}

.simulator-result h3 {
    margin-top: 0;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}



/* ==========================================================================
   3. SECTION TRANSITION & NOTE
   ========================================================================== */
.transition-section {
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
   
}

.transition-section .transition-title {
    font-family: "Montserrat Alternates", sans-serif;
    font-size: 2rem;
    color: #2B3648;
    margin-bottom: 20px;
}

.transition-section .transition-title i {
    color: #FEC107;
    font-size: 1.8rem;
    vertical-align: middle;
    margin-right: 8px;
}

.transition-section .highlight {
    color: #2B67A7;
}

.transition-section .transition-text {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto 30px;
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: #64748b;
}

.pricing-note a {
    color: var(--primary-color, #2B67A7);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .pricing-card.recommended {
        transform: scale(1);
        margin-top: 20px;
    }

    .simulator-container {
        flex-direction: column;
    }

    .simulator-result {
        position: static;
        width: 100%;
    }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.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;
}

.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;
}

@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;
    }
}



.highlight-bis {
    color: var(--highlight-color);
    font-weight: 600;
}

.article-body h2 .highlight::before {
    content: "✅";
    margin-right: 10px;
    display: inline-block;
}

/* ==========================================================================
   STYLES POUR LA PAGE CONTACT
   ========================================================================== */
.section-title-contact {
    font-size: 2.5rem;
    color: red;
    margin-bottom: 1rem;
    font-weight: 700;
    text-align: center;
}

.g-section {
    font-size: 1.1rem;
    text-align: center;
    color: var(--text-color-light);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.contact-page-section {
    padding: 4rem 1rem;
    background-color: var(--section-bg);
}

.contact-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}

.contact-col-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-info-col p {
    color: var(--text-color-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.contact-details-list li:hover {
    transform: translateX(5px);
}

.contact-details-list li:last-child {
    border-bottom: none;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
    width: 24px;
}

.contact-details-list div {
    flex: 1;
}

.contact-details-list strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-details-list a {
    color: var(--text-color-dark);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-details-list a:hover {
    color: var(--primary-color);
}

.contact-details-list span {
    color: var(--text-color-dark);
    line-height: 1.5;
    font-weight: 500;
}

.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    display: block;
    border: none;
}

.contact-form-col {
    background: var(--white-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.form-container {
    max-width: 100%;
}

.form-title {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-color-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

#contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.mb-3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
}

.form-group label,
.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color-dark);
    font-size: 0.95rem;
}

.required-label::after {
    content: " *";
    color: #dc3545;
}

.form-control {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--white-color);
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(43, 103, 167, 0.1);
    transform: translateY(-1px);
}

.form-control:hover {
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.required {
    color: #dc3545;
    margin-left: 0.25rem;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: rgba(43, 103, 167, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(43, 103, 167, 0.1);
    grid-column: 1 / -1;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.25em;
    flex-shrink: 0;
    accent-color: var(--primary-color);
    cursor: pointer;
    transform: scale(1.1);
}

.form-check-label {
    margin: 0;
    cursor: pointer;
    line-height: 1.6;
    color: var(--text-color-dark);
    font-size: 0.95rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.g-recaptcha {
    grid-column: 1 / -1;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    grid-column: 1 / -1;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(43, 103, 167, 0.3);
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:active {
    transform: translateY(0);
}

.errors {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem auto;
    max-width: 800px;
    grid-column: 1 / -1;
}

.errors ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.errors li {
    color: #856404;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.errors li::before {
    content: "⚠";
    font-size: 1.2rem;
}

#live-errors {
    grid-column: 1 / -1;
}

.form-control[aria-invalid="true"] {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.guarantee-section {
    padding: 4rem 1rem;
    background: var(--white-color);
}

@media (max-width: 1200px) {
    .contact-grid-layout {
        gap: 2rem;
    }

    .contact-info-col,
    .contact-form-col {
        padding: 2rem;
    }
}

@media (max-width: 992px) {
    .contact-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-col {
        position: static;
    }

    #contact-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group.full-width,
    .mb-3,
    .form-check,
    .g-recaptcha,
    .submit-btn {
        grid-column: 1;
    }
}

@media (max-width: 768px) {
    .contact-page-section {
        padding: 2rem 1rem;
    }

    .contact-info-col,
    .contact-form-col {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .section-title-contact {
        font-size: 2rem;
    }

    .form-title,
    .contact-col-title {
        font-size: 1.5rem;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guarantee-card {
        padding: 2rem 1.5rem;
    }

    .contact-details-list li {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .contact-details-list i {
        margin-top: 0;
    }
}

@media (max-width: 480px) {

    .contact-info-col,
    .contact-form-col {
        padding: 1.25rem;
    }

    .section-title-contact {
        font-size: 1.75rem;
    }

    .form-title,
    .contact-col-title {
        font-size: 1.3rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-col[data-aos],
.contact-form-col[data-aos] {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

.contact-info-col[data-aos="fade-right"] {
    animation-name: fadeInUp;
}

.contact-form-col[data-aos="fade-left"] {
    animation-name: fadeInUp;
}

@media (prefers-reduced-motion: reduce) {

    .contact-info-col[data-aos],
    .contact-form-col[data-aos],
    .submit-btn,
    .form-control,
    .contact-details-list li {
        transition: none;
        animation: none;
    }
}

@media (prefers-color-scheme: dark) {

    .contact-info-col,
    .contact-form-col,
    .guarantee-card {
        background: var(--dark-card-bg);
        border-color: var(--dark-border-color);
    }

    .contact-col-title,
    .form-title,
    .guarantee-title {
        color: var(--dark-text-color);
    }

    .form-control {
        background: var(--dark-input-bg);
        border-color: var(--dark-border-color);
        color: var(--dark-text-color);
    }

    .form-control:focus {
        border-color: var(--primary-color);
    }
}

/* ==========================================================================
   STYLES POUR LA PAGE Affichage Grand-Angoulême
   ========================================================================== */
/* Améliorations spécifiques pour la page Grand-Angoulême */
.commune-filter {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.filter-letter {
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-letter:hover,
.filter-letter.active {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.visibility-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-left: 0.5rem;
}

.visibility-high {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.visibility-medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.visibility-low {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.location-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 24px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.location-item:hover {
    background: #f8f9fa;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.location-info {
    flex: 1;
}

.location-info h4 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

/* Badge visibilité */
.visibility-indicator {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 600;
    white-space: nowrap;
}

.visibility-high {
    background: #e6f4ea;
    color: #1e7e34;
}

/* META */
.location-meta {
    display: flex;
    gap: 18px;
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.location-meta i {
    margin-right: 6px;
    color: #adb5bd;
}

/* DESCRIPTION */
.location-desc {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
}

/* STATS */
.location-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    min-width: 180px;
    text-align: right;
}

.stat-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #343a40;
}

.stat-item i {
    color: #0d6efd;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .location-item {
        flex-direction: column;
    }

    .location-stats {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        margin-top: 12px;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: var(--card-bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(2, 92, 122, 0.409);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .filter-letters {
        gap: 0.25rem;
    }

    .filter-letter {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .location-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .location-stats {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Styles for the legal alert box */
.legal-alert {
    background-color: #f8d7da;
    /* Light red/pink */
    color: #721c24;
    /* Dark red */
    border: 1px solid #f5c6cb;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 0.95rem;
}

.legal-alert h3 {
    color: #721c24;
    margin-top: 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-alert i {
    font-size: 1.5rem;
}

.legal-alert p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-alert strong {
    color: #491217;
}

.legal-alert ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}

.legal-alert li {
    margin-bottom: 0.5rem;
}

.visibility-medium {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 12px;
    vertical-align: middle;
}

.visibility-hight {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fffff5;
    background-color: #28a745;
    border: 1px solid #1e7e34;
    border-radius: 12px;
    vertical-align: middle;
}

.visibility-low {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 12px;
    vertical-align: middle;
}