:root {
    --primary: #005588;
    --accent: #00ff88;
    --text: #e0e0e0;
    --dark: #0a0a0a;
    --menu-height: 120px; /* À ajuster si menu différent */
}

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

body {
    background: #000;
    color: var(--text);
    font-family: 'Cormorant Garamond', serif;
    overflow-x: hidden;
}

/* Compensation menu fixe */
.hero-carousel {
    margin-top: var(--menu-height);
    height: calc(100vh - var(--menu-height));
    position: relative;
    overflow: hidden;
}

.section {
    padding: 140px 40px 100px;
    max-width: 1900px;
    margin: 0 auto;
    margin-top: var(--menu-height);
}

.hero-slide {
    position: absolute;
    inset: 0;
    background: no-repeat center top/cover;
    opacity: 0;
    transition: opacity 1.8s ease;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.95));
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 100px 40px 120px;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    width: 100%;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 300;
    letter-spacing: 10px;
    color: #fff;
    text-shadow: 0 6px 50px rgba(0,0,0,0.9);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.6rem;
    color: var(--accent);
    letter-spacing: 6px;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    padding: 18px 50px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 4px;
    border-radius: 60px;
    text-decoration: none;
    transition: all .6s;
}

.hero-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 40px rgba(0,85,136,.7);
    transform: scale(1.05);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: all .4s;
}

.carousel-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0,85,136,0.6);
}

.carousel-nav.prev { left: 30px; }
.carousel-nav.next { right: 30px; }

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.8rem;
    text-align: center;
    margin-bottom: 100px;
    color: #fff;
    position: relative;
}

.section-title::after {
    content: '';
    width: 180px;
    height: 3px;
    background: var(--accent);
    display: block;
    margin: 30px auto 0;
}

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

.card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.7);
    transition: transform .7s cubic-bezier(.25,.8,.25,1);
    background: #111;
    position: relative;
}

.card.featured {
    box-shadow: 0 20px 50px rgba(0,255,136,0.4);
}

.card:hover {
    transform: translateY(-25px);
}

.card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform .9s;
}

.card:hover img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,.9));
    padding: 80px 30px 30px;
    color: #fff;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin: 0 0 10px;
    color: var(--accent);
}

.card-date {
    font-size: 1.1rem;
    opacity: .8;
    letter-spacing: 2px;
}

.card-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.count-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: .95rem;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent);
    color: #000;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: .95rem;
    z-index: 3;
}

@media (max-width: 768px) {
    .hero-title { font-size: 4.5rem; }
    .hero-subtitle { font-size: 1.3rem; }
    .section-title { font-size: 3.5rem; }
    .grid { grid-template-columns: 1fr; }
    .carousel-nav { width: 55px; height: 55px; font-size: 1.8rem; }
    .carousel-nav.prev { left: 15px; }
    .carousel-nav.next { right: 15px; }
    .hero-carousel { margin-top: 100px; height: calc(100vh - 100px); }
    .section { margin-top: 100px; padding: 100px 20px; }
}