
.container{
  max-width:var(--max-width);
  margin:auto;
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  gap:14px;
  align-items:center;
}
.brand img{
  height:158px;
  border-radius:10px;
}
.site-title{
  font-family:arial;
  font-size:30px;
  font-weight:500;
  color:var(--text-gray);
}
.site-sub{
  font-size:12px;
  color:var(--muted);
}

nav ul{
  display:flex;
  list-style:none;
  gap:22px;
}
nav a{
  color:var(--text-mid);
  font-weight:600;
  padding:8px 12px;
  border-radius:10px;
  transition:0.2s;
}
nav a:hover{
  color:var(--text-dark);
  background:#f3f3f3;
}



/* Social icons */
.msi-svg {
    width: 32px;
    height: 32px;
    color: var(--bleu);
    transition: color 0.3s ease;
}

.msi-link:hover .msi-svg {
    color: var(--gold);
}

/* hover */
.mobile-social-icons .msi-link:hover .msi-svg {
  opacity: 1;
  transform: translateY(-1px);
}

.mobile-social-icons {
  display: flex;
  gap: 8px;
  align-items: right;
  position: fixed; /* ou absolute si tu veux qu’elles restent dans le header */
  top: 16px;       /* ajuste verticalement */
  right: 50px;     /* ajuste horizontalement */
  z-index: 5001;
}

/* quand le menu est ouvert, rendre les icônes blanches (si tu veux ce comportement) */
.mobile-social-icons.open .msi-svg {
  color: #ffffff !important;
}

.contact-mini{
  display:flex;
  flex-direction:column;
  font-size:12px;
  color:var(--text-light);
  line-height:1.3;
}

.burger{
  display:none;
  cursor:pointer;
}
.burger span{
  width:28px;height:3px;
  background:var(--text-dark);
  margin:6px 0;
  display:block;
  border-radius:3px;
}

/* Slider */
.slider{
  max-width:var(--max-width);
  margin:22px auto;
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  box-shadow:0 12px 30px var(--shadow);
}
.slides{
  display:flex;
  transition:transform 0.7s ease;
}
.slide{
  min-width:100%;
  height:420px;
  position:relative;
}
.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.caption{
  position:absolute;
  bottom:26px; left:30px;
  background:rgba(255,255,255,.9);
  padding:10px 18px;
  border-radius:10px;
  color:var(--text-dark);
  font-weight:700;
  box-shadow:0 4px 15px var(--shadow);
}
.slider-controls{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  display:flex; justify-content:space-between; align-items:center;
  padding:0 10px;
}
.slider-controls button{
  border:none;
  background:rgba(255,255,255,.85);
  width:45px; height:45px;
  border-radius:12px;
  cursor:pointer;
  font-size:22px;
  transition:.2s;
}
.slider-controls button:hover{
  background:white;
  transform:translateY(-3px);
}

/* Features */
.features{
  max-width:var(--max-width);
  margin:40px auto 10px auto;
  display:flex;
  gap:20px;
  padding:0 24px;
}
.feature-box{
  flex:1;
  height:260px;
  border-radius:var(--radius);
  overflow:hidden;
  position:relative;
  cursor:pointer;
}
.feature-box img{
  width:100%; height:100%;
  object-fit:cover;
  transition:.4s;
}
.feature-box:hover img{
  transform:scale(1.08);
  filter:brightness(.7);
}






.features-text{
  max-width:var(--max-width);
  margin:auto;
  padding:0 24px 30px 24px;
  display:flex;
  gap:20px;
}
.features-text div{
  flex:1;
  text-align:center;
}
.features-text h3{
  color:var(--text-gray);
  text-decoration: underline;
  margin-bottom:6px;
}
.features-text p{
  font-size:14px;
  color:var(--text-gray);
}

.features-text h3 a:hover {
    text-decoration: none;
}

/* Contact block */
.contact-block{
  max-width:var(--max-width);
  margin:50px auto;
  padding:30px;
  

  text-align:center;
  box-shadow:0 6px 20px var(--shadow);
        color:#595656;
  background-image: url("img/fond1.jpg");   

}
.contact-block a{
  display:inline-block;
  margin-top:12px;
  padding:12px 28px;

  background:var(--accent);
  color:black;
  font-weight:600;
  transition:.2s;
}
.contact-block a:hover{
  opacity:0.5;
}


.contact-box {
    background: #f4ebdd;  /* marron */
    padding: 25px 20px;

    max-width: 600px;
    margin: 40px auto;
    color: #ffffff;
    font-family: Calibri, Arial, sans-serif;
    box-shadow: 0 6px 20px rgba(0,0,0,0.20);
    text-align: center;
}

.contact-box iframe {
    width: 100%;
    height: 260px;
    border: 0;

    margin-top: 15px;
}

.contact-box a {
    color: #f4ebdd; /* beige doré */
    font-weight: 600;
    text-decoration: underline;
}

.contact-box a:hover {
    opacity: 0.8;
}
/* Footer */
footer{
  margin-top:40px;
  border-top:1px solid #eee;
  padding:20px 0;

}
footer .f-inner{
  max-width:var(--max-width);
  margin:auto;
  padding:0 24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
 
}
footer img{
  height:48px;
  border-radius:8px;
}
footer .ai-attribution{
  font-size:12px;
    color:var(--text-dark);
 
}
.fixed-bar {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}

/* Conteneur pour chaque icône */
.fixed-bar .sidebar-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}


/* Taille et style des icônes téléphone/email */
.fixed-bar .sidebar-item .icon {
  width: 42px;          
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #42240A;        /* bleu unifié */
  transition: transform 0.2s ease, background 0.2s ease;
  border-radius: 6px;    /* coins arrondis */
  border: 2px solid #045e72; /* <-- ajout du cadre */
  box-sizing: border-box;      /* pour inclure le cadre dans la taille */
  background: #fff;            /* fond blanc sobre */
}




/* Fond au survol */
.fixed-bar .sidebar-item .icon:hover {
  background: #5b97aa;
  color: #ffffff;
  transform: translateY(-3px);
}

/* Texte qui apparaît au survol, dans un petit cadre carré */
.fixed-bar .sidebar-item .info-text {
  position: absolute;
  right: 60px; /* décale à gauche de l’icône */
  white-space: nowrap;
  padding: 8px 12px;
  background: #5b97aa; /* bleu du site */
  color: #ffffff;
  border-radius: 6px; /* coins légèrement arrondis */
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2); /* petite ombre pour détacher */
}

/* Affichage au survol avec glissement */
.fixed-bar .sidebar-item:hover .info-text {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* cliquable si nécessaire */
}

.fixed-bar .sidebar-item .info-text:hover {
  color: #fff;
  text-decoration: none;
}

@media(max-width:768px){
  .fixed-bar {
    display: flex !important;      /* s’assure qu’elle s’affiche */
    flex-direction: column;
    position: fixed;               /* reste visible à l’écran */
    top: 350px;                    /* ajuste selon ton logo/menu */
    right: 19px;                   /* marge par rapport au bord */
    gap: 12px;
    z-index: 7000;                 /* au-dessus du menu */
  }

  .fixed-bar .sidebar-item .info-text {
    display: none;                 /* texte caché sur mobile */
  }
}


/* Responsive */
@media(max-width:768px){
  nav ul{display:none;flex-direction:column;background:white;padding:12px;position:absolute;right:20px;top:70px;box-shadow:0 10px 30px var(--shadow);border-radius:12px;}
  nav ul.active{display:flex;}
  .burger{display:block;}
  .socials,.contact-mini{display:none;}
  .fixed-bar{display:none;}
  .features{flex-direction:column;}
  .features-text{flex-direction:column;text-align:center; text-decoration: underline;}
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(19, 100, 127, 0.30); /* bleu semi-transparent */

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #000000;
  padding: 18px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.75);
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-map {
  text-align: right;
}

.footer-map iframe {
  width: 240px;
  height: 140px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.30);
}

/* Important pour éviter que le footer fixe ne recouvre le contenu */
body {
  padding-bottom: 220px;
}



.partners-section {
  background-color: #f4ebdd; 
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  margin: 30px auto;
  max-width: 1100px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.partners-section h2 {
  color: #000000
  font-size: 26px;
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;        /* s'adapte sur petits écrans */
  justify-content: center;
  gap: 24px;              /* espace entre logos */
  align-items: center;
}

.partners-logos a img {
  max-height: 60px;       /* taille uniforme */
  object-fit: contain;
  transition: transform 0.3s;
}

.partners-logos a img:hover {
  transform: scale(1.1);  /* petit effet au survol */
}

/* Responsive */
@media(max-width:768px) {
  .partners-logos {
    gap: 16px;
  }
  .partners-logos a img {
    max-height: 50px;
  }
}

  


  /* Pour l'animation fade-in */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}


.gif-top {
  margin-bottom: 0; /* enlève l'espace sous le GIF */
  padding-bottom: 0;
}

/* ===========================
   TITRES & TEXTES
   =========================== */


p {
    color: #333;
}




/* --- Burger Menu --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  border: none;
  background: none;
}

/* Toggle mobile */
.menu-toggle span {
    background: var(--brown);
}
/* --- Responsive Mobile --- */
@media (max-width: 768px) {

  /* Menu mobile  */
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%; /*caché par defaut*/
    height: 100vh;
    width: 250px;
    background: rgba (80,41,0,0.6) !important;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    transition: right 0.3s ease; /* animation glissée */
z-index: 5001;/* inferieur au menu pour ne pas le cacher */
  }
 
@media (max-width: 768px) {
  .main-navigation {
    background: rgba(80, 41, 0, 0.5) !important; /* bleu transparent foncé */
    border: none !important;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2) !important;
    position: fixed !important;
    z-index: 3000 !important;
  }
 


/* Masquer sur desktop */
@media (min-width: 769px) {
  .mobile-contact-bar {
    display: none;
  }
}


  .main-navigation ul,
  .main-navigation li {
    background: transparent !important;
  }

  .main-navigation a {
    color: #fff !important;
  }
}

  .main-navigation ul {
    flex-direction: column;
    padding: 20px;
  }

  .main-navigation li {
    margin-bottom: 15px;
  }

  /* Lorsque le menu est activé */
  .main-navigation.active {
    right: 0; /* il glisse depuis la droite */
  }
 
  .menu-toggle {
  display: flex;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 5000 !important; /* au-dessus du menu */
}

  /* Bouton burger visible */
  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 2000;
  }

  /* Le header doit rester au-dessus */
  .site-header {
    position: fixed;
    z-index: 1500;
  }
}

.footer-links a {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    margin-left: 12px;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Style général */
.footer-links {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ---- Version mobile ---- */
@media (max-width: 768px) {
    .f-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .footer-links {
        justify-content: center;
        gap: 20px;
        font-size: 15px;
    }
}

