* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
 font-family: "Montserrat", sans-serif;
 overflow-x: hidden;
 background:#f6f5f1;
}
.container { 
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1{
    font-size: clamp(38px, 4.5vw, 64px);
    text-align: center;
    font-weight:900;
}
h2{
    font-size: clamp(24px, 3vw, 36px);
    color: #fff;text-align: center;
}
h1 span{
  display:block;
}
.icon{
    height:24px;
    width:auto;
}
.title-small{
    font-weight:200;
    font-size:24px;
}
.title-large{
font-size: clamp(1.8rem, 4vw, 2.5rem);
 font-weight: 900;
 padding:0;
 text-transform:uppercase;
 display:block;
}
p.text-small{
    font-size:11px;
}
.modal header.modal__header{
    box-shadow:none;
    background:none;
    backdrop-filter:none;
}
.modal__close:focus {
  outline: none;
}
/* couleur du dot actif */
.swiper-pagination-bullet-active {
  background-color: #fff;
}
.btn{
  box-sizing: border-box;
  display: flex; 
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 24px;
  font-size: 16px;
  line-height: 1; 
  gap: 8px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none; 
  transition: 180ms ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; 
  text-transform:uppercase;        
}
.btn.primary{
    color: #fff;
    background: #77978a;
}
.btn.secondary{
    color: #fff;
    background: #000;
}
.btn.size-s{
    width:50%;
    margin:0 auto;
}
input:focus, textarea:focus {
  outline: none;
  border-color: transparent;
}
.section {
    position: relative;
    padding:80px 15px;
}
/* Header */
header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 padding: 1.5rem;
 display: flex;
 justify-content: space-between;
 align-items: center;
 background: rgba(255, 255, 255, 0.95);
 backdrop-filter: blur(10px);
 z-index: 1000;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease-in-out;
  will-change: transform, opacity;
}
header.hide {
  transform: translateY(-120%); /* un peu plus haut pour éviter un "cut" */
  opacity: 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo {
    max-width:280px;
}

nav ul {
 display: flex;
 list-style: none;
 gap: 2rem;
}

nav a {
 text-decoration: none;
 color: #000;
 font-weight: 500;
 transition: color 0.3s;
letter-spacing: 0.1rem;
}

nav a:hover {
 color: #3498db;
}

/* Menu Burger */
.burger {
 display: none;
 flex-direction: column;
 cursor: pointer;
 width: 30px;
 height: 24px;
 position: relative;
}

.burger span {
 width: 100%;
 height: 3px;
 background: #2c3e50;
 transition: all 0.3s ease;
 position: absolute;
}

.burger span:nth-child(1) {
 top: 0;
}

.burger span:nth-child(2) {
 top: 50%;
 transform: translateY(-50%);
}

.burger span:nth-child(3) {
 bottom: 0;
}

.burger.active span:nth-child(1) {
 top: 50%;
 transform: translateY(-50%) rotate(45deg);
}

.burger.active span:nth-child(2) {
 opacity: 0;
}

.burger.active span:nth-child(3) {
 bottom: 50%;
 transform: translateY(50%) rotate(-45deg);
}

/* Section 1 */

.intro {
  height:100vh;
 height: 100dvh;
 display: flex;
 align-items: flex-end;
 justify-content: center;
 color: white;
 text-align: center;
 position: relative; /* nécessaire car la vidéo et le ::after sont absolus */
}
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.intro::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
.video-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 2;
}
.title-wrapper{
  position:relative;
  z-index:2;
  text-align:left;
  padding:32px 16px;
  max-width:1200px;
  width:100%;
  margin:0 auto;
}
.title-wrapper h1{
  text-align:left;
  text-transform:uppercase;
}
.title-wrapper p.subtitle{
  letter-spacing: 0.2rem;
}
.divider{
  height:15px;
  width:200px;
  background:#77978a;
  margin:15px 0 20px 0;
  border:none;
}

@keyframes fadeInUp {
 from {
opacity: 0;
transform: translateY(30px);
 }
 to {
opacity: 1;
transform: translateY(0);
 }
}

.formremise-wrapper {
  display: flex;
  align-items: flex-start; /* garde p.remise et form-container alignés */
  gap: 10px;
  position: relative;
  width: fit-content;
  margin: 80px 0 10px 0;
}

/* p.remise reste en haut à gauche */
.formremise-wrapper p.remise {
  font-size: 36px;
  font-weight: 900;
  color: #e8d4cd;
  flex-shrink: 0;
  position: relative;
}

/* Checkbox placée sous le texte .remise */
.newsletter-label {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #e8d4cd;
  cursor: pointer;
  user-select: none;
  position:absolute;
  top:100%;
  left:0;
  margin-top: 5px; /* petit espace si nécessaire */
}

.newsletter-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #e8d4cd;
  border-radius: 3px;
  margin-right: 8px;
  position: relative;
  transition: background 0.2s ease;
}

.newsletter-label input[type="checkbox"]:checked {
  background: #000;
}

.newsletter-label input[type="checkbox"]:checked::after {
  content: '✔';
  color: #e8d4cd;
  font-size: 12px;
  position: absolute;
  top: 1px;
  left: 3px;
}

/* Formulaire */
.form-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Bloc email + bouton */
.form-container .input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-container input[type="email"] {
  width: 180px;
  padding: 10px 12px;
  font-size: 16px;
  outline: none;
  background: #e8d4cd;
  border: none;
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  z-index: 1;
}

.form-container.active input[type="email"] {
  width: 450px;
  padding-right: 60px;
}

.form-container .email::placeholder {
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
}

/* Bouton */
.form-container .input-wrapper button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%) translateX(30px);
  background: #000;
  color: #fff;
  text-transform: uppercase;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 10;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Bouton actif */
.form-container button.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(-50%) translateX(0);
}

/* Responsive mobile */
@media (max-width: 767px) {
  .formremise-wrapper {
    width: 100%;
  }
  .form-container.active input[type="email"] {
    width: 100%;
    padding-right: 60px;
  }
  .form-container.active input[type="email"] {
    width: calc(100vw - 20px); /* largeur finale pour desktop */
    padding-right: 60px; /* espace pour le bouton */
  }
  .form-container button.active {
  position: absolute;
  z-index:100;
  }
}
.title-wrapper p.text-small{
  position:relative;
  margin-top: 40px;
  margin-bottom: 40px;
  text-transform:uppercase;
  color:#e8d4cd;
}


.message {
  margin-top: 10px;
  font-size: 14px;
  display: none;
}
.message.success {
  color: #77978A;
}
.message.error {
  color: #FC746D;
}

/* Section 2 */
.swiper-section {
 padding: 4rem 2rem;
}
.swiper-container-wrapper {
 max-width: 1200px;
 margin: 0 auto 3rem;
}
.swiperStudio-container{
    position:relative;
    width:50%;
    margin:0 auto;
}
.swiperStudio-bg{
    position:absolute;
    top:-10px;
    left:-10px;
    background: #77978A;
    width:100%;
    height:100%;
    margin:0 auto;
    z-index:0;
}
.swiperStudio{
    position:relative;
    z-index:2;
    width:100%;
}
.swiper-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: block;
  will-change: transform, opacity;
}

.swiper-title.slide-out-left { 
  animation: slideOutLeft 0.2s ease forwards; 
}
.swiper-title.slide-out-right { 
  animation: slideOutRight 0.2s ease forwards; 
}
.swiper-title.slide-in-left { 
  animation: slideInLeft 0.25s ease forwards; 
}
.swiper-title.slide-in-right { 
  animation: slideInRight 0.25s ease forwards; 
}

@keyframes slideOutLeft {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-30px); }
}
@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(30px); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}



.partners-swiper {
  width: 80%;
  height: auto;
  margin: 40px auto;
  overflow: hidden;
}

.partners-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-swiper .swiper-slide img {
  width: auto;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.swiper-slide {
 display: flex;
 align-items: center;
 justify-content: center;
}

.swiper-slide img {
 width: 100%;
 height: 100%;
 object-fit: cover;
}

.grid-container {
 max-width: 1200px;
 margin: 0 auto;
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 0.5rem;
 padding: 0 1rem;
}

.grid-item {
 padding: 1rem;
}
.grid-item h3{
    text-transform:uppercase;
}
.grid-item p {
 line-height: 1.6;
}
/* Section : Testimonial */
.swiper-container {
 max-width: 800px;
 overflow: hidden;
  padding-top: 50px;
  padding-bottom: 50px;
  margin:0 auto;
}
.swiper-slide{
  width: 300px;
}

/* Conteneur du modal */
#testimonial-modal .modal__container {
  position: relative;
  max-height: 80vh;            /* hauteur max du modal */
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}

#testimonial-modal .modal__header {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1000;
  background: transparent;
  padding: 0;
}


.video-container {
  position:relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 80vh;             /* s’assure que la vidéo ne dépasse pas */
  max-width: calc(80vh * 9 / 16); /* largeur max en fonction du ratio */
  width: 100%;
}
.video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-loader.active {
  visibility: visible;
  opacity: 1;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
/* La vidéo */
#testimonial-video {
  width: 100%;
  height: auto;                  /* adapte la hauteur automatiquement */
  max-height: 80vh;              /* jamais plus grande que le modal */
  object-fit: contain;           /* aucun crop */
  border-radius: 16px;
}

.modal__close{
    position:relative;
    z-index:1000;
}
/* Section 5 - FAQ */
.section-faq {
  background: #77978A;
  padding: 4rem 1rem;
  color:#fff;
}
.faq{
  margin-top:40px;
}
.faq-item {
  background: #fff;
  color:#000;
  border-radius: 12px;
  margin-bottom: 1rem;
  /*box-shadow: 0 4px 12px rgba(0,0,0,0.06);*/
  overflow: hidden;
}

.section-faq button{
  color:#000;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.25rem;
  font-size: 1.05rem;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.arrow {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-right: 2px solid #6b7280;
  border-bottom: 2px solid #6b7280;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(225deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

/* Padding uniquement dans le wrapper */
.faq-answer-inner {
  padding: 0.75rem 1.25rem 1.25rem;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

/* Section - Partenaires */
.partners-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partners-swiper img {
  max-height: 150px;
  object-fit: contain;
}

/* Section - Géolocalisation */
#routeForm{
    margin-top:40px;
}
.section-map{
  display:flex;
  align-items: center;
  background:url('img/mapbg.webp');
  background-repeat:no-repeat;
  background-size: cover;
}
.section-map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(246,245,241,0.8);
  z-index: 0;
}

.section-map > * {
  position: relative; /* pour que le contenu soit au-dessus */
  z-index: 1;
}
.form-section {
 margin-bottom: 30px;
}

.form-group {
 position: relative;
 margin-bottom: 20px;
}

.form-group label {
 display: block;
 color: #4a5568;
 font-weight: 600;
 margin-bottom: 8px;
 font-size: 14px;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.input-container {
 position: relative;
}

.btn-geolocation {
  display:none!important;
 position: absolute;
 right: 12px;
 top: 50%;
 width:40px;
 height:40px;
 transform: translateY(-50%);
 background: #667eea;
 color: white;
 border: none;
 border-radius: 12px;
 padding: 8px;
 cursor: pointer;
 transition: all 0.3s ease;
 display: flex;
 align-items: center;
 justify-content: center;
}

.btn-geolocation:hover {
 background: #5a67d8;
 transform: translateY(-50%) scale(1.05);
}

.btn-calculate {
 width: 100%;
 background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 color: white;
 border: none;
 padding: 16px;
 border-radius: 12px;
 font-size: 16px;
 font-weight: 600;
 cursor: pointer;
 transition: all 0.3s ease;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

.btn-calculate:hover {
 transform: translateY(-2px);
 box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-calculate:disabled {
 opacity: 0.6;
 cursor: not-allowed;
 transform: none;
}

.results {
 margin-top: 20px;
}

.result-summary {
 background: white;
 border-radius: 15px;
 padding: 20px;
 box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-summary h3 {
 color: #2d3748;
 font-size: 20px;
 font-weight: 700;
 margin-bottom: 20px;
 text-align: center;
}

.transport-list {
 display: flex;
 flex-direction: row;  /* items en ligne */
 gap: 12px;
 width: 100%;
}

.transport-item {
 flex: 1; /* chaque item prend la même largeur */
 display: flex;
 flex-direction:column;
 align-items: center;
 justify-content: space-between;
 padding: 15px 20px;
 border: 2px solid #e2e8f0;
 border-radius: 12px;
 transition: all 0.3s ease;
 box-sizing: border-box; /* évite que padding + border cassent la largeur */
}


.transport-item.fastest {
 border-color: #48bb78;
 background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
 transform: scale(1.02);
 box-shadow: 0 5px 20px rgba(72, 187, 120, 0.2);
}

.transport-item.fastest .fastest-badge {
 background: #48bb78;
 color: white;
 padding: 4px 8px;
 border-radius: 6px;
 font-size: 12px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.5px;
}

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

.transport-icon-simple {
 width: 45px;
 height: 45px;
 border-radius: 10px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 20px;
 color: #000;
}

.transport-name {
 font-weight: 600;
 color: #2d3748;
 font-size: 16px;
}

.transport-right {
 text-align: right;
 display: flex;
 flex-direction: column;
 align-items: flex-end;
 gap: 4px;
}

.transport-time {
 font-size: 18px;
 font-weight: 700;
 color: #2d3748;
}

.transport-distance {
 font-size: 14px;
 color: #718096;
}

.estimated-note {
 font-size: 12px;
 color: #e53e3e;
 font-style: italic;
}

.loading {
 text-align: center;
 padding: 40px;
 color: #718096;
}

.spinner {
 border: 4px solid #f3f3f3;
 border-top: 4px solid #667eea;
 border-radius: 50%;
 width: 40px;
 height: 40px;
 animation: spin 1s linear infinite;
 margin: 0 auto 20px;
}

@keyframes spin {
 0% { transform: rotate(0deg); }
 100% { transform: rotate(360deg); }
}

.error {
 background: #fed7d7;
 color: #c53030;
 padding: 15px;
 border-radius: 10px;
 margin: 20px 0;
 text-align: center;
}

.suggestions {
 position: absolute;
 top: 100%;
 left: 0;
 right: 0;
 background: white;
 border: 2px solid #e2e8f0;
 border-top: none;
 border-radius: 0 0 12px 12px;
 max-height: 200px;
 overflow-y: auto;
 z-index: 1000;
}

.suggestion-item {
 padding: 12px 20px;
 cursor: pointer;
 border-bottom: 1px solid #f7fafc;
 transition: background-color 0.2s ease;
}

.suggestion-item:hover {
 background-color: #f7fafc;
}

.suggestion-item:last-child {
 border-bottom: none;
}

@media (max-width: 768px) {
  #quiz h1 {
font-size: 80px;
 }
 #multi-step-form{
   overflow:hidden;
 }
 .container {
padding: 20px;
overflow: hidden;
 }
 
 .header h1 {
font-size: 24px;
 }
 
 .transport-item {
flex-direction: column;
text-align: center;
gap: 15px;
 }
 
 .transport-right {
text-align: center;
 }
}

.whatsapp-cta{
  height:auto;
  padding-top:20px;
  display:flex;
  align-items: center;
  justify-content: center;
}  
/* Style pour le message de durée */
#results-modal h2{
    color:#000;
    font-weight:900;
}
.duration-message {
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  display:flex;
  flex-direction:column;
}
/* Modal pour trajets ≤ 10 min */
.modal__container.md10 {
  border-top: 5px solid #4CAF50; /* Bordure verte */
  background-color: rgba(76, 175, 80, 0.8);
}

/* Modal pour trajets ≤ 20 min */
.modal__container.md20 {
  border-top: 5px solid #FFC107; /* Bordure jaune */
  background-color: rgba(255, 193, 7, 0.8);
}

/* Modal pour trajets > 20 min */
.modal__container.more20 {
  border-top: 5px solid #F44336; /* Bordure rouge */
  background-color: rgba(244, 67, 54, 0.8);
}

/* Section 3 - Contact */
.contact {
 padding: 4rem 2rem;
 background: #F6F5F1;
 color: #000;
}

.contact h2 {
 text-align: center;
 font-size: 2.5rem;
 margin-bottom: 3rem;
}

.contact-form {
 max-width: 600px;
 margin: 40px auto 0 auto;
}

.form-group {
 margin-bottom: 1.5rem;
}

.form-group label {
 display: block;
 margin-bottom: 0.5rem;
 font-weight: 500;
}

.form-group input,
.form-group textarea {
 width: 100%;
 padding: 0.8rem;
 border: none;
 border-radius: 5px;
 font-size: 1rem;
 font-family: inherit;
}

.form-group textarea {
 min-height: 150px;
 resize: vertical;
}
.contactnewsletter-label{
  display:block;
  margin-bottom:20px;
}
.message {
 margin-top: 1rem;
 padding: 1rem;
 border-radius: 5px;
 text-align: center;
 display: none;
}

.message.success {
 display: block;
}

.message.error {
 display: block;
}

.micromodal-slide[aria-hidden="false"] {
  animation: fadeIn 0.3s forwards;
}

.micromodal-slide[aria-hidden="true"] {
  animation: fadeOut 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

@keyframes fadeOut {
  from { opacity: 1 }
  to { opacity: 0 }
}

/* Modal */
.modal{
  position:relative;
  z-index:99999;
}
.modal__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__container {
  max-width: 700px;
  width: 90%;
  margin: 0;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-height: 90vh; 
  overflow-y: auto;
}

/* Style pour le modal ouvert */
.modal.is-open .modal__overlay {
  display: flex;
}
.modal .modal__overlay {
  display: none;
}

.modal__close {
  background: none;
  border: none;
  font-size: 1.5rem; 
  cursor: pointer;
  color: #777; 
  padding: 0 10px; 
  line-height: 1;
  transition: color 0.2s;
  position: absolute;
  right: 15px;
  top: 10px;
}

.modal__close:hover {
  color: #000;
}

.modal__header {
  position: relative;
  padding: 15px 30px 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Style pour le titre du modal */
.modal__title {
  margin: 0;
  font-size: 1.2rem;
  color: #000;
}


.modal__footer {
 display: flex;
 justify-content: flex-end;
 margin-top: 20px;
}

.modal__btn {
 padding: 8px 16px;
 background: #007bff;
 color: white;
 border: none;
 border-radius: 4px;
 cursor: pointer;
}

footer{
  background:#E8D4CD;
  color:#000;
  padding:80px 0;
}
footer a{
  color:#000;
  text-decoration:underline;
}
footer a:hover{
  text-decoration:none;
}
footer .container{
  display:flex;
  justify-content:center;
  align-items:center;
  flex-direction:column;
}
footer .legalinfo{
  width:100%;
  text-align:center;
  margin-top:20px;
  padding-top:20px;
  border-top:1px solid #F6F5F1;
}

.socials-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 20px 0;
  fill: #fff;
  transition: fill 0.3s ease;
}

.socials-links a {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.socials-links a:hover {
  transform: scale(1.2); /* effet zoom au survol */
  opacity: 0.8;
}

.social-icon {
  width: 32px;
  height: 32px;
}

#modal-rgpd h3{
  margin-top:40px;
}
h1#modal-rgpd-title{
  text-transform:uppercase;
}
/* Responsive */
@media (max-width: 768px) {
    header {
    padding: 0;
    height: 70px; /* Hauteur fixe */
    pointer-events: auto;
  }
  
  .logo {
    max-width: 260px; /* Réduire la taille du logo si nécessaire */
    z-index: 10000;
  }

  nav ul {
    position: fixed;
    top: 70px; /* Correspond à la hauteur du header */
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: left 0.3s ease;
    z-index: 9998;
  }

  nav ul.active {
    left: 0;
  }

  .burger {
    display: flex;
    z-index: 10000;
    position: relative;
  }
  .swiper-section {
 position: relative;
 z-index: 1; /* Garder le swiper en dessous du header */
}
.swiper-container-wrapper h1{
  display:block;
  height:100px;
}
.title-small{
    font-weight:300;
    font-size:18px;
}
.swiper-title {
  font-size: 26px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom:0;
  display: block;
  will-change: transform, opacity;
}
.swiperStudio-container {
 position: relative;
 width: 50%;
 margin: 0 auto;
 z-index: 1; /* Pas plus haut que le header */
}

.swiperStudio {
 position: relative;
 z-index: 2;
 width: 100%;
 isolation: isolate; /* Créer un nouveau contexte d'empilement */
}
 .grid-container {
grid-template-columns: 1fr;
gap: 1.5rem;
 }

 .swiper-slide {
min-height: 300px;
 }
 .swiperStudio-container {
    width: 100%;
  }
  .swiperStudio-bg {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #77978A;
    width: 100%;
    height: 95%;
    margin: 0 auto;
    z-index: 0;
  }
  .btn.size-s {
    width: 100%;
  }
  .video-container {
    max-height: 80vh;
  }
  .formremise-wrapper{
    flex-direction:column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
 header {
padding: 1rem;
 }

 .intro h1 {
font-size: 2rem;
 }

 .swiper-section,
 .contact {
padding: 2rem 1rem;
 }
   .swiperStudio-bg {
    position: absolute;
    top: 20px;
    left: -10px;
    background: #77978A;
    width: 100%;
    height: 80%;
    margin: 0 auto;
    z-index: 0;
  }
}