/* ============================================================================
   ABOUT SECTION - ULTRA PREMIUM 2025 AVEC ANIMATIONS AVANCÉES
   ============================================================================ */

/* ============= SECTION CONTAINER ============= */
.about-premium-2025 {
  position: relative;
  padding-top: 65px;
  padding-bottom: 80px;
  background: #ffffff;
}

/* ============= BACKGROUND ELEMENTS ============= */
.about-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.about-gradient-blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(60px);
  animation: float-blob 8s ease-in-out infinite;
}

.about-blob-1 {
  width: 600px;
  height: 600px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  animation-delay: 0s;
}

.about-blob-2 {
  width: 500px;
  height: 500px;
  bottom: -8%;
  left: -5%;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  animation-delay: 2s;
}

.about-geometric-shape {
  position: absolute;
  opacity: 0.04;
  animation: drift-shape 12s ease-in-out infinite;
}

.about-shape-1 {
  width: 400px;
  height: 400px;
  top: 50%;
  right: 10%;
  background: linear-gradient(45deg, var(--accent-light) 0%, transparent 60%);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  animation-delay: 1s;
}

@keyframes float-blob {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-40px) scale(1.05); }
}

@keyframes drift-shape {
  0%, 100% { transform: translateX(0px) rotate(0deg); }
  25% { transform: translateX(30px) rotate(5deg); }
  75% { transform: translateX(-30px) rotate(-5deg); }
}

/* ============= CONTAINER ============= */
.about-container-premium {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .about-container-premium {
    padding: 0 20px;
  }
}

/* ============= HEADER ============= */
.about-header-premium {
  text-align: center;
  margin-bottom: 15px;
}

.about-label-container {
  display: inline-block;
  margin-bottom: 20px;
  animation: slideInUp 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.about-label {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #8DC63F;
  text-transform: uppercase;
  padding: 10px 20px;
  background: rgba(141, 198, 63, 0.08);
  border-radius: 50px;
  border: 1px solid rgba(141, 198, 63, 0.25);
  backdrop-filter: blur(10px);
}

.about-title-premium {
  font-size: 3.5rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -1px;
  margin: 20px 0 30px;
  background: linear-gradient(135deg, #000 0%, #000 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.2s;
  animation-fill-mode: both;
}

.about-divider {
  width: 80px;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(90deg, #8DC63F 0%, #8DC63F 100%);
  border-radius: 2px;
  animation: slideInUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s;
  animation-fill-mode: both;
}

/* ============= GRID LAYOUT ============= */
.about-grid-premium {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 1024px) {
  .about-grid-premium {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .about-grid-premium {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ============= VISUAL COLUMN (LEFT) ============= */
.about-visual-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Primary Image Container */
.about-img-primary-wrapper {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.geometric-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: var(--radius-medium);
  box-shadow: 0 8px 32px 0 rgba(141, 198, 63, 0.15);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  transition: all var(--transition-elegant);
}

.geometric-image-container:hover {
  box-shadow: 0 12px 40px 0 rgba(141, 198, 63, 0.25);
  transform: translateY(-12px);
  border-color: rgba(141, 198, 63, 0.4);
}

.about-hexagon {
  clip-path: polygon(
    50% 0%,
    100% 25%,
    100% 75%,
    50% 100%,
    0% 75%,
    0% 25%
  );
}

.about-img-premium {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.geometric-image-container:hover .about-img-premium {
  transform: scale(1.08) rotate(1deg);
}

/* Image Overlay Text */
.image-overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  opacity: 0;
  transition: opacity 0.5s ease;
  backdrop-filter: blur(5px);
}

.geometric-image-container:hover .image-overlay-text {
  opacity: 1;
}

.overlay-text-content {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  animation: revealOverlay 0.6s ease-out forwards;
}

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

/* Glass Effect */
.image-glass-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-medium);
  pointer-events: none;
  opacity: 0.6;
}

/* Secondary Images */
.about-secondary-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.about-img-secondary {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: var(--radius-soft);
  box-shadow: 0 8px 24px 0 rgba(141, 198, 63, 0.15);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(141, 198, 63, 0.2);
  backdrop-filter: blur(5px);
  transition: all var(--transition-soft);
  cursor: pointer;
}

.about-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-img-secondary:hover img {
  transform: scale(1.1) rotate(-2deg);
}

.about-polygon-1 {
  clip-path: polygon(0 20%, 60% 0, 100% 20%, 100% 80%, 60% 100%, 0 80%);
}

.about-polygon-2 {
  clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
}

/* Image Hover Text */
.img-overlay-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(141, 198, 63, 0.85);
  opacity: 0;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(8px);
}

.about-img-secondary:hover .img-overlay-hover {
  opacity: 1;
}

.img-overlay-hover span {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  text-align: center;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

/* ============= FLOATING STATS ============= */
.about-stats-floating {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.stat-card-floating {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 24px 20px;
  border-radius: var(--radius-soft);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(141, 198, 63, 0.3);
  box-shadow: 0 8px 24px 0 rgba(141, 198, 63, 0.15);
  text-align: center;
  transition: all var(--transition-soft);
  overflow: hidden;
}

.stat-card-floating::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(141, 198, 63, 0.08);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card-floating:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}

.stat-card-floating:hover::before {
  opacity: 1;
}

.stat-number-glow {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #8DC63F 0%, #8DC63F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  animation: countUp 2s ease-out forwards 0.5s;
  animation-fill-mode: both;
}

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

.stat-label-floating {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #000;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  opacity: 1;
}

.stat-icon-floating {
  position: relative;
  z-index: 1;
  font-size: 24px;
  color: var(--primary);
  opacity: 0.7;
}

/* ============= CONTENT COLUMN (RIGHT) ============= */
.about-content-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Intro Block */
.about-intro-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-intro-text {
  font-size: 1.2rem;
  line-height: 1.9;
  color: #000;
  margin: 0;
  opacity: 1;
  text-align: justify;
  animation: revealLine 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.about-intro-text:nth-child(1) {
  animation-delay: 0.3s;
}

.about-intro-text:nth-child(2) {
  animation-delay: 0.6s;
}

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

/* Cards Premium */
.about-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(141, 198, 63, 0.3);
  border-radius: var(--radius-soft);
  padding: 32px;
  box-shadow: 0 8px 24px 0 rgba(141, 198, 63, 0.15);
  backdrop-filter: blur(10px);
  transition: all var(--transition-soft);
  overflow: hidden;
}

.about-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #8DC63F 0%, #8DC63F 100%);
  transform: scaleX(0);
  transform-origin: left;
  animation: expandWidth 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.about-card-premium:nth-child(1) {
  animation-delay: 0.2s;
}

.vision-card-premium::before {
  animation-delay: 0.8s;
}

@keyframes expandWidth {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.about-card-premium:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px 0 rgba(141, 198, 63, 0.25);
  border-color: rgba(141, 198, 63, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(141, 198, 63, 0.03) 100%);
}

.card-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #8DC63F 0%, #8DC63F 100%);
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
  animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.card-content-premium {
  position: relative;
  z-index: 1;
}

.card-title-premium {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.card-text-premium {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #000;
  margin: 0;
  opacity: 1;
  text-align: justify;
  text-justify: inter-word;
}

/* ============= VALUES GRID ============= */
.values-grid-premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 20px 0;
}

@media (max-width: 768px) {
  .values-grid-premium {
    grid-template-columns: 1fr;
  }
}

.value-card-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(141, 198, 63, 0.3);
  border-radius: var(--radius-soft);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(5px);
  transition: all var(--transition-soft);
  overflow: hidden;
}

.value-card-premium::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(141, 198, 63, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-card-premium:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-strong);
  border-color: var(--primary);
}

.value-card-premium:hover::after {
  opacity: 1;
}

.value-stagger-1 { animation: slideInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.4s; animation-fill-mode: both; opacity: 0; }
.value-stagger-2 { animation: slideInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.5s; animation-fill-mode: both; opacity: 0; }
.value-stagger-3 { animation: slideInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.6s; animation-fill-mode: both; opacity: 0; }
.value-stagger-4 { animation: slideInUp 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.7s; animation-fill-mode: both; opacity: 0; }

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

.value-icon-premium {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 28px;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: rgba(141, 198, 63, 0.12);
  border: 2px solid rgba(141, 198, 63, 0.35);
}

.value-icon-1 { color: #8DC63F; }
.value-icon-2 { color: #8DC63F; }
.value-icon-3 { color: #8DC63F; }
.value-icon-4 { color: #8DC63F; }

.value-card-premium:hover .value-icon-premium {
  background: linear-gradient(135deg, #8DC63F 0%, #8DC63F 100%);
  color: #fff;
  transform: scale(1.15) rotate(360deg);
  border-color: #8DC63F;
}

.value-title-premium {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
}

.value-text-premium {
  font-size: 1rem;
  line-height: 1.7;
  color: #000;
  margin: 0;
  opacity: 1;
  text-align: justify;
  text-justify: inter-word;
}

/* ============= CTA BUTTON ============= */
.cta-btn-premium {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #8DC63F 0%, #8DC63F 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-soft);
  border: none;
  cursor: pointer;
  transition: all var(--transition-soft);
  box-shadow: 0 8px 24px 0 rgba(141, 198, 63, 0.35);
  overflow: hidden;
  z-index: 1;
  margin-top: 20px;
  width: fit-content;
}

.cta-btn-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #7CB21F 0%, #6BA019 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.cta-btn-premium:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-dramatic);
}

.cta-btn-premium:hover::before {
  opacity: 1;
}

.cta-text-premium {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.cta-arrow-premium {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-size: 1.3rem;
}

.cta-btn-premium:hover .cta-arrow-premium {
  transform: translateX(6px);
}

/* ============= SCROLL ANIMATIONS ============= */
.text-reveal-line {
  position: relative;
  animation: revealWithScroll 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes revealWithScroll {
  from {
    opacity: 0;
    transform: translateY(20px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

.card-reveal-animation {
  animation: cardReveal 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}

@keyframes cardReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 1024px) {
  .about-title-premium {
    font-size: 3rem;
  }

  .about-container-premium {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .about-premium-2025 {
    padding: 60px 0;
  }

  .about-header-premium {
    margin-bottom: 50px;
  }

  .about-title-premium {
    font-size: 2.2rem;
  }

  .about-intro-text {
    font-size: 1.1rem;
  }

  .values-grid-premium {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-secondary-images {
    grid-template-columns: 1fr;
  }

  .card-title-premium {
    font-size: 1.3rem;
  }

  .cta-btn-premium {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

@media (max-width: 576px) {
  .about-container-premium {
    padding: 0 15px;
  }

  .about-title-premium {
    font-size: 1.8rem;
  }

  .about-label {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .about-intro-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-stats-floating {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-number-glow {
    font-size: 2rem;
  }

  .about-card-premium {
    padding: 20px;
  }

  .card-title-premium {
    font-size: 1.1rem;
  }

  .card-text-premium {
    font-size: 1rem;
  }

  .value-icon-premium {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }

  .value-title-premium {
    font-size: 1.1rem;
  }

  .value-text-premium {
    font-size: 0.95rem;
  }
}
