:root {
    --blue: #0f5ea3;
    --green: #2ECC71;
    --yellow: #FBC02D;
    --dark: #0f172a;
    --light: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Nunito Sans, sans-serif;
}

body {

    font-family: 'Poppins', sans-serif;

    background-color: white;
    color: var(--dark);
}

/* Fade-in initial */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Classe activée quand visible */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover pour cartes et boutons */
.service-card, .team-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card:hover, .team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 50px rgba(0,0,0,0.15);
}

.btn-vision, .btn-catalogue, .btn-contact, .btn-primary, .btn-secondary {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-vision:hover, .btn-catalogue:hover, .btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.vision img {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}
.vision img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/*sidebar */

    /* Sidebar */
    .sidebar {
      width: 220px;
      background-color: #0d6efd;
      color: #fff;
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      padding: 20px;
    }

    .sidebar h2 {
      font-size: 20px;
      margin-bottom: 30px;
      text-align: center;
    }

    .sidebar a {
      color: #fff;
      text-decoration: none;
      padding: 10px 15px;
      margin: 5px 0;
      border-radius: 6px;
      transition: background 0.3s;
      display: block;
    }

    .sidebar a:hover {
      background: rgba(255,255,255,0.2);
    }

.navbar div .logo img {
    height: 70px;
    /* prend toute la hauteur de la navbar */
    width: auto;
    /* garde les proportions */
    object-fit: contain;
    /* l'image ne sera pas déformée */
}

.navbar {
    padding: 15px 40px;
    background: white;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky !important;
    z-index: 999 !important;
    top: 0px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

nav .container-fluid .logo {
    margin-right: 100px !important;
}

.navbar-collapse ul li a {
    color: var(--blue) !important;
    margin-left: 20px;
    text-decoration: none;
    font-size: 18px;
}

.dropdown-menu li .dropdown-item {
    color: black !important
}

.hero {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px;
    gap: 40px;
    background: url("/../assets/images/banniere.jpg") center/cover no-repeat;
}


.hero-text {
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--blue);
    font-family: "Nunito", sans-serif !important
}

.hero-text p {
    font-size: 30px;
    margin-top: 20px;
    color: white;
    font-family: "Nunito", sans-serif !important
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
}

.vision {
    background: #f8fafc;
}

.vision-text h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 20px;
}

.vision-text {
    font-size: 27px;
    line-height: 1.8;
    color: #444;
}

.vision-text .text-end {
    color: var(--blue);
}

.vision-image img {
    max-width: 100%;
    height: auto;
}


/* SERVICES */
#services {
  background: #f8fafc;
}

.service-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

/* ICON */
.service-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

/* TITRE */
.service-card h5 {
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 15px;
}

/* LISTE */
.service-card ul {
  padding-left: 0;
  list-style: none;
}

.service-card ul li {
  padding-left: 18px;
  margin-bottom: 8px;
  position: relative;
  color: #475569;
  font-size: 0.95rem;
}

.service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--blue), var(--green));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/* Bouton bleu */
.btn-vision {
    background-color: var(--blue);
    color: #fff;
    border-radius: 10px;
    font-size: 18px;
    padding: 12px 35px;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;

}

.btn-vision:hover {
    background-color: #1565c0;
    color: #fff;
}

/* Bouton jaune */
.btn-catalogue {
    background-color: var(--yellow);
    color: #111;
    border-radius: 10px;
    padding: 12px 35px;
    font-weight: 600;
    transition: 0.3s;
    font-size: 18px;
    text-decoration: none;
}

.btn-catalogue:hover {
    background-color: #f9a825;
    color: #111;
}


.team-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.team-card img {
    height: 260px;
    object-fit: cover;
}

.team-card .card-body {
    padding: 25px 20px;
}

.team-card .card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--blue);
}

.team-role {
    font-size: 14px;
    font-weight: 500;
    color: var(--green);
}

/* Section Contact */

/* CONTACT INFO */
.contact-info {
    background: linear-gradient(135deg, var(--blue), #0b4c82);
    color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}

/* TITRE */
.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
}

/* GRID */
.contact-grid {
    margin-top: 10px;
}

/* ITEM */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 14px;
    height: 100%;
}

/* ICONES */
.contact-item i {
    font-size: 1.5rem;
    color: var(--yellow);
    margin-top: 4px;
}

/* TEXTE */
.contact-item span {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.contact-item p {
    margin: 0;
    font-weight: 600;
    font-size: 1rem;
}

/* MOBILE */
@media (max-width: 576px) {
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* SECTION VISION */
.vision {
    background: #f8fafc;
}

/* TITRE */
.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: "";
    width: 80px;
    height: 4px;
    background: var(--blue);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* TEXTE INTRO */
.vision .text-muted {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* BLOCS TEXTE + IMAGE */
.vision .row {
    background: #ffffff;
    border-radius: 20px;
    
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
}

/* ALTERNANCE VISUELLE */
.vision .row:nth-child(even) {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

/* PARAGRAPHES */
.vision p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 20px;
}

/* MOTS CLÉS */
.vision strong {
    color: var(--blue);
    font-weight: 600;
}

/* IMAGES */
.vision img {
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.vision img:hover {
    transform: scale(1.03);
}

/* ESPACEMENT MOBILE */
@media (max-width: 991px) {
    .vision .row {
        padding: 10px;
    }

    .section-title {
        font-size: 2rem;
    }
    
    
}


/* ================== Footer général ================== */
.footer {
    font-family: 'Inter', sans-serif;
    color: #495057;
    position: relative;
    background-color: #f8f9fa;
    /* gris très clair pour contraste avec le bg de footer-top */
}

/* ================== Newsletter ================== */
.footer-newsletter {
    padding: 40px 0;
    background-color: #e9f5ff;
    /* bleu très clair */
    text-align: center;
    border-radius: 12px;

}

.footer-newsletter h4 {
    font-size: 1.8rem;
    color: #0d6efd;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-newsletter p {
    font-size: 1rem;
    color: #495057;
    margin-bottom: 20px;
}
/* Newsletter - Formulaire */
/* Newsletter - Formulaire */
.footer-newsletter form {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* permet de passer à la ligne sur petits écrans */
    gap: 10px; /* espace entre email et bouton */
}

.footer-newsletter form input[type="email"] {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #ced4da;
    flex: 1 1 300px; /* largeur flexible, minimum 300px */
    max-width: 500px;
    min-width: 200px; /* évite que ce soit trop petit sur très petits écrans */
}

.footer-newsletter form input[type="submit"] {
    padding: 12px 20px;
    border-radius: 8px;
    border: none;
    background-color: #0d6efd;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    flex: 0 0 auto; /* bouton garde sa taille */
    min-width: 120px;
}

.footer-newsletter form input[type="submit"]:hover {
    background-color: #0b5ed7;
}



/* ================== Footer Top ================== */
.footer .footer-top {
    background: white url("../images/footer-bg.png") no-repeat right top;
    background-size: 35%;
    /* discrète */
    border-top: 1px solid #e1ecff;
    border-bottom: 1px solid #e1ecff;
    padding: 60px 0 30px 0;
    position: relative;
}

/* Footer Info */
.footer-info .logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0d6efd;
}

.footer-info p {
    font-size: 1rem;
    color: #495057;
    margin-top: 10px;
    line-height: 1.6;
}

/* Social Links */
.footer-info .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #f0f8ff;
    border-radius: 50%;
    color: #0d6efd;
    margin-right: 8px;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.footer-info .social-links a:hover {
    background-color: #0d6efd;
    color: #fff;
}

/* ================== Copyright & Credits ================== */
.footer .copyright,
.footer .credits {
    text-align: center;
    padding: 15px 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.footer .credits a {
    color: #0d6efd;
    text-decoration: none;
}

.footer .credits a:hover {
    text-decoration: underline;
}

/* ================== Responsive ================== */
@media (max-width: 768px) {
    .footer-newsletter form input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .footer-newsletter form input[type="submit"] {
        width: 100%;
        border-radius: 8px;
    }

    .footer .footer-top {
        background-size: 50%;
        background-position: center top;
        text-align: center;
    }
}


@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-image .world-bg {
        height: 120px;
        margin-top: 20px;
    }
}
@media screen and (max-width: 900px) {

   
    .about {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }
    
    .hero {
    padding: 0px 0px 0px 10px;
    gap: 2px;
    min-height: 87vh;
}

/* Bouton bleu */
.btn-vision,.btn-catalogue  {
    padding: 7px 5px;

}


    .hero-image,
    .about-image {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.7rem;
    }
    
.hero-text p {
    width:100% !important;
    font-size: 1.5rem;}
}