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

body {
    /* font-family: 'Poppins', sans-serif; */
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

.navbar {
   
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
  }
  
  .nav-links li {
    margin-right: 1rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
  }
  .nav-links li:last-child a {
    background-color: #333; 
    color: #fff; 
    border-radius: 20px;
    padding: 10px 15px; 
    text-decoration: none;
  }
  
  .nav-links li:last-child a:hover {
    background-color: #444; 
  }
  /* Hamburger Menu */
.hamburger {
    display: none;
  }
  /* Mobile Navigation */
@media (max-width: 768px) {
    .navbar {
      padding: 1rem;
    }
  
    .nav-links {
      display: flex;
      gap: 1rem;
      font-size: 0.9rem;
    }
  }
  /* Main content */
main {
    margin-top: 80px;
    padding: 0; 
  }
  #physio {
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    padding: 3rem 0;
    background-color: #F5F5F5;
  }
  #page-principal {
    background-image: url('pictures/17.png');
    background-size: cover ;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  #contact-principal {
    background-image: url('pictures/3.png');
    background-size: cover ;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  #physio {
    width: 100vw;
    box-sizing: border-box;
    text-align: center;
    padding: 3rem 0;
    background-color: #F5F5F5;
  }
  #physio-ressources {
    background-image: url('pictures/2.png');
    background-size: cover ;
    background-position: center;
    background-repeat: no-repeat;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
  }
  .ressources-titre h1{
    color: black;
    font-weight: normal;
  }
  .ressources-titre h2{
    color: black;
    font-weight: lighter;
  }
  h1, h2 {
    font-weight: bold;
    color: black;
  }
  
  h1 {
    font-size: 36px;
  }
  
  h2 {
    font-size: 24px;
  }

  .physio-content {
    max-width: 1000px;
    margin: 0 auto;
  }
  /* .card {
    height: 300px; assure une hauteur fixe cohérente pour toutes */
    /* overflow: hidden;
  } */
  .card {
    overflow: hidden;
    border: 1px solid #ccc; /* ✅ bordure grise claire */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05); /* ✅ ombre légère si tu veux plus de relief */
    background-color: white; /* ✅ pour éviter que le fond soit transparent */
  }
  
  .card .row {
    height: 100%;
  }
  
  .card .col-lg-3 {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0; /* assure qu’il n'y a pas d’espace interne */
    height: 100%;
  }
  
  .card .col-lg-3 img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px 0 0 8px;
  }
  
  
 
/* pictures in the main page */
.row {
    margin-top: 80px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 60px;
    flex-direction: row;
  }

  .col img {
    box-sizing: content-box;
    border: 5px solid #666;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .contact-section {
    padding: 6rem 5% 4rem;
    background-color: #fff;
  }
  
  .contact-content {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .contact-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
  }
  
  .contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
  }
  
  .form-group textarea {
    resize: vertical;
  }
  
  .submit-button {
    background-color: #000;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
  }
  
  .submit-button:hover {
    transform: translateY(-3px);
  }
  .map-container {
    grid-column: 1 / -1;
    margin-top: 40px;
    margin-left: 80px;
    margin-right: 80px;
  }
  @media (max-width: 768px) {
    .map-container {
      width: calc(100vw - 20px);
      height: calc(100vh - 20px);
      margin: 10px;
    }
  }
  
  

    /* Main content */
  .presentation-section h1, .presentation-section h2 {
    font-weight: lighter;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .presentation-section h1 {
    font-size: 36px;
    text-align: center;
    margin-top: 100px;
  }
  
  .presentation-section h2 {
    font-size: 22px;
    text-align: center;
    margin-top: 10px;
    color: #757575;
  }
  .presentation-section p {
    font-size: 16px;
    line-height: 1.5;
    margin: 40px 20px 20px 20px;
    text-align: center;
  }
  
  @media (min-width: 768px) {
    .presentation-section p {
      margin: 40px 180px 20px 180px;
    }
  }
  .button-section button {
    background-color: #000; 
    color: #fff; 
    padding: 10px 20px; 
    font-size: 20px; 
    font-weight: normal; 
    cursor: pointer; 
    text-align: center; 
    margin: 0 auto; 
    display: block;
    width: 230px; 
    height: 50px; 
    border-radius: 10px; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-top: 80px;
  }
  
  .button-section button:hover {
    background-color: #333; /* fond plus sombre au survol */
    color: #fff; /* écriture blanche au survol */
  }
  .ressources-titre{
    text-align: center;
  }
  
  /* Footer */

.footer-content {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color: #F5F5F5; /* couleur de fond noire */
  padding: 40px;
  margin-top: 40px;
}

.footer-container {
display: flex;
justify-content: space-between;

}
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
.social-instagrm {
  margin-top: 10px;
  margin-right: 20px;
  color: black;
}
.social-linkedin {
  margin-top: 10px;
  margin-right: 20px;
  color: black;
}

.disclaimer {
text-align: center;
flex: 1;
margin-left: 20px;
}
h1, h2, h3, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
}

/* Affichage mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  /* .logo {
    font-size: 1rem;
    }
  } */
  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 5%;
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    width: 90%;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }

  .nav-links li:last-child a {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .logo {
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px; /* réduit l'espacement pour mobile */
  }

  .col-4 {
    width: 90%; /* pleine largeur moins un petit padding */
  }

  .col-4 img {
    height: auto;
  }
}
/* html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  padding-top: 100px;
  flex: 1;
} */

/* Bouton visible uniquement en mobile */
.mobile-reserve-button {
  display: none;
}

@media (max-width: 768px) {
  .mobile-reserve-button {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
  }

  .mobile-reserve-button .reserve-btn {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: lighter;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
  }

  /* Cache le bouton desktop sur mobile */
  .nav-links li:last-child {
    display: none;
  }
}


@media (max-width: 768px) {
  .navbar {
    position: relative;
    height: 60px;
    padding: 0.5rem 1rem;
  }
}

.ressources {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.ressources h2 {
  font-size: 28px;
  margin-bottom: 0;
}

.ressources > p {
  margin-top: 4px;
  color: #555;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.card {
  display: flex;
  align-items: flex-start; 
  flex: 1 1 100%;
  /* flex: 1 1 calc(50% - 20px); */
  gap: 20px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background-color: #fff;
}

.card img {
  width: 80px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0; /
}

.card .content {
  flex: 1;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.card p {
  margin: 0 0 10px;
  color: #333;
}

.card button {
  background-color: #eee;
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}

.card button:hover {
  background-color: #ddd;
}

/* 📱 Mobile : empiler les cartes en colonne */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
  }

  .card {
    flex: 1 1 100%;
  }
}
