/* --- VARIABLES & RESET --- */
:root {
    --bg-color: #0a0a0a;
    --secondary-bg: #141414;
    --accent-color: #2962ff;
    /* Bleu électrique */
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background-color: var(--accent-color);
    margin-top: 10px;
}

.highlight {
    color: var(--accent-color);
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

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

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

/* Bouton Langue */
.btn-lang {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-color);
    padding: 6px 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: 0.3s;
    border-radius: 4px;
    font-size: 0.85rem;
}

.btn-lang:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(41, 98, 255, 0.1);
}

.burger-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO --- */
#home {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1571266028243-3716f02d2d2e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(41, 98, 255, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-color);
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.style-card {
    background: var(--secondary-bg);
    padding: 40px;
    border-left: 4px solid var(--accent-color);
    margin-top: 20px;
}

.tags span {
    display: inline-block;
    background: rgba(41, 98, 255, 0.1);
    color: var(--accent-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* --- STATS --- */
#stats {
    background: var(--secondary-bg);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* --- CARTE INTERACTIVE --- */
#map-section {
    background: var(--bg-color);
    padding: 80px 0;
}

#map {
    width: 100%;
    height: 500px;
    margin-top: 40px;
    background: var(--bg-color);
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Customisation des popups Leaflet */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
    border: 1px solid var(--accent-color);
    border-radius: 0;
    box-shadow: 0 0 15px rgba(41, 98, 255, 0.4);
}

.leaflet-popup-close-button {
    display: none;
}

.leaflet-popup-content {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    text-align: center;
    margin: 12px 20px;
    color: var(--accent-color);
}

.leaflet-control-attribution {
    background: transparent !important;
    color: #444;
    font-size: 10px;
}

.leaflet-control-attribution a {
    color: #444;
    text-decoration: none;
}

/* --- GALERIE (PHOTOS) --- */
#gallery {
    background: var(--secondary-bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 40px;
}

.gallery-item {
    height: 300px;
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(80%);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* --- CLIENTS (LOGOS) --- */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 50px;
}

.logo-item {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    padding: 10px;
}

.logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: 0.3s;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

/* --- CONTACT --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    background: var(--secondary-bg);
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-body);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

button[type="submit"] {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

button[type="submit"]:hover {
    background: #1a4bd6;
}

/* --- FOOTER --- */
footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #222;
    color: var(--text-muted);
}

.social-icons {
    margin: 20px 0;
}

.social-icons a {
    font-size: 1.5rem;
    margin: 0 10px;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }

    /* Carte responsive */
    #map {
        height: 400px;
    }
}