@import url('https://fonts.googleapis.com/css2?family=BBH+Bogle&family=Dancing+Script:wght@400..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik:ital,wght@0,300..900;1,300..900&family=Satisfy&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f7fa;
}

/* NAVBAR */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0F4C75;
    padding: 45px 15px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */

.logo a {
    color: white;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
    animation: blink 2s infinite;

}

/* CLIGNOTEMENT DOUX */

@keyframes blink {

    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }

}

/* MENU */

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 19px;
    padding: 5px 0;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;
}

/* ANIMATION HOVER */

.nav-links a::after {

    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background: #2E8B57;
    left: 0;
    bottom: -4px;
    transition: 0.4s;

}

.nav-links a:hover::after {

    width: 100%;

}

.nav-links a:hover {

    color: #2E8B57;

}

/* BOUTON CONTACT */

.navbar .contact-btn {

    background: #2E8B57;
    padding: 10px 8px;
    border-radius: 15px;

}

.contact-btn:hover {

    background: #1e6e44;
    color: white;

}

.btn-primary {
    font-family: "Poppins", sans-serif;
}

.btn-secondary {
    font-family: "Poppins", sans-serif;
}

/* Accueil CSS */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 85px;
}

/* SLIDER */

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
}


.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    top: 5%;
    left: 0;
}

.slide.active {
    opacity: 1;
}

/* OVERLAY */

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 76, 117, 0.75);
}

/* CONTENU */

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

/* ANIMATION TEXTE */

.fade-text {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s forwards;
}

.delay {
    animation-delay: 0.6s;
}

.delay2 {
    animation-delay: 1.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TITRE */

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    font-family: "Poppins", sans-serif;
}

/* BOUTONS */

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #2E8B57;
    padding: 14px 25px;
    border-radius: 6px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: 0.4s;
    font-family: "Poppins", sans-serif;
}

.btn-primary ion-icon {
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}

.btn-secondary ion-icon {
    font-weight: bold;
    font-family: "Poppins", sans-serif;
}


.btn-primary:hover {
    background: #1e6e44;
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    color: #0F4C75;
    padding: 14px 25px;
    border-radius: 6px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    transition: 0.4s;
    font-family: "Poppins", sans-serif;
}

.btn-secondary:hover {
    background: #76b4dd;
    transform: translateY(-3px);
}

/* CSS LIEN VISITER LA GALERIE  */
.image-library {

    padding: 60px 20px;
    text-align: center;
    background: #ffffff;
    margin-top: 60px;

}

.library-icon {

    font-size: 50px;
    color: rgba(14, 14, 73, 0.534);

}

.image-library h3 {

    margin-top: 15px;
    font-size: 26px;
    font-family: "Poppins", sans-serif;
    color: #0F4C75;

}

.image-library p {

    max-width: 600px;
    margin: 15px auto;
    color: #555;
    font-family: "Poppins", sans-serif;

}

.library-btn {

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: 2px solid black;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: black;
    transition: 0.3s;
    font-family: "Poppins", sans-serif;

}

.library-btn:hover {

    background: rgb(78, 78, 168);
    color: white;

}

/* CSS NUMERIQUE  */
/* Section Principale */
/* Section principale */
.fs-section {
  padding: 50px 20px;
  background-color: #1e3a8a; /* Bleu */
  color: #fff;
  text-align: center;
  margin-top: 30px;
}

/* Header */
.section-header h2 {
  font-size: 1.9rem;
  margin-bottom: 10px;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

.section-header p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-family: "Poppins", sans-serif;
}

/* Cards container */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Card */
.card {
  background-color: #fff;
  color: #000;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Image card */
.card-img {
  width: 300px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Card title */
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #1e3a8a;
  font-family: "Poppins", sans-serif;
}

/* Card description */
.card p {
  font-size: 0.95rem;
  margin-bottom: 12px;
  font-family: "Poppins", sans-serif;
}

/* Bouton contact */
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  background-color: #25d366; /* vert WhatsApp */
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  
}

.btn-contact:hover {
  background-color: #128c7e;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }
}

/* Bouton whatsapp */
/* ===== WHATSAPP FLOAT BUTTON ===== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1ebe5d;
}

/* Animation Pulse */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* // BURGER */
.burger {
    font-size: 32px;
    cursor: pointer;
    display: none;
    color: white;
}

/* RESPONSIVE DESIGN */
/* BURGER */

.burger {
    display: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* MOBILE */

@media (max-width:768px) {

    .burger {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .nav-links {

        flex-direction: column;
        background: #0F4C75;
        width: 100%;
        text-align: center;
        padding: 20px 0;
        position: absolute;
        top: -700px;
        left: 0;

        transition: 0.4s ease;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links.active {
        top: 80px;
    }

}

/* accueil responsive  */
@media (max-width: 992px) {

    .hero-content {
        max-width: 700px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

}

@media (max-width: 768px) {

    .hero {
        height: auto;
        padding: 100px 20px 60px;
    }

    .hero-content {
        max-width: 100%;
        padding: 10px;
    }

    .hero h1 {
        font-size: 26px;
        line-height: 1.4;
    }

    .hero p {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 480px) {

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

}

@media (max-width: 992px) {
    .image-library {
        padding: 50px 15px;
    }

    .library-icon {
        font-size: 45px;
    }

    .image-library h3 {
        font-size: 24px;
    }

    .image-library p {
        font-size: 16px;
    }

    .library-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .image-library {
        padding: 40px 10px;
    }

    .library-icon {
        font-size: 40px;
    }

    .image-library h3 {
        font-size: 22px;
    }

    .image-library p {
        font-size: 15px;
        max-width: 90%;
    }

    .library-btn {
        padding: 10px 18px;
        font-size: 14px;
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .library-icon {
        font-size: 35px;
    }

    .image-library h3 {
        font-size: 20px;
    }

    .image-library p {
        font-size: 14px;
    }

    .library-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}