/* =====================================
   IMPORTATION DE LA POLICE
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');


/* =====================================
   VARIABLES
===================================== */

:root{

    --rouge:#d90127;
    --bleu:#022347;

    --blanc:#ffffff;
    --noir:#222222;

    --gris:#6b7280;
    --gris-clair:#f5f5f5;

}


/* =====================================
   RESET
===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins', sans-serif;
    background:var(--blanc);
    color:var(--noir);

    overflow-x:hidden;

}


/* =====================================
   CONTENEUR
===================================== */

.container{

    width:90%;
    max-width:1200px;

    margin:auto;

}


/* =====================================
   TITRES
===================================== */

h1{

    font-size:3rem;
    font-weight:700;

}

h2{

    font-size:2.5rem;
    font-weight:700;

}

h3{

    font-size:1.5rem;
    font-weight:700;

}

p{

    font-size:1.2rem;
    line-height:1.8;

    color:var(--gris);

}


/* =====================================
   LIENS
===================================== */

a{

    text-decoration:none;

}


/* =====================================
   IMAGES
===================================== */

img{

    max-width:100%;
    display:block;

}


/* =====================================
   BOUTON PRINCIPAL
===================================== */

.btn{

    display:inline-block;

    padding:14px 35px;

    background:var(--rouge);

    color:white;

    border-radius:50px;

    transition:0.3s;

    font-weight:500;

}

.btn:hover{

    transform:translateY(-4px);

}


/* =====================================
   HEADER
===================================== */

.header{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    background:white;

    z-index:1000;

    box-shadow:0 2px 15px rgba(0,0,0,0.08);

}

.navbar{

    height:90px;

    display:flex;
    justify-content:space-between;
    align-items:center;

}


/* =====================================
   LOGO
===================================== */

.logo img{

    height:210px;
    width:auto;
	margin-right: 50px;


}


/* =====================================
   MENU
===================================== */

.menu{

    display:flex;

    gap:35px;

    list-style:none;

}

.menu a{

    color:var(--bleu);

    font-weight:500;

    transition:0.3s;

}

.menu a:hover{

    color:var(--rouge);

}


/* =====================================
   HAMBURGER
===================================== */

.hamburger{

    display:none;

    flex-direction:column;

    gap:5px;

    cursor:pointer;

}

.hamburger span{

    width:28px;
    height:3px;

    background:var(--bleu);

    border-radius:10px;

}


/* =====================================
   SECTIONS
===================================== */

section{

    padding:100px 0;

}


/* =====================================
   HERO
===================================== */

.hero{

    min-height:100vh;

    display:flex;
    align-items:center;

    padding-top:90px;

}

.hero-contenu{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.hero-texte h1{

    color:var(--bleu);

    margin-bottom:20px;

}

.hero-texte p{

    margin-bottom:30px;

}

.hero-image img{

    width:100%;

}


/* =====================================
   CARTES
===================================== */

.carte{

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 10px 25px rgba(0,0,0,0.08);

    transition:0.3s;

}

.carte:hover{

    transform:translateY(-10px);

}


/* =====================================
   FOOTER
===================================== */

footer{

    background:var(--bleu);

    color:white;

    padding:80px 0 30px;

}

.footer-contenu{

    display:grid;

    grid-template-columns:2fr 1fr 1.5fr 1fr;

    gap:50px;

}

.footer-logo{

    width:180px;

    margin-bottom:20px;

}

.footer-colonne h3{

    color:white;

    margin-bottom:20px;

    font-size:1.2rem;

}

.footer-colonne p{

    color:rgba(255,255,255,0.85);

    margin-bottom:12px;

}

.footer-colonne ul{

    list-style:none;

}

.footer-colonne ul li{

    margin-bottom:12px;

}

.footer-colonne a{

    color:rgba(255,255,255,0.85);

    transition:0.3s;

}

.footer-colonne a:hover{

    color:var(--rouge);

}

.copyright{

    margin-top:60px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,0.15);

    text-align:center;

    color:rgba(255,255,255,0.7);

}

/* =====================================
   ANIMATION
===================================== */

.animation{

    opacity:0;

    transform:translateY(40px);

    transition:0.8s;

}

.animation.visible{

    opacity:1;

    transform:translateY(0);

}


/* =====================================
   TABLETTE
===================================== */

@media(max-width:992px){
	
	.galerie-contenu{

    grid-template-columns:1fr;

}

.galerie-grille{

    margin-top:30px;

}
	.presentation-contenu{

    grid-template-columns:1fr;

}
	.services-grille{

    grid-template-columns:1fr;

}

    .hero-contenu{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-contenu{

        grid-template-columns:1fr;

        text-align:center;

    }
	

}


/* =====================================
   MOBILE
===================================== */

@media(max-width:689px){


    h1{

        font-size:2.2rem;

    }

    h2{

        font-size:1.8rem;

    }

    .hamburger{

        display:flex;

    }

    .navigation{

        position:fixed;

        top:90px;
        right:-100%;

        width:280px;
        height:100vh;

        background:white;

        transition:0.4s;

        box-shadow:-5px 0 20px rgba(0,0,0,0.08);

    }

    .navigation.active{

        right:0;

    }

    .menu{

        flex-direction:column;

        padding:40px;

        gap:25px;

    }

}
/* =====================================
   HERO ACCUEIL
===================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;
    align-items:center;
    background-size:cover;
    background-position:center;

    margin-top:90px;

}
/* Accueil */
.hero-accueil{
    background-image:url("../images/hero-accueil.jpg");
}

/* À propos */
.hero-apropos{
    background-image:url("../images/hero-apropos.jpg");
}

/* Services */
.hero-services{
    background-image:url("../images/hero-services.jpg");
}

/* Formations */
.hero-formations{
    background-image:url("../images/hero-formations.jpg");
}

/* Contact */
.hero-servicess{
    background-image:url("../images/hero-servicess.jpg");
}

/* Com*/
.hero-com{
    background-image:url("../images/hero-com.jpg");
}

/* Assombrit légèrement l'image */

.overlay{

    position:absolute;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(2,35,71,0.55);

}

.hero-contenu{

    position:relative;

    z-index:2;

}

.hero-texte{

    max-width:650px;

}

.hero-texte h1{

    color:white;

    font-size:4rem;

    margin-bottom:20px;

    line-height:1.2;

}

.hero-texte p{

    color:white;

    margin-bottom:35px;

    font-size:1.1rem;

}
.overlay{
    position:absolute;
    inset:0;

    background:linear-gradient(
        to right,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.65) 40%,
        rgba(0,0,0,0.35) 70%,
        rgba(0,0,0,0.10) 100%
    );
}
/* =====================================
   PRESENTATION
===================================== */

.presentation{

    background:white;

}

.presentation-contenu{

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.presentation-image img{

    width:100%;

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,0.10);

}

.sous-titre{

    display:inline-block;

    color:var(--rouge);

    font-weight:700;

    margin-bottom:15px;

    letter-spacing:2px;

}

.presentation-texte h2{

    color:var(--bleu);

    margin-bottom:25px;

}

.presentation-texte p{

    margin-bottom:20px;

}
/* =====================================
   PRESENTATION
===================================== */

.presentation{

    background:white;

}

.presentation-contenu{

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.presentation-image img{

    width:100%;

    border-radius:20px;

    box-shadow:0 20px 50px rgba(0,0,0,0.10);

}

.sous-titre{

    display:inline-block;

    color:var(--rouge);

    font-weight:700;

    margin-bottom:15px;

    letter-spacing:2px;

}

.presentation-texte h2{

    color:var(--bleu);

    margin-bottom:25px;

}

.presentation-texte p{

    margin-bottom:20px;

}
/* =====================================
   TITRES DE SECTION
===================================== */

.titre-section{

    text-align:center;

    margin-bottom:70px;

}

.titre-section h2{

    color:var(--bleu);

    margin-top:10px;

}


/* =====================================
   SERVICES ACCUEIL
===================================== */

.services-accueil{

    background:var(--bleu);

}

.services-grille{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-carte{

    background:white;

    border-radius:25px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,0.08);

    transition:0.4s;

}

.service-carte:hover{

    transform:translateY(-10px);

}

.service-carte img{

    width:100%;

    height:400px;

    object-fit:cover;

}

.service-contenu{

    padding:10px;

}

.service-contenu h3{

    color:var(--bleu);

    margin-bottom:15px;
	text-align:center;

}

.service-contenu p{

    margin-bottom:25px;

}

.btn-service{

    color:var(--rouge);

    font-weight:600;

}
.titre-section{
    text-align:left;
    margin-bottom:30px;
}

.lien-services{

    display:inline-block;

    padding:14px 35px;

    background:var(--rouge);

    color:white;

    border-radius:50px;

    transition:0.3s;

    font-weight:500;
	 margin-bottom:30px;

}

.lien-services:hover{

    transform:translateY(-4px);

}

.titre-section h2{

    color:var(--bleu);

    font-size:2.8rem;

}
.services-accueil h2{
    color:white;
}

.service-carte{
    position:relative;
    overflow:hidden;
}

.service-carte::before{
    content:"";

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:400px;

    background:linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.25) 40%,
        transparent 100%
    );

    z-index:1;
}

.service-contenu{
    position:relative;
    z-index:2;
}
/* =====================================
   GALERIE
===================================== */

.galerie{

    background:white;

}

.galerie-contenu{

    display:grid;
    grid-template-columns:1fr 1fr;

    gap:80px;

    align-items:center;

}

.galerie-texte h2{

    color:var(--bleu);

    margin:15px 0 25px;

}

.galerie-texte p{

    margin-bottom:30px;

}

.galerie-grille{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;

}

.galerie-grille img{

    width:100%;
    height:250px;

    object-fit:cover;

    border-radius:20px;

    transition:0.4s;

}

.galerie-grille img:hover{

    transform:scale(1.03);

}
/* =========================
   QUI SOMMES NOUS
========================= */

.qui-sommes-nous{

    padding:100px 0;

    background:#fff;
}

.apropos-grid{

    display:grid;

    grid-template-columns:1fr 1.3fr;

    gap:60px;

    align-items:center;
}

.apropos-images{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:15px;
}

.apropos-images img{

    width:100%;

    object-fit:cover;

    border-radius:10px;
}

.apropos-images img:nth-child(1){

    height:300px;
}

.apropos-images img:nth-child(2){

    height:300px;
}

.apropos-images img:nth-child(3){

    grid-column:1 / span 2;

    height:180px;
}

.apropos-texte h2{

    color:var(--bleu);

    margin-bottom:20px;
}

.apropos-texte p{

    margin-bottom:15px;

    line-height:1.8;
}
/* =====================================
   NOS LOCAUX
===================================== */

.nos-locaux{

    background:#022347;

    padding:80px 0;

}

.nos-locaux h2{

    color:var(--blanc);

    margin-bottom:30px;

}

.carousel-container{

    position:relative;

    overflow:hidden;

}

.carousel-track{

    display:flex;

    gap:20px;

    transition:0.5s ease;
}

.carousel-track img{

    min-width:280px;

    height:320px;

    object-fit:cover;

    border-radius:15px;

    flex-shrink:0;
}

.carousel-btn{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:45px;

    height:45px;

    border:none;

    border-radius:50%;

    background:white;

    cursor:pointer;

    z-index:10;

    font-size:20px;

    box-shadow:0 5px 15px rgba(0,0,0,0.15);
}

.prev{

    left:10px;
}

.next{

    right:10px;
}
.carousel-btn:disabled{

    opacity:0.4;

    cursor:not-allowed;

}
/* ===========================
   SECTION PARTENAIRES
=========================== */

.section-partenaires{

    position:relative;

    height:700px;

    margin-bottom:270px;
	margin-top:80px;
}

/* SLIDE */
.slide-overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,0.65);

    z-index:2;
}

.slider-partenaires{

    position:relative;

    height:800px;

    overflow:hidden;
	
	
	
}

.slide{

    position:absolute;

    width:100%;
    height:100%;

    opacity:0;

    transition:1s;
}

.slide.active{
    opacity:1;
}

.slide img{

    width:100%;
    height:100%;

    object-fit:cover;
}
.section-partenaires h2{

    text-align:center;

    margin-bottom:30px;

    color:#022347;
}


/* CARTE */

.partenaires-card{
    position:absolute;
    left:50%;
    bottom:-250px;
    transform:translateX(-50%);
    width:100%;
    max-width:1000px;

    background:#fff;
    border-radius:15px;
    padding:30px;

    box-shadow:0 15px 40px rgba(0,0,0,.15);

    z-index:5;
}

.partenaires-card h3{
    text-align:center;
    margin-bottom:25px;
    color:#022347;
}

/* Le conteneur masque les logos qui sortent */
.logos-container{
    overflow:hidden;
    width:100%;
}

/* La piste qui défile */
.logos-track{
    display:flex;
    align-items:center;
    gap:60px;
    width:max-content;
    animation:defilement 18s linear infinite;
}

/* Logos */
.logos-track img{
    height:90px;
    width:auto;
    object-fit:contain;
    flex-shrink:0;
}

@keyframes defilement{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(calc(-50% - 30px));
    }

}
/* ==========================
   SERVICES
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f4f7fb;
}

/* STRUCTURE */
.section {
    width: 100%;
    padding: 50px 0;
}

.container {
    width: 85%;
    margin: auto;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.content.reverse {
    flex-direction: row-reverse;
}

/* TEXTE */
.text {
    width: 50%;
}

.line {
    display: block;
    width: 50px;
    height: 3px;
    background: #2f6fed;
    margin-bottom: 20px;
}

.text h2 {
    font-size: 34px;
    margin-bottom: 20px;
    font-weight: 800;
	font-weight: bold;
}

.text p {
    color: #5a5a5a;
    line-height: 1.7;
    margin-bottom: 25px;
}

.link {
    color: #2f6fed;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.link:hover {
    letter-spacing: 1px;
}

/* IMAGE */
.image {
    width: 50%;
	
}

.image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* LIGHT SECTION */
.light {
    background: #ffffff;
}

/* DARK SECTION */
.dark {
    background: linear-gradient(120deg, #0b1c2c, #123a5c);
    color: white;
}

.dark p {
    color: #c7d2e0;
}

.dark .link {
    color: #7ab6ff;
}

/* RESPONSIVE */
@media(max-width: 900px) {

    .content {
        flex-direction: column;
    }

    .content.reverse {
        flex-direction: column;
    }

    .text, .image {
        width: 100%;
    }

    .text h2 {
            font-size:2.5rem;
    font-weight: bold;
    }
}
.espace{
        color:white;
	width:100px;
	height: 50px;
    }
/* ==========================
   CATALOGUE SERVICES
========================== */

.catalogue-services{

    padding:100px 0;

    background:#f8f8f8;
}

.catalogue-services h2{

    font-size:42px;

    color:#022347;

    margin-bottom:60px;
}

.grille-services{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:50px;
}

.carte-service{

    text-decoration:none;

    text-align:center;

    transition:.3s;
}

.carte-service img{

    width:100%;

    height:350px;

    object-fit:cover;

    border-radius:15px;
}

.carte-service video{

    width:100%;

    height:350px;



    border-radius:15px;
}

.carte-service h3{

    margin-top:15px;

    color:#333;

    font-size:18px;

    font-weight:600;
}

.carte-service:hover{

    transform:translateY(-10px);
}
.carte-service{

    overflow:hidden;
}

.carte-service img{

    transition:.4s;
}
.carte-service video{

    transition:.4s;
}

.carte-service:hover img{

    transform:scale(1.05);
}
.carte-service:hover video{

    transform:scale(1.05);
}
/* ===================================== */
/* PAGE CONTACT */
/* ===================================== */

.contact-section{
    padding:100px 10%;
    background:#ffffff;
}

.contact-container{
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:50px;
}

/* ===================================== */
/* FORMULAIRE */
/* ===================================== */

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.contact-form h2{
    color:#0b2c66;
    margin-bottom:30px;
    font-size:32px;
}

.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px 20px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
    outline:none;
    transition:0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#d90429;
}

.contact-form textarea{
    resize:none;
}

.contact-form .btn{
    border:none;
    cursor:pointer;
    width:fit-content;
}

/* ===================================== */
/* INFORMATIONS */
/* ===================================== */

.contact-info{
    background:#edf2f9;
    padding:40px;
    border-radius:20px;
}

.contact-info h2{
    color:#0b2c66;
    margin-bottom:35px;
    font-size:32px;
}

.info-item{
    display:flex;
    gap:20px;
    margin-bottom:35px;
    align-items:flex-start;
}

.info-item i{
    font-size:24px;
    color:#d90429;
    min-width:30px;
    margin-top:5px;
}

.info-item h3{
    color:#0b2c66;
    margin-bottom:8px;
    font-size:20px;
}

.info-item p{
    color:#555;
    line-height:1.8;
}

/* ===================================== */
/* MAP */
/* ===================================== */

.map-section{
    padding:100px 10%;
    background:#edf2f9;
}

.map-section h2{
    margin-top:15px;
    color:#0b2c66;
    font-size:40px;
}

.map-container{
    margin-top:50px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.10);
}

.map-container iframe{
    width:100%;
    height:500px;
    border:none;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media(max-width:992px){

    .contact-container{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .contact-section,
    .map-section{
        padding:70px 7%;
    }

    .contact-form,
    .contact-info{
        padding:25px;
    }

    .contact-form h2,
    .contact-info h2,
    .map-section h2{
        font-size:28px;
    }

    .map-container iframe{
        height:350px;
    }

}

/* =====================================
   LIGHTBOX
===================================== */

.lightbox{

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.9);

    display:flex;

    justify-content:center;
    align-items:center;

    opacity:0;
    visibility:hidden;

    transition:.3s ease;

    z-index:9999;

}

.lightbox.active{

    opacity:1;
    visibility:visible;

}

.lightbox img{

    max-width:90%;
    max-height:90%;

    border-radius:10px;

    box-shadow:0 20px 50px rgba(0,0,0,.5);

    animation:zoom .3s ease;

}

@keyframes zoom{

    from{

        transform:scale(.8);
        opacity:0;

    }

    to{

        transform:scale(1);
        opacity:1;

    }

}

.lightbox-close{

    position:absolute;

    top:20px;
    right:35px;

    font-size:45px;

    color:#fff;

    cursor:pointer;

    transition:.3s;

}

.lightbox-close:hover{

    color:#2e7df6;

}
.success-message{

    background:#d4edda;

    color:#155724;

    padding:15px;

    border-radius:8px;

    margin-bottom:20px;

    border:1px solid #c3e6cb;

    font-weight:600;

}

/*==================================================
BLOG
==================================================*/

.blog-page{

    padding:60px 0;

    background:#f5f5f5;

}

/*==================================================
BLOC MAGAZINE
==================================================*/

.featured-news{

    margin-bottom:80px;

}

.featured-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    grid-template-rows:270px 270px 200px;

    gap:18px;

}

/*=========================
ARTICLE PRINCIPAL
=========================*/

.featured-main{

    position:relative;

    grid-column:1;

    grid-row:1 / span 2;

    overflow:hidden;

    border-radius:15px;

}

.featured-main img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.featured-main:hover img{

    transform:scale(1.08);

}

/*=========================
COLONNE DROITE
=========================*/

.featured-side{

    display:grid;

    gap:18px;

}

.side-card{

    position:relative;

    overflow:hidden;

    border-radius:15px;

}

.side-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.side-card:hover img{

    transform:scale(1.08);

}

/*=========================
LIGNE BAS
=========================*/

.featured-bottom{

    grid-column:1 / span 2;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:18px;

}

.bottom-card{

    position:relative;

    overflow:hidden;

    border-radius:15px;

}

.bottom-card img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.6s;

}

.bottom-card:hover img{

    transform:scale(1.08);

}

/*=========================
OVERLAY
=========================*/

.overlay{

    position:absolute;

    left:0;

    right:0;

    bottom:0;

    padding:30px;

    color:#fff;

    background:linear-gradient(
    transparent,
    rgba(0,0,0,.92)
    );

}

.overlay span{

    display:inline-block;

    background:#d90127;

    padding:8px 18px;

    border-radius:30px;

    font-size:12px;

    margin-bottom:15px;

    font-weight:600;

    text-transform:uppercase;

}

.overlay h2{

    font-size:42px;

    margin-bottom:10px;

    line-height:1.2;

}

.overlay h3{

    font-size:24px;

    line-height:1.3;

}

.overlay h4{

    font-size:20px;

    line-height:1.3;

}

.overlay p{

    margin-top:10px;

    font-size:15px;

}

/*=========================
OMBRE
=========================*/

.featured-main,
.side-card,
.bottom-card{

    box-shadow:0 18px 35px rgba(0,0,0,.15);

}

.featured-main:hover,
.side-card:hover,
.bottom-card:hover{

    box-shadow:0 25px 45px rgba(0,0,0,.22);

}
/*==================================================
SECTION ACTUALITÉS
==================================================*/

.news-section{

    padding:20px 0 80px;

}

.section-title{

    font-size:40px;

    color:#022347;

    margin-bottom:40px;

    font-weight:700;

}

.news-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

/*==================================================
CARTE
==================================================*/

.news-card{

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.news-card:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

/*==================================================
IMAGE
==================================================*/

.news-image{

    position:relative;

    overflow:hidden;

    height:230px;

}

.news-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.news-card:hover img{

    transform:scale(1.08);

}

.play-icon{

    position:absolute;

    top:50%;

    left:50%;

    transform:translate(-50%,-50%);

    width:70px;

    height:70px;

    border-radius:50%;

    background:rgba(255,255,255,.9);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    color:#d90127;

}

/*==================================================
CONTENU
==================================================*/

.news-content{

    padding:25px;

}

.news-category{

    display:inline-block;

    background:#022347;

    color:#fff;

    padding:6px 15px;

    border-radius:30px;

    font-size:12px;

    text-transform:uppercase;

    margin-bottom:15px;

}

.news-date{

    color:#888;

    font-size:14px;

    margin-bottom:15px;

}

.news-content h3{

    color:#022347;

    font-size:22px;

    line-height:1.3;

    margin-bottom:15px;

}

.news-summary{

    color:#666;

    line-height:1.8;

    margin-bottom:25px;

}

/*==================================================
BOUTON
==================================================*/

.read-more{

    background:#d90127;

    color:#fff;

    border:none;

    padding:12px 22px;

    border-radius:30px;

    cursor:pointer;

    transition:.3s;

    font-weight:600;

}

.read-more:hover{

    background:#022347;

}

/*==================================================
POPUP
==================================================*/

.blog-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.85);

    display:none;

    justify-content:center;

    align-items:center;

    padding:30px;

    z-index:9999;

}

.blog-modal.active{

    display:flex;

}

.modal-content{

    width:100%;

    max-width:950px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    max-height:90vh;

    overflow-y:auto;

    position:relative;

}

.close-modal{

    position:absolute;

    top:15px;

    right:20px;

    font-size:38px;

    color:#fff;

    cursor:pointer;

    z-index:10;

}

#modal-media img{

    width:100%;

    display:block;

}

#modal-media iframe{

    width:100%;

    height:520px;

    border:none;

}

.modal-body{

    padding:35px;

}

#modal-category{

    display:inline-block;

    background:#d90127;

    color:#fff;

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:20px;

}

#modal-title{

    color:#022347;

    margin-bottom:10px;

}

#modal-date{

    color:#888;

    margin-bottom:20px;

}

#modal-text{

    color:#555;

    line-height:1.9;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1100px){


.news-grid{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:992px){

.featured-grid{

    grid-template-columns:1fr;

    grid-template-rows:auto;

}

.featured-main{

    grid-column:auto;

    grid-row:auto;

    height:420px;

}

.featured-bottom{

    grid-column:auto;

}

}

@media(max-width:768px){

.news-grid{

    grid-template-columns:1fr;

}

.featured-bottom{

    grid-template-columns:1fr;

}

.side-card{

    height:250px;

}

.bottom-card{

    height:250px;

}

.overlay h2{

    font-size:28px;

}

.overlay h3{

    font-size:20px;

}

.section-title{

    font-size:30px;

}

#modal-media iframe{

    height:260px;

}

.modal-body{

    padding:25px;

}

}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.left {
    transform: translateX(-80px);
}

.right {
    transform: translateX(80px);
}

.left.active,
.right.active {
    transform: translateX(0);
}

.hero-texte h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 600px;
}

/* 🔥 pendant l'effet */
.hero-texte h1.typing-active {
    white-space: nowrap;
}

/* ✅ après effet */
.hero-texte h1.typing-done {
    white-space: normal;
}
.typing-cursor {
    display: inline-block;
    margin-left: 3px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%,100% {opacity: 1;}
    50% {opacity: 0;}
}

.hero {
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("ton-image.jpg") center/cover no-repeat;
    z-index: -1;

    animation: zoomHero 12s ease-in-out infinite alternate;
}

@keyframes zoomHero {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}
