:root {
  --main-color: #95B1AB;
  --dark-blue: #5A6D6A;
  --light-bg: #F3F3F4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #333;
}

header.navbar {
  background: #5A6D6A;
  padding: 10px 0;
  position: relative;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  flex-wrap: wrap;
}
#mainHeader.navbar {
  position: fixed;
  top: 20;
  left: 0;
  right: 0;
  z-index: 10000; /* pour qu'il reste au-dessus du contenu */
}
.logo {
  display: flex;
  align-items: center;
  height: 60px; /* Hauteur de la bannière */
  padding: 10px 20px;
}

.logo img {
  height: 100%;         /* Le logo occupe toute la hauteur de la bannière */
  width: auto;          /* Garde les proportions */
  max-height: 50px;     /* Vous pouvez ajuster cette hauteur */
  object-fit: contain;
}
/* Menu portable */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--dark-blue);
  cursor: pointer;
}

#mainMenu {
  flex-grow: 1;
}

#mainMenu ul.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  list-style: none;
  gap: 20px;
}

nav ul.menu li {
  position: relative;
}

nav ul.menu li a {
  text-decoration: none;
  color: var(--light-bg);
  font-weight: 600;
  display: block;
  padding: 10px;
}

/* Dropdown */
.has-dropdown:hover .dropdown {
  display: block;
 color: #5A6D6A;	
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  color: #5A6D6A;
  text-decoration-color: #5A6D6A;
  background: #5A6D6A;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  z-index: 1000;
   list-style: none;	
}

.dropdown li {
  padding: 0;
}

.dropdown li a {
  padding: 10px 20px;
  display: block;
  color: #5A6D6A;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}

.dropdown li a:hover {
  background-color: #f0f4ff;
	color: #5A6D6A;
}
.has-dropdown {
  position: relative;
}
.dropdown.active {
  display: block;
}
/* Responsive navigation */
@media screen and (max-width: 1048px) {
  .menu-toggle {
    display: block;
	color: #ffffff;  
  }

  #mainMenu {
    width: 100%;
  }

  #mainMenu ul.menu {
    display: none;
    flex-direction: column;
    background: #5A6D6A;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 999;
  }

  #mainMenu ul.menu.active {
    display: flex;
	 background: #5A6D6A; 
	  width: 100%; 
  }

  #mainMenu ul.menu li {
    text-align: left;
	  width: 100%; 
	  
	
  }
}

/* Langues */
.lang-dropdown {
  position: relative;
  margin-left: auto;
}

.lang-dropdown button {
  background: white;
  border: 1px solid var(--dark-blue);
  color: var(--dark-blue);
  padding: 5px 10px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  list-style: none;
  margin: 0;
  padding: 5px 0;
  display: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 999;
}

.lang-menu li a {
  text-decoration: none;
  color: var(--dark-blue);
  display: block;
  padding: 5px 15px;
}

.lang-menu.open {
  display: block;
}

/* Sticky header */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

/* Autres composants conservés */
.phone {
  background: var(--main-color);
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
}

.hero {
  background: url('../images/services/align2.jpg') no-repeat center center/cover;
  background-size: 100% auto; /* largeur à 100%, hauteur automatique */	
  padding: 120px 20px;
  text-align: left;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #000;
}

.hero .highlight {
  color: var(--main-color);
}

.hero p {
  font-size: 18px;
  margin: 10px 0 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}
.hero-bg {
  background-image: url('../images/services/align2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* ou fixed si tu veux un effet parallax */
  color: #fff;
  position: relative;
}

/* Superposition sombre */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-bg .container {
  position: relative;
  z-index: 2;
}

.btn {
  background: var(--main-color);
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-play {
  display: inline-block;
  font-size: 24px;
  color: var(--main-color);
  background: white;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  text-align: center;
  line-height: 45px;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
 
}

.section-light {
  background-color: var(--light-bg);
}

.team-grid,
.testimonial-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-member,
.testimonial-card,
.service-box {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-member img,
.testimonial-author img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

form input,
form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

iframe {
  width: 100%;
  height: 300px;
  border: 0;
  margin-top: 30px;
}

.lang-switch {
  text-align: center;
  margin-top: 20px;
}

.lang-switch a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  color: var(--dark-blue);
}

.footer {
  background: #5A6D6A;
  padding: 60px 20px 20px;
  font-size: 14px;
  color: #F3F3F4;
}

.footer .newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #3f87f5;
  padding: 40px;
  border-radius: 20px;
  color: white;
  margin-bottom: 40px;
}

.footer .newsletter input {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
}

.footer .newsletter button {
  padding: 10px 20px;
  border: none;
  background: white;
  color: #3f87f5;
  border-radius: 0 5px 5px 0;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;	
}

.footer-main h4 {
  margin-bottom: 15px;
}

.footer-main ul {
  list-style: none;
  padding: 0;
}

.footer-main ul li a {
  color: #333;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 20px;
}

#toTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
  cursor: pointer;
  transition: opacity 0.3s ease-in-out;
  border-radius: 8px;
}

#toTopBtn img {
  width: 40px;
  height: 40px;
  display: block;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f1f1f1;
  padding: 15px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  display: none;
}

.cookie-banner button {
  margin: 0 10px;
  padding: 10px 20px;
  border: none;
  background-color: #5A6D6A;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.cookie-banner button:nth-child(3) {
  background-color: #666;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 15px 0;
  color: var(--dark-blue);
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 0 15px;
  color: #444;
}

.faq-item.open .faq-answer {
  display: block;
}

.pricing-card {
  background: var(--light-bg);
  padding: 30px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.pricing-card h3 {
  color: var(--dark-blue);
  margin-bottom: 10px;
}

.price {
  font-size: 2rem;
  color: var(--main-color);
  margin: 10px 0;
  font-weight: bold;
}
.before-after-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ba-box {
  position: relative;
  text-align: center;
}

.ba-box img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ba-label {
  margin-top: 10px;
  font-weight: 600;
  color: var(--dark-blue);
}
/* Galerie */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Plan d'accès */
.map-container {
  width: 100%;
  height: 450px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.download-list {
  list-style: none;
  padding: 0;
  text-align: center;
  max-width: 600px;
  margin: auto;
}

.download-list li {
  margin: 15px 0;
}

.download-list a {
  display: inline-block;
  padding: 12px 20px;
  background-color: var(--main-color);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.download-list a:hover {
  background-color: var(--dark-blue);
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.video-card {
  text-align: center;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}

.video-card h3 {
  margin-top: 15px;
  font-size: 1.1rem;
  color: var(--dark-blue);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #f5c518;
  font-size: 1rem;
}

.review-text {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}
/* Topbar - visible sur desktop uniquement */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 38px;
  background-color: #95B1AB;
  color: #5A6D6A;
  font-size: 14px;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

/* Liens & icônes */
.topbar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

.topbar i {
  margin-right: 5px;
}

.topbar span {
  margin-right: 15px;
}

.topbar-left {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Compensation topbar sur desktop uniquement */
body {
  padding-top: 38px;
}

/* Responsive : cacher la topbar sur mobile */
@media (max-width: 1200px) {
  .topbar {
    display: none;
  }

  body {
    padding-top: 0;
  }
}


/* Masqué par défaut sur grand écran */
.topbarmobile {
  display: none;
}

/* Affiché jusqu'à 1024px (smartphones + tablettes) */
@media (max-width: 1200px) {
  .topbarmobile {
    display: flex;
    background-color: #95B1AB;
    color: #fff;
    width: 100%;
    padding: 5px 0;
  }

  .topbarmobile a {
    width: 25%;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    padding: 10px 0;
    box-sizing: border-box;
  }

  .topbarmobile i {
    display: block;
    margin: 0 auto;
  }
}





.socials {
  display: flex;
  gap: 15px;
  align-items: center;
}

.socials a {
  font-size: 22px;
  color: #4AAEDB; /* Couleur principale du site */
  transition: color 0.3s ease, transform 0.2s ease;
}

.socials a:hover {
  color: #2A8BB8; /* Variante plus foncée au survol */
  transform: scale(1.1);
}

/* Option : couleurs spécifiques par réseau */
.socials a.facebook:hover {
  color: #1877f2;
}

.socials a.twitter:hover {
  color: #1da1f2;
}

.socials a.youtube:hover {
  color: #ff0000;
}
.call-button {
  background-color: #4AAEDB;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.call-button:hover {
  background-color: #368fb8;
}
.services-highlight {
  padding: 60px 20px;
  background: transparent;
  position: relative;
  z-index: 2;
}

.container-services {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.service-card {
  background-color: rgba(0, 0, 0, 0.6); /* transparent noir */
  color: #fff;
  padding: 25px;
  width: 300px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.service-card i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #4AAEDB; /* bleu thème */
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #ccc;
}

.service-card:hover {
  transform: translateY(-5px);
  background-color: rgba(0, 0, 0, 0.75);
}
.error-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  text-align: center;
  background-color: #f3f7f7;
  padding: 40px 20px;
}

.error-container {
  max-width: 600px;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.error-404 h1 {
  font-size: 48px;
  color: #4AAEDB;
  margin-bottom: 10px;
}

.error-404 h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

.error-404 p {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.btn-home {
  display: inline-block;
  padding: 12px 25px;
  background-color: #95B1AB; /* Couleur identique au bouton "Envoyer" */
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: background-color 0.3s ease;
  border: none;
}

.btn-home:hover {
  background-color: #7c9e97; /* Variante plus foncée au survol */
}

.team-member {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  border-left: 4px solid #4AAEDB;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  line-height: 1.8;
  font-size: 16px;
}

.team-member h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
  color: #2b3e45;
  font-weight: 600;
}

.team-member p {
  margin-bottom: 12px;
}

.team-member strong {
  color: #333;
  font-weight: 600;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
}
.traitement-section {
  padding: 50px 20px;
  border-bottom: 1px solid #e6e6e6;
}

.traitement-section h2 {
  color: #4AAEDB;
  font-size: 24px;
  margin-bottom: 15px;
}
 .conseil-section {
    background: #f8fdfd;
    border: 1px solid #dceaea;
    border-radius: 12px;
    padding: 30px 25px;
    margin: 40px auto;
    max-width: 900px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }

  .conseil-section-icon {
    font-size: 36px;
    color: #4AAEDB;
    flex-shrink: 0;
  }

  .conseil-section-content h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #2b3e45;
  }

  .conseil-section-content p {
    margin: 0;
    line-height: 1.6;
    color: #4a5c5b;
  }

  @media (max-width: 768px) {
    .conseil-section {
      flex-direction: column;
      text-align: left;
    }
    .conseil-section-icon {
      font-size: 28px;
    }
  }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pricing-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #5A6D6A;
}

.pricing-card .price {
  font-size: 28px;
  font-weight: bold;
  color: var(--dark-blue);
  margin-bottom: 10px;
}
/* Lightbox Base */
.lightbox {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
}

.lightbox:target {
  display: flex;
}

/* Lightbox content */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: white;
  background: #95B1AB;
  border-radius: 50%;
  padding: 5px 12px;
  text-decoration: none;
  font-weight: bold;
  z-index: 100;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: #6e918a;
}

/* Prev/Next Navigation Arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 50px;
  color: white;
  background-color: #95B1AB;
  padding: 15px 20px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: #6e918a;
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.video-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 5% auto;
  background: #000;
  padding-top: 56.25%; /* 16:9 ratio */
}

.video-content iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

