/* ========================================
   RÉINITIALISATION ET VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold-light: #e8c547;
    --gold-medium: #d4af37;
    --gold-dark: #8b7813;
    --dark: #1a1a1a;
    --black: #000;
    --light-gray: #f5f5f5;
    --white: #fff;
}

/* ========================================
   POLICES ET STYLES GÉNÉRAUX
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Century Schoolbook', serif;
    background-color: var(--dark);
    color: var(--light-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: 2px;
    color: #da9c48;
}

p {
    font-size: 1rem;
    color: var(--light-gray);
}

a {
    color: #d4af37;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--white);
    text-shadow: 0 0 10px #d4af37;
}

/* ========================================
   HEADER ET NAVIGATION
   ======================================== */
.header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 100%);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #e8c547 0%, #d4af37 50%, #8b7813 100%) 1;
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #8b7813 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(-1px -1px 0px rgba(255, 255, 255, 0.2)) drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.8));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.logo h1 {
    font-size: 2rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--gold) 0%, #e8c547 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav a {
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e8c547 0%, #d4af37 50%, #8b7813 100%);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* ========================================
   SECTION HERO
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark) 50%, var(--black) 100%);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero p {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #8b7813 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.hero-line {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    margin-top: 2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* ========================================
   SECTION MARQUES
   ======================================== */
.marques {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.marques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.marque-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    border: 2px solid;
    border-image: linear-gradient(135deg, #e8c547 0%, #d4af37 50%, #8b7813 100%) 1;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    height: 100%;
}

.marque-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(232, 197, 71, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.marque-card:hover::before {
    left: 100%;
}

.marque-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-image: linear-gradient(135deg, #e8c547 0%, var(--white) 50%, #8b7813 100%) 1;
}

.marque-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.marque-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.marque-card:hover .marque-image svg {
    transform: scale(1.05);
}

.marque-card:hover .marque-image img {
    transform: scale(1.05);
}

.marque-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.marque-card p {
    padding: 0.5rem 1.5rem 1.5rem;
    text-align: center;
    font-size: 0.95rem;
    color: var(--light-gray);
    font-style: italic;
}

/* ========================================
   SECTION À PROPOS
   ======================================== */
.apropos {
    background: linear-gradient(135deg, var(--dark) 0%, var(--black) 100%);
    padding: 4rem 2rem;
    margin: 4rem 0;
    border-top: 2px solid;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #e8c547 0%, #d4af37 50%, #8b7813 100%) 1;
}

.apropos-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.apropos h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.apropos p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--light-gray);
}

/* ========================================
   SECTION CONTACT
   ======================================== */
.contact {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 2rem;
    border: 1px solid #d4af37;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    line-height: 1.8;
}

.map-container {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
    padding: 2rem;
    border: 1px solid #d4af37;
    border-radius: 10px;
    margin-top: 2rem;
}

.map-container h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--black);
    border-top: 2px solid #d4af37;
    padding: 2rem;
    text-align: center;
    margin-top: 4rem;
}

.footer p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer p:first-child {
    font-weight: 500;
    color: #d4af37;
}

.footer p:last-child {
    letter-spacing: 3px;
    font-style: italic;
    color: var(--light-gray);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav {
        gap: 1.5rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .marques-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .apropos h2,
    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}