/* SAE Page Événement - Styles "Nuit des Purges" (Sans ombres, fond transparent) */

.sae-evenement-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    background-color: transparent; /* Laisse le rose du site apparaître */
    color: #1a1a1a; /* Texte foncé pour la lisibilité sur le rose */
    font-family: 'Inter', system-ui, sans-serif;
}

/* ========== HERO SECTION ========== */

.sae-evenement-hero {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-bottom: 4px solid #1a1a1a; /* Bordure nette brutaliste */
}

.sae-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    opacity: 0.3; /* Image très discrète en fond */
}

.sae-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
}

.sae-hero-content {
    position: relative;
    z-index: 3;
    padding: 3rem 2rem;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sae-evenement-titre {
    margin: 0 0 1rem 0;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Zéro text-shadow */
}

.sae-evenement-sous-titre {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333333;
    font-style: italic;
}

.sae-evenement-description-courte {
    margin: 0;
    max-width: 700px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #1a1a1a;
    font-weight: 500;
}

/* ========== SECTION VIDÉO ========== */

.sae-evenement-video {
    padding: 0 2rem;
    background: transparent;
}

.sae-evenement-video h2 {
    margin: 0 0 2rem 0;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a1a;
    text-transform: uppercase;
}

.sae-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border: 4px solid #1a1a1a; /* Bordure forte à la place de l'ombre */
    background-color: #1a1a1a;
    /* Zéro box-shadow */
}

.sae-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========== SECTION DESCRIPTION ========== */

.sae-evenement-description {
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.sae-description-content h2 {
    margin: 0 0 2rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    border-left: 6px solid #1a1a1a;
    padding-left: 1rem;
}

.sae-description-content p {
    margin: 0;
    font-size: 1.1rem;
    color: #333333;
    line-height: 1.8;
    text-align: justify;
    font-weight: 500;
}

/* ========== SECTION CARACTÉRISTIQUES ========== */

.sae-evenement-caracteristiques {
    padding: 4rem 2rem;
    background: transparent;
    border-top: 4px solid #1a1a1a;
    border-bottom: 4px solid #1a1a1a;
}

.sae-evenement-caracteristiques h2 {
    margin: 0 0 3rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a1a;
    text-transform: uppercase;
}

.sae-caracteristiques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sae-caracteristique-card {
    padding: 2.5rem 1.5rem;
    background: transparent;
    text-align: center;
    border: 3px solid #1a1a1a; /* Remplacement de l'ombre */
    transition: transform 0.3s ease;
}

.sae-caracteristique-card:hover {
    transform: translateY(-5px);
    background: rgba(26, 26, 26, 0.05); /* Léger fond au survol au lieu d'une ombre */
}

.sae-carac-icone {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    /* Zéro shadow sur l'icône */
}

.sae-caracteristique-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
}

.sae-caracteristique-card p {
    margin: 0;
    color: #444444;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
}

/* ========== GALERIE (CORRIGÉE) ========== */

.sae-evenement-galerie {
    padding: 0 2rem;
}

.sae-evenement-galerie h2 {
    margin: 0 0 3rem 0;
    font-size: 2.2rem;
    font-weight: 800;
    text-align: center;
    color: #1a1a1a;
    text-transform: uppercase;
}

.sae-galerie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.sae-galerie-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Garde la forme carrée même vide */
    border: 3px solid #1a1a1a; /* Bordure bien visible */
    background-color: rgba(26, 26, 26, 0.05); /* Fond gris clair transparent */
    /* Zéro box-shadow */
}

.sae-galerie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sae-galerie-item:hover img {
    transform: scale(1.05);
}

/* ========== BOUTONS & CTA ========== */

.sae-cta-primary {
    background: #1a1a1a !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 1.2rem !important;
    padding: 1.2rem 3rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
    /* Zéro box-shadow et zéro animation pulse */
}

.sae-cta-primary:hover {
    background: #333333 !important;
    transform: translateY(-3px);
}

.sae-evenement-cta {
    padding: 4rem 2rem;
    background: transparent;
    color: #1a1a1a;
    text-align: center;
    border-top: 4px solid #1a1a1a;
}

.sae-cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.sae-cta-content h2 {
    margin: 0 0 1rem 0;
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    text-transform: uppercase;
}

.sae-cta-content p {
    margin: 0 0 2.5rem 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333333;
    font-weight: 500;
}

.sae-cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 3px solid #1a1a1a;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sae-cta-button:hover {
    background: #1a1a1a;
    color: #ffffff;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {
    .sae-evenement-titre { font-size: 2.5rem; }
    .sae-cta-content h2 { font-size: 2rem; }
    .sae-evenement-description h2, .sae-evenement-caracteristiques h2, .sae-evenement-galerie h2 { font-size: 1.8rem; }
}