/* style.css */

/* Variables de couleurs */
:root {
  --primary-color: #2A495E; /
  --accent-color: #ff6f61;  /* Touche coral */
  --bg-light: #f8f9fa;
  --bg-dark: #EDBB5C;
}

.logo {
  max-height: 60px;
  height: auto;
  width: auto;
  border: 3px solid white;
  border-radius: 12px; /* ou une valeur adaptée à ta forme */
  display: block;
}
}

@media (max-width: 768px) {
  .logo {
    max-height: 60px;
  }
}

/* Styles généraux */
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  background-color: white;
  color: #333;
}

.icone-fixe {
  position: fixed;
  right: 20px;
  top: 6%;
  transform: translateY(-50%);
  height: 80px;
  width: auto;
  display: flex;
  align-items: center;
  z-index: 999;
}

.icone-fixe i {
  font-size: 28px;
  color: #EFBB58;
  transition: transform 0.3s ease;
}

.texte-hover {
  margin-left: 10px;
  font-size: 0.9rem;
  color: #EFBB58;
  opacity: 0;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.icone-fixe:hover i {
  transform: translateX(-10px);
}

.icone-fixe:hover .texte-hover {
  opacity: 1;
  font-size: 1.2rem;
  color: #B14950 !important;
}
/* Responsive : texte en dessous sur mobile */
@media (max-width: 768px) {
  .icone-fixe {
    top: 20px;
    left: 68%;
    transform: translateX(-50%);
    flex-direction: column;
  }

  .texte-hover {
    margin-left: 0;
    margin-top: 6px;
  }
}


/* Navigation */
.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-top: 0px;
  padding-bottom: 0px;
}

/* Liens de navigation */
.navbar-nav .nav-link {
  font-size: 1.2rem;
  margin: 0 12px;
  color: #EFBB58 !important;
  transition: color 0.3s ease;
}

/* Hover */
.navbar-nav .nav-link:hover {
  color: #B14950 !important;
}

/* Lien actif */
.navbar-nav .nav-link.active {
  color: #B14950 !important;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-nav .nav-link {
    font-size: 1.4rem;
  }
}

/* Slider */

/* Structure générale */
#slider {
  padding-top: 70px; /* pour compenser la navbar fixe */
}

.slider-body {
  margin-top: 0px;
  background-color: #f5f5f5;
  font-family: 'Audiowide', sans-serif;
}

.slider-wrapper {
  border-radius: 12px;
  overflow: hidden;
  max-width: 100%;
  margin: auto;
  box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.6);
  margin-bottom: 0px;
}

/* Hauteur fixe pour toutes les slides */
.slider-carousel,
.slider-inner,
.slider-item {
  height: 500px;
}

/* Slide image */
.slider-item {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Texte overlay */
.slider-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  padding: 4rem;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

/* Titre */
.slider-text-overlay h2 {
  font-size: 3.2rem;
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  background: linear-gradient(to right, #a0d8ff, #001f3f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Paragraphe */
.slider-text-overlay p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.6;
  color: #001f3f;
}

/* Flèches */
.slider-control-prev-icon,
.slider-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-size: 100% 100%;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.5));
}

/* Image dans le slide (si utilisée) */
.carousel-item img {
  height: 100%;
  object-fit: cover;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .slider-carousel,
  .slider-inner,
  .slider-item {
    height: 500px; /* Hauteur constante pour éviter les sauts */
  }

  .slider-text-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8); /* Lisibilité sur image */
    text-align: center;
  }

  .slider-text-overlay h2 {
    font-size: 2.2rem;
  }

  .slider-text-overlay p {
    font-size: 1.3rem;
  }
}
.slider-section {
  margin-top: 0;
}



/* Sections */
section {
  padding: 60px 0;
}

.section-fonce {
	background-color: #E1A624;
}

.title {
	color:#6c757d;
}

.sectionTitle {
	font-size: 2.5rem;
	  font-family: 'Audiowide', sans-serif;
      margin-bottom: 20px;
      color: #B14950;
}

.title-marron {
	color:white;
	background-color:#384454;
	opacity: 0.5;	
	font-size: 3rem;
	border-radius:5px;
}

.text-bleu {
	color:#2A495E;
}

.text-blanc {
	color:white;
	background-color:#384454;
	opacity: 0.5;	
	border-radius:5px; 
}

.text {
	font-size: 1rem;
    letter-spacing: 0.005rem;
    line-height: 1.5rem;
}

/*section prestation */
    .services-section {
      width: 100%;
	  margin: 0;      
      background-color: #2A495E;
      color: #FAFCFB;
    }

    .services-intro {
      background-color: #FAFCFB;
      color: #2A495E;
      text-align: center;
      padding: 20px 20px;
    }

    .services-intro h1 {
      font-size: 2.5rem;
	  font-family: 'Audiowide', sans-serif;
      margin-bottom: 20px;
      color: #B14950;
    }

    .services-intro p {
      max-width: 900px;
      margin: 0 auto;
      font-size: 1.1rem;
      line-height: 1.6;
	  text-align:justify;
    }

    .services-section section {
      padding: 60px 20px;
    }

    .services-block {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      margin-bottom: 80px;
      opacity: 0;
      transform: translateY(50px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
	
	.services-block:last-child {
	  margin-bottom: 0;
	}

    .services-block.visible {
      opacity: 1;
      transform: translateY(0);
    }

    .services-block:nth-child(even) {
      flex-direction: row-reverse;
    }

    .services-text {
      flex: 1 1 400px;
      padding: 20px;
    }

    .services-carousel {
      flex: 1 1 400px;
      padding: 10px;
      position: relative;
      max-height: 300px;
    }

    .services-carousel a {
      display: block;
    }

    .services-carousel img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      border-radius: 10px;
      border: 5px solid #B14950;
      box-shadow: 0 10px 15px rgba(0, 0, 0, 0.6);
      display: none;
    }

    .services-carousel img.active {
      display: block;
    }

    .services-section h2 {
      font-size: 2rem;
      color: #B14950;
      margin-bottom: 20px;
    }

    .services-section ul {
      list-style: none;
      padding-left: 0;
    }

    .services-section li {
      margin-bottom: 10px;
      font-weight: bold;
      color: #FAFCFB;
      transition: all 0.3s ease;
      cursor: pointer;
    }

    .services-section li.active {
      background-color: #F1B85E;
      color: #2A495E;
      padding: 5px 10px;
      border-radius: 6px;
    }

    .bg-accent .services-section li.active {
      background-color: #B14950;
      color: #FAFCFB;
    }

    .bg-accent .services-section li:hover {
      background-color: #B14950;
      color: #FAFCFB;
    }

    .services-section a {
      color: inherit;
      text-decoration: none;
    }

    .services-section a:hover {
      color: #FAFCFB;
    }

    .service-bg-dark {
      background-color: #2A495E;
    }

    .bg-accent {
      background-color: #F1B85E;
      color: #2A495E;
    }


/* Footer */
.zenso-footer {
  background-color: #EFBB58;
  color: #2A495E;
  font-family: 'Audiowide', sans-serif;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-title {
  font-size: 1.4rem;
  font-weight: bold;
  color: #2A495E;
  margin-bottom: 0.5rem;
}

.footer-text {
  font-size: 1rem;
  margin: 0.2rem 0;
  color: #2A495E;
}

.footer-link {
  margin: 4px 0;
  color: #2A495E;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #B14950;
}

/* Coller le footer en bas même si peu de contenu */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
main.with-cookie-banner {
  padding-bottom: 100px; /* hauteur du cookieBanner */
}



/* Cartes */
.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  padding :2em;
  background-color:#E1A624;
  color:white;
}
.card:hover {
  transform: translateY(-5px);
}
.card-title {
  color: var(--primary-color);
}

.card-link {
	color:#148EBD;
}

/* Boutons */
.btn-outline-primary {
  transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: #fff;
}
.btn-outline-info {
  transition: background-color 0.3s ease, color 0.3s ease;
  color :#2A495E;
}
.btn-outline-info:hover {
  background-color: #2A495E;
  color: #fff;
}
.filter-btn {
	background-color: #2A495E;
	color: #fff;
}
.filter-btn:hover {
  background-color: #2A495E;
  color: #fff;
}

/* Modals */
.modal-header {
  background: var(--primary-color);
  color: #fff;
}
.modal-header .close {
  color: #fff;
}
.modal-content {
  border-top: 3px solid var(--accent-color);
}

/* Google Calendar Embed */
.calendar-embed iframe {
  border-radius: 5px;
}

/* Formulaire de contact */

#contact {
  padding-bottom: 100px;
  margin-bottom: 0px;
  min-height: 1px; /* évite les vides fantômes */
}
  .contact-form {
    background-color: #FAFCFB;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    border: 4px solid #E1A624;
    width: 95%;
    margin: 0 auto;
  }

  .contact-form label {
    color: #B14950;
    font-weight: bold;
  }

  .contact-input {
    background-color: #E1A624;
    border: 2px solid #B14950;
    border-radius: 8px;
    padding: 10px 15px;
    color: #2A495E;
    font-weight: bold;
    transition: border-color 0.3s ease;
  }

  .contact-input::placeholder {
    color: #2A495E;
    opacity: 0.4;
  }

  .contact-input:focus {
    border-color: #FAFCFB;
    box-shadow: 0 0 5px rgba(250, 252, 251, 0.6);
    background-color: #F1B85E;
  }

  .btn-custom {
    background-color: #E1A624;
    color: #2A495E;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    border: none;
    transition: background-color 0.3s ease;
  }

  .btn-custom:hover {
    background-color: #B14950;
    color: #FAFCFB;
  }

  @media (max-width: 768px) {
    .contact-form {
      padding: 20px;
      width: 100%;
    }

    .btn-custom {
      width: 100%;
    }
  }


/* Responsive */
@media (max-width: 768px) {
  .carousel-item img {
    height: 50vh;
  }
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #343a40;
  color: white;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  display: none; /* cachée par défaut */
}

.cookie-banner a {
  color: #EFBB58;
  text-decoration: underline;
}

.cookie-banner .btn-accept {
  display: inline-block;
  margin-left: 10px;
  padding: 0.5rem 1.2rem;
  background-color: #E1A624;
  color: #2A495E;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-banner .btn-accept:hover {
  background-color: #B14950;
  color: #FAFCFB;
}


  .logo-carousel-wrapper {
    overflow: hidden;
    width: 80%;
    margin: 0 auto;
    position: relative;
  }

  .logo-carousel {
    width: 200%;
    display: flex;
    animation: scrollLogos 40s linear infinite;
  }

  .logo-track {
    display: flex;
    gap: 40px;
    align-items: center;
  }

  .logo-track img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
  }

  .logo-track img:hover {
    transform: scale(1.1);
  }

  @keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @media (max-width: 768px) {
    .logo-track {
      gap: 20px;
    }

    .logo-track img {
      height: 40px;
    }

    .logo-carousel-wrapper {
      width: 100%;
    }
  }

/* Composition pack */
.composition-table {
  width: 95%;
  margin: 0 auto 30px auto;
  border: 4px solid #2A495E;
  border-radius: 10px;
  overflow: hidden;
  background-color: #2A495E;
  color: #2A495E;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.6);
}


  .composition-table thead {
    background-color: #2A495E;
    color: #FAFCFB;
  }

  .composition-table th,
  .composition-table td {
    padding: 16px;
    vertical-align: middle;
    border-color: #2A495E;
  }

  .composition-table tbody tr:hover {
    background-color: #F1B85E;
    color: #2A495E;
    transition: background-color 0.3s ease;
  }

  .composition-table td:first-child {
    font-weight: bold;
    width: 30%;
  }

  @media (max-width: 768px) {
    .composition-table th,
    .composition-table td {
      padding: 12px;
      font-size: 0.9rem;
    }
  }

/* section tarifs */
.tarifs-table {
    width: 95%;
  margin: 0 auto 30px auto;
  border: 4px solid #2A495E;
  border-radius: 10px;
  overflow: hidden;
  background-color: #2A495E;
  color: #2A495E;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.6);
	border-collapse: separate;
	border-spacing: 0;
  }

  .tarifs-table thead {
    background-color: #2A495E;
    color: #FAFCFB;
  }

  .tarifs-table th,
  .tarifs-table td {
    padding: 16px;
    vertical-align: middle;
    border-color: #2A495E;
  }

  .tarifs-table tbody tr:hover {
    background-color: #F1B85E;
    color: #2A495E;
    transition: background-color 0.3s ease;
  }

  .tarifs-table td:first-child {
    font-weight: bold;
    width: 35%;
  }

  @media (max-width: 768px) {
    .tarifs-table th,
    .tarifs-table td {
      padding: 12px;
      font-size: 0.9rem;
    }

    .tarifs-table {
      width: 100%;
    }
  }

  #tarifs {
    padding-bottom: 60px;
  }

.calendar-tarifs {
	color:#EFBB58;
}


/* css mentions légales */

/* Mentions légales Zenso – bloc indépendant */
.mentions-wrapper-zenso {
  background-color: #FAFCFB;
  color: #2A495E;
  padding: 60px 20px;
  font-family: 'Audiowide', sans-serif;
}

.mentions-header-zenso {
  text-align: center;
  margin-bottom: 40px;
}

.mentions-header-zenso h1 {
  font-size: 2.5rem;
  color: #B14950;
  margin-bottom: 20px;
}

.mentions-header-zenso p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}

.mentions-block-zenso {
  background-color: #2A495E;
  color: #FAFCFB;
  padding: 40px 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mentions-block-zenso h2 {
  font-size: 1.8rem;
  color: #F1B85E;
  margin-bottom: 15px;
}

.mentions-block-zenso p,
.mentions-block-zenso ul {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}

.mentions-block-zenso ul {
  list-style: none;
  padding-left: 0;
}

.mentions-block-zenso li {
  margin-bottom: 8px;
}
