/* ============================================
   PAGE À PROPOS - AGLAÉ CRÉE
   ============================================ */

/* Variables */
:root {
  --aglae-primary: #6b5b4d;
  --aglae-secondary: #8a7a6b;
  --aglae-light: #f2e0c9;
  --aglae-dark: #4a3f35;
  --aglae-text: #2c2420;
  --aglae-white: #faf8f5;
}

/* Container principal */
.aglae-about-page {
  background-color: var(--aglae-white);
  padding-bottom: 80px;
}

/* ============================================
   HEADER
   ============================================ */

.about-header {
  background: var(--aglae-light);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 115, 85, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.about-header-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-title {
  font-family: "Capitolium", Georgia, serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--aglae-dark);
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
}

.about-subtitle {
  font-size: 1.25rem;
  color: var(--aglae-primary);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* ============================================
   SECTIONS TEXTE + IMAGE
   ============================================ */

.about-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-section:last-child {
  margin-bottom: 0;
}

/* Section 2 : ordre inversé (image à gauche) */
.about-section-2 .about-image {
  order: -1;
}

/* Texte */
.about-text h2 {
  font-family: "Capitolium", Georgia, serif;
  font-size: 2rem;
  color: var(--aglae-dark);
  margin: 0 0 24px 0;
  font-weight: 600;
}

.about-text-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--aglae-text);
}

.about-text-content p {
  margin: 0 0 20px 0;
}

.about-text-content p:last-child {
  margin-bottom: 0;
}

/* Images */
.about-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(139, 115, 85, 0.15);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

/* ============================================
   GALERIE EN BAS (3 GROUPES)
   ============================================ */

.about-gallery {
  background: linear-gradient(180deg, var(--aglae-white) 0%, var(--aglae-light) 100%);
  padding: 80px 20px;
  margin-top: 60px;
}

.gallery-title {
  font-family: "Capitolium", Georgia, serif;
  font-size: 2.5rem;
  color: var(--aglae-dark);
  text-align: center;
  margin: 0 0 60px 0;
  font-weight: 600;
}

.gallery-groups {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.gallery-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.group-title {
  font-family: "Capitolium", Georgia, serif;
  font-size: 1.5rem;
  color: var(--aglae-primary);
  margin: 0 0 12px 0;
  font-weight: 600;
  text-align: center;
}

.gallery-images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(139, 115, 85, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(139, 115, 85, 0.2);
}

.gallery-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-image-wrapper:hover img {
  transform: scale(1.1);
}

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

/* Tablettes */
@media (max-width: 968px) {
  .about-title {
    font-size: 2.5rem;
  }

  .about-section {
    gap: 40px;
    margin-bottom: 60px;
  }

  .about-text h2 {
    font-size: 1.75rem;
  }

  .gallery-groups {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .gallery-group:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-header {
    padding: 60px 20px;
  }

  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 1.125rem;
  }

  .about-content-wrapper {
    padding: 40px 20px;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 50px;
  }

  /* Toutes les images en haut sur mobile */
  .about-section-2 .about-image {
    order: 0;
  }

  .about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .about-text-content {
    font-size: 1rem;
  }

  .about-gallery {
    padding: 60px 20px;
    margin-top: 40px;
  }

  .gallery-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .gallery-groups {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .gallery-group:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .group-title {
    font-size: 1.25rem;
  }
}

/* Très petits écrans */
@media (max-width: 480px) {
  .about-header {
    padding: 40px 16px;
  }

  .about-title {
    font-size: 1.75rem;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-content-wrapper {
    padding: 30px 16px;
  }

  .about-section {
    gap: 24px;
    margin-bottom: 40px;
  }

  .about-text h2 {
    font-size: 1.375rem;
  }

  .gallery-title {
    font-size: 1.75rem;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.about-section {
  animation: fadeInUp 0.8s ease-out;
}

.gallery-group {
  animation: fadeInUp 0.8s ease-out;
}

.gallery-group:nth-child(2) {
  animation-delay: 0.1s;
}

.gallery-group:nth-child(3) {
  animation-delay: 0.2s;
}
