/*
 Theme Name:   Hello Child
 Template:     hello-elementor
 Version:      1.0
 Author: GNK
Author URI: http://gnk.com
Description: Hello Child theme base on hello-elementor theme
Text Domain: Hello Child
*/



header-sticky.elementor-sticky--effects {
    background-color: #ffffff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.sils-header {
    height: 100px !important;
    display: flex;
    align-items: center; /* Centre le contenu verticalement */
}


/* 1. Force la section à ignorer les limites du thème */
.sils-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remplacez .votre-classe par la classe que vous avez donnée à votre section */
.sils-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999; /* Pour qu'il reste au-dessus du contenu */
    transition: all 0.3s ease; /* Pour un effet fluide */
}

/* Optionnel : Ajoute une ombre pour détacher le header du contenu au scroll */
.sils-header {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}


.logo-let{
    padding: 32px 40px;
    display: inline-block;
    border-radius: 50%;
    background-color: #fff;
    -webkit-box-shadow: 0px 16px 32px 0px rgba(183, 186, 187, 0.1);
    box-shadow: 0px 16px 32px 0px rgba(183, 186, 187, 0.1);
}


/* 1. Force la section à ignorer les limites du thème */
.we-sils {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/*SECTION SLOGAN SITE*/
.tagline {
    color: #1F425D;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 400;
    margin: 10px 0 0 0;
    letter-spacing: 5px;
    text-transform: uppercase;
  }

  .divider {
    width: 200px;
    height: 1px;
    background-color: #e0e0e0;
    margin: 30px auto;
  }

  .slogan-container {
    color: #1F425D;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    line-height: 1.3;
  }

  .slogan-top {
    margin: 0;
  }

  .slogan-bottom {
    margin: 5px 0 0 0;
  }

  .highlight {
    color: #FDD459; /* Jaune SILS */
  }


/*SECTION LATEST NEWS*/

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 0;
}

.latest-news-card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.latest-news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

/* Wrapper image */
.latest-news-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
}

/* Image */
.latest-news-image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Badge catégorie */
/*.latest-news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff6b57;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 4px;
    z-index: 5;
}
*/


.latest-news-category {
    position: absolute;
    bottom: 1px;   /* Ajusté pour remonter le badge */
    left: 5px;

    background: #ff6b57;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;

    padding: 7px 18px;

    /* Coins supérieurs arrondis seulement */
    border-radius: 6px 6px 0 0;

    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

    z-index: 10;
}

.latest-news-content {
    padding: 25px;
}

.latest-news-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2c3c;
    margin-bottom: 15px;
    line-height: 1.4;
}

.latest-news-card h3 a {
    text-decoration: none;
    color: inherit;
}

.latest-news-card p {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.latest-news-meta {
    font-size: 13px;
    color: #8a8f98;
    display: flex;
    gap: 15px;
}

/* Responsive */

@media (max-width: 1024px) {
    .latest-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
    }
}


.news-fond h5 {
    font-size: 150px;
    line-height: 1;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color:#1f425d;
    -webkit-text-fill-color: transparent;
    opacity: .10;
    margin-bottom: 0;
    position: absolute;
    top: -83px;
    font-weight: 700;
    text-transform: capitalize;
    z-index: -1;
    letter-spacing: -4px;
}


/*LE SLIDER--------

#n2-ss-3,
#n2-ss-3 .n2-ss-slide,
#n2-ss-3 .n2-ss-slide-background {
    height: 100vh !important;
	}

/* Effet zoom lent type Ken Burns 
.animation-sils .n2-ss-slide-background img {
    animation: kenburns 20s ease-in-out infinite alternate;
    transform-origin: center center;
}

@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.animation-sils .n2-ss-slide-background-overlay {
    background: rgba(0,0,0,0.55) !important;
}
*/

/* Slider plein écran */
#n2-ss-3,
#n2-ss-3 .n2-ss-slide,
#n2-ss-3 .n2-ss-slide-background {
    height: 98vh !important;
}

/* Ken Burns : zoom lent continu sur l’image de fond */
.animation-sils .n2-ss-slide-background img {
    animation: kenburns 7s ease-in-out infinite alternate;
    transform-origin: center center;
}

/* Overlay sombre cinéma */
.animation-sils .n2-ss-slide-background-overlay {
    /*background: rgba(31, 66, 93, 0.45) !important;*/
    background: linear-gradient(
    to bottom,
    rgba(31, 66, 93, 0.75) 0%,
    rgba(31, 66, 93, 0.55) 40%,
    rgba(31, 66, 93, 0.35) 100%
) !important;
}

/* Slide active : léger zoom + rotation pour simuler la transition */
#n2-ss-3 .n2-ss-slide {
    opacity: 0;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform: scale(1) rotate(0deg);
    transition: transform 12s ease-in-out, opacity 1s ease-in-out;
    z-index: 1;
}

#n2-ss-3 .n2-ss-slide.n2-ss-slide-active {
    opacity: 1;
    transform: scale(1.02) rotate(-1deg);
    z-index: 2;
}

/* Texte plus lisible / style premium */
.animation-sils .n2-ss-layer {
    text-shadow: 0 8px 25px rgba(31,66,93,0.6);
}

/* Animation Ken Burns */
@keyframes kenburns {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}



/* Texte invisible et positionné plus bas */
.cinema-text {
    opacity: 0;
    transform: translateY(40px); /* départ plus bas */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

/* Texte visible quand slide active */
#n2-ss-3 .n2-ss-slide.n2-ss-slide-active .cinema-text {
    opacity: 1;
    transform: translateY(0); /* remonte à sa position normale */
	 transition-delay: 0.3s; /* texte arrive 0.3s après que la slide soit active */
}


/* Animation texte du bas de l'écran vers sa position finale */
@keyframes slideUpFromBottomFull {
    0% {
        opacity: 0;
        transform: translateY(100vh); /* départ au bas du slider */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* position finale du texte */
    }
}

/* Appliquer l’animation à tous les textes */
.cinema-text {
    animation: slideUpFromBottomFull 1.5s ease-out forwards;
    animation-delay: 0.3s; /* optionnel : délai avant que le texte remonte */
}


.animation-sils .n2-ss-slide-background img {
    filter: brightness(0.6) contrast(1.1);
}




.services {
    position: relative;
    overflow: hidden;
}

/* Image */
.services img {
    width: 100%;
    height: 55vh;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

/* Zoom très léger automatique */
.services:hover img {
    transform: scale(1.05);
}

/* Overlay dégradé élégant */
.services::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3),
        rgba(0,0,0,0.5)
    );
}

.services img {
    filter: brightness(0.95) contrast(1.05) saturate(1.05);
}



selector {
    position: relative;
    overflow: hidden;
    background: #000;
}

/* Image */
.services img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    filter: brightness(0.75) contrast(1.1) saturate(1.05);
    transition: transform 8s ease;
}

/* Zoom très subtil */
.services:hover img {
    transform: scale(1.04);
}

/* Overlay dégradé luxe */
.services::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(0, 0, 0, 0.75) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}



/* Carte Email Elementor */
.contact-email-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
}

.contact-email-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

/* Icône */
.contact-email-box .elementor-icon {
    background: #2e7d32;
    padding: 18px;
    border-radius: 50%;
    color: #ffffff !important;
}

/* Titre */
.contact-email-box h4,
.contact-email-box .elementor-heading-title {
    margin-bottom: 8px;
    font-weight: 600;
}

/* Texte descriptif */
.contact-email-box p {
    margin-bottom: 10px;
    color: #666;
}

/* Lien Email */
.contact-email-box a {
    color: #2e7d32;
    font-weight: 600;
    text-decoration: none;
}

.contact-email-box a:hover {
    text-decoration: underline;
}













/* --- CSS PREMIUM ARTICLES --- */
/* ===== PREMIUM ARTICLE DESIGN ===== */

.premium-single {
    padding: 80px 20px;
    background: #f5f7fa;
}

.premium-article {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
}

/* TITLE */
.premium-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* DATE */
.premium-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* IMAGE */
.premium-image {
    margin-bottom: 40px;
}

.premium-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

/* CONTENT */
.premium-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* BACK BUTTON */
.premium-back {
    margin-top: 50px;
}

.back-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #111;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #333;
}
