/* styles-accueil.css */

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-video video,
.hero-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(220, 20, 60, 0.7), 
        rgba(139, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--blanc);
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Indicateur de scroll */
.scroll-indicator {
    position: absolute;
    bottom: -145px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--blanc);
    border-radius: 20px;
    position: relative;
    margin: 0 auto 10px;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 4px;
    height: 10px;
    background: var(--blanc);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

.scroll-indicator p {
    color: var(--blanc);
    font-size: 0.9rem;
}

/* Présentation */
.presentation {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--blanc), var(--gris-clair));
}

.presentation-card {
    background: var(--blanc);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.presentation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--rouge-principal), var(--rouge-clair));
}

.presentation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(220, 20, 60, 0.15);
}

.presentation-text h3 {
    font-size: 2rem;
    color: var(--rouge-principal);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.presentation-text h4 {
    font-size: 1.3rem;
    color: var(--rouge-fonce);
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 20px;
}

.presentation-text h4::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--rouge-principal);
    animation: pulse 2s infinite;
}

.presentation-text p {
    color: var(--gris);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
    background: var(--blanc);
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--rouge-principal), var(--rouge-clair));
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    animation: fadeInUp 0.6s ease both;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--rouge-principal);
    border: 4px solid var(--blanc);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--rouge-tres-clair);
    z-index: 1;
    transition: var(--transition);
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-item:hover::before {
    transform: scale(1.3);
    animation: pulse 1s infinite;
}

.timeline-date {
    font-weight: 600;
    color: var(--rouge-principal);
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-content {
    background: var(--blanc);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.2);
}

.timeline-content h3 {
    color: var(--rouge-fonce);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--gris);
    line-height: 1.6;
}

/* Section Recherche de stage */
.stage-search {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--rouge-tres-clair), var(--blanc));
}

.stage-card {
    background: var(--blanc);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(220, 20, 60, 0.1);
    position: relative;
    overflow: hidden;
}

.stage-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--rouge-tres-clair) 0%, transparent 70%);
    opacity: 0.3;
    animation: float 10s ease-in-out infinite;
}

.stage-content {
    position: relative;
    z-index: 1;
}

.stage-content > p {
    font-size: 1.1rem;
    color: var(--gris);
    margin-bottom: 2rem;
    text-align: center;
}

.stage-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.detail-item {
    background: linear-gradient(135deg, var(--rouge-tres-clair), var(--blanc));
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
}

.detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.1);
}

.detail-item h4 {
    color: var(--rouge-principal);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item p {
    color: var(--gris);
    line-height: 1.6;
}

.stage-card .cta-button {
    display: block;
    width: fit-content;
    margin: 2rem auto 0;
}

/* Animations au scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 20px;
        text-align: left;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: 20px;
    }
    
    .presentation-card {
        padding: 2rem;
    }
    
    .presentation-text h3 {
        font-size: 1.5rem;
    }
}
    
