/* ==========================================================================
   FORUM EMI-ENTREPRISES — SchoolRedesign.css
   Style officiel premium doré pour la page École
   ========================================================================== */

/* ── Page Defaults ── */
body {
    background-color: #000;
    margin: 0;
    padding: 0;
}

/* ── Dynamic Crystal & Glass Background ── */
.info-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: #000;
    overflow: hidden;
    perspective: 1500px;
}

.info-bg-base {
    position: absolute;
    top: -2%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: url('../../images/Ecole/Background .webp') no-repeat center center;
    background-size: cover;
    opacity: 1;
    filter: brightness(0.85) contrast(1.1) saturate(0.9) sepia(0.12);
    image-rendering: -webkit-optimize-contrast;
    animation: infoBgOrbit 60s linear infinite alternate;
}

@keyframes infoBgOrbit {
    0% {
        transform: scale(1) rotate(0deg);
    }

    100% {
        transform: scale(1.02) rotate(1deg);
    }
}

/* Glass refraction sweep */
.info-bg-refraction {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(115deg,
            transparent 20%,
            rgba(255, 255, 255, 0.0) 30%,
            rgba(255, 255, 255, 0.12) 48%,
            rgba(201, 168, 76, 0.25) 50%,
            rgba(255, 255, 255, 0.12) 52%,
            rgba(255, 255, 255, 0.0) 70%,
            transparent 80%);
    background-size: 50% 100%;
    mix-blend-mode: overlay;
    opacity: 0.7;
    animation: infoGlassSweep 14s ease-in-out infinite;
}

@keyframes infoGlassSweep {
    0% {
        transform: translateX(-100%) skewX(-20deg);
        opacity: 0;
    }

    20% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.7;
    }

    100% {
        transform: translateX(100%) skewX(-20deg);
        opacity: 0;
    }
}

/* Floating crystal plates */
.info-crystal-plate {
    position: absolute;
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(4px) brightness(1.15);
    border: 1px solid rgba(201, 168, 76, 0.12);
    box-shadow: inset 0 0 20px rgba(201, 168, 76, 0.06);
    z-index: 1;
    pointer-events: none;
}

.info-plate-1 {
    width: 380px;
    height: 550px;
    top: 8%;
    left: -6%;
    transform: rotate(-12deg);
    animation: infoPlateFloat 22s infinite alternate;
}

.info-plate-2 {
    width: 450px;
    height: 280px;
    bottom: 4%;
    right: -8%;
    transform: rotate(8deg);
    animation: infoPlateFloat 28s infinite alternate-reverse;
}

@keyframes infoPlateFloat {
    0% {
        transform: translate(0, 0) rotate(-12deg);
    }

    100% {
        transform: translate(25px, 40px) rotate(-8deg);
    }
}

/* Halos dorés — remplace les blobs mauve/rose/indigo */
.info-blobs-container {
    position: absolute;
    width: 100%;
    height: 100%;
    mix-blend-mode: screen;
    filter: blur(100px);
    opacity: 0.5;
}

.info-blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    animation: infoBlobDrift 40s infinite alternate ease-in-out;
}

.info-blob-mauve {
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, #c9a84c 0%, transparent 70%);
    top: -5%;
    left: -5%;
}

.info-blob-pink {
    width: 35vw;
    height: 35vh;
    background: radial-gradient(circle, #f5e2a8 0%, transparent 70%);
    bottom: -5%;
    right: -5%;
    animation-delay: -6s;
}

.info-blob-indigo {
    width: 25vw;
    height: 25vh;
    background: radial-gradient(circle, #8a6d1f 0%, transparent 70%);
    top: 35%;
    left: 35%;
    animation-delay: -12s;
}

@keyframes infoBlobDrift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(5%, 3%) scale(1.05);
    }
}

/* Texture fine dorée */
.info-bg-shards {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.08;
    mix-blend-mode: color-dodge;
    background-image:
        linear-gradient(45deg, rgba(201, 168, 76, 0.08) 25%, transparent 25.5%, transparent 75%, rgba(201, 168, 76, 0.08) 75%),
        linear-gradient(-45deg, rgba(245, 226, 168, 0.06) 25%, transparent 25.5%, transparent 75%, rgba(201, 168, 76, 0.06) 75%);
    background-size: 140px 140px;
    animation: infoShardFlow 60s linear infinite;
}

@keyframes infoShardFlow {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 1000px 1000px;
    }
}

/* Sparkle dots dorées */
.info-sparkle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(245, 226, 168, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 8px 1px rgba(201, 168, 76, 0.6);
    animation: infoSparklePulse 6s infinite ease-in-out;
    pointer-events: none;
    z-index: 5;
}

@keyframes infoSparklePulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Voile de vignettage */
.info-bg-mist {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.6) 100%);
    pointer-events: none;
}

/* ── Titre héro ── */
.container-IDvisu {
    width: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 60px;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.1) 0%, transparent 100%);
    position: relative;
    z-index: 2;
}

.container-IDvisu::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 1px;
    background: linear-gradient(to right, transparent, #c9a84c, transparent);
}

.grand-titre {
    font-family: 'Playfair Display', 'Lora', serif;
    font-size: clamp(36px, 6vw, 80px);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(90deg, #a67f28, #f5e2a8, #c9a84c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.6));
    animation: infoTitle-glow 5s ease-in-out infinite alternate;
}

@keyframes infoTitle-glow {
    0% {
        filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.25));
    }

    50% {
        filter: drop-shadow(0 0 28px rgba(245, 226, 168, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.25));
    }
}

/* ── Video Section ── */
#videoContainer {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 2;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

#PresentationVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9) contrast(1.05);
}

#gradientOverlay,
#gradientTopOverlay {
    position: absolute;
    width: 100%;
    height: 30%;
    pointer-events: none;
}

#gradientOverlay {
    background: linear-gradient(transparent, #000);
    bottom: 0;
    left: 0;
}

#gradientTopOverlay {
    background: linear-gradient(#000, transparent);
    top: 0;
    left: 0;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* ── Press release wrapper ── */
.press-release-section {
    width: 100%;
    position: relative;
    z-index: 2;
}

/* ── Carte de présentation, façon communiqué officiel ── */
.press-card {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    border: 1px solid rgba(201, 168, 76, 0.22);
    border-radius: 24px;
    padding: 60px 48px;
    box-shadow:
        0 0 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
}

.press-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    border-radius: 24px 0 0 24px;
    background: linear-gradient(to bottom, transparent, #c9a84c, transparent);
}

.press-body {
    font-family: 'Lora', serif;
    font-size: clamp(17px, 2.2vw, 20px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
}

.press-body p {
    margin: 0 0 1.6em 0;
}

.press-body p strong {
    color: #f5e2a8;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.press-body p:first-of-type::first-letter {
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    font-weight: 800;
    float: left;
    line-height: 0.8;
    margin: 8px 12px 0 0;
    background: linear-gradient(135deg, #f5e2a8, #c9a84c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .press-card {
        padding: 30px 20px;
        border-radius: 16px;
    }

    .press-body {
        font-size: 16px;
        text-align: left;
    }

    #videoContainer {
        height: 60vh;
    }

    .presentation-layout {
        flex-direction: column;
    }

    .filieres-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Presentation Layout (Text + Image) ── */
.presentation-layout {
    display: flex;
    align-items: stretch;
    gap: 60px;
    max-width: 1600px;
    width: 95%;
    margin: 0 auto;
    padding: 0 0 120px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.presentation-text-col {
    flex: 1.5;
    display: flex;
    align-items: center;
}

.presentation-img-col {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.press-image {
    width: auto;
    max-width: 100%;
    height: 100%;
    min-height: 450px;
    object-fit: contain;
    border-radius: 16px;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.2));
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease;
}

.press-image:hover {
    transform: scale(1.03) translateY(-6px);
    filter: drop-shadow(0 0 40px rgba(201, 168, 76, 0.4));
}

/* ── Filières Section ── */
.filieres-section {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px 120px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.filieres-main-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0;
    background: linear-gradient(90deg, #a67f28, #f5e2a8, #c9a84c);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(201, 168, 76, 0.25));
}

.filieres-main-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 2px;
    margin: 20px auto 0;
    background: linear-gradient(90deg, transparent, #c9a84c, transparent);
}

.filieres-sub-title {
    font-family: 'Lora', serif;
    font-style: italic;
    font-size: clamp(14px, 1.5vw, 18px);
    font-weight: 400;
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    text-transform: none;
    letter-spacing: 0.06em;
    margin-top: 18px;
    margin-bottom: 60px;
}

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

.filiere-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px) saturate(1.1);
    -webkit-backdrop-filter: blur(15px) saturate(1.1);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.filiere-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 0%;
    background: linear-gradient(to bottom, #c9a84c, #f5e2a8);
    transition: height 0.6s ease;
}

.filiere-card:hover::before {
    height: 100%;
}

.filiere-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.15);
    border-color: rgba(201, 168, 76, 0.4);
}

.filiere-card-text h3 {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 700;
    color: #f5e2a8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.filiere-card-text ul {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    font-family: 'Lora', serif;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.filiere-card-text ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
}

.filiere-card-text ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    background: #c9a84c;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

.filiere-card-logo {
    text-align: center;
    margin-top: auto;
}

.filiere-card-logo img {
    max-width: 180px;
    max-height: 130px;
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(201, 168, 76, 0.15));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.filiere-card:hover .filiere-card-logo img {
    filter: drop-shadow(0 0 16px rgba(201, 168, 76, 0.35));
    transform: scale(1.05);
}