/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    font-family: 'Yanone Kaffeesatz', sans-serif;
}

/*==========================
BACK TO TOP
==========================*/

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;

    width:55px;
    height:55px;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#064d2e;
    color:#fff;

    border:3px solid #fff;
    border-radius:50%;

    font-size:20px;
    text-decoration:none;

    box-shadow:0 8px 25px rgba(0,0,0,.25);

    opacity:0;
    visibility:hidden;

    transform:translateY(20px);

    transition:.35s ease;

    z-index:9999;
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.back-to-top:hover{

    background:#0b6b42;

    color:#fff;

    transform:translateY(-5px);

    box-shadow:0 12px 30px rgba(0,0,0,.35);

}

.back-to-top i{

    transition:.3s;

}

.back-to-top:hover i{

    transform:translateY(-2px);

}

html{
    scroll-behavior:smooth;
}



.about-hero{

    height:420px;

    background:
    linear-gradient(
        rgba(6,77,46,.85),
        rgba(6,77,46,.75)
    ),
    url("../img/gorille.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    position:relative;

}


.about-hero-content{

    position:relative;

    z-index:2;

    color:white;

    max-width:900px;

    padding:30px;

}


.about-hero h1{

    font-family:'Yanone Kaffeesatz',sans-serif;

    font-size:65px;

    letter-spacing:1px;

    margin-bottom:20px;

}


.about-hero h1 i{

    font-size:45px;

    margin-right:15px;

}


.about-hero p{

    font-size:22px;

    line-height:1.6;

}
/*====================================================
WHATSAPP FLOAT PREMIUM
====================================================*/

.whatsapp-float{

    position:fixed;

    left:25px;
    bottom:25px;

    display:flex;
    align-items:center;
    gap:14px;

    text-decoration:none;

    z-index:9999;

}

.whatsapp-label{

    background:#ffffff;

    color:#064d2e;

    padding:14px 20px;

    border-radius:50px;

    font-size:15px;
    font-weight:600;

    white-space:nowrap;

    box-shadow:
        0 12px 35px rgba(0,0,0,.18);

    transition:.35s ease;

}

.whatsapp-icon{

    width:64px;
    height:64px;

    border-radius:50%;

    background:linear-gradient(135deg,#25D366,#128C7E);

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;

    font-size:34px;

    box-shadow:
        0 15px 40px rgba(37,211,102,.45);

    transition:.35s ease;

    animation:whatsappPulse 2.8s infinite;

}

.whatsapp-float:hover .whatsapp-icon{

    transform:scale(1.08) rotate(-8deg);

}

.whatsapp-float:hover .whatsapp-label{

    transform:translateX(6px);

    box-shadow:
        0 18px 45px rgba(0,0,0,.22);

}

@keyframes whatsappPulse{

    0%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,.45);

    }

    70%{

        box-shadow:
        0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,0);

    }

}

/* Mobile */

@media(max-width:768px){

    .whatsapp-label{

      

    }

    .whatsapp-icon{

        width:58px;
        height:58px;
        font-size:30px;

    }

}
/* ================= HEADER ================= */
.header {
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 40px;
    background:white;
    position:sticky;
    top:0;
    z-index:5000;
    border:1px solid #e8e8e8;
}

/* ================= LOGO ================= */
.logo img {
    height: 120px;
    transition: 0.3s;
}

.header.scrolled .logo img {
    height: 70px;
}

/* ================= MOBILE TITLE ================= */
.mobile-title {
    display: none;
    font-weight: bold;
    color: green;
    text-align: center;
    flex: 1;
}

/* ================= MENU DESKTOP ================= */
.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    font-weight: bold;
    font-size: 20px;
    color: black;
    transition: 0.2s;
}

.menu a:hover {
    color: green;
}

/* ================= DROPDOWN MENU ================= */
.dropdown {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    padding: 8px 0;
    list-style: none;
    z-index: 2000;
}

.dropdown:hover .submenu {
    display: flex;
}

.submenu li {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

/* ================= RIGHT MENU ================= */
.right-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ================= BUTTON DON ================= */
.don-btn {
    background: green;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.2s;
}

.don-btn:hover {
    background: white;
    color: green;
    border: 2px solid green;
}

/*==========================
LANGUAGE
===========================*/

.lang{
    position:relative;
    margin-left:20px;
    user-select:none;
}

.current-lang{
    display:flex;
    align-items:center;
    gap:8px;
    cursor:pointer;
    padding:8px 14px;
    border-radius:8px;
    transition:.3s;
    color:#222;
    font-weight:600;
}

.current-lang:hover{
    background:#f3f3f3;
}

.current-lang i{
    font-size:11px;
    transition:.3s;
}

.lang.active .current-lang i{
    transform:rotate(180deg);
}

.lang-dropdown{
    position:absolute;
    top:115%;
    right:0;
    width:170px;
    background:#fff;
    border-radius:10px;
    padding:8px 0;
    list-style:none;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:.25s;
    z-index:9999;
}

.lang.active .lang-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.lang-dropdown li{
    display:flex;
    align-items:center;
    gap:12px;

    padding:12px 18px;

    cursor:pointer;

    transition:.25s;
}

.lang-dropdown li:hover{
    background:#f3f3f3;
}

.lang-dropdown span{
    margin:0;
    font-size:15px;
}

/* ================= SEARCH ================= */
.search {
    position: relative;
}

.search-panel {
    position: absolute;
    top: 130%;
    right: 0;
    width: 320px;
    background: white;
    border: 2px solid #0aa06e;
    padding: 8px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-panel input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #0aa06e;
    border-radius: 8px;
    outline: none;
    font-size: 18px;
}

.search.active .search-panel {
    opacity: 1;
    visibility: visible;
}

/* ================= OVERLAY ================= */
.overlay {

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.45);

    opacity:0;
    visibility:hidden;

    z-index:3000;

    transition:.3s;
}


.overlay.active {

    opacity:1;
    visibility:visible;

}
/* ================= HAMBURGER ================= */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 5000;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #000;
    border-radius: 3px;
}

/* ================= MOBILE ================= */
@media(max-width:900px){

    .menu{

        z-index:6000 !important;

    }

    .menu li{

        width:100%;

    }

    .menu a{

        display:block;

        width:100%;

        padding:15px 0;

    }

}

@media (max-width: 900px) {

    .logo img {
        height: 70px;
    }

    .mobile-title {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 30px;
        transition: 0.3s ease;
        z-index: 4000;
        box-shadow: 5px 0 25px rgba(0,0,0,0.2);
    }

    .menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .right-menu {
        gap: 10px;
    }
}

/* ================= HERO ================= */
.hero {
    position: relative;
    height: 80vh;
    width: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
 
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 60px;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-size: 70px;
}

.hero-content p {
    font-size: 20px;
}

/* ================= ABOUT SECTION ================= */
.about-section {
    padding: 90px 5%;
    background: #ffffff;
}

/* CONTAINER */
.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    position: relative;
}

/* ================= IMAGE ================= */
.about-image {
    width: 45%;
    position: relative;
    z-index: 1;
}

.about-image img {
    width: 115%; /* léger zoom pour plus de présence */
    display: block;
    object-fit: cover;
    border: none;
}

/* ================= TEXTE (CARD DESIGN) ================= */
.about-text {
    width: 60%;
    background: #f5f5f5;
    padding: 50px;

    border: 1px solid #e8e8e8;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);

    /* chevauchement sur image */
    margin-left: -50px;

    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center; /* centre vertical */
    min-height: 340px;
}

/* ================= TITLE ================= */
.about-title {
    font-size: 34px;
    color: #064d2e;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

/* ================= PARAGRAPHE ================= */
.about-paragraph {
    font-family: "Poppins", sans-serif;
    font-size: 20px;
    line-height: 1.8;
    color: #333;
    white-space: pre-line;
}

/* ================= BUTTON ================= */
.about-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 28px;

    background: #0aa06e;
    color: white;
    font-weight: 600;

    border-radius: 6px;
    text-decoration: none;

    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: fit-content;
}

/* hover clean premium */
.about-btn:hover {
    background: white;
    color: #0aa06e;
    border: 2px solid #0aa06e;
    transform: translateY(-3px);
}

/* effet shimmer discret */
.about-btn::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.25);
    transition: 0.4s;
}

.about-btn:hover::after {
    left: 100%;
}

/* ================= ANIMATION ENTREE ================= */
.about-container {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.about-container.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MOBILE (inchangé comme demandé) ================= */
@media (max-width: 900px) {

    .about-container {
        flex-direction: column;
    }

    .about-image {
        display: none;
    }

    .about-text {
        width: 100%;
        margin-left: 0;
    }
}
/* ================= IMAGE CAPTION ================= */
.about-image {
    display: flex;
    flex-direction: column;
}

.about-caption {
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    color: #555;
    margin-top: 10px;
    line-height: 1.4;
    font-style: italic;
    padding-left: 2px;
}




/* ================= NEWS SECTION ================= */
.news-section {
    background: #ffffff;
    padding: 60px 15px 90px;
    margin-top: -40px;
    position: relative;
    overflow: hidden;
}

/* 🔥 FOND VERT DOUX FULL WIDTH */
.news-section::before {
    content: "";
    position: absolute;

    top: 220px;
    left: 50%;
    transform: translateX(-50%);

    width: 100vw;
    height: calc(100% - 205px); /* 🔥 stop ~15px après les cards */

        background:

    linear-gradient(
        135deg,
        #064d2e,
        #0aa06e
    );
    z-index: 0;
}

/* CONTAINER */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* ================= HEADER ================= */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* TITLE */
.news-header h2 {
    font-size: 48px;
    color: #064d2e;
    font-weight: 900;
}

/* VIEW ALL */
.news-header a {
    font-size: 22px;
    font-weight: 700;
    color: #2ecc71;
    text-decoration: none;
    transition: 0.3s ease;
}

.news-header a:hover {
    color: #27ae60;
    transform: translateX(4px);
}

/* ================= GRID ================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

/* ================= CARD ================= */
.news-card {
    background: #fff;
    overflow: hidden;
    position: relative;
    border: none;

    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease;
}

.news-card.show {
    opacity: 1;
    transform: translateY(0);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

/* IMAGE */
.news-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* ❌ pas de zoom */
.news-card:hover img {
    transform: none;
}

/* CONTENT */
.news-content {
    padding: 18px;
}

/* TITLE LINK */
.news-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: 0.3s ease;
}

/* 🔥 hover vert doux */
.news-title:hover {
    color: #2ecc71;
    text-decoration: underline;
}

/* TEXT */
.news-content p {
    font-size: 16px;
    color: #444;
    font-family: "Poppins", sans-serif;
    margin-top: 8px;
}

/* DATE */
.news-date {
    font-size: 12px;
    color: #888;
    margin-top: 10px;
    display: block;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .news-header h2 {
        font-size: 34px;
    }

    .news-section::before {
        top: 200px;
        height: calc(100% - 180px);
    }
}

@media (max-width: 600px) {

    .news-grid {
        grid-template-columns: 1fr;
    }

    /* 🔥 UNE LIGNE PROPRE */
    .news-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .news-header h2 {
        font-size: 26px;
    }

    .news-header a {
        font-size: 14px;
    }

    /* 🔥 fond ajusté mobile */
    .news-section::before {
        top: 180px;
        height: calc(100% - 160px);
    }
}

/* ================= COUNTER SECTION ================= */
.counter-section {
    position: relative;
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    /* 🔥 FIX : vrai parallax */
  
    background: url("/img/gorille.jpg") center/cover no-repeat;
    background-attachment: fixed;

    z-index: 1;
}

/* overlay */
.counter-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 60, 35, 0.60);
    z-index: 1;
}

/* container */
.counter-container {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    width: 90%;
    max-width: 1200px;

    margin: 0 auto;
}

/* box */
.counter-box {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);

    padding: 40px 25px;
    text-align: center;
    color: white;

    border-radius: 12px;

    transition: 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.18);
}

/* icône */
.counter-box i {
    font-size: 38px;
    margin-bottom: 12px;
    color: #7fdc9b;
}

/* chiffre */
.counter-number {
    font-size: 54px; /* 🔥 PLUS GRAND */
    font-weight: 900;
}

/* texte */
.counter-box p {
    font-size: 20px;
    opacity: 0.95;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
    .counter-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .counter-number {
        font-size: 42px;
    }
}

@media (max-width: 600px) {
    .counter-container {
        grid-template-columns: 1fr;
    }
}

/* ================= VIDEOS SECTION ================= */
.videos-section {
    padding: 100px 5%;
    background: #0b2f1f; /* vert nature profond */
}

/* container */
.videos-container {
    max-width: 1200px;
    margin: auto;
}

/* header */
.videos-header {
    text-align: center;
    margin-bottom: 50px;
}

.videos-header h2 {
    font-size: 52px;
    color: #7fdc9b;
    font-weight: 900;
    letter-spacing: 2px;
}

.videos-header p {
    color: white;
    opacity: 0.8;
    margin-top: 10px;
    font-size: 20px;
}

/* GRID */
.videos-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

/* MAIN VIDEO */
.video-main {
    grid-row: span 2;
}

.video-main iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border-radius: 12px;
    border: none;
}

/* SIDE VIDEOS */
.video-side iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: none;
}

/* effet hover premium */
.video-main,
.video-side {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.video-main::after,
.video-side::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15);
    opacity: 0;
    transition: 0.3s ease;
}

.video-main:hover::after,
.video-side:hover::after {
    opacity: 1;
}

/* zoom léger iframe */
.video-main iframe,
.video-side iframe {
    transition: 0.4s ease;
}

.video-main:hover iframe,
.video-side:hover iframe {
    transform: scale(1.03);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .videos-grid {
        grid-template-columns: 1fr;
    }

    .video-main iframe {
        min-height: 300px;
    }

    .video-side iframe {
        height: 220px;
    }
}

 

/* ================= TESTIMONIAL ================= */
/* SECTION */
.testimonial-section {
    background: #f5f5f5;
    padding: 80px 20px;
}

.testimonial-container {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* SLIDER */
.testimonial {
    display: none;
    animation: fade 0.6s ease;
}

.testimonial.active {
    display: block;
}

/* CONTENT */
.testimonial-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

/* IMAGE */
.testimonial-img img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

/* TEXT */
.testimonial-text {
    max-width: 500px;
    text-align: left;
}

.quote {
    font-size: 120px;
    color: #ccc;
}

.testimonial-text p {
    font-size: 22px;
    color: #333;
    margin: -30px 0 20px;
}

.testimonial-text h4 {
    margin: 0;
    font-weight: bold;
    color: #000;
}

/* DOTS */
.dots {
    margin-top: 40px;
}

.dot {
    height: 15px;
    width: 15px;
    border: 2px solid #333;
    border-radius: 50%;
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #333;
}

.dot:hover {
    background: #555;
}

/* ANIMATION */
@keyframes fade {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-text {
        text-align: center;
    }

    .testimonial-img img {
        width: 180px;
        height: 180px;
    }
}

/* ================= PARTNERS SECTION ================= */
.partners-section {
    padding: 110px 5%;
    background: #f5f5f5;
}

.partners-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.partners-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-header h2 {
    font-size: 48px;
    color: #064d2e;
    font-weight: 900;
}

.partners-header p {
    margin-top: 20px;
    font-size: 20px;
    color: #444;
    line-height: 1.6;
}

/* ================= GRID 5 LOGOS ================= */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* ================= CARD LOGO ================= */
.partner-card {
    position: relative;
    background: white;
    border-radius: 12px;

    height: 130px;
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    overflow: visible; /* IMPORTANT pour popup */

    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: 0.3s ease;
}

/* LOGO UNIFORME */
.partner-card img {
    max-width: 90%;
    max-height: 70px;
    object-fit: contain;

    transition: 0.3s ease;
    filter: grayscale(20%);
}

/* hover logo subtil */
.partner-card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

/* ================= POPUP PREMIUM ================= */
.partner-info {
    position: absolute;
    bottom: 110%;

    /* 🔥 on remplace le centrage dangereux */
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    /* largeur responsive */
    width: clamp(320px, 90vw, 320px);

    /* empêche tout débordement écran */
    max-width: calc(100vw - 16px);

    background: rgba(6, 77, 46, 0.97);
    color: white;
    font-size: 15px;
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    padding: 18px 20px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);

    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 999;
}

/* petit triangle */
.partner-info::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    border-width: 10px;
    border-style: solid;
    border-color: rgba(6, 77, 46, 0.97) transparent transparent transparent;
}

/* SHOW POPUP */
.partner-card:hover .partner-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-info {
        width: 260px;
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .partners-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* ================= FOOTER ================= */
.footer {
    position: relative;
    padding: 60px 40px 20px; /* 🔥 padding desktop */

    background: url("/img/bg_footer.jpg") center/cover no-repeat;
    color: white;
    overflow: hidden;
}

/* overlay vert transparent */
.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(6, 77, 46, 0.85);
    z-index: 0;
}

/* CONTAINER */
.footer-container {
    position: relative;
    z-index: 2;

    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

/* LEFT */
.footer-left {
    padding-left: 80px;
    flex: 1;
    margin-top: 30px; /* 🔥 descendu */
}

.logo img {
    width: 120px;
}

/* ================= SOCIAL ================= */
.socials {
    margin: 30px 0;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-right: 10px;

    border-radius: 8px;
    text-decoration: none;

    font-size: 18px;
    color: white;

    transition: 0.3s ease;
}

/* couleurs officielles */
.socials a.facebook { background: #1877f2; }
.socials a.x { background: #000000; }
.socials a.youtube { background: #ff0000; }
.socials a.instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB);
}

/* hover */
.socials a:hover {
    transform: translateY(-4px);
    opacity: 0.9;
}

/* ================= LINKS ================= */
.footer-links {
    margin-top: 30px; /* 🔥 descendu */
}

.footer-links a {
    margin-right: 20px;
    text-decoration: none;
    color: #7fdc9b;
    font-weight: 600;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ================= RIGHT ================= */
.footer-right {
   
    flex: 1;
    min-width: 220px;
    margin-top: 30px; /* 🔥 descendu */
    margin-right: 80;
}

.footer-right h2 {
    color: #7fdc9b;
    margin-bottom: 15px; /* 🔥 espace subscribe */
}

/* ================= FORM ================= */
.ppf-footer-contact-form,
.ppf-footer-contact-form div,
.ppf-footer-contact-form input,
.ppf-footer-contact-form textarea,
.ppf-footer-contact-form button{
    margin-bottom:0;
}

.footer-right form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* inputs */
.footer-right input {
    padding: 12px;
    border: none;
    font-size: 14px;
    border-radius: 6px;
}

/* FIRST NAME 50% */
.footer-right input:nth-child(1) {
    width: calc(50% - 8px);
}

/* LAST NAME 50% */
.footer-right input:nth-child(2) {
    width: calc(50% - 8px);
}

/* EMAIL FULL */
.footer-right input:nth-child(3) {
    width: 100%;
}

/* FORM */
.footer-right form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* INPUTS */
.footer-right input {
    padding: 12px;
    border: none;
    font-size: 14px;
    border-radius: 6px;
}

/* FIRST + LAST */
.footer-right input:nth-child(1),
.footer-right input:nth-child(2) {
    width: calc(50% - 8px);
}

/* EMAIL */
.footer-right input:nth-child(3) {
    width: 100%;
}

/* ✅ FIX CHECKBOX (IMPORTANT) */
.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;

    width: 100%;
    margin-top: 5px;

    font-size: 14px;
    color: #ddd;
}

/* 🔥 TRÈS IMPORTANT */
.checkbox input {
    flex: 0 0 auto; /* empêche l’étirement */
    width: 16px;
    height: 16px;
    margin: 0; /* reset navigateur */
}

/* BUTTON */
.footer-right button {
    width: 100%;
}

/* BUTTON */
.footer-right button {
    width: 100%;
    background: #0aa06e;
    color: white;
    border: none;
    padding: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.footer-right button:hover {
    background: #087f58;
}

/* ================= BOTTOM ================= */
.footer-bottom {
    position: relative;
    z-index: 2;

    margin-top: 40px;
    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.2);

    display: flex;
    justify-content: space-between;
    font-size: 14px;
    flex-wrap: wrap;

    color: white; /* 🔥 texte blanc */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .footer {
        padding: 60px 20px 20px; /* mobile */
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-right form {
        flex-direction: column;
    }

    .footer-right input:nth-child(1),
    .footer-right input:nth-child(2) {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}



.ppf-footer-contact{
    width:100%;
}

.ppf-footer-contact h2{
    margin-bottom:15px;
}


/* FORMULAIRE */

.ppf-footer-contact-form{
    width:100%;
}


.ppf-footer-contact-field{
    width:100%;
    margin-bottom:8px;
}


/* INPUT EMAIL */

.ppf-footer-contact-email{

    width:100% !important;
    height:45px !important;

    padding:0 15px !important;

    border:none !important;
    outline:none !important;

    border-radius:5px !important;

    background:#fff !important;

    color:#555 !important;

    font-size:14px !important;

    font-family:inherit !important;

    box-sizing:border-box !important;

    display:block !important;
}


/* MESSAGE */

.ppf-footer-contact-message{

    width:100% !important;

    height:100px !important;

    padding:12px 15px !important;

    border:none !important;
    outline:none !important;

    border-radius:5px !important;

    background:#fff !important;

    color:#555 !important;

    font-size:14px !important;

    font-family:inherit !important;

    resize:none !important;

    box-sizing:border-box !important;

    display:block !important;

}


/* PLACEHOLDER */

.ppf-footer-contact-email::placeholder,
.ppf-footer-contact-message::placeholder{

    color:#777;

    font-size:13px;

}


/* BOUTON */

.ppf-footer-contact-submit{

    width:100% !important;

    height:42px !important;

    border:none !important;

    border-radius:5px !important;

    cursor:pointer;

    margin-top:3px;

    font-size:14px;

    font-weight:600;

}


/* MESSAGES */

.ppf-footer-contact-success{

    margin-top:12px;

    color:#9df39d;

    font-size:13px;

}


.ppf-footer-contact-error{

    margin-top:12px;

    color:#ffc3c3;

    font-size:13px;

}

 