/* Reset & Base Styles */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f97316;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --text-color: #334155;
    --text-light: #94a3b8;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    transition: var(--transition);
    text-decoration: none;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
}

/* Top Bar */
.top-bar {
    background: var(--primary-color);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .contact-info span {
    margin-right: 20px;
}

.top-bar .languages a {
    margin-left: 10px;
}

.top-bar .languages a img {
    width: 20px;
    height: 15px;
}

.top-bar .languages a.active {
    border-bottom: 2px solid white;
}

/* Header */
header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px;
}

header .desktop-nav ul {
    display: flex;
    list-style: none;
}

header .desktop-nav ul li {
    margin-left: 30px;
}

header .desktop-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
}

header .desktop-nav ul li a:hover,
header .desktop-nav ul li a.active {
    color: var(--primary-color);
}

header .mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 200;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 15px;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 18px;
}

/* Hero Section */
.hero {
    height: 100vh;
    overflow: hidden;
}

.hero .swiper {
    width: 100%;
    height: 100%;
}

.hero .swiper-slide {
    position: relative;
}

.hero .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
}

.hero .hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero .hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .swiper-pagination {
    bottom: 20px;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
}

/* About Section */
.about {
    padding: 80px 0;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Installations Section */
.installations {
    padding: 80px 0;
    background: #f1f5f9;
}

.installations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.installation-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.installation-card:hover {
    transform: translateY(-10px);
}

.installation-card i {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.installation-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.installation-card p {
    color: var(--text-light);
}

/* Fiscal Advantages Section */
.fiscal-advantages {
    padding: 80px 0;
}

.advantages-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.advantages-list {
    flex: 1;
}

.advantages-list ul {
    list-style: none;
}

.advantages-list ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.advantages-list ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 2px;
}

.advantages-image {
    flex: 1;
}

.advantages-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Invest Form Section -->
.invest-form {
    padding: 80px 0;
    background: #f1f5f9;
}

.invest-form .form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.invest-form .form-group {
    margin-bottom: 20px;
}

.invest-form .form-group input,
.invest-form .form-group select,
.invest-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    font-family: inherit;
}

.invest-form .form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-about p {
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    margin-right: 10px;
    color: white;
    font-size: 20px;
}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.newsletter h4 {
    margin-bottom: 15px;
}

.newsletter form {
    display: flex;
}

.newsletter form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
}

.newsletter form button {
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #475569;
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: var(--transition);
    z-index: 100;
}

.scroll-top:hover {
    background: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .desktop-nav {
        display: none;
    }

    header .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        display: none;
    }

    .mobile-menu.active {
        display: block;
    }

    .about-content,
    .advantages-content {
        flex-direction: column;
    }

    .hero .hero-content h1 {
        font-size: 36px;
    }

    .hero .hero-content p {
        font-size: 18px;
    }
}
/* Avantages Fiscaux - Style "Nos Installations" */
.fiscal-advantages {
    background: var(--light-color);
    padding: 80px 0;
}

.fiscal-advantages .section-title {
    margin-bottom: 50px;
}

.fiscal-advantages .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.fiscal-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.fiscal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.fiscal-card .icon-container {
    width: 64px;
    height: 64px;
    background: var(--primary-color); /* Fond bleu */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.fiscal-card .icon-container i {
    color: white; /* Icône blanche */
    font-size: 1.5rem;
}

.fiscal-card h3 {
    color: var(--primary-color); /* Titre en bleu */
    font-size: 1.25rem;
    margin-bottom: 1rem;
}



.fiscal-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Formulaire "Devenez Partenaire" */
/* Formulaire centré */
.invest-form .max-w-lg {
    max-width: 500px; /* Largeur max réduite */
    margin: 0 auto;
}

.invest-form form {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.invest-form .space-y-6 > div {
    margin-bottom: 1.5rem;
}

.invest-form input,
.invest-form select,
.invest-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: border 0.3s;
}

.invest-form input:focus,
.invest-form select:focus,
.invest-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.invest-form button {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.invest-form button:hover {
    background: var(--secondary-color);
}



.invest-form .form-group input:focus,
.invest-form .form-group select:focus,
.invest-form .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    outline: none;
}

.invest-form button[type="submit"] {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.invest-form button[type="submit"]:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .fiscal-advantages .grid {
        grid-template-columns: 1fr;
    }

    .invest-form .grid {
        grid-template-columns: 1fr;
    }
}
/* Style pour les icônes de langue dans le top-bar */
.top-bar .languages a {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    transition: color 0.3s;
}

.top-bar .languages a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar .languages a.active {
    font-weight: 600;
    border-bottom: 2px solid white;
}

.top-bar .languages a i {
    margin-right: 5px;
    font-size: 12px; /* Taille réduite pour un meilleur rendu */
    color: white; /* Icône en blanc */
}

/* Assurez-vous que Font Awesome est bien chargé */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Hero Projet */
.hero-projet {
    text-align: center;
    padding: 80px 0;
}

.hero-projet h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

/* Projet Details */
.projet-details {
    padding: 80px 0;
}

.projet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.projet-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projet-text {
    padding-left: 20px;
}

.projet-highlights {
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.highlight i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

/* Défis et Solutions */
.defis-solutions {
    padding: 80px 0;
    background: var(--light-color);
}

.solutions-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.solution-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s;
}

.solution-card:hover {
    transform: translateY(-10px);
}

.solution-card .icon-container {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.solution-card .icon-container i {
    color: white;
    font-size: 1.5rem;
}

/* Galerie */
.galerie {
    padding: 80px 0;
    background: white;
}

.galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.galerie-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.galerie-item:hover {
    transform: scale(1.03);
}

.galerie-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Projet Contact */
.projet-contact {
    padding: 80px 0;
    background: var(--light-color);
}

.projet-contact form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .projet-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .solutions-content {
        grid-template-columns: 1fr;
    }
}
/* Hero Projet */
.hero-projet {
    position: relative;
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-projet .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
}

.hero-projet .hero-content {
    position: relative;
    z-index: 2;
}

.hero-projet h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-projet p {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
}

/* Formulaire de Contact */
.projet-contact {
    padding: 80px 0;
    background: var(--light-color);
}

.projet-contact .max-w-2xl {
    max-width: 600px;
    margin: 0 auto;
}

.projet-contact form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.projet-contact .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.projet-contact input,
.projet-contact select,
.projet-contact textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.projet-contact input:focus,
.projet-contact select:focus,
.projet-contact textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    outline: none;
}

.projet-contact button[type="submit"] {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.projet-contact button[type="submit"]:hover {
    background: var(--secondary-color);
}
/* Section Hero - Commerces */
.hero-commerces {
    min-height: 500px; /* Hauteur minimale pour éviter le débordement */
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden; /* Empêche le débordement */
}

.hero-commerces .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 138, 0.7); /* Overlay bleu avec transparence */
    z-index: 1;
}

.hero-commerces .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 1rem;
}

.commerces-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.commerces-hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.commerces-hero-content p {
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stat-item {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #ffa500;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsive */
@media (min-width: 768px) {
    .hero-commerces {
        min-height: 600px;
    }

    .commerces-hero-content h1 {
        font-size: 2.5rem;
    }

    .commerces-hero-content p {
        font-size: 1.125rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {
    .hero-commerces {
        min-height: 700px;
    }

    .commerces-hero-content h1 {
        font-size: 3rem;
    }

    .commerces-hero-content p {
        font-size: 1.25rem;
    }

    .stat-number {
        font-size: 3rem;
    }
}

/* Overlay pour la section Hero */
.hero-commerces .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.7);
    z-index: 1;
}

.hero-commerces .commerces-hero-content {
    position: relative;
    z-index: 2;
}

/* Style des statistiques */
.stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffa500;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Style du formulaire */
.reservation-form {
    padding: 4rem 0;
    background: var(--light-color);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-container form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-container label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-container input,
.form-container select,
.form-container textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
    outline: none;
}

.form-container button[type="submit"] {
    width: 100%;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.form-container button[type="submit"]:hover {
    background: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

/* Styles pour les formulaires universels */
.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-error {
    display: none;
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-success {
    display: none;
    color: #48bb78;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.5rem;
    background: #f0fff4;
    border-radius: 0.375rem;
    border: 1px solid #9ae6b4;
}

/* États des champs */
input:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus),
textarea:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e53e3e !important;
}

input:valid:not(:focus):not(:placeholder-shown),
select:valid:not(:focus),
textarea:valid:not(:focus):not(:placeholder-shown) {
    border-color: #48bb78 !important;
}

/* Loading states */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

/* Styles responsifs pour les formulaires */
@media (max-width: 768px) {
    .form-container,
    .form-loisirs-container,
    .form-acces-container,
    .form-affaires-container {
        padding: 1rem !important;
    }
    
    .form-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}