/* =========================================================
   STYLE APROPOS - Page À propos AFEVAG
========================================================= */

/* =========================================================
   SECTION INTRO - QUI SOMMES-NOUS ?
========================================================= */
.section-intro {
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.intro-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* ===== TITRE QUI SOMMES-NOUS - ORANGE + GRAND ===== */
.intro-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 2vw, 5.5rem);
  color: var(--color-primary);
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 0 0 0.8rem;
  text-shadow: 0 0 60px rgba(255, 146, 0, 0.08);
  animation: titlePulse 3s ease-in-out infinite;
  position: relative;
  display: inline-block;
}

@keyframes titlePulse {
  0%, 100% { transform: scale(1); text-shadow: 0 0 40px rgba(255, 146, 0, 0.08); }
  50% { transform: scale(1.02); text-shadow: 0 0 80px rgba(255, 146, 0, 0.15); }
}

.intro-subtitle {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.2rem;
  animation: fadeInUp 1s ease-out;
}

/* ===== DIVISEUR DÉCORATIF ===== */
.intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin: 0.5rem 0;
}

.divider-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  border-radius: 999px;
}

.divider-icon {
  color: var(--color-primary);
  font-size: 1rem;
  opacity: 0.5;
  animation: pulseDivider 2s ease-in-out infinite;
}

@keyframes pulseDivider {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.3); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   ÉLÉMENTS ANIMÉS JOYEUX
========================================================= */
.intro-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.intro-decorations span {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0.3;
  animation: floatDecoration 6s ease-in-out infinite;
}

/* Étoiles */
.deco-star {
  color: #ffb703;
  animation-duration: 4s !important;
}

.star-1 { top: -10px; left: 5%; font-size: 1.8rem; animation-delay: 0s; }
.star-2 { top: 15%; right: 3%; font-size: 1.4rem; animation-delay: 1.2s; }
.star-3 { bottom: 20%; left: 8%; font-size: 1.6rem; animation-delay: 2.4s; }
.star-4 { bottom: -5px; right: 10%; font-size: 2rem; animation-delay: 3.6s; }

/* Diamants */
.deco-diamond {
  color: #d7263d;
  animation-duration: 5s !important;
}
.diamond-2 {
  top: 40%; right: 1%; font-size: 1rem;
  color: #1b9c66;
  animation-delay: 1s;
}

/* Cercles */
.deco-circle {
  color: #ff9200;
  animation-duration: 4.5s !important;
}
.circle-2 {
  bottom: 30%; left: 2%; font-size: 0.8rem;
  color: #ffb703;
  animation-delay: 2s;
}

/* Étincelles */
.deco-sparkle {
  color: #f1c40f;
  animation-duration: 3.5s !important;
}
.sparkle-2 {
  top: 50%; right: 5%; font-size: 0.9rem;
  color: #d7263d;
  animation-delay: 1.5s;
}

/* Cœurs */
.deco-heart {
  color: #ff6b6b;
  animation-duration: 5.5s !important;
}
.heart-2 {
  bottom: 10%; right: 2%; font-size: 1rem;
  color: #ffb703;
  animation-delay: 2.5s;
}

@keyframes floatDecoration {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 0.2;
  }
  25% {
    transform: translateY(-15px) rotate(10deg) scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: translateY(10px) rotate(-10deg) scale(0.8);
    opacity: 0.3;
  }
  75% {
    transform: translateY(-8px) rotate(5deg) scale(1.1);
    opacity: 0.4;
  }
}

/* =========================================================
   CADRES (CARDS) - STYLE UNIFORME
========================================================= */

/* Section Présentation */
.section-presentation {
  padding: 1.5rem 0;
}

/* Section Vision & Mission */
.section-vision-mission {
  padding: 1.5rem 0;
}

/* Section CTA */
.section-cta {
  padding: 1.5rem 0 3rem;
}

/* ===== ABOUT CARD ===== */
.about-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1b9c66, #ffb703, #d7263d, #ff9200);
  background-size: 300% 100%;
  animation: gradientMove 4s ease-in-out infinite;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.about-card:hover {
  border-color: rgba(255, 146, 0, 0.25);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 45px rgba(255, 146, 0, 0.12);
}

/* ===== DÉCORATIONS DANS LES CARTES ===== */
.card-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.card-deco {
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.04;
  animation: floatCardDeco 8s ease-in-out infinite;
}

.card-deco.deco-1 {
  top: 10%;
  right: 5%;
  color: #ff9200;
  animation-delay: 0s;
  font-size: 2.5rem;
}
.card-deco.deco-2 {
  bottom: 15%;
  left: 5%;
  color: #ffb703;
  animation-delay: 2s;
  font-size: 2rem;
}
.card-deco.deco-3 {
  top: 40%;
  right: 2%;
  color: #d7263d;
  animation-delay: 4s;
  font-size: 1.8rem;
}

@keyframes floatCardDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
  50% { transform: translateY(-20px) rotate(180deg); opacity: 0.08; }
}

/* Carte large */
.about-card-large {
  max-width: 900px;
  margin: 0 auto;
}

/* ===== TITRES EN ORANGE ===== */
.about-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.about-card h2::before {
  content: "◆";
  margin-right: 0.6rem;
  color: var(--color-primary);
  font-size: 0.9rem;
  opacity: 0.5;
}

.about-card h2::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: 999px;
  animation: underlineGrow 3s ease-in-out infinite;
}

@keyframes underlineGrow {
  0%, 100% { width: 40%; opacity: 0.5; }
  50% { width: 80%; opacity: 1; }
}

.about-card p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: var(--font-main);
}

/* ===== GRILLE POUR VISION/MISSION ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ===== CTA CARD ===== */
.about-card-cta {
  text-align: center;
}

.about-card-cta .btn {
  margin-top: 1rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 960px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 2rem;
  }

  .about-card h2 {
    font-size: 1.4rem;
  }

  .about-card h2::after {
    display: none;
  }

  .intro-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
  }

  .intro-decorations {
    display: none;
  }

  .section-intro {
    padding: 2rem 0 1rem;
  }

  .section-cta {
    padding: 1rem 0 2rem;
  }
}

@media (max-width: 640px) {
  .about-card {
    padding: 1.5rem;
  }

  .about-card h2 {
    font-size: 1.2rem;
    text-align: center;
    display: block;
  }

  .about-card h2::before {
    display: none;
  }

  .about-card p {
    font-size: 0.9rem;
    text-align: center;
  }

  .about-card-cta {
    text-align: center;
  }

  .intro-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
  }

  .intro-subtitle {
    font-size: 0.95rem;
  }

  .divider-line {
    width: 30px;
  }

  .section-intro {
    padding: 1.5rem 0 0.5rem;
  }

  .section-presentation,
  .section-vision-mission {
    padding: 1rem 0;
  }

  .section-cta {
    padding: 1rem 0 1.5rem;
  }

  .intro-decorations {
    display: none;
  }

  .card-decorations {
    display: none;
  }
}

@media (max-width: 460px) {
  .about-card {
    padding: 1rem;
  }

  .about-card h2 {
    font-size: 1rem;
  }

  .about-card p {
    font-size: 0.85rem;
  }

  .intro-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  }

  .intro-subtitle {
    font-size: 0.85rem;
  }

  .divider-line {
    width: 20px;
  }
}