/* ============================================
   ATELIER IA BERNAY — Styles page À propos
   ============================================ */

/* === Hero portrait === */
.apropos-hero {
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.apropos-hero::before {
  content: "";
  position: absolute;
  top: -80px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold-soft), transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.apropos-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.apropos-hero-text h1 {
  margin: 8px 0 8px;
  font-size: clamp(2.6rem, 5vw, 4rem);
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  color: var(--gold-dark);
  font-weight: 600;
  margin: 0 0 18px;
  font-style: italic;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 28px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fafbfd, #fff);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
}

.credential {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.credential strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.credential span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* === Photo === */
.apropos-hero-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow:
    0 0 0 1px rgba(201, 166, 107, 0.4),
    0 30px 80px rgba(15, 42, 74, 0.18);
  max-width: 380px;
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease-out);
}

.photo-frame:hover { transform: rotate(0deg) scale(1.02); }

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-frame::before {
  content: "";
  position: absolute;
  top: -8px; right: -8px;
  width: 60px; height: 60px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.15;
  z-index: -1;
}

.photo-caption {
  margin-top: 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.photo-caption span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
}

.photo-caption small {
  font-size: 0.88rem;
  color: var(--muted);
  letter-spacing: 0.5px;
}

/* === Story grid === */
.story-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}

.story-text p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 18px;
}

.story-text strong {
  color: var(--navy);
}

.story-pivot {
  margin-top: 24px;
  padding: 22px 26px;
  background: var(--gold-soft);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  font-size: 1.05rem !important;
}

/* === Timeline === */
.timeline-card {
  padding: 32px 30px;
  position: sticky;
  top: 100px;
}

.timeline-card h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 166, 107, 0.3);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(201, 166, 107, 0.2));
}

.timeline li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--gold);
  box-shadow: 0 0 0 3px #fff;
}

.timeline-year {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.timeline li strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline li span {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.education {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 42, 74, 0.08);
  display: grid;
  gap: 8px;
}

.education strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.education span {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

/* === Section alt (fond gradient) === */
.section-alt {
  background: linear-gradient(180deg, #fafbfd, #fff);
}

/* === Why grid === */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.why-card {
  padding: 32px 28px;
  position: relative;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border: 2px solid var(--gold);
  margin-bottom: 18px;
}

.why-card h3 {
  margin-bottom: 12px;
}

/* === Values grid === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.value-item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid rgba(15, 42, 74, 0.06);
  border-radius: 16px;
  position: relative;
  transition: all 0.35s var(--ease-out);
}

.value-item:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 166, 107, 0.4);
  box-shadow: 0 16px 36px rgba(15, 42, 74, 0.08);
}

.value-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.value-item h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.value-item p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* === Citation === */
.quote-block {
  max-width: 820px;
  margin: 0 auto;
  padding: 50px 56px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.quote-block::before {
  content: """;
  position: absolute;
  top: -30px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 12rem;
  color: var(--gold);
  opacity: 0.2;
  line-height: 1;
}

.quote-block::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(201, 166, 107, 0.2), transparent 60%);
  border-radius: 50%;
}

.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.55;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.quote-block footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid rgba(201, 166, 107, 0.4);
  padding-top: 18px;
  position: relative;
  z-index: 1;
}

.quote-block footer strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 600;
  font-style: normal;
}

.quote-block footer span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-style: normal;
}

/* === Responsive === */
@media (max-width: 980px) {
  .apropos-hero-grid,
  .story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .apropos-hero-photo {
    order: -1;
  }
  .photo-frame {
    max-width: 280px;
  }
  .timeline-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .apropos-hero {
    padding: 50px 0 40px;
  }
  .hero-credentials {
    padding: 16px 18px;
    flex-direction: column;
    gap: 12px;
  }
  .photo-frame {
    max-width: 220px;
    transform: rotate(-1deg);
  }
  .timeline-card {
    padding: 24px 22px;
  }
  .quote-block {
    padding: 36px 28px;
  }
  .quote-block p {
    font-size: 1.2rem;
  }
  .quote-block::before {
    font-size: 8rem;
    top: -20px;
  }
  .value-item {
    padding: 22px 20px;
  }
  .why-card {
    padding: 28px 22px;
  }
}
