/* Styles spécifiques à la page d'accueil */

body {
  overflow-x: hidden;
}

/* Section Hero */
.hero {
  height: 85vh;
  background: url("/assets/cour_appel.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 80%,
    white 100%
  );
  pointer-events: none;
}

.hero-card {
  background: rgba(139, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(139, 0, 0, 0.3);
  border-radius: 20px;
  padding: 3rem 4rem;
  text-align: center;
  box-shadow: 0 8px 32px rgba(139, 0, 0, 0.2);
  position: absolute;
  bottom: -100px;
  max-width: 800px;
  width: 90%;
  z-index: 999;
  overflow: hidden;
  transition: transform 0.1s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: skewX(-25deg);
  animation: shine 3s infinite;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 150%;
  }
}
.hero-card h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-card p {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-card .address {
  font-size: 1.2rem;
  padding-top: 3rem;
  font-weight: 700;
  color: black;
}

.hero-card .tel {
  font-size: 1.2rem;
  font-weight: 700;
  color: black;
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
}

#presentation {
  padding-top: 8rem;
  max-width: 1800px;
}

#honoraires {
  max-width: 1800px;
}

#equipe {
  max-width: 100%;
  background-color: #f8f9fa;
}

#equipe h2,
#equipe .team-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#equipe h2 {
  padding-bottom: 0;
  margin-bottom: 2rem;
}

#contact {
  max-width: 100%;
  background-color: #f8f9fa;
}

#contact h2,
#contact .contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

#contact h2 {
  padding-bottom: 0;
  margin-bottom: 2rem;
}

/* Présentation */
.about-content {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  line-height: 1.8;
  font-size: 1.2rem;
}

/* Équipe */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  text-align: center;
  font-size: 1.2rem;
}

.team-member:nth-child(4) {
  grid-column: 2 / 3;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid #8b0000;
}

.team-member h3 {
  color: #8b0000;
  margin-bottom: 0.5rem;
}

.team-member .role {
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Honoraires */
.fees-content {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
  line-height: 1.8;
  font-size: 1.2rem;
}

.fees-content ul {
  margin-left: 2rem;
  margin-top: 1rem;
}

.fees-content li {
  margin-bottom: 0.5rem;
}

/* Contact - Page d'accueil */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

#contact .contact-card {
  background: white;
  padding: 1.7rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#contact .contact-card:nth-child(4) {
  grid-column: 2 / 3;
}

#contact .contact-card h3 {
  color: #8b0000;
  margin-bottom: 1rem;
}

#contact .contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1.2rem;
}

#contact .contact-info a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

#contact .contact-info a:hover {
  color: #8b0000;
}

/* Responsive */
@media (max-width: 900px) {
  .team-member:nth-child(4) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    margin-bottom: 0;
  }

  .nav-links {
    top: 100px;
  }

  .hero-card {
    padding: 2rem;
    bottom: -60px;
  }

  .hero-card h1 {
    font-size: 1.5rem;
  }

  .hero-card p {
    font-size: 1.1rem;
    color: rgb(255, 255, 255);
  }

  .hero-card .address {
    color: rgb(0, 0, 0);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  #equipe .team-grid {
    padding: 0;
  }

  #contact .contact-grid {
    padding: 0;
  }

  #contact .contact-card:nth-child(4) {
    grid-column: auto;
  }
}
