/* ==========================================================
   ABOUT-ME.CSS — Portrait Video (Ratio 896x1112)
   ========================================================== */

.section-title {
  display: block;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--black-01);
  margin-bottom: 20px;
}

.about-section {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px; 
  padding: 60px 40px;
  max-width: 1150px;
  margin: 0 auto;
}

/* CONTENEUR IMAGE/VIDEO */
.about-image {
  order: 1;
  position: relative;
  width: 100%;
  
  /* SOLUTION : Ratio exact de ta vidéo 896 / 1112 */
  aspect-ratio: 896 / 1112; 
  
  background-color: #ffffff; /* Fond blanc identique à ta vidéo */
  border-radius: 0; 
  overflow: hidden; 
  box-shadow: 0 5px 20px rgba(0,0,0,0.00);

  /* Désactivation Tilt */
  transform: none !important;
  perspective: none !important;
}

.about-image iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: auto; 
  
  /* On zoome très légèrement (1%) pour être sûr de ne voir aucune ligne blanche sur les bords */
  transform: scale(1.01);
  transform-origin: center;
  
  image-rendering: -webkit-optimize-contrast;
}

.about-text {
  order: 2;
  text-align: justify;
}

/* ==========================================================
   RESPONSIVE MOBILE (≤ 900px)
   ========================================================== */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 30px; /* Aligné sur les autres sections */
    gap: 30px;
  }
  
  .about-image {
    width: 100%; 
    max-width: 100%; 
    margin: 0 auto;
    aspect-ratio: 896 / 1112; /* On garde le ratio parfait sur mobile */
  }
  
  .about-text { padding: 0; }
}

/* ==========================================================
   ABOUT ACTIONS (CV & LinkedIn)
   ========================================================== */
.about-actions {
  display: flex;
  gap: 30px;
  margin-top: 45px;
  align-items: center;
}

.action-link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black-01);
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  line-height: 1;
  transition: color 0.3s ease;
}

.action-link i {
  font-size: 16px;
  color: var(--accent-color);
  transform: translateY(-1px);
}

.action-link:hover { color: var(--accent-color); }

@media (max-width: 900px) {
  .about-actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0 50px 0;
  }
}

/* Dark Mode */
html.dark-theme .section-title { color: var(--white-01); }
html.dark-theme .action-link { color: var(--white-01); }
html.dark-theme .action-link:hover { color: var(--white); }