/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bg-color: #0a0a0a;
    /* Noir Profond */
    --secondary-bg: #141414;
    /* Noir Anthracite */
    --accent-color: #2962ff;
    /* Bleu Électrique */
    --text-color: #ffffff;
    /* Blanc */
    --text-muted: #b3b3b3;
    /* Gris clair */
    --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;
}

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

/* =========================================
   2. TYPOGRAPHIE & UTILITAIRES
   ========================================= */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

h1 {
    font-weight: 900;
}

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);
}

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

section {
    padding: 80px 0;
}

/* Boutons Globaux */
.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;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(41, 98, 255, 0.6);
}

/* =========================================
   3. NAVIGATION (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);
    height: 70px;
    display: flex;
    align-items: center;
}

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

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

.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,
.nav-links a.active {
    color: var(--accent-color);
}

.btn-nav {
    border: 1px solid var(--accent-color);
    padding: 8px 15px;
    border-radius: 4px;
    color: var(--accent-color) !important;
}

.btn-nav:hover {
    background: var(--accent-color);
    color: #fff !important;
}

/* Bouton Langue */
.btn-lang {
    background: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-color);
    padding: 5px 12px;
    font-weight: bold;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: 0.3s;
    margin-left: 10px;
}

.btn-lang:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

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

/* =========================================
   4. SECTIONS DU PORTFOLIO (ACCUEIL)
   ========================================= */

/* Hero Principal */
#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;
}

/* À Propos */
.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 Musical */
.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);
}

/* 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;
    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);
}

/* =========================================
   5. CARTE INTERACTIVE (MAP)
   ========================================= */
#map {
    height: 500px;
    width: 100%;
    border: 1px solid #333;
    border-radius: 4px;
    z-index: 1;
    background-color: var(--secondary-bg);
}

/* Customisation Popup 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-content {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 15px;
    text-align: center;
}

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

/* On cache la croix */

/* =========================================
   6. PAGE LOCATION (RENTAL)
   ========================================= */

/* Hero Location */
.rental-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1516450360452-9312f5e86fc7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    margin-top: 70px;
    /* Compense le header fixe */
}

/* Badges Hero */
.hero-badges {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0 30px;
    flex-wrap: wrap;
}

.hero-badges span {
    background: rgba(41, 98, 255, 0.15);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--accent-color);
}

/* Étapes (1, 2, 3, 4) */
#steps {
    background: var(--bg-color);
    border-bottom: 1px solid #222;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.step-item {
    background: var(--secondary-bg);
    padding: 30px 20px;
    border-radius: 8px;
    border: 1px solid #222;
    transition: 0.3s;
}

.step-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(41, 98, 255, 0.4);
}

.step-item h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.step-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Packs (S, M, L) */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.pack-card {
    background: var(--bg-color);
    border: 1px solid #333;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pack-card.popular {
    border: 2px solid var(--accent-color);
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 20px;
    text-transform: uppercase;
}

.pack-header {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.pack-header h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.pack-header p {
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

.pack-price {
    text-align: center;
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-right: 10px;
}

.new-price {
    color: var(--accent-color);
    font-size: 2.5rem;
    font-weight: 900;
}

.pack-list {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pack-list li {
    padding: 8px 0;
    border-bottom: 1px solid #222;
    color: #ddd;
    font-size: 0.95rem;
}

.pack-list li::before {
    content: '•';
    color: var(--accent-color);
    font-weight: bold;
    display: inline-block;
    width: 15px;
}

.pack-caution {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.btn-pack {
    display: block;
    width: 100%;
    background: transparent;
    border: 2px solid var(--accent-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    transition: 0.3s;
    cursor: pointer;
}

.btn-pack:hover {
    background: var(--accent-color);
}

/* Catalogue & Filtres */
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-muted);
    padding: 10px 25px;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 30px;
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(41, 98, 255, 0.4);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--secondary-bg);
    border: 1px solid #222;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.product-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Contain pour ne pas couper les photos produits */
    padding: 10px;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 12px;
    font-weight: bold;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.product-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #fff;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.stock-info {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--text-muted);
    color: #fff;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
    margin-top: auto;
}

.btn-small:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

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

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.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;
    font-family: var(--font-heading);
}

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

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

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

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

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

/* =========================================
   9. RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 768px) {

    /* Typo */
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem;
    }

    /* Nav */
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: absolute;
        right: 0px;
        top: 70px;
        background: var(--secondary-bg);
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        display: none;
        /* Caché par défaut */
        border-bottom: 1px solid #333;
    }

    .nav-active {
        display: flex !important;
        /* Affiché via JS */
    }

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

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

    /* Location */
    .pack-card.popular {
        transform: scale(1);
        margin: 20px 0;
    }

    .hero-badges {
        display: none;
    }
}