/* -------------------------------------------------------------------------- */
/*                                 Variables                                  */
/* -------------------------------------------------------------------------- */
:root {
    /* Charte institutionnelle – Huissier de Justice */
    --bg-dark: #0B1F3A;
    --bg-darker: #081829;
    --bg-light: #ffffff;
    --bg-off-white: #F5F5F3;

    --primary-blue: #0B1F3A;
    --primary-hover: #0E3B2E;
    --primary-light: rgba(11, 31, 58, 0.08);

    --accent-gold: #C6A75E;
    --accent-gold-light: rgba(198, 167, 94, 0.15);
    --green-institutional: #0E3B2E;

    --text-main: #2C2C2C;
    --text-light: #5a5a5a;
    --text-muted: #6b7280;
    --text-white: #ffffff;
    --text-on-dark: rgba(255, 255, 255, 0.95);
    --text-on-dark-muted: rgba(255, 255, 255, 0.75);

    --border-soft: rgba(44, 44, 44, 0.08);
    --border-gold: rgba(198, 167, 94, 0.4);
    --border-soft-dark: rgba(255, 255, 255, 0.12);

    /* Spacing */
    --sp-xs: 0.5rem;
    --sp-sm: 1rem;
    --sp-md: 1.5rem;
    --sp-lg: 2.5rem;
    --sp-xl: 4rem;

    /* Layout – style sobre, coins 6px */
    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 6px;
    --card-shadow: 0 2px 8px rgba(11, 31, 58, 0.06);
    --card-shadow-hover: 0 8px 24px rgba(11, 31, 58, 0.1);

    --transition: all 0.3s ease;
}

/* -------------------------------------------------------------------------- */
/*                                   Reset                                    */
/* -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-light);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* -------------------------------------------------------------------------- */
/*                                Utilities                                   */
/* -------------------------------------------------------------------------- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--sp-sm);
}

.section-light {
    background-color: var(--bg-off-white);
    padding: var(--sp-xl) 0;
}

.section-white {
    background-color: var(--bg-light);
    padding: var(--sp-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--sp-xl);
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: var(--sp-sm);
    color: var(--text-main);
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0.75rem auto 0;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.icon-header {
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin-bottom: var(--sp-sm);
    display: inline-block;
    background: var(--accent-gold-light);
    padding: 0.9rem;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
}

/* Buttons – style institutionnel */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(11, 31, 58, 0.12);
    border: 1px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-gold);
    color: var(--text-main);
    border-color: var(--accent-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 167, 94, 0.25);
}

.btn-light {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--accent-gold);
}

.btn-light:hover {
    background-color: var(--accent-gold-light);
    border-color: var(--accent-gold);
    color: var(--text-main);
    transform: translateY(-1px);
}

/* -------------------------------------------------------------------------- */
/*                                  Header                                    */
/* -------------------------------------------------------------------------- */
#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-dark);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-gold);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-on-dark);
}

.logo i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

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

.logo-text .role {
    font-size: 0.85rem;
    color: var(--text-on-dark-muted);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links li a {
    color: var(--text-on-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav-links li a.active,
.nav-links li a:hover {
    color: var(--accent-gold);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.btn-nav {
    background-color: transparent;
    padding: 0.5rem 1.2rem !important;
    border-radius: 6px;
    color: var(--accent-gold) !important;
    border: 1px solid var(--accent-gold);
}

.btn-nav:hover {
    background-color: var(--accent-gold);
    color: var(--text-main) !important;
}

.btn-nav::after {
    display: none;
}

.menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 1.25rem;
    background-color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 6px;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

.menu-toggle i,
.menu-toggle .fa-bars,
.menu-toggle .fa-xmark {
    color: #ffffff !important;
}

/* -------------------------------------------------------------------------- */
/*                                   Hero                                     */
/* -------------------------------------------------------------------------- */
#hero {
    background:
        linear-gradient(180deg, rgba(198, 167, 94, 0.06) 0%, transparent 40%),
        var(--bg-dark);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: var(--sp-xl) 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    align-items: center;
}

.hero-content {
    color: var(--text-on-dark);
    z-index: 2;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.06);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin-bottom: var(--sp-md);
    border: 1px solid var(--border-gold);
}

.hero-content h1 {
    font-size: 2.75rem;
    margin-bottom: var(--sp-md);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-on-dark-muted);
    margin-bottom: var(--sp-lg);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-lg);
}

/* Prenez RDV en blanc sur le hero */
.hero-buttons .btn-light {
    background-color: #ffffff;
    color: var(--primary-blue);
    border-color: #ffffff;
}

.hero-buttons .btn-light:hover {
    background-color: var(--accent-gold);
    color: var(--text-main);
    border-color: var(--accent-gold);
}

.hero-contact-icons {
    display: flex;
    gap: 1rem;
}

.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.icon-circle.phone {
    background-color: var(--accent-emerald);
    color: white;
}

.icon-circle.whatsapp {
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
}

.icon-circle:hover {
    transform: scale(1.1);
}

/* Hero Image Area */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3/4;
    border-radius: var(--border-radius);
    background: linear-gradient(145deg, rgba(11, 31, 58, 0.9), var(--bg-darker));
    border: 1px solid var(--border-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.hero-placeholder {
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
}

/* Decorative Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-gold);
    z-index: -1;
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    border-color: rgba(198, 167, 94, 0.25);
}

/* -------------------------------------------------------------------------- */
/*                                Services                                    */
/* -------------------------------------------------------------------------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--sp-lg);
    margin-bottom: var(--sp-xl);
}

.service-card {
    background-color: var(--bg-light);
    padding: var(--sp-lg);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--accent-gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.service-card .icon-box {
    width: 70px;
    height: 70px;
    background-color: var(--accent-gold-light);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--accent-gold);
    margin: 0 auto var(--sp-md);
    border: 1px solid var(--border-gold);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--sp-sm);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Placeholder Images */
.services-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-md);
}

.img-box {
    height: 250px;
    border-radius: var(--border-radius);
    background-color: #e5e7eb;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%239C92AC' fill-opacity='0.1' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

/* -------------------------------------------------------------------------- */
/*                               Expertise                                    */
/* -------------------------------------------------------------------------- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--sp-md);
}

.expertise-card {
    background-color: var(--bg-off-white);
    padding: var(--sp-md);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-gold);
}

.expertise-card:hover {
    background-color: var(--bg-light);
    box-shadow: var(--card-shadow);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: var(--sp-sm);
}

/* Icon Colors – palette institutionnelle */
.blue-light {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.green-light {
    background: rgba(14, 59, 46, 0.12);
    color: var(--green-institutional);
}

.purple-light {
    background: var(--accent-gold-light);
    color: var(--accent-gold);
}

.orange-light {
    background: var(--accent-gold-light);
    color: #9a7b3c;
}

.red-light {
    background: rgba(14, 59, 46, 0.1);
    color: var(--green-institutional);
}

.indigo-light {
    background: var(--primary-light);
    color: var(--primary-blue);
}

.expertise-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--sp-xs);
}

.expertise-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--sp-sm);
}

.expertise-card ul {
    list-style: disc;
    padding-left: 1.2rem;
    color: var(--text-main);
    font-size: 0.9rem;
}

.expertise-card ul li {
    margin-bottom: 0.25rem;
}


/* -------------------------------------------------------------------------- */
/*                                   FAQ                                      */
/* -------------------------------------------------------------------------- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--sp-md);
}

.faq-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-gold);
}

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

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent-gold);
}

.faq-question[aria-expanded="true"] i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-light);
    font-size: 0.95rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* -------------------------------------------------------------------------- */
/*                             Contact / Map                                  */
/* -------------------------------------------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-lg);
    align-items: start;
}

.contact-map-col {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-soft);
}

.btn-map-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--accent-gold);
}

.btn-map-overlay:hover {
    background-color: var(--accent-gold);
    color: var(--text-main);
}

.info-card {
    background-color: var(--bg-off-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-soft);
    border-left: 3px solid var(--accent-gold);
}

.info-card:hover {
    background-color: white;
    box-shadow: var(--card-shadow);
    transform: translateX(5px);
}

.icon-box-small {
    min-width: 40px;
    height: 40px;
    background-color: var(--accent-gold-light);
    color: var(--accent-gold);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    border: 1px solid var(--border-gold);
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* -------------------------------------------------------------------------- */
/*                                  Footer                                    */
/* -------------------------------------------------------------------------- */
footer {
    background-color: var(--bg-dark);
    color: var(--text-white);
    padding-top: var(--sp-xl);
    border-top: 1px solid var(--border-gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
    padding-bottom: var(--sp-xl);
    border-bottom: 1px solid var(--border-gold);
}

.logo-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.logo-footer i {
    color: var(--accent-gold);
}

.role-footer {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.desc-footer {
    color: #9ca3af;
    max-width: 400px;
    font-size: 0.9rem;
}

.footer-right h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}

.contact-list li i {
    color: var(--accent-gold);
    width: 20px;
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    margin-left: 1.5rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* -------------------------------------------------------------------------- */
/*                                Animations                                  */
/* -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -------------------------------------------------------------------------- */
/*                               Responsive                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-wrapper {
        margin: 0 auto;
        max-width: 380px;
    }

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

    .section-header h2 {
        font-size: 2rem;
    }

    .section-light,
    .section-white {
        padding: 3rem 0;
    }

    .services-grid {
        gap: var(--sp-md);
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --sp-xl: 3rem;
    }

    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        color: #ffffff;
        background-color: var(--primary-blue);
        border: 2px solid var(--primary-blue);
        border-radius: 6px;
        padding: 0.5rem;
    }

    .menu-toggle:hover {
        background-color: var(--accent-gold);
        border-color: var(--accent-gold);
    }

    .menu-toggle:hover i,
    .menu-toggle:hover .fa-bars,
    .menu-toggle:hover .fa-xmark {
        color: var(--text-main) !important;
    }

    .menu-toggle i,
    .menu-toggle .fa-bars,
    .menu-toggle .fa-xmark {
        color: #ffffff !important;
    }

    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        z-index: 999;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        min-height: 44px;
    }

    .nav-links.active {
        transform: translateY(0);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .logo-text .name {
        font-size: 0.95rem;
    }

    #hero {
        min-height: auto;
        padding: 2.5rem 0 3rem;
    }

    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .image-wrapper {
        max-width: 320px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .section-light,
    .section-white {
        padding: 2.5rem 0;
    }

    .service-card {
        padding: var(--sp-md);
    }

    .service-card .icon-box {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-sm);
    }

    .faq-question {
        padding: 1.25rem 1rem;
        min-height: 48px;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-answer p {
        padding-bottom: 1.25rem;
    }

    .contact-map-col .map-container iframe {
        height: 320px;
    }

    .btn-map-overlay {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding-bottom: 2rem;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links a {
        display: inline-block;
        padding: 0.25rem 0;
    }

    [dir="rtl"] .contact-wrapper {
        text-align: right;
    }

    [dir="rtl"] .btn-map-overlay {
        right: auto;
        left: 20px;
    }

    [dir="rtl"] .btn-map-overlay i {
        margin-left: 5px;
        margin-right: 0;
    }

    [dir="rtl"] .info-card {
        text-align: right;
    }

    .contact-list li i {
        margin-left: 1rem;
        margin-right: 0;
    }

    .footer-left {
        text-align: right;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 1.5rem;
    }
}

/* Très petits écrans */
@media (max-width: 480px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-content h1 {
        font-size: 1.65rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .expertise-card {
        padding: 1rem;
    }

    .expertise-card h3 {
        font-size: 1.1rem;
    }

    .contact-map-col .map-container iframe {
        height: 280px;
    }
}


/* -------------------------------------------------------------------------- */
/*                               Language Switcher                            */
/* -------------------------------------------------------------------------- */
.lang-btn {
    border: 1px solid var(--accent-gold);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    background: transparent;
}

.lang-btn i {
    margin-right: 0.4rem;
}

.lang-btn:hover {
    background-color: var(--accent-gold);
    color: var(--text-main);
    border-color: var(--accent-gold);
}


/* -------------------------------------------------------------------------- */
/*                               Floating WhatsApp                            */
/* -------------------------------------------------------------------------- */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}


/* -------------------------------------------------------------------------- */
/*                                  RTL Support                               */
/* -------------------------------------------------------------------------- */
/* Arabe : Cairo – institutionnel, lisible, autorité */
[lang="ar"] {
    font-family: 'Cairo', sans-serif;
    font-size: 18px;
    line-height: 1.8;
}

[lang="ar"] h1,
[lang="ar"] h2,
[lang="ar"] h3,
[lang="ar"] h4,
[lang="ar"] h5,
[lang="ar"] h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .logo {
    gap: 1rem;
}

[dir="rtl"] .logo-text {
    align-items: flex-start;
}

[dir="rtl"] .nav-links li a::after {
    left: auto;
    right: 0;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row;
}

[dir="rtl"] .icon-header {
    margin-right: 0;
    margin-left: 0;
}

[dir="rtl"] .service-card .icon-box {
    margin: 0 auto var(--sp-md);
}

[dir="rtl"] .expertise-card {
    border-left: 1px solid var(--border-soft);
    border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .expertise-card ul {
    padding-left: 0;
    padding-right: 1.2rem;
}

[dir="rtl"] .faq-item {
    border-left: 1px solid var(--border-soft);
    border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .info-card {
    text-align: right;
    border-left: 1px solid var(--border-soft);
    border-right: 3px solid var(--accent-gold);
}

[dir="rtl"] .faq-question {
    text-align: right;
    flex-direction: row-reverse;
    justify-content: space-between;
}

[dir="rtl"] .faq-question i {
    transform: rotate(0deg);
}

[dir="rtl"] .contact-wrapper {
    text-align: right;
}

[dir="rtl"] .btn-map-overlay {
    right: auto;
    left: 20px;
}

[dir="rtl"] .btn-map-overlay i {
    margin-left: 5px;
    margin-right: 0;
}

[dir="rtl"] .contact-list li {
    flex-direction: row;
}

[dir="rtl"] .contact-list li i {
    margin-left: 1rem;
    margin-right: 0;
}

[dir="rtl"] .footer-left {
    text-align: right;
}

[dir="rtl"] .footer-links a {
    margin-left: 0;
    margin-right: 1.5rem;
}

[dir="rtl"] .lang-btn i {
    margin-right: 0;
    margin-left: 0.4rem;
}