/* css/pages/about.css */
/* =========================================
   A PROPOS
   ========================================= */

.about-hero-section {
  position: relative;
  width: 100%;
  padding: 8rem 0 !important;
  min-height: 75vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.about-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/Team.webp');
  background-size: cover;
  background-position: center;
  filter: blur(3px);
  transform: scale(1.02);
  z-index: 1;
}

.about-hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.5) 13%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 1) 88%);
  z-index: 2;
}

.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-hero-title {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  line-height: 1.1;
  text-align: center;
  text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.75);
}

.about-hero-title::after {
  content: none;
}

/* =========================================
   SECTIONS & LAYOUT
   ========================================= */
.about-intro-section,
.about-team-section,
.about-partners-section {
  padding: 6rem 0;
  width: 100%;
}

.about-team-section,
.about-partners-section {
  padding-top: 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.about-team-section .section-title,
.about-partners-section .section-title {
  color: var(--accent-primary);
}

/* =========================================
   QUI SOMMES-NOUS
   ========================================= */
.about-intro-section {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: -2rem;
  gap: 4rem;
}

.about-intro-section::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: radial-gradient(ellipse 80% 50% at center, var(--bg-tertiary) 0%, #000000 100%);
  z-index: -1;
}

@media (min-width: 768px) {
  .about-intro-section {
    flex-direction: row;
    align-items: stretch;
  }
  .about-intro-image,
  .about-intro-content {
    flex: 1;
    min-width: 0;
    width: 50%;
  }
}

.about-intro-section .section-title {
  color: var(--text-primary);
}

.about-intro-section .section-title::after {
  content: none;
}

.about-intro-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 7px solid transparent;
  border-image: linear-gradient(
    to bottom right,
    transparent 0%,
    transparent 40%,
    var(--accent-primary) 100%
  ) 1;
}

.about-intro-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-intro-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: auto;
}

.about-intro-content .social-icon-btn {
  align-self: flex-end;
  color: var(--text-primary);
  transition: color 0.3s ease, transform 0.3s ease;
}

.about-intro-content .social-icon-btn:hover {
  color: var(--accent-primary);
  transform: scale(1.1);
}

.about-intro-content .social-icon-btn svg {
  width: 40px;
  height: 40px;
  fill: currentColor;
}

/* =========================================
   NOTRE ÉQUIPE
   ========================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  overflow: hidden;
}

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

.team-photo {
  width: calc(100% + 4rem);
  max-width: none;
  margin: -2rem -2rem 1.5rem -2rem;
  height: 250px;
  object-fit: cover;
}

.team-name {
  color: var(--accent-primary);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.team-role {
  color: var(--text-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.team-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
}

.team-separator {
  width: 50px;
  height: 2px;
  background-color: var(--accent-primary);
  border: none;
  margin: 0.75rem 0 1.5rem 0;
}

.team-socials {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}

.team-socials a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease, transform 0.3s ease;
  color: var(--text-primary);
}

.team-socials a:hover {
  background: var(--accent-primary);
  transform: scale(1.1);
  color: #000;
}

.team-socials a svg,
.team-socials a svg path {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =========================================
   PARTENAIRES
   ========================================= */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
}

.partners-grid img {
  height: 80px;
  max-width: 100%;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.partners-grid img:hover {
  opacity: 1;
}
