/* === HERO ABOUT SECTION === */
.hero-about {
  padding: 5rem 0 9rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.3" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.hero-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 500px;
}

/* === CONTENU TEXTUEL === */
.hero-about__text {
  animation: slideInLeft 0.8s ease-out;
}

.hero-about__intro {
  margin-bottom: 1.5rem;
}

.hero-about__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.hero-about__subtitle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-about__title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #ffffff, #f0f8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-about__description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 500px;
}

.hero-about__description p {
  margin: 0 0 1rem 0;
}

.hero-about__description p:last-child {
  margin-bottom: 0;
}

/* === INFOS RAPIDES === */
.hero-about__quick-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-about__info-text {
  color: rgba(255, 255, 255, 0.9);
}

.hero-about__info-text strong {
  color: white;
  font-weight: 600;
}

/* === COMPÉTENCES (comme les badges) === */
.hero-about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero-about__skill {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hero-about__skill:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* === BOUTON CTA === */
.hero-about__cta {
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-about__btn {
  padding: 1rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  background: white;
  color: #667eea;
  border-color: white;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-about__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.hero-about__btn:hover::before {
  left: 100%;
}

.hero-about__btn:hover {
  background: transparent;
  color: white;
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.hero-about__btn svg {
  transition: transform 0.3s ease;
}

.hero-about__btn:hover svg {
  transform: translateX(2px);
}

/* === SECTION VISUELLE === */
.hero-about__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 0.8s ease-out 0.2s both;
  position: relative;
}

.hero-about__image-wrapper {
  position: relative;
  text-align: center;
}

.hero-about__image {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.hero-about__image:hover {
  transform: scale(1.05);
}

/* === STATISTIQUES FLOTTANTES === */
.hero-about__stats {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 3;
}

.hero-about__stat {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: #667eea;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  min-width: 110px;
}

.hero-about__stat:hover {
  transform: translateX(5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.hero-about__stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #667eea;
  line-height: 1.2;
}

.hero-about__stat-label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* === PLACEHOLDER === */
.hero-about__placeholder {
  width: 320px;
  height: 320px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.hero-about__placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

.hero-about__placeholder-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.hero-about__placeholder-text {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0 0 0.5rem 0;
}

.hero-about__placeholder-hint {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* === SCROLL INDICATOR === */
.hero-about__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 45%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInUp 1s ease-out 1.2s both;
  z-index: 5;
}

.scroll-mouse {
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  position: relative;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.scroll-wheel {
  width: 4px;
  height: 10px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  30% {
    opacity: 1;
    transform: translate(-50%, 8px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

.hero-about__scroll-text {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* === ANIMATIONS === */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .hero-about__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-about__visual {
    order: -1;
  }

  .hero-about__image,
  .hero-about__placeholder {
    width: 280px;
    height: 280px;
  }

  .hero-about__stats {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;
    right: auto;
  }

  .hero-about__quick-info {
    align-items: center;
  }

  .hero-about__subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-about__skills {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-about {
    padding: 5rem 0 10rem;
    min-height: auto;
  }

  .hero-about__container {
    padding: 0 1.5rem;
  }

  .hero-about__content {
    gap: 2rem;
  }

  .hero-about__description {
    font-size: 1.1rem;
  }

  .hero-about__btn {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }

  .hero-about__image,
  .hero-about__placeholder {
    width: 250px;
    height: 250px;
  }

  .hero-about__stats {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .hero-about__stat {
    min-width: 100px;
    padding: 0.75rem 1rem;
  }

  .hero-about__stat-number {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .hero-about {
    padding: 10rem 0;
  }

  .hero-about__container {
    padding: 0 1rem;
  }

  .hero-about__btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .hero-about__skills {
    justify-content: center;
  }

  .hero-about__skill {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }

  .hero-about__stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-about__quick-info {
    gap: 0.5rem;
  }

  .hero-about__info-item {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-about__subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-about__scroll-indicator {
    left: 40%;
  }
}

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
  .hero-about__text,
  .hero-about__visual,
  .hero-about__quick-info,
  .hero-about__skills,
  .hero-about__cta,
  .hero-about__scroll-indicator {
    animation: none;
  }

  .hero-about__image:hover,
  .hero-about__skill:hover,
  .hero-about__btn:hover,
  .hero-about__stat:hover,
  .hero-about__info-item:hover {
    transform: none;
  }

  .scroll-wheel {
    animation: none;
  }
}
