* {
  margin: 0px;
  padding: 0px;
}

body {
  background: #fff;
  color: #4a5955;
  font-family: "Montserrat", sans-serif;
}

header {
  width: 100%;
  padding: 28px 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  transition: all 0.3s ease;
}

  .logo-text {
      font-family: 'Dancing Script', cursive;
      font-size: 1.5rem;
      font-weight: 700;
      color: #fff;
      text-shadow: 0 2px 8px rgba(0,0,0,0.25);
      transition: all 0.3s ease;
      position: relative;
      padding: 8px 16px;
      background: linear-gradient(135deg, #A8E6CF, #BFF2D6);
      border-radius: 50px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      backdrop-filter: blur(5px);
    }

.logo-text:hover {
  transform: scale(1.05);
  text-shadow: 0 4px 12px rgba(72, 197, 182, 0.6);
  border-color: rgba(255, 255, 255, 0.5);
}

header.scrolled .logo-text {
  color: #48C5B6;
  text-shadow: 0 2px 4px rgba(72, 197, 182, 0.2);
  background: linear-gradient(135deg, rgba(72, 197, 182, 0.1), rgba(92, 200, 200, 0.15));
  border-color: rgba(72, 197, 182, 0.3);
}

.logo-text a {
  text-decoration: none;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 42px;
}

nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 1.02rem;
  transition: all 0.3s ease;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #5cc8c8;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: #5cc8c8;
}

.contact-btn {
  background: linear-gradient(135deg, #48C5B6 0%, #3aa297 100%);
  color: #fff;
  padding: 11px 26px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(72, 197, 182, 0.35);
  border: 2px solid rgba(255,255,255,0.2);
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(72, 197, 182, 0.5);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #2d3e3a;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.team {
  padding: 140px 40px 100px;
  background: linear-gradient(135deg, #f8fbfa 0%, #ffffff 100%);
}

.team .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.team h1 {
  font-family: "Dancing Script", cursive;
  font-size: 2.8rem;
  color: #1f3f32;
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.pro-card {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(72, 197, 182, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
}

.pro-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(72, 197, 182, 0.2);
}

.pro-card img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(72, 197, 182, 0.2);
}

.pro-card h2 {
  font-size: 1.2rem;
  color: #1f3f32;
  margin-bottom: 6px;
}

.pro-card p {
  color: #48c5b6;
  font-weight: 500;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.pro-card .btn-secondary {
  background: #48c5b6;
  color: #fff;
  padding: 8px 22px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.pro-card .btn-secondary:hover {
  background: #3bb6a7;
}

@media (max-width: 768px) {
  .team {
    padding: 120px 20px 80px;
  }

    .logo-text {
    font-size: 1.6rem;
    padding: 6px 14px;
  }

  .menu-toggle {
       display: flex;
    }

    
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 120px;
    gap: 30px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 14px rgba(0, 0, 0, 0.15);
    z-index: 100;
  }

  nav.active {
    right: 0; 
  }

  nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .contact-btn {
    display: none; 
  }

  .footer-social .social-icons {
    margin-left: 120px;
  }
}
    @media (max-width: 480px) {

  .back-link {
    top: 90px;
    left: 15px;
    padding: 7px 14px;
    font-size: 0.85rem;
  }

  .back-link span {
    display: none;
  }

  .back-link {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

    .logo-text {
    font-size: 1.4rem;
    padding: 5px 12px;
  }

      .pro-photo img {
        width: 180px;
        height: 180px;
      }

      .pro-intro h1 {
        font-size: 1.7rem;
      }

      .pro-intro h2 {
        font-size: 1.05rem;
      }

      .pro-intro p {
        font-size: 1rem;
      }

      .pro-details h2 {
        font-size: 1.4rem;
      }

      .pro-details h3 {
        font-size: 1.2rem;
      }

      .pro-details p {
        font-size: 1rem;
      }

      .btn-secondary {
        padding: 14px 30px;
        font-size: 1rem;
      }
    }


  .team h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }

 .footer {
      background: #ffffff;
      border-top: 1px solid #e5e5e5;
      padding: 60px 70px 20px;
      color: #333;
      font-family: 'Montserrat', sans-serif;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 40px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .footer h3 {
      font-size: 1.8rem;
      font-weight: 700;
      color: #48C5B6;
      margin-bottom: 12px;
    }

    .footer h4 {
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 14px;
      color: #333;
    }

    .footer p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #555;
    }

    .footer ul {
      list-style: none;
      padding: 0;
    }

    .footer ul li {
      margin-bottom: 8px;
    }

    .footer ul li a {
      text-decoration: none;
      color: #555;
      transition: color 0.3s;
    }

    .footer ul li a:hover {
      color: #48C5B6;
    }

    .footer-social .social-icons {
      display: flex;
      margin-top: 10px;
      flex-wrap: wrap;
      margin-left: 100px;
    }

    .footer-social .social-icons a {
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.4rem;
      width: 46px;
      height: 46px;
      color: #48C5B6;
      background: rgba(72,197,182,0.1);
      border-radius: 50%;
      transition: all 0.3s ease;
    }

    .footer-social .social-icons a:hover {
      background: #48C5B6;
      color: #fff;
      transform: translateY(-4px);
    }

    .footer-bottom {
      text-align: center;
      border-top: 1px solid #eee;
      margin-top: 50px;
      padding-top: 18px;
      font-size: 0.9rem;
      color: #777;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .mentions-link {
      color: #48C5B6;
      text-decoration: none;
      transition: color 0.3s;
    }

    .mentions-link:hover {
      color: #3aa297;
    }

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

header {
  width: 100%;
  overflow: hidden; /* bloque le dépassement du bouton */
  box-sizing: border-box;
}

.contact-btn {
  margin-right: 0; /* supprime le décalage inutile */
  margin-left: 40px; /* garde un petit espace visuel à gauche */
}
