/* ===========================
   VARIABLES CSS - THÈME CLAIR
   =========================== */
:root {
    /* Couleurs de fond */
    --bg-color: #F3EFE7;
    --bg-alt: #E8E2D6;

    /* Couleurs de texte */
    --text-main: #1A1A1A;
    --text-muted: #595959;

    /* Couleurs d'accent */
    --accent: #1A1A1A;
    --accent-hover: #404040;
    --border-color: #D1CDC5;

    /* Cartes */
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);

    /* Configuration générale */
    --font-main: 'Outfit', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;

    /* Header & Footer */
    --footer-bg: #1A1A1A;
    --footer-text: #F3EFE7;
    --header-bg: #E8E2D6;
    --contact-info-bg: #1A1A1A
}


/* ===========================
   VARIABLES CSS - THÈME SOMBRE
   =========================== */
[data-theme="dark"] {
    --bg-color: #121212;
    --bg-alt: #1E1E1E;
    --text-main: #E0E0E0;
    --text-muted: #A0A0A0;
    --accent: #FFFFFF;
    --accent-hover: #CCCCCC;
    --border-color: #333333;
    --card-bg: #1E1E1E;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --card-hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --footer-bg: #1E1E1E;
    --footer-text: #E0E0E0;
    --header-bg: #1E1E1E;
    --contact-info-bg: #000000
}


/* ===========================
   BOUTON TOGGLE THÈME
   =========================== */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--text-main);
    color: var(--bg-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease
}

.theme-toggle:hover {
    transform: scale(1.1)
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round
}

/* ===========================
   RESET & BASE
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    tap-highlight-color: transparent
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 300
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease
}

ul {
    list-style: none
}

img {
    max-width: 100%;
    height: auto;
    display: block
}

/* ===========================
   LAYOUT & CONTENEURS
   =========================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px
}

.section {
    padding: 200px 0 0 0
}

.text-center {
    text-align: center
}

/* ===========================
   BOUTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent
}

.btn-primary {
    background-color: var(--text-main);
    color: var(--bg-color);
    border-color: var(--text-main)
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--text-main);
    border-color: var(--text-main)
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main)
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--bg-color)
}

.btn-block {
    display: flex;
    width: 100%
}


/* ===========================
   TAGS & LABELS
   =========================== */
.tag {
    display: inline-block;
    padding: 6px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--border-color)
}

/* ===========================
   NAVIGATION
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--header-bg);
    opacity: 0.95;
    backdrop-filter: blur(5px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.nav-links a:hover {
    color: var(--text-muted)
}

.btn-nav {
    background-color: var(--text-main);
    color: var(--bg-color) !important;
    padding: 10px 24px;
    border-radius: 0
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-main)
}

.dropdown {
    position: relative
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--header-bg);
    min-width: 280px;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.dropdown-menu li {
    list-style: none
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    color: var(--text-main);
    font-size: 0.85rem;
    transition: background-color 0.2s ease, padding-left 0.2s ease
}

.dropdown-menu a:hover {
    background-color: var(--bg-alt);
    padding-left: 32px;
    color: var(--text-main)
}


/* ===========================
   SECTION HERO
   =========================== */
.hero {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 100vh;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden
}

.hero-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2
}

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

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0
}

.hero-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-main)
}

.hero-title .highlight {
    margin-top: 1rem;
    font-style: italic;
    font-weight: 300
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 400px;
    font-weight: 300
}

.hero-subtitle strong {
    font-weight: 500;
    color: var(--text-main)
}

.hero-cta {
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer
}


/* ===========================
   CARTES DE SERVICES
   =========================== */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--border-color);
    background-color: var(--bg-alt)
}

.bordered-card {
    border-color: var(--border-color)
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--text-main)
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 500
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1rem;
    font-weight: 300
}

.service-list {
    margin-bottom: 32px;
    flex-grow: 1
}

.service-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 4px;
    height: 4px;
    background-color: var(--text-main)
}

.highlight-card {
    border-color: var(--border-color)
}

.highlight-card::after {
    content: 'NOUVEAU';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--text-main);
    color: var(--bg-color);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto
}

.btn-link:hover {
    text-decoration: underline
}

.btn-link i {
    width: 16px;
    height: 16px
}


/* ===========================
   SECTION CONTACT
   =========================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color)
}

.contact-info {
    padding: 80px;
    background-color: var(--contact-info-bg);
    color: #F3EFE7
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: #F3EFE7
}

.contact-info p {
    color: #A0A0A0;
    margin-bottom: 48px;
    font-weight: 300;
    opacity: 0.8
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #F3EFE7
}

.info-item i {
    color: #F3EFE7
}

.contact-form {
    padding: 80px
}

.form-group {
    margin-bottom: 24px
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--border-color);
    background-color: transparent;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 0;
    color: var(--text-main)
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-main);
    background-color: var(--bg-alt)
}


/* ===========================
   FOOTER
   =========================== */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px 0
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1)
}

.footer-column h4.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--footer-text);
    text-transform: uppercase;
    letter-spacing: 1px
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0
}

.footer-links li {
    margin-bottom: 12px
}

.footer-links a {
    color: var(--footer-text);
    opacity: 0.8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--footer-text);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6
}

.footer-contact-info li i {
    margin-top: 2px;
    flex-shrink: 0
}

.footer-bottom {
    text-align: center;
    /* padding-top: 20px */
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px
}

.copyright {
    color: var(--footer-text);
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0
}

.social-links {
    display: flex;
    gap: 15px
}

.social-links a {
    color: var(--footer-text);
    transition: opacity 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border: 1px solid rgba(255, 255, 255, 0.2); */
    border-radius: 50%;
    opacity: 0.8
}

.social-links a:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5)
}


/* ===========================
   LAYOUTS & GRILLES
   =========================== */
/* ===== Layout 2 Colonnes ===== */
.two-column-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 200px;
    align-items: start;
}

/* Forcer les blocs à utiliser toute la largeur disponible */
.two-column-layout .agence-grid,
.two-column-layout .agence-grid-full,
.two-column-layout .faq-section {
    max-width: 100% !important;
    width: 100%;
}

/* Override pour le texte des blocs sans image */
.two-column-layout .agence-grid-full .agence-text,
.two-column-layout .agence-text {
    max-width: 100% !important;
}


/* ===========================
   SECTION FAQ
   =========================== */
.faq-section {
    margin-bottom: 200px;
}


/* ===========================
   RESPONSIVE - MOBILE & TABLET
   =========================== */
@media (max-width:992px) {
    .hero {
        flex-direction: column-reverse;
        padding-top: 80px;
        height: auto;
        min-height: auto
    }

    .hero-content {
        padding: 40px 20px;
        width: 100%
    }

    .hero-image {
        width: 100%;
        height: 400px;
        flex: none
    }

    .hero-title {
        font-size: 2.4rem
    }

    .agence-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .agence-text {
        text-align: left;
        align-items: flex-start
    }

    .agence-text .tag {
        align-self: flex-start;
        margin-left: 0
    }

    .agence-text h2 {
        text-align: left;
        align-self: flex-start
    }

    /* Layout 2 colonnes : empiler sur mobile */
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-bottom: 200px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr
    }

    .contact-info,
    .contact-form {
        padding: 40px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left
    }

    .footer-bottom {
        text-align: center
    }

    .nav-links {
        display: none
    }

    .hamburger {
        display: block
    }

    .theme-toggle {
        bottom: 5px;
        right: 5px
    }
}

/* ===========================
   TYPOGRAPHIE DE CONTENU
   =========================== */
.service-description {
    font-weight: 300;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6
}

.service-description p {
    margin-bottom: 1.5rem;
    font-weight: 300
}

.service-description strong {
    font-weight: 500;
    color: var(--text-main)
}

.service-description em {
    font-style: italic
}

.service-description u {
    text-decoration: underline
}

.service-description s {
    text-decoration: line-through
}

.service-description ul,
.service-description ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    list-style-position: outside
}

.service-description ul {
    list-style-type: disc
}

.service-description ol {
    list-style-type: decimal
}

.service-description li {
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    font-weight: 300
}

.service-description a {
    display: inline-block;
    padding: 4px 10px;
    margin: 0 2px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.02);
    color: var(--text-main);
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none
}

.service-description a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: var(--text-main);
    transform: translateY(-1px)
}

[data-theme="dark"] .service-description a {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15)
}

[data-theme="dark"] .service-description a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--text-main)
}

.service-description .ql-indent-1 {
    padding-left: 3rem
}

.service-description .ql-indent-2 {
    padding-left: 6rem
}

.service-description .ql-indent-3 {
    padding-left: 9rem
}

.contact-info .service-description,
.contact-info .service-description p,
.contact-info .service-description span,
.contact-info .service-description div {
    color: #F3EFE7 !important;
    opacity: 0.9
}

.hero-title strong,
.section-header h2 strong,
h1 strong,
h2 strong {
    font-weight: 500
}

h1 em,
h2 em {
    font-style: italic
}

.service-description iframe.custom-video {
    margin: 1rem 0;
    height: auto;
    aspect-ratio: 16/9;
    display: block
}

.image-shadow {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.32), 0 1px 4px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(0, 0, 0, 0.28);
    border-radius: 4px
}

[data-theme="dark"] .image-shadow {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15), 0 0 40px rgba(255, 255, 255, 0.08), 0 4px 12px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2)
}

.hero {
    background-color: #ebe6dc
}

[data-theme="dark"] .hero {
    background-color: #292828
}

.dropdown-label {
    cursor: pointer;
    color: var(--text-main);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem
}

.btn-nav-desktop {
    background-color: var(--text-main) !important;
    color: var(--bg-color) !important;
    border: 2px solid var(--text-main) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none
}

.btn-nav-desktop:hover {
    background-color: transparent !important;
    color: var(--text-main) !important;
    border-color: var(--text-main) !important
}

.btn-nav-mobile {
    display: none !important
}

.btn-nav {
    background-color: var(--text-main) !important;
    color: var(--bg-color) !important;
    border: 2px solid var(--text-main) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 4px
}

.btn-mobile {
    display: none !important
}

.btn-desktop {
    display: block !important
}

.hero-cta {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
    border: none !important
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

@media (max-width:992px) {
    .btn-desktop {
        display: none !important
    }

    .btn-mobile {
        display: none !important
    }

    .hero-cta {
        flex-direction: row !important;
        flex-wrap: wrap
    }

    .nav-links {
        background-color: #1a1a1a !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 20px !important;
        position: fixed !important;
        top: 80px !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
        z-index: 999 !important
    }

    [data-theme="dark"] .nav-links {
        background-color: #1a1a1a !important
    }

    .dropdown {
        display: block;
        width: 100%;
        margin-bottom: 15px
    }

    .dropdown-label {
        display: block !important;
        color: #ffffff !important;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
        opacity: 0.6;
        font-size: 0.85rem;
        pointer-events: none;
        letter-spacing: 1px
    }

    .dropdown-menu {
        position: static !important;
        display: block !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        border: none !important;
        padding-left: 15px !important
    }

    .dropdown-menu li {
        margin: 0 !important;
        width: 100%;
        list-style: none !important
    }

    .dropdown-menu li a {
        padding: 10px 0 !important;
        color: #ffffff !important;
        background: transparent !important;
        display: block;
        width: 100%;
        font-size: 1rem;
        opacity: 1;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1)
    }

    .nav-links>li {
        width: 100%;
        list-style: none !important
    }

    .nav-links>li>a {
        color: #ffffff !important;
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
        font-weight: 500;
        text-decoration: none !important
    }

    .agence-grid,
    .agence-grid-reverse {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        direction: ltr !important
    }

    .agence-text {
        display: contents !important
    }

    .agence-text .block-title {
        order: 1 !important;
        margin-bottom: 20px !important
    }

    .agence-image {
        order: 2 !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        padding: 0 20px !important;
        box-sizing: border-box !important
    }

    .agence-text .service-description {
        order: 3 !important;
        margin-bottom: 0 !important;
        font-weight: 300 !important;
        color: var(--text-muted) !important;
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        padding-left: 20px !important;
        padding-right: 20px !important
    }

    .agence-text>div:last-child {
        order: 4 !important;
        margin-top: 0 !important;
        padding-left: 20px !important
    }

    .agence-image img {
        width: 100% !important;
        height: auto !important;
        display: block !important
    }
}

h2 {
    font-size: 2rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-bottom: 30px !important
}

.section-header {
    margin-bottom: 20px
}

.block-title {
    font-size: 2rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem;
    color: var(--text-main)
}

.block-title h2,
.block-title p {
    font-size: 2rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    margin: 0;
    padding: 0;
    color: inherit
}

.stats {
    display: flex;
    gap: 60px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color)
}

.stat-item {
    display: flex;
    flex-direction: column
}

.stat-number {
    font-size: 3rem;
    font-weight: 600 !important;
    color: var(--text-main)
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    justify-content: center
}

.service-card {
    background: var(--bg-color);
    padding: 50px 40px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden
}

/* Image de fond floutée au hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--card-bg-image, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 0;
    transform: scale(1.1);
    /* Compense le blur qui réduit les bords */
}

/* Afficher le background au hover si l'attribut data-bg-image existe */
.service-card[data-bg-image]:hover::before {
    opacity: 0.1;
}

/* S'assurer que le contenu est au-dessus du background */
.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card,
.service-card:hover,
.service-card *,
.service-card *:hover {
    cursor: default !important
}

.service-card a,
.service-card a:hover,
.service-card button,
.service-card button:hover,
.service-card .btn-link,
.service-card .btn-link:hover {
    cursor: pointer !important
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--border-color);
    background-color: var(--bg-alt)
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 500
}

.bordered-card {
    border-color: var(--border-color)
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: var(--text-main)
}

.agence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 200px
}

.agence-grid-reverse {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    direction: rtl;
    margin-bottom: 200px
}

.agence-grid-reverse>* {
    direction: ltr
}

.agence-grid-full {
    display: block;
    width: 100%;
    margin-bottom: 200px
}

.agence-grid-full .agence-text {
    max-width: 60%;
    margin: 0 auto
}

@media (max-width:992px) {
    .agence-grid-full .agence-text {
        max-width: 100%
    }
}

.service-list,
.nav-links ul,
.dropdown-menu ul {
    list-style: none !important
}

.service-list li {
    list-style: none !important
}

.service-description ul {
    list-style-type: square !important;
    padding-left: 1.2rem;
    margin-bottom: 2.5rem
}

.service-description ul li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem
}

.service-description img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px
}

.contact-info .service-description {
    color: var(--text-muted)
}

/* ==========================
   FAQ Section Styles
   ========================== */

.faq-section {
    margin-bottom: 200px;
    text-align: center;
}

.faq-section .tag,
.faq-section .section-title {
    text-align: center;
}

.faq-container {
    max-width: 60%;
    margin: 0 auto;
    text-align: left;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s ease;
}

.faq-container:hover {
    background-color: var(--bg-alt);
}

@media (max-width: 992px) {
    .faq-container {
        max-width: 100%;
        padding: 15px;
    }
}

.faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 15px 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s;
    color: var(--text-main);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-content {
    padding-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.6;
}

.faq-content strong {
    font-weight: 500;
    color: var(--text-main)
}

.faq-content p {
    margin-bottom: 1rem;
}

.faq-content ul,
.faq-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2.5rem;
    list-style-position: outside
}

.faq-content ul {
    list-style-type: square
}

.faq-content ol {
    list-style-type: decimal
}

.faq-content li {
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    font-weight: 300
}

.faq-content ul li {
    font-size: 0.9rem;
    padding-left: 20px
}

[data-theme=\"dark\"] .faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme=\"dark\"] .faq-question:hover {
    color: #fff;
}

section:has(.faq-container) .tag,
section:has(.faq-container) .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}


/* Force centering of FAQ tag */
section:has(.faq-container) .tag {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}