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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
    color: #f0f0f0;
    overflow-x: hidden;
}

/* Hero Section avec Parallaxe */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%231a1a1a" width="1200" height="600"/><polygon fill="%23dc143c" opacity="0.3" points="200,100 300,250 100,250"/><rect fill="%23ff3366" opacity="0.2" x="700" y="300" width="200" height="200" transform="rotate(45 800 400)"/><polygon fill="%23c41e3a" opacity="0.25" points="400,400 500,500 300,500"/></svg>');
    background-size: cover;
    transition: transform 0.1s ease-out;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
    background: linear-gradient(135deg, #dc143c 0%, #ff3366 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    color: #e0e0e0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections communes */
.glass-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #2d0a0a 0%, #1a1a1a 100%);
}

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

h2 {
    text-align: center;
    color: #dc143c;
    font-size: 2.5rem;
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    text-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
}

h2.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glassmorphism Cards */
.glass-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: rgba(220, 20, 60, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 0;
    clip-path: polygon(10% 0%, 100% 0%, 90% 100%, 0% 100%);
    padding: 30px;
    border: 2px solid rgba(220, 20, 60, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(220, 20, 60, 0.2);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.4);
    border-color: #dc143c;
}

.glass-card h3 {
    color: #ff3366;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.glass-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Masonry Grid */
.masonry-section {
    padding: 100px 20px;
    background: #0d0d0d;
}

.masonry-grid {
    column-count: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    background: #1a1a1a;
    clip-path: polygon(0 0, 95% 0, 100% 5%, 100% 100%, 5% 100%, 0 95%);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.9);
    border: 1px solid rgba(220, 20, 60, 0.2);
}

.masonry-item.visible {
    opacity: 1;
    transform: scale(1);
}

.masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.5);
    border-color: #dc143c;
}

.masonry-item img {
    width: 100%;
    display: block;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
}

.masonry-item:hover img {
    filter: grayscale(0%) brightness(1);
}

.masonry-content {
    padding: 20px;
}

.masonry-content h3 {
    margin-bottom: 10px;
    color: #ff3366;
}

.masonry-content p {
    color: #c0c0c0;
    line-height: 1.5;
}

/* 3D Carousel */
.carousel-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
    perspective: 1000px;
}

.carousel-container {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto;
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    padding: 30px;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.3);
    transition: all 0.5s ease;
    cursor: pointer;
    border: 2px solid rgba(220, 20, 60, 0.3);
}

.carousel-item:hover {
    border-color: #dc143c;
}

.carousel-item h3 {
    color: #dc143c;
    margin-bottom: 15px;
}

.carousel-item p {
    color: #c0c0c0;
}

.carousel-controls {
    text-align: center;
    margin-top: 50px;
}

.carousel-btn {
    background: linear-gradient(135deg, #dc143c 0%, #c41e3a 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    margin: 0 10px;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: linear-gradient(135deg, #ff3366 0%, #dc143c 100%);
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.5);
}

/* CTA Section */
.cta-section {
    padding: 100px 20px;
    background: #0d0d0d;
    text-align: center;
}

.cta-button {
    background: linear-gradient(135deg, #dc143c 0%, #c41e3a 100%);
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.2rem;
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 10px;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(220, 20, 60, 0.6);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-button a {
    color: white;
    text-decoration: none;
    
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #dc143c;
}

/* Media Queries */
@media (max-width: 768px) {
    .masonry-grid {
        column-count: 1;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}



/* Footer CTA Section */
.cta-section {
    background: #0a0a0a;
    padding: 80px 20px;
    text-align: center;
    margin: 0;
}

.cta-section .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #dc143c 0%, #ff1744 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.3);
}

.cta-section .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.5);
}

.cta-section .cta-button:active {
    transform: translateY(-1px);
}

/* Éliminer l'espace blanc en bas */
body {
    background: #0a0a0a;
    margin: 0;
    padding: 0;
}
