/* Styles spécifiques aux pages des avocats */

main {
  margin-top: 85px;
  padding: 3rem 0;
}

.avocat-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.avocat-content {
  display: grid;
  grid-template-columns: 570px 1fr;
  gap: 3rem;
  align-items: start;
}

.avocat-photo {
  position: sticky;
  top: 120px;
}

.avocat-photo img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avocat-info {
  background: #fff;
}

.avocat-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid #8b0000;
}

.avocat-header h1 {
  font-size: 2.5rem;
  color: #8b0000;
  margin-bottom: 0.5rem;
}

.avocat-header .role {
  font-size: 1.3rem;
  color: #666;
  font-style: italic;
}

.avocat-section {
  margin-bottom: 2.5rem;
}

.avocat-section h2 {
  font-size: 1.8rem;
  color: #8b0000;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e0e0e0;
  text-align: left;
}

.avocat-section ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.avocat-section li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.avocat-section p {
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.contact-card {
  background: rgba(139, 0, 0, 0.05);
  border: 2px solid #8b0000;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 2rem;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-info a {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.contact-info a::before {
  content: "►";
  color: #8b0000;
}

footer {
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .avocat-content {
    grid-template-columns: 300px 1fr;
    gap: 2rem;
  }

  .avocat-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  main {
    padding: 2rem 0;
  }

  .avocat-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .avocat-photo {
    position: relative;
    top: 0;
    max-width: 400px;
    margin: 0 auto;
  }

  .avocat-header h1 {
    font-size: 1.8rem;
  }

  .avocat-section h2 {
    font-size: 1.5rem;
  }
}
