/* WITS Performances - Feuille de Style Globale */

:root {
    --rouge: #720D10;
    --bordeaux: #4A0000;
    --beige: #F5F3F0;
    --gris: #666;
}

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

body {
    font-family: 'Source Sans 3', sans-serif;
    color: #1A1A1A;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Header */
.header {
    background: #fff;
    padding: 1.5rem 4rem;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo-image {
    height: 80px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.slogan {
    font-family: 'Caveat', cursive;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--rouge);
    font-style: italic;
}

.adn {
    font-size: .8rem;
    color: var(--gris);
    font-weight: 300;
    font-style: italic;
}

/* Navigation - VERSION AMÉLIORÉE DROPDOWN */
nav {
    display: flex;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: .95rem;
    color: #1A1A1A;
    text-decoration: none;
    padding: .5rem 0;
    white-space: nowrap;
    transition: color .3s;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    color: var(--rouge);
}

/* Dropdown - FIX DISPARITION */
.nav-item.has-dropdown {
    position: relative;
}

/* Zone tampon invisible pour éviter que le menu disparaisse */
.nav-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -30px;
    right: -30px;
    height: 15px;
    background: transparent;
    z-index: 999;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #fff;
    min-width: 250px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    border-radius: 8px;
    padding: 1rem 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.dropdown-menu:hover {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-item {
    padding: .9rem 1.5rem;
    font-size: .95rem;
    color: #1A1A1A;
    text-decoration: none;
    display: block;
    transition: all .2s;
    font-family: 'Montserrat', sans-serif;
}

.dropdown-item:hover {
    background: var(--beige);
    color: var(--rouge);
    padding-left: 2rem;
}

.nav-cta {
    background: var(--rouge) !important;
    color: #fff !important;
    padding: .7rem 1.8rem !important;
    border-radius: 50px;
    font-weight: 600;
    transition: all .3s;
}

.nav-cta:hover {
    background: var(--bordeaux) !important;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bordeaux), var(--rouge));
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245,243,240,0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 2.5rem;
    letter-spacing: .05em;
    text-align: center;
}

.pitch-general {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    text-align: center;
}

.pitch-general p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #1A1A1A;
    margin-bottom: 0;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--rouge);
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all .3s;
    box-shadow: 0 8px 20px rgba(114, 13, 16, .3);
    margin-top: 2rem;
}

.btn:hover {
    background: var(--bordeaux);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(114, 13, 16, .4);
}

.btn-secondary {
    background: transparent;
    color: var(--rouge);
    border: 2px solid var(--rouge);
    padding: 1rem 2rem;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    transition: all .3s;
}

.btn-secondary:hover {
    background: var(--rouge);
    color: #fff;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2C3E50;
    color: #fff;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

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

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.footer-slogan {
    font-family: 'Caveat', cursive;
    font-size: 1.2rem;
    color: var(--beige);
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color .3s;
}

.footer-link:hover {
    color: var(--beige);
}

.footer-copyright {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .header {
        padding: 1rem 1.5rem;
    }
    
    .logo-image {
        height: 60px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .pitch-general {
        padding: 2rem;
    }
}
