/* ==========================================================
   PRESIDENT.CSS
   2B ÉVÉNEMENT
   Version Premium 2026
==========================================================*/

/* ==========================
   VARIABLES
========================== */

:root{

    --bleu:#0B3C5D;
    --orange:#F39C12;
    --blanc:#ffffff;
    --gris:#f5f7fa;
    --texte:#2d3748;

}

/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:linear-gradient(135deg,#0B3C5D,#164d73);

    color:var(--blanc);

    overflow-x:hidden;

}

/* ==========================
   SECTION
========================== */

.president{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:70px 20px;

}

/* ==========================
   CONTENEUR
========================== */

.container{

    width:100%;

    max-width:1050px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border-radius:28px;

    padding:60px;

    text-align:center;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

    transition:1s;

    animation:apparition 1s ease;

}

/* ==========================
   PHOTO
========================== */

.photo-president{

    width:430px;

    max-width:100%;

    height:auto;

    display:block;

    margin:0 auto 40px;

    filter:drop-shadow(0 20px 40px rgba(0,0,0,.40));

    animation:zoomPhoto 1.5s ease;

}

/* ==========================
   TITRE
========================== */

h1{

    font-size:3rem;

    color:var(--orange);

    margin-bottom:10px;

    animation:fadeDown 1s ease;

}

/* ==========================
   LIGNE
========================== */

.ligne{

    width:0;

    height:4px;

    background:var(--orange);

    border-radius:30px;

    margin:20px auto 40px;

    animation:ligneTitre 1.2s forwards;

}

/* ==========================
   CITATION
========================== */

.citation{

    font-size:1.25rem;

    font-style:italic;

    color:#eeeeee;

    margin-bottom:45px;

}

/* ==========================
   TEXTE
========================== */

.texte{

    text-align:justify;

    line-height:1.9;

    font-size:1.08rem;

}

.texte p{

    margin-bottom:24px;

    opacity:0;

    animation:fadeTexte .8s forwards;

}

.texte p:nth-child(1){animation-delay:.3s;}
.texte p:nth-child(2){animation-delay:.6s;}
.texte p:nth-child(3){animation-delay:.9s;}
.texte p:nth-child(4){animation-delay:1.2s;}
.texte p:nth-child(5){animation-delay:1.5s;}
.texte p:nth-child(6){animation-delay:1.8s;}
.texte p:nth-child(7){animation-delay:2.1s;}
.texte p:nth-child(8){animation-delay:2.4s;}

/* ==========================
   LETTRINE
========================== */

.texte p:first-child::first-letter{

    float:left;

    font-size:4rem;

    line-height:1;

    color:var(--orange);

    font-weight:700;

    padding-right:10px;

}

/* ==========================
   SIGNATURE
========================== */

.signature{

    margin-top:45px;

    color:var(--orange);

    font-size:1.3rem;

    font-weight:700;

    line-height:1.8;

}

/* ==========================
   EDITION
========================== */

.edition{

    margin-top:15px;

    font-size:.90rem;

    letter-spacing:2px;

    text-transform:uppercase;

    color:#dddddd;

}

/* ==========================
   BOUTON
========================== */

.btn-site{

    display:inline-block;

    margin-top:40px;

    background:var(--orange);

    color:white;

    text-decoration:none;

    padding:18px 48px;

    border-radius:50px;

    font-size:1rem;

    font-weight:600;

    transition:.35s;

}

.btn-site:hover{

    background:white;

    color:var(--bleu);

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(0,0,0,.35);

}/* ==========================================================
   COMPTE À REBOURS CINÉMA
========================================================== */

#countdown{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:#000;

    opacity:0;

    visibility:hidden;

    transition:.6s;

    z-index:99999;

}

#countdown.show{

    opacity:1;

    visibility:visible;

}

#number{

    font-size:14rem;

    font-weight:700;

    color:#ffffff;

    text-shadow:
        0 0 20px rgba(255,255,255,.25),
        0 0 50px rgba(255,255,255,.15);

    transition:.25s;

}

/* ==========================================================
   ANIMATIONS
========================================================== */

@keyframes apparition{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes zoomPhoto{

    from{

        opacity:0;

        transform:scale(.80);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

@keyframes fadeDown{

    from{

        opacity:0;

        transform:translateY(-35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes ligneTitre{

    from{

        width:0;

    }

    to{

        width:190px;

    }

}

@keyframes fadeTexte{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:992px){

.container{

    padding:45px;

}

.photo-president{

    width:340px;

}

}

@media (max-width:768px){

.container{

    padding:35px 25px;

}

.photo-president{

    width:250px;

}

h1{

    font-size:2.2rem;

}

.citation{

    font-size:1rem;

}

.texte{

    font-size:1rem;

    text-align:left;

}

.signature{

    font-size:1.1rem;

}

.btn-site{

    width:100%;

    padding:16px;

}

#number{

    font-size:8rem;

}

}

@media (max-width:480px){

.photo-president{

    width:210px;

}

h1{

    font-size:1.8rem;

}

.ligne{

    margin:15px auto 30px;

}

#number{

    font-size:6rem;

}

}