/* ========================================
   ÉLÉMENTS MYTHOLOGIQUES GRECS
   Inspiration Charon - Le passeur du Styx
   ======================================== */

/* Section Mythologie - Notre Histoire */
.mythologie-section {
  position: relative;
  overflow: hidden;
}

.mythologie-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 108px;
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.mythologie-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.barque-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(107, 193, 175, 0.2));
  animation: float 6s ease-in-out infinite;
}

.mythologie-text h2 {
  position: relative;
  padding-bottom: var(--space-md);
}

.mythologie-text h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-blue) 100%);
}

/* Ornement séparateur */
.ornement-separateur {
  text-align: center;
  margin: var(--space-2xl) 0;
  opacity: 0.6;
}

.ornement-separateur img {
  width: 150px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 8px rgba(107, 193, 175, 0.15));
}

/* Pattern de méandres grecs */
.greek-meander-border {
  position: relative;
  padding-top: var(--space-lg);
}

.greek-meander-border::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  height: 40px;
  background-image: url('/assets/images/patterns/mythologie/meandres.svg');
  background-repeat: repeat-x;
  background-size: 200px 40px;
  background-position: center;
  opacity: 0.3;
}

/* Hero sections avec ornements grecs */
.hero-with-greek-ornament {
  position: relative;
}

.hero-with-greek-ornament::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background-image: url('/assets/images/patterns/mythologie/meandres.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.25;
  z-index: 2;
}

/* Bordure grecque pour les cartes */
.card-greek-border {
  position: relative;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, transparent 0%, var(--color-accent) 20%, var(--color-accent-blue) 80%, transparent 100%);
  border-image-slice: 1;
}

.card-greek-border::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 12px;
  background-image: url('/assets/images/patterns/mythologie/meandres.svg');
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.4;
}

/* Section avec pattern de fond grec */
.section-greek-pattern {
  position: relative;
}

.section-greek-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/assets/images/patterns/mythologie/meandres.svg');
  background-repeat: repeat;
  background-size: 400px 80px;
  opacity: 0.02;
  z-index: 0;
  pointer-events: none;
}

.section-greek-pattern > * {
  position: relative;
  z-index: 1;
}

/* Colonnes décoratives grecques */
.greek-column-accent {
  position: relative;
  padding-left: var(--space-lg);
}

.greek-column-accent::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg,
    var(--color-accent) 0%,
    var(--color-accent-blue) 50%,
    var(--color-accent) 100%);
  border-radius: 2px;
}

/* Citations mythologiques */
.mythologie-quote {
  position: relative;
  padding: var(--space-lg) var(--space-xl);
  font-style: italic;
  color: var(--color-primary-medium);
  border-left: 4px solid var(--color-accent);
  background: rgba(107, 193, 175, 0.05);
  margin: var(--space-xl) 0;
}

.mythologie-quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: var(--space-md);
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 1023px) {
  .mythologie-content {
    grid-template-columns: 1fr;
    gap: 81px;
    text-align: center;
  }

  .mythologie-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .barque-icon {
    max-width: 180px;
  }

  .ornement-separateur img {
    width: 120px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .barque-icon {
    max-width: 140px;
  }

  .ornement-separateur {
    margin: var(--space-xl) 0;
  }

  .ornement-separateur img {
    width: 100px;
  }

  .greek-meander-border::before {
    max-width: 300px;
    height: 30px;
    background-size: 150px 30px;
  }

  .hero-with-greek-ornament::after {
    width: 150px;
    height: 30px;
    bottom: -15px;
  }

  .mythologie-quote {
    padding: var(--space-md) var(--space-lg);
  }

  .mythologie-quote::before {
    font-size: 40px;
    left: var(--space-sm);
  }
}
