/* Variables globales */
:root {
    --primary-color: #1a5f7a;
    --secondary-color: #f8b400;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    --header-height: 80px;
    --header-height-mobile: 60px;
    --color-green: #2ecc71;
    --color-yellow: #f1c40f;
    --color-red: #e74c3c;
    --light-bg: #f9f9f9;
    --primary-rgb: 26, 95, 122;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 0;
}

/* Header et Navigation */
header {
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: var(--header-height);
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

header.header-scrolled {
    background: var(--white);
    box-shadow: var(--shadow);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    margin: 0 auto;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

header.header-scrolled .logo img {
    filter: brightness(1) invert(0);
}

.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

header.header-scrolled .nav-links a {
    color: var(--text-color);
}

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

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

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

/* Langue Switch Desktop (masqué sur mobile) */
.lang-switch.desktop-only {
    position: relative;
    margin-left: 1rem;
    display: flex;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}

header.header-scrolled .lang-btn {
    background: var(--white);
    border: 1px solid var(--light-gray);
}

.lang-btn:hover {
    background: var(--light-gray);
}

.lang-btn .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-btn span {
    font-weight: 500;
    color: var(--white);
}

header.header-scrolled .lang-btn span {
    color: var(--text-color);
}

.lang-btn i {
    font-size: 0.8rem;
    color: var(--white);
    transition: var(--transition);
}

header.header-scrolled .lang-btn i {
    color: var(--text-color);
}

.lang-btn.active i {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
}

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

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: var(--light-gray);
}

.lang-dropdown a.active {
    background: var(--light-gray);
    color: var(--primary-color);
}

.lang-dropdown .flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.lang-dropdown span {
    font-size: 0.9rem;
}

.open-mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
    transition: var(--transition);
    margin-left: 1rem;
}

header.header-scrolled .open-mobile-menu {
    color: var(--text-color);
}

.open-mobile-menu:hover {
    color: var(--primary-color);
}

/* Mobile Overlay Menu Styles */
.mobile-overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 95, 122, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
    visibility: hidden;
    opacity: 0;
}

.mobile-overlay-menu.active {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
}

.mobile-overlay-header {
    position: absolute;
    top: var(--header-height-mobile);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    color: var(--white);
}

.overlay-logo {
    height: 40px;
    filter: brightness(0) invert(1);
}

.close-mobile-menu {
    font-size: 2rem;
    cursor: pointer;
    color: var(--white);
}

.overlay-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.overlay-nav-links a {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.overlay-nav-links a:hover,
.overlay-nav-links a.active {
    color: var(--secondary-color);
}

.mobile-pro-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(248, 180, 0, 0.3);
}

.mobile-pro-btn:hover {
    background: #FFD700;
}

.overlay-lang-switch {
    margin-top: 2rem;
}

.overlay-lang-switch .lang-btn {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    width: 100%;
    justify-content: center;
}

.overlay-lang-switch .lang-btn span,
.overlay-lang-switch .lang-btn i {
    color: var(--white);
}

.overlay-lang-switch .lang-dropdown {
    position: static;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    margin-top: 0.5rem;
}

.overlay-lang-switch .lang-dropdown a {
    color: var(--white);
    font-size: 1.1rem;
}

.overlay-lang-switch .lang-dropdown a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .main-nav {
        padding: 0 1rem;
    }

    .logo img {
        height: 35px;
    }

    .nav-links,
    .lang-switch.desktop-only {
        display: none;
    }

    .open-mobile-menu {
        display: block;
    }

    header {
        height: var(--header-height-mobile);
    }

    .mobile-overlay-header {
        top: var(--header-height-mobile);
    }
}

@media (min-width: 993px) {
    .nav-links,
    .lang-switch.desktop-only {
        display: flex;
    }

    .open-mobile-menu,
    .mobile-overlay-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .main-nav {
        padding: 0 0.8rem;
    }

    .overlay-nav-links a {
        font-size: 1.5rem;
    }

    .mobile-pro-btn {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
}

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

.lang-dropdown a {
    font-size: 0.9rem;
}

.lang-dropdown a:nth-child(2) {
    border-radius: 0 0 5px 5px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
}

.slide-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.8;
    transition: opacity 1s ease-in-out;
}

.swiper-slide-active .slide-content img {
    opacity: 1;
}

.slide-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: var(--white);
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.swiper-slide-active .slide-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.slide-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.swiper-slide-active .slide-text h2 {
    animation: fadeIn 1s ease-in-out forwards;
}

.slide-text p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.swiper-slide-active .slide-text p {
    animation: fadeIn 1s ease-in-out forwards 0.2s;
}

.slide-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
    padding: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    width: 90%;
    max-width: 1200px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 0.7s;
}

.hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 0.9s;
}

.hero-content .actor {
    font-weight: 500;
    text-shadow: none;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards 1.1s;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    top: auto;
    bottom: 20px;
    margin-top: 0;
}

.swiper-button-next {
    right: calc(50% - 50px);
}

.swiper-button-prev {
    left: calc(50% - 50px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--primary-color);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}

.swiper-pagination {
    display: none;
}

.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .hero {
        height: 100vh;
        min-height: 600px;
    }

    .hero-content {
        padding: 15px;
        width: 95%;
        top: 55%;
    }

    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 1rem;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        top: 50%;
    }

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

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

    .actor {
        padding: 0.1rem 0.3rem;
        font-size: 0.9rem;
    }
}


.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ink-card l{
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
}

.link-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.link-card h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 6rem 1rem 2rem; /* Augmenter le padding vertical */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pour pousser le fond de drapeau vers le bas */
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern_1.jpg'); /* Ajout d'un motif subtil */
    opacity: 0.05;
    animation: slide 80s linear infinite; /* Animation douce */
    z-index: 0;
}

footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px; /* Hauteur de la bande du drapeau */
    background: linear-gradient(to right, #00843D 33.3%, #FFD700 33.3%, #FFD700 66.6%, #E03A2B 66.6%); /* Couleurs du drapeau béninois */
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Ajuster la taille minimale */
    gap: 2.5rem; /* Augmenter l'espacement entre les colonnes */
    max-width: 1300px; /* Augmenter la largeur maximale */
    margin: 0 auto; /* Centrer le contenu */
    position: relative; /* Pour z-index par rapport au motif */
    z-index: 2; /* S'assurer que le contenu est au-dessus de la barre */
    margin-bottom: 2rem; /* Espace au-dessus de la barre du drapeau */
}

.footer-section {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.footer-section:hover {
    background: rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--white);
    border-radius: 2px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--white);
    transition: transform 0.3s ease, color 0.3s ease;
    margin-bottom: 0;
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem; /* Augmenter l'espacement */
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.15); /* Ligne de séparation plus prononcée */
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    z-index: 2; /* S'assurer que le contenu est au-dessus de la barre */
}

@keyframes slide {
    from { background-position: 0 0; }
    to { background-position: 100% 100%; }
}

@media (max-width: 768px) {
    footer {
        padding: 4rem 1rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem; /* Ajuster l'espace pour mobile */
    }

    .footer-section {
        padding: 1rem;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section p,
    .footer-section a {
        margin-bottom: 0.5rem;
    }

    .social-links {
        justify-content: center;
        margin-top: 0.5rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1rem;
    }
}



/* Styles pour les acteurs */
.actor {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    margin: 0 0.1rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.actor::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    transition: all 0.3s ease;
}

.actor.guide::after {
    background: rgba(255, 107, 107, 0.6);
}

.actor.agence::after {
    background: rgba(78, 205, 196, 0.6);
}

.actor.hebergement::after {
    background: rgba(255, 217, 61, 0.6);
}

.actor.restaurant::after {
    background: rgba(149, 225, 211, 0.6);
}

.actor:hover {
    transform: translateY(-1px);
}

.actor:hover::after {
    height: 3px;
    opacity: 1;
}

/* Styles améliorés pour les boutons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: -1;
}

.btn:hover::before {
    transform: translateX(0);
}

.btn.primary {
    background: linear-gradient(45deg, var(--secondary-color), #FFD700);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(248, 180, 0, 0.3);
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(248, 180, 0, 0.4);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn.secondary:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .actor {
        padding: 0.1rem 0.3rem;
        font-size: 0.95rem;
    }
}

/* Section Formalités */
.formalites-section {
    padding: 5rem 1rem;
    background: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.formalites-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.formalites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.formalite-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.formalite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.formalite-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.formalite-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.formalite-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.formalite-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.formalite-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.formalite-list li i {
    color: var(--secondary-color);
    margin-right: 0.8rem;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.formalite-list li span {
    line-height: 1.4;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}
.btn-primary .outline{
    
}

@media (max-width: 768px) {
    .formalites-section {
        padding: 3rem 1rem;
    }

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

    .section-intro {
        font-size: 1.1rem;
    }

    .formalite-card {
        padding: 1.5rem;
    }

    .formalite-icon {
        width: 50px;
        height: 50px;
    }

    .formalite-icon i {
        font-size: 1.5rem;
    }

    .formalite-card h3 {
        font-size: 1.2rem;
    }
}

/* Section Formalités avec Tabs */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}


.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-hero {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('../img/formalites-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 1rem;
    text-align: center;
}

.formalites-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.formalites-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.formalites-tabs-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.formalites-tabs-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 2rem;
}

.formalites-tabs-list {
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tab-btn {
    background: var(--white);
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-size: 1.1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-btn i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-btn:hover i {
    color: var(--white);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.tab-btn.active i {
    color: var(--white);
}

.formalites-tabs-content {
    flex: 1;
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.tab-panel h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.formalite-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.steps ol, .documents ul {
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border: 2px solid var(--primary-color);
    text-align: center;
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
}

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

@media (max-width: 992px) {
    .formalites-tabs-container {
        flex-direction: column;
    }

    .formalites-tabs-list {
        flex: 0 0 auto;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .formalites-hero {
        padding: 4rem 1rem;
    }

    .formalites-hero h1 {
        font-size: 2rem;
    }

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

    .formalites-tabs-section {
        padding: 2rem 1rem;
    }

    .formalites-tabs-content {
        padding: 1.5rem;
    }

    .tab-panel h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }

    .btn-primary {
        width: 100%;
    }
}

.annuaire-intro {
    padding: 5rem 1rem;
    background: var(--white);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.annuaire-features {
    padding: 5rem 1rem;
    background: var(--light-gray);
}

.annuaire-features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}


.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.annuaire-categories {
    padding: 5rem 1rem;
    background: var(--white);
}

.annuaire-categories h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.category-card:hover i,
.category-card:hover h3 {
    color: var(--white);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.category-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.annuaire-cta {
    padding: 5rem 1rem;
    background: linear-gradient(rgba(26, 95, 122, 0.95), rgba(26, 95, 122, 0.95)), url('../img/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .secondary-hero {
        padding: 6rem 1rem;
    }

    .secondary-hero h1 {
        font-size: 2rem;
    }

    .secondary-hero p {
        font-size: 1.1rem;
    }

    .intro-content h2,
    .annuaire-categories h2,
    .cta-content h2 {
        font-size: 1.8rem;
    }

    .feature-card,
    .category-card {
        padding: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
    }

    .feature-icon i {
        font-size: 1.8rem;
    }
}

/* Styles pour la page Espace Pro */
.espace-pro-intro {
    padding: 5rem 1rem;
    background: var(--white);
}

.espace-pro-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.espace-pro-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.espace-pro-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.espace-pro-features {
    padding: 5rem 1rem;
    background: var(--light-gray);
}

.espace-pro-features h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.espace-pro-features .features-intro,
.espace-pro-categories .categories-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.espace-pro-features .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.espace-pro-features .feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.espace-pro-features .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.espace-pro-features .feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.espace-pro-features .feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

.espace-pro-features .feature-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.espace-pro-features .feature-card p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1.1rem;
}

.espace-pro-categories {
    padding: 5rem 1rem;
    background: var(--white);
}

.espace-pro-categories h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.espace-pro-categories .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.espace-pro-categories .category-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.espace-pro-categories .category-card:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.espace-pro-categories .category-card:hover i,
.espace-pro-categories .category-card:hover h3 {
    color: var(--white);
}

.espace-pro-categories .category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.espace-pro-categories .category-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: color 0.3s ease;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .espace-pro-features .features-intro,
    .espace-pro-categories .categories-intro {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .espace-pro-features .feature-card,
    .espace-pro-categories .category-card {
        padding: 1.5rem;
    }

    .espace-pro-categories .category-card {
        min-height: 180px;
    }

    .espace-pro-categories .category-card h3 {
        font-size: 1.1rem;
    }
}

.categories-note {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-color);
}

.categories-note a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.categories-note a:hover {
    text-decoration: underline;
}

.espace-pro-access {
    padding: 5rem 1rem;
    background: var(--light-gray);
}

.espace-pro-access h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 3rem;
}

.espace-pro-access .access-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.espace-pro-access .access-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.espace-pro-access .access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.espace-pro-access .access-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.espace-pro-access .access-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.espace-pro-access .access-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.espace-pro-access .access-card p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.espace-pro-access .access-card .btn {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .espace-pro-hero {
        padding: 4rem 1rem;
    }

    .espace-pro-hero h1 {
        font-size: 2rem;
    }

    .espace-pro-hero p {
        font-size: 1.1rem;
    }

    .espace-pro-intro h2,
    .espace-pro-features h2,
    .espace-pro-categories h2,
    .espace-pro-access h2 {
        font-size: 1.8rem;
    }

    .espace-pro-features .feature-card,
    .espace-pro-categories .category-card,
    .espace-pro-access .access-card {
        padding: 1.5rem;
    }

    .espace-pro-features .feature-icon,
    .espace-pro-access .access-icon {
        width: 60px;
        height: 60px;
    }

    .espace-pro-features .feature-icon i {
        font-size: 1.8rem;
    }

    .espace-pro-access .access-icon i {
        font-size: 2rem;
    }
}

/* Styles pour la page Règlementations */
.reglementations-hero {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('../img/reglementations-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 1rem;
    text-align: center;
}

.reglementations-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.reglementations-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.reglementations-intro {
    padding: 5rem 1rem;
    background: var(--white);
}

.reglementations-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.reglementations-intro h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 2rem;
}

.reglementations-intro p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.reglementations-intro .objectives {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: left;
    margin-top: 2rem;
}

.reglementations-intro .objectives h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.reglementations-intro .objectives ul {
    list-style: none;
    padding: 0;
}

.reglementations-intro .objectives li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.reglementations-intro .objectives li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.reglementations-search {
    padding: 3rem 1rem;
    background: var(--light-gray);
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.1rem;
}

.search-box button {
    padding: 0 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--secondary-color);
}

.filter-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-color);
    background: var(--white);
    cursor: pointer;
}

.reglementations-documents {
    padding: 5rem 1rem;
    background: var(--white);
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.document-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.document-type {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.document-date {
    color: var(--text-color);
    font-size: 0.9rem;
}

.document-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.document-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: var(--light-gray);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.document-summary {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.document-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-download,
.btn-related {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

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

.btn-download:hover {
    background: var(--secondary-color);
}

.btn-related {
    background: var(--light-gray);
    color: var(--primary-color);
}

.btn-related:hover {
    background: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {
    .reglementations-hero {
        padding: 4rem 1rem;
    }

    .reglementations-hero h1 {
        font-size: 2rem;
    }

    .reglementations-hero p {
        font-size: 1.1rem;
    }

    .reglementations-intro h2 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        padding: 1rem;
    }

    .filter-options {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }

    .document-card {
        padding: 1.5rem;
    }

    .document-card h3 {
        font-size: 1.2rem;
    }
}

/* Styles pour la page Statistiques */
.statistiques-hero {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('../img/statistiques-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.statistiques-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

.statistiques-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.statistiques-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
}

.statistiques-intro {
    padding: 5rem 1rem;
    background: var(--white);
}

.statistiques-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.statistiques-intro h2 {
    color: var(--primary-color);
    font-size: 2.4rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.statistiques-intro h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.statistiques-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.statistiques-rapports {
    padding: 3rem 1rem;
    background: var(--light-gray);
}

.rapports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.rapport-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rapport-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.rapport-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rapport-meta {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.rapport-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.rapport-meta h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-download:hover {
    background: var(--secondary-color);
}

.btn-download i {
    font-size: 1.2rem;
}

.btn-download span {
    font-size: 0.9rem;
    font-weight: 500;
}

.rapport-content {
    padding: 1.5rem;
}

.rapport-content p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
    .rapports-grid {
        grid-template-columns: 1fr;
    }

    .rapport-header {
        padding: 1rem;
    }

    .btn-download span {
        display: none;
    }

    .btn-download {
        padding: 0.6rem;
    }
}

/* Styles pour la page Annuaire */
.secondary-hero {
    position: relative;
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('../img/pattern_green.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    padding: 6rem 1rem;
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.secondary-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}

.secondary-hero .container {
    position: relative;
    z-index: 2;
}

.secondary-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.secondary-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.secondary-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
}

@media (max-width: 768px) {
    .secondary-hero {
        padding: 10rem 1rem;
    }

    .secondary-hero h1 {
        font-size: 2rem;
    }

    .secondary-hero p {
        font-size: 1.1rem;
    }
}

/* Styles pour la page Contact */
.contact-hero {
    background: linear-gradient(rgba(26, 95, 122, 0.9), rgba(26, 95, 122, 0.9)), url('../img/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 6rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png');
    opacity: 0.1;
    animation: slide 20s linear infinite;
}

.contact-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}

.contact-hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    position: relative;
}

.contact-intro {
    padding: 4rem 1rem;
    background: var(--white);
}

.contact-intro .intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-form-section {
    padding: 4rem 1rem;
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.form-intro {
    color: var(--text-color);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group input[type="file"] {
    padding: 0.5rem;
    background: var(--light-gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.info-card .subtitle {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.contact-details li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.contact-details li span {
    line-height: 1.4;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 1rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-hero p {
        font-size: 1.1rem;
    }

    .contact-form-container,
    .info-card {
        padding: 1.5rem;
    }

    .contact-form-container h2,
    .contact-info h2 {
        font-size: 1.5rem;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-pro-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(248, 180, 0, 0.3);
}

.nav-pro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(248, 180, 0, 0.4);
    background: #FFD700;
}

.nav-pro-btn i {
    font-size: 1rem;
}

@media (max-width: 992px) {
    .nav-right {
        display: none;
    }
}

.hero-navigation {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 10;
}

.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.hero-nav-btn i {
    font-size: 1.2rem;
}

/* Supprimer les anciens styles de navigation Swiper */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

.swiper-pagination {
    display: none;
}

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

/* Styles pour la page Formalités */
.formalites-tabs-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.formalites-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.formalites-navigation {
    position: relative;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.nav-items {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.nav-item.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.nav-item.active .nav-icon {
    background: rgba(255, 255, 255, 0.2);
}

.nav-icon i {
    font-size: 1.5rem;
}

.nav-item span {
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

/* Contenu des panneaux */
.formalites-content {
    position: relative;
}

.formalite-panel {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.formalite-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.panel-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.panel-icon i {
    font-size: 1.8rem;
}

.panel-title h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.panel-title p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.panel-body {
    padding: 2rem;
}

.formalite-details {
    display: grid;
    gap: 2rem;
}

.formalite-section {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.formalite-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.steps, .documents, .delais {
    margin-bottom: 1.5rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.steps ol, .documents ul {
    list-style: none;
    padding-left: 1.5rem;
}

.steps ol li, .documents ul li {
    position: relative;
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.documents ul li::before {
    content: '•';
    position: absolute;
    left: -1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.delais p {
    background: rgba(var(--primary-rgb), 0.1);
    padding: 1rem;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 992px) {
    .nav-items {
        flex-wrap: wrap;
    }

    .nav-item {
        flex: 0 0 calc(50% - 0.5rem);
    }

    .panel-header {
        flex-direction: column;
        text-align: center;
    }

    .panel-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .nav-item {
        flex: 0 0 100%;
    }

    .panel-header {
        padding: 1.5rem;
    }

    .panel-title h3 {
        font-size: 1.5rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.2rem;
    }
}

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

.formalites-tabs-content {
    flex: 1;
    background: var(--white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.formalite-content-card {
    display: none;
    animation: fadeIn 0.6s ease-out;
}

.formalite-content-card.active {
    display: block;
}

.formalite-card-title {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 1rem;
}

.formalite-card-title i {
    font-size: 2.2rem;
    color: var(--secondary-color);
}

.formalite-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.formalite-section {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
}

.formalite-section h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.steps, .documents, .delais {
    margin-bottom: 2rem;
}

.steps h5, .documents h5, .delais h5 {
    color: var(--primary-color);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.steps h5 i, .documents h5 i, .delais h5 i {
    color: var(--secondary-color);
}

.steps ol, .documents ul {
    padding-left: 1.8rem;
}

.steps ol li, .documents ul li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    color: var(--text-color);
}

.delais p {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

@media (max-width: 992px) {
    .formalites-tabs-section {
        padding: 3rem 1rem;
    }

    .formalites-content-wrapper {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }

    .service-card {
        padding: 1.2rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.8rem;
    }

    .service-icon i {
        font-size: 1.8rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .formalites-tabs-content {
        padding: 2rem;
    }

    .formalite-card-title {
        font-size: 1.6rem;
        margin-bottom: 2rem;
        gap: 1rem;
    }

    .formalite-card-title i {
        font-size: 1.8rem;
    }

    .formalite-details {
        gap: 2rem;
    }

    .formalite-section {
        padding: 1.5rem;
    }

    .formalite-section h4 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .steps h5, .documents h5, .delais h5 {
        font-size: 1.05rem;
    }

    .steps ol, .documents ul {
        padding-left: 1.5rem;
    }

    .delais p {
        font-size: 1rem;
    }

    .btn-primary {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .service-card {
        padding: 1rem;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .formalites-tabs-content {
        padding: 1.5rem;
    }

    .formalite-card-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .formalite-card-title i {
        font-size: 1.6rem;
    }

    .formalite-section {
        padding: 1.2rem;
    }

    .formalite-section h4 {
        font-size: 1.1rem;
    }

    .steps ol, .documents ul {
        padding-left: 1.2rem;
    }

    .btn-primary {
        width: 100%;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .formalites-tabs-section {
        padding: 2rem 0.8rem;
    }

    .formalites-tabs-content {
        padding: 1rem;
}
}

.footer-logo {
    margin-top: 2rem;
}

.footer-logo img {
    width: 100%;
    max-width: 200px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-logo {
        margin-top: 1.5rem;
    }
    
    .footer-logo img {
        max-width: 150px;
    }
}

@media (min-width: 1200px) {
    .footer-logo img {
        max-width: 250px;
    }
}

/* Styles pour les listes dans les sections de formalités */
.ordered-list ol,
.unordered-list ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.ordered-list ol li,
.unordered-list ul li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2.5rem;
    margin-bottom: 0.5rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ordered-list ol li:hover,
.unordered-list ul li:hover {
    background-color: #e9ecef;
    transform: translateX(5px);
}

.ordered-list ol li .step-number {
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
}

.unordered-list ul li::before {
    content: "•";
    position: absolute;
    left: 1rem;
    color: #007bff;
    font-size: 1.5rem;
    line-height: 1;
}

h5 {
    color: #495057;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Styles pour les titres des champs configurables des formalités */
.formalite-section h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
    position: relative;
}

.formalite-section h5::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

/* Styles pour les labels des champs dans les listes */
.formalite-section .infos li strong,
.formalite-section .autres-infos li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Correction des listes dans les formalités */
.formalite-section ul,
.formalite-section ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.formalite-section ul li,
.formalite-section ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Enlever les puces des champs configurables */
.formalite-section .infos,
.formalite-section .autres-infos {
    list-style: none;
    padding-left: 0;
    margin: 0.5rem 0;
}

/* Styles spécifiques pour les listes dans les sections de contenu */
.formalite-section .pieces-content ul,
.formalite-section .pieces-content ol,
.formalite-section .demarches-content ul,
.formalite-section .demarches-content ol,
.formalite-section .ordered-list ul,
.formalite-section .ordered-list ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.formalite-section .pieces-content ul li,
.formalite-section .pieces-content ol li,
.formalite-section .demarches-content ul li,
.formalite-section .demarches-content ol li,
.formalite-section .ordered-list ul li,
.formalite-section .ordered-list ol li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Section À propos */
.about-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Image et cartes flottantes */
.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 95, 122, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
}

.overlay-content {
        text-align: center;
    }

.overlay-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.overlay-text {
    font-size: 1.1rem;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.floating-card span {
    font-weight: 500;
    color: var(--text-color);
}

.card-1 {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Contenu */
.about-content {
    padding-right: 2rem;
}

.section-badge {
    display: inline-block;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-description p {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Mission et Vision */
.mission-vision {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission, .vision {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
}

.mission-icon, .vision-icon {
    width: 50px;
    height: 50px;
    background: rgba(26, 95, 122, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-icon i, .vision-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.mission-content h3, .vision-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.mission-content p, .vision-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Bouton */
.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-learn-more:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

.btn-learn-more i {
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1200px) {
    .about-grid {
        gap: 4rem;
    }

    .about-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-content {
        padding-right: 0;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 768px) {
    .about-section {
    padding: 4rem 0;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .mission, .vision {
    flex-direction: column;
    text-align: center;
}

    .mission-icon, .vision-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-circle {
    width: 60px;
    height: 60px;
    }

    .stat-number {
        font-size: 1.5rem;
    }
}

/* Quick Links Section */
.quick-links {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.quick-links .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.quick-links .section-badge {
    display: inline-block;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
        margin-bottom: 1rem;
}

.quick-links h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quick-links .section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.link-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.link-card:hover::before {
    opacity: 0.05;
}

.link-icon {
    width: 60px;
    height: 60px;
    background: rgba(26, 95, 122, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.link-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon i {
    transform: scale(1.1);
}

.link-content {
    position: relative;
    z-index: 2;
}

.link-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.link-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: transform 0.3s ease;
}

.link-arrow i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
}

.link-card:hover .link-arrow i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quick-links {
        padding: 4rem 0;
    }

    .quick-links h2 {
        font-size: 2rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .link-card {
        padding: 1.5rem;
    }
}