html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: scroll;
  height: 100%;
}

body {
  min-height: 100vh;        /* ← le body peut grandir autant que nécessaire */
  display: flex;
  flex-direction: column;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #e9f5ff;
  color: #3b929f;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}


/* Conteneur principal */
.wrapper {
  flex: 1 0 auto;
  display : flex;
  flex-direction: column;
}
#intro-hero {
  transition: opacity 0.6s;
}
.hero-mask-container {
  overflow-x: hidden;
  max-width: 100vw;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f5ff;
  transition: opacity 0.6s;
  pointer-events: none;
  will-change: transform, opacity;
}
.hero-video {
  max-width:100vw;
  overflow-x: hidden;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0; left: 0;
  z-index: 1;
  -webkit-mask-image: url('Offenn.svg');
  mask-image: url('Offenn.svg');
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 30vw;
  mask-size: 30vw;
  transition: -webkit-mask-size 0.1s, mask-size 0.1s;
}
#main-content {
  flex: 1;
  position: relative;
  z-index: 10;
  padding: 0 16px 0 16px;
  /*background: #e9f5ff;*/
  min-height: 100vh;
  margin-top: 100vh;
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  z-index: 100;
}
.navbar {
  position: fixed;
  top: 0;
  width:100%;
  background: #f7fcff;
  height:11vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  box-shadow: 0 2px 8px rgba(60,90,120,0.05);
}
.navbar-container {
  max-width: 100%; /* ou la largeur max de ton site */
  margin: 0 auto;
  padding: 0 24px; /* padding horizontal pour l’espace intérieur */
  display: flex;
  align-items: center;
  min-height: 60px;
}
/* Logo et titre */
.logo {
  gap:16px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #787879;
  font-weight: bold;
  font-size: 1.6em;
  margin-right: 32px;
}
.logo-img {
  height: 241px;
  width: auto;
  display: block;
}
.header-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex: 1;
  align-items:flex-end;
}
.site-desc {
  padding-right: 24px;
  margin-top: 3vh;
  font-size: 1em;
  color: #555;
  margin-right: 24px;
  font-weight: 400;
  flex: 1;
  text-align: left;
  min-width: 200px;
}
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 24px;
  position: relative;
}
nav li {
  text-wrap-mode: nowrap;
  position: relative;
}
nav a {
  color: #ff9a35;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-bottom 0.2s;
  cursor: pointer;
}
nav a:hover, nav a.active {
  color: #ff9a35;
  border-bottom: 2px solid #d87a1c;
}
/* Sous-menu */
.submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 36px;
  background: #fff;
  min-width: 270px;
  box-shadow: 0 8px 24px rgba(60,90,120,0.11);
  border-radius: 10px;
  z-index: 10;
  padding: 8px 0;
  flex-direction: column;
  animation: dropdownFadeIn 0.3s ease;
}
.submenu.open {
  display: flex;
}
.submenu a {
  color: #207f8c;
  font-weight: 500;
  padding: 8px 6px;
  border: none;
  border-radius: 0;
  background: none;
  font-size: 1em;
  border-bottom: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
  text-align: left;
}
.submenu a:hover, .submenu a.active {
  color: #d87a1c;
}

/* Sections */
.section-title {
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding: 55px 0 0;
  text-align: left;
}
.section-title h2 {
  text-align: left;
  color: #ff9a35;
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 1em;
}
.section-title p {
  text-align: left;
  font-size: 1.1em;
  /*color: #1f213f;*/
  margin-top: 0;
  margin-bottom: 32px;
}

/* Intro résumé */
.intro-title {
  color:#d87a1c;
  font-size:1.7em;
  margin-bottom:0.4em;
}
.intro-text {
  font-size:1.16em;
  max-width:900px;
}
/* Cartes intro */
.intro-cards {
  /*max-width:1100px;*/
  padding:1vh 3vw;

}
.intro-cards-row {
  display:flex;
  gap:32px;
  flex-wrap:nowrap;
  /*align-items:baseline;*/
  justify-content: center;
}
.intro-card {
  position:relative;
  background: #3a5e77;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(60,90,120,0.08);
  padding: 32px 28px 28px 28px;
  flex: 1 1 340px;
  max-width: 480px;
  padding-bottom: 48px; /* espace pour le bouton */
  opacity: 0;
  transform: translateX(-80px) scale(0.92);
  transition: opacity 0.7s cubic-bezier(.23,1.01,.32,1), transform 0.7s cubic-bezier(.23,1.01,.32,1);
  will-change: opacity, transform;
}
/* intro cards */
.intro-card:nth-child(1) {
  background: #3a5e77;
}
.intro-card:nth-child(2) {
  background: #74bff2 ;
}

.intro-card.right {
  transform: translateX(80px) scale(0.92);
}
.intro-card.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.intro-card h3 {
  margin-top:0;
  font-size:1.18em;
}
.intro-card p {
  font-size:1.07em;
}
.intro-conclusion {
  max-width:900px;
  margin:0 auto 36px auto;
  padding:0 16px 0 16px;
}
.intro-conclusion p {
  font-size:1.12em;
  text-align:center;
}

.en-savoir-plus {
  position: absolute;
  right:24px;
  bottom:24px;
  background: #fff;
  color: #207f8c;
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,60,90,0.08);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-size: 1em;
}
.en-savoir-plus:hover {
  background: #ff9a35;
  color: #fff;
  box-shadow: 0 4px 18px rgba(32,127,140,0.15);
}

.expertise-sante-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  background: #44b09f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 2rem auto;
  position: relative;
  opacity: 0;
  transform: translateY(60px) scale(0.9);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
  will-change: opacity, transform;
}

.expertise-sante-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.expand-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #207f8c;
  font-weight: bold;
  background: #fff;
  padding: 8px 18px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(40,60,90,0.08);
  text-decoration: none;
  font-size: 1em;
  cursor: pointer;
  margin-top: 1rem;
  transition: color 0.2s;
  border: none;
}

.expand-btn:hover,
.expand-btn:focus {
  background: #ff9a35;
  color: #fff;
}

.expand-btn[aria-expanded="true"] .arrow {
  transform: rotate(90deg);
}

.expertise-details {
  margin-top: 1.2rem;
  padding-top: 0.7rem;
  border-top: 1px solid #eee;
  font-size: 0.97em;
  line-height: 1.6;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}

.expertise-details ul {
  margin: 1em 0 1em 1.2em;
  padding: 0;
}

.expertise-details li {
  margin-bottom: 0.8em;
}

.cards-row {
  display: flex;
  gap: 32px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto 0 auto;
  padding: 0 16px;
  justify-content: center;
  /*align-items: baseline;*/
  flex-direction: row;
}
.service-card {
  width: 260px;
  min-height: 160px;
  min-width: 320px;
  max-width: 370px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin-bottom: 32px;
  background: #fff;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(60,90,120,0.08);
  padding: 32px 28px 28px 28px;
  font-size: 1.1em;

  opacity: 0;
  transform: translate(-100px, 30px) scale(0.8);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.service-card.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Services cards */
.service-card:nth-child(1) {
  background: #207f8c;
}
.service-card:nth-child(2) {
  background: #74bff2 ;
}
.service-card:nth-child(3) {
  background: #64dbc7;
}
.service-card h3 {
  margin: 0 0 16px 0;
  font-size: 1.2em;
  font-weight: 700;
  /*text-decoration: underline;*/
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-card .icon {
  margin-right: 8px;
  font-size: 1.1em;
  vertical-align: middle;
}
.service-card ul {
  margin: 16px 0 0 0;
  padding-left: 18px;
  /*color: #eaf6ff;*/
  font-size: 1em;
}
.service-card li {
  margin-bottom: 8px;
}

/* Petits cercles décoratifs */
.bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  z-index: 0;
}
.bg1 { width: 120px; height: 120px; top: -40px; left: -40px; background: #dbefff; }
.bg2 { width: 90px; height: 90px; bottom: -30px; right: -30px; background: #f9e3c6; }
.bg3 { width: 80px; height: 80px; top: 20px; right: -30px; background: #bde6e7; }
.bg4 { width: 60px; height: 60px; bottom: 10px; left: -20px; background: #e6f0f7; }

.questionnaire-section {
  max-width: 900px;
  font-family: Arial, sans-serif;
}
.question-row {
  display: flex;
  flex-direction: row;
  margin-bottom: 22px;
  align-items: baseline;
}

.question-label {
  font-size: 1.12em;
  margin-bottom: 10px;
  font-weight: 500;
}

.choices {
  display: flex;
  gap: 22px;
}

.choice-btn {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.choice-btn input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 0;
  height: 0;
  margin: 0;
  position: absolute;
}

.choice-btn span {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 18px;
  background: #f5f6fa;
  color: #207f8c;
  font-weight: bold;
  font-size: 1.08em;
  box-shadow: 0 4px 20px rgba(32,127,140,0.06);
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border 0.2s;
  user-select: none;
}

.choice-btn input[type="radio"]:checked + span {
  background: #207f8c;
  color: #fff;
  border: 2px solid #1ec6b6;
}

.choice-btn span:hover, .choice-btn:focus-within span {
  background: #e6f8f7;
  color: #1ec6b6;
}

.popover-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.popover-content {
  width:60%;
  background: #fff;
  border-radius: 28px;
  padding: 36px 44px;
  box-shadow: 0 6px 36px rgba(40,60,90,0.10);
  text-align: center;
  font-size: 1.3em;
  animation: fadeInUp 0.3s ease;
}
.popover-content a.contact-link {
  color: #f28c20;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.1em;
}
/* Conteneur du select pour position relative */
.select-wrapper {
  position: relative;
 }

/* Style général du select */
.select-wrapper select {
  appearance: none; /* Supprime le style natif */
  -webkit-appearance: none;
  -moz-appearance: none;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 36px rgba(40,60,90,0.10);
  border: none;
  padding: 12px 64px 12px 24px;
  font-size: 1.1em;
  color: #203647;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.contact-subtitle {
  font-size: 1.13em;
  color: #207f8c;
  margin-bottom: 24px;
}

.contact-coordonnees {
  background: #e6f0f7;
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 10px rgba(60,90,120,0.05);
}
.contact-coordonnees h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #215b53;
  font-size: 1.1em;
}
.contact-coordonnees ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: space-between;
  align-items: center;
}
.contact-coordonnees li {
  display: flex;
  align-items: center;
  gap: 0.5rem;;
  margin-bottom: 10px;
  font-size: 1.12em;
}
.contact-coordonnees i {
  color: #207f8c;
  font-size: 1.25em;
  min-width: 24px;
  text-align: center;
}
.contact-coordonnees a {
  color: #207f8c;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-coordonnees a:hover,
.contact-coordonnees a:focus {
  color: #f28c20;
}

.contact-link {
  color: #23a1db;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s;
}
.contact-link:hover {
  color: #d87a1c;
}

/* Formulaire */
.contact-form {
  background: #ffe7ca;
  border-radius: 14px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 2px 10px rgba(60,90,120,0.08);
  margin-bottom: 24px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 16px;
  border: 1px solid #bde6e7;
  border-radius: 6px;
  font-size: 1em;
  background: #f9fafb;
  color: #222;
  box-sizing: border-box;
  resize: vertical;
  transition: border-color 0.18s;
}
.contact-form input[type="email"]:focus, .contact-form input[type="name"]:focus, .contact-form textarea:focus {
  border-color: #23a1db;
  outline: none;
}
.contact-form button {
  background: #368ec9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-size: 1.08em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.contact-form button:hover {
  background: #ff9a35;
}

.alert {
  margin-top: 1rem;
  padding: 1rem;
  font-weight: bold;
  border-radius: 5px;
  max-width: 600px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.alert.show {
  opacity: 1;
  transform: translateY(0);
}

.alert.success {
  background-color: #e6fce6;
  color: #2d662d;
  border: 1px solid #8bd48b;
}

.alert.error {
  background-color: #fce6e6;
  color: #a10000;
  border: 1px solid #e59494;
}


section[id] {
  scroll-margin-top: 90px;
}
.suivi-form {
  background: #1e9387;
  border-radius: 14px;
  padding: 24px 24px 20px 24px;
  box-shadow: 0 2px 10px rgba(60,90,120,0.08);
  margin-bottom: 24px;
}
.suivi-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}
.suivi-form input[type="text"] {
  width: 100%;
  padding: 9px 10px;
  margin-bottom: 16px;
  border: 1px solid #bde6e7;
  border-radius: 6px;
  font-size: 1em;
  background: #f9fafb;
  color: #222;
  box-sizing: border-box;
  transition: border-color 0.18s;
}
.suivi-form input[type="text"]:focus {
  border-color: #23a1db;
  outline: none;
}
.suivi-form button {
  background: #368ec9;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 26px;
  font-size: 1.08em;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
}
.suivi-form button:hover {
  background: #ff9a35;
}
.footer-bg-video video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
}
.footer-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0;
}
.site-footer h4 {
  color: #f28c20;
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.22em;
}
.footer-accordion {
  margin-bottom: 12px;
}
.footer-accordion-title {
  background: none;
  border: none;
  color: #f28c20;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 0 0;
  transition: color 0.2s;
}
.footer-accordion-title:focus {
  outline: none;
}

.triangle {
  display: inline-block;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 7px solid #f28c20;
  margin-right: 4px;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.footer-accordion-title[aria-expanded="true"] .triangle {
  transform: rotate(90deg);
}
.footer-section-content {
  background: rgba(32, 127, 140, 0.06);
  border-radius: 10px;
  padding: 8px 12px;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.96em;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
  opacity: 1;
}
.footer-section-content[hidden] {
  display: block;
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.4s cubic-bezier(.4,0,.2,1);
}
.footer-section-content.always-open {
  background: rgba(32, 127, 140, 0.10);
  opacity: 1;
  max-height: none;
  padding: 8px 12px;
  font-size: 0.96em;
}
.site-footer a {
  color: #1ec6b6;
  text-decoration: underline;
  transition: color 0.2s;
}
.site-footer a:hover, .site-footer a:focus {
  color: #f28c20;
}
.footer-bottom {
  border-top: 1px solid #f28c20;
  margin-top: 32px;
  padding-top: 16px;
  text-align: center;
  font-size: 1.1em;
  letter-spacing: 1px;
  color: #fff;
}
.footer-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  z-index: 0;
  overflow: hidden;
  opacity:0.35;
}
#mentions-legales {
  color: white;
  padding: 126px 7vw 0;
  margin: auto;
  width: 60%;
  align-content: center;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  /* hauteur visible = 100vh - navbar - footer */
  min-height: calc(100vh - 90px - 80px); 
  scroll-margin-top: 90px;
}

#mentions-legales h2 {
  color: #f28c20;
  font-size: 24px;
  margin-bottom: 20px;
}

#mentions-legales p {
  background-color: #49758f;
  padding: 16px;
  border-radius: 10px;
  line-height: 1.6;
  margin-bottom: 20px;
}

#mentions-legales details {
  background-color: #2c5167;
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

#mentions-legales details summary {
  display: flex;
  align-items: center;
  padding-left: 28px; /* adapté à la taille du triangle */
  font-weight: bold;
  color: #f28c20;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-left: 32px;
}

#mentions-legales details summary::before {
  content: "▸";
  position: absolute;
  left: 0;
  font-size: 32px;
  line-height:1;
  transition: transform 0.3s ease;
}

#mentions-legales details[open] summary::before {
  transform: rotate(90deg);
}

#mentions-legales ul, #mentions-legales li {
  list-style-type: disc;
  color: #ffffff;
}

#mentions-legales a {
  color: #00ffff;
}

#mentions-legales a:hover {
  text-decoration: underline;
}

#mentions-legales #back-button {
  margin-top: 30px;
  padding: 10px 20px;
  border: none;
  background-color: #f28c20;
  color: white;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#mentions-legales #back-button:hover {
  background-color: #e69500;
}

/*NEW FOOTER*/
/* Footer toujours en bas */
.site-footer {
  flex-shrink: 0;
  background-color: #203647;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 14px;
}

.footer-line {
  height: 3px;
  width: 100px;
  background-color: orange;
  margin: 0 auto 8px;
  border-radius: 3px;
}

.site-footer a {
  color: #00ffff;
  text-decoration: none;
}

/* Fade-in */
.fade-in {
  animation: fadeInUp 0.3s ease forwards;
  opacity: 0;
}

/* fade-out */
.fade-out {
  animation: fadeOutDown 0.3s ease forwards;
  opacity: 1;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}
.fade-in, .fade-out {
  animation-fill-mode: forwards;
}

#back-button {
  margin-top: 20px;
  padding: 6px 12px;
  border: none;
  background-color: #ff6600;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

/*############*/
/* Responsive */
/*############*/
@media (min-width: 992px) {
  .footer-bg-video {
    width:100%;
  }

  }
@media (max-width: 1050px) {
  .cards-row, .intro-cards-row {
    flex-direction: column;
    align-items: center;
  }
  .service-card, .intro-card {
    max-width: 100vw;
    width: 95%;
  }
      #mentions-legales {
  width: 70%;
}
}

@media (max-width: 700px) {
  .intro-card, .service-card {
    padding: 18px 10px 44px 10px;
    font-size: 1em;
    min-width:50vw;
  }
  .en-savoir-plus {
    right: 10px;
    bottom: 10px;
    padding: 8px 10px;
    font-size: 0.98em;
  }
  .navbar {
    width: 100vw;
    flex-direction: column;
    height: auto;
    padding: 0px 0px;
    gap: 12px;
  }
  .section-title {
    margin-top: 32px;
  }
  nav ul {
    gap: 8px;
  }
  .submenu {
    left: 0;
    right: 0;
    border-radius: 0 0 10px 10px;
  }
}

@media (max-width: 600px) {
  .question-row {
  display: flex;
  flex-direction: column;
  align-items: center;
}
  .contact-coordonnees ul {
  display: flex;
  gap: 0rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-direction: column;
  align-items: flex-start;
}
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
  }
  .popover-content {
    width: 94%;
    padding: 22px 6vw;
    font-size: 1em;
  }
  .site-footer, .footer-content {
    padding: 20px 4vw;
    font-size: 0.98em;
  }
    .footer-bg-video {
    height: 100%;
  }
}
img, video {
  height: auto;
  display: block;
}
/* === MENU HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.hamburger .bar {
  height: 3px;
  width: 100%;
  background-color: #337fb6;
  border-radius: 2px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .logo-img {
    display: none;
  }
  .site-desc {
    display: none;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100vw;
    background: white;
    display: none;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  }

  .nav-menu.open {
    display: flex;
  }

  .navbar-menu {
    flex-direction: row;
    gap: 12px;
    padding: 16px;
    justify-content: space-evenly;
  }

  .navbar-menu li {
    text-align: left;
  }

/* Pour les sous-menus mobiles (ouvrir dans le flux) */
.submenu {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 0;
  box-shadow: none;
  border-radius: 5px;
}

.submenu.open {
  display: flex;
}
    #mentions-legales {
  width: 100%;
}
}

@keyframes dropdownFadeIn  {
  from { opacity: 0; transform: translateY(-2px);}
  to { opacity: 1; transform: translateY(0);}
}