/* a-propos.css — cf. pages/page-a-propos.md */

/* ===== Mini-hero : photo + voile sombre, apparition douce au chargement ===== */
.about-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.about-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Zoom lent "Ken Burns" comme le hero de l'accueil - photo vivante plutot que figee */
  animation: about-hero-zoom 22s var(--easing-standard) forwards;
}

@keyframes about-hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__media img {
    animation: none;
  }
}

.about-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22, 21, 19, 0.78) 0%, rgba(22, 21, 19, 0.35) 55%, rgba(22, 21, 19, 0.2) 100%),
    linear-gradient(115deg, rgba(176, 141, 87, 0) 55%, rgba(176, 141, 87, 0.2) 100%);
}

.about-hero__content {
  position: relative;
  color: var(--color-white);
  padding-block: var(--space-2xl) var(--space-3xl);
}

/* Entree en cascade : sur-titre, puis titre, puis baseline (plus vivant qu'un bloc unique) */
.about-hero__content > * {
  animation: about-hero-in 800ms var(--easing-luxe) both;
}

.about-hero__content > *:nth-child(1) { animation-delay: 100ms; }
.about-hero__content > *:nth-child(2) { animation-delay: 240ms; }
.about-hero__content > *:nth-child(3) { animation-delay: 400ms; }

@keyframes about-hero-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Indice de scroll : fine ligne doree qui "coule" vers le bas, en bas du hero */
.about-hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: var(--space-lg);
  transform: translateX(-50%);
  width: 1px;
  height: 44px;
  overflow: hidden;
  pointer-events: none;
}

.about-hero__scroll-cue::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--color-gold-light), transparent);
  animation: scroll-cue-flow 2.2s var(--easing-standard) 1.2s infinite;
  transform: translateY(-100%);
}

@keyframes scroll-cue-flow {
  0% { transform: translateY(-100%); }
  60% { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .about-hero__content > * {
    animation: none;
  }

  .about-hero__scroll-cue {
    display: none;
  }
}

.about-hero__content .overline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-gold-light);
  font-size: var(--font-size-overline);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-md);
}

.about-hero__content .overline::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--color-gold-light));
}

.about-hero__content h1 {
  color: var(--color-white);
  text-shadow: 0 2px 24px rgba(22, 21, 19, 0.45);
  margin-bottom: var(--space-sm);
}

/* ===== Histoire / philosophie : colonne editoriale + photo encadree avec citation superposee ===== */
.about-story {
  position: relative;
  display: grid;
  gap: var(--space-2xl);
  grid-template-columns: 1fr;
  align-items: center;
}

/* Monogramme officiel en filigrane derriere le texte - profondeur de marque discrete */
.about-story::before {
  content: "";
  position: absolute;
  top: -8%;
  left: -140px;
  width: 420px;
  height: 420px;
  background: url("/assets/images/logo-mark.webp") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .about-story {
    grid-template-columns: 3fr 2fr;
    gap: var(--space-3xl);
  }
}

.overline--left {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-gold-dark);
  font-size: var(--font-size-overline);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-sm);
}

.overline--left::after {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--color-gold));
}

.about-story__text p {
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

/* Premier paragraphe en "lead" serif + lettrine doree (ouverture editoriale) */
.about-story__text h2 + p {
  font-family: var(--font-family-heading);
  font-size: 1.3125rem;
  line-height: 1.6;
  color: var(--color-black);
}

.about-story__text h2 + p::first-letter {
  font-family: var(--font-family-heading);
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  padding-right: 0.12em;
  color: var(--color-gold-dark);
}

/* Photo en passe-partout + citation en ecrin sombre qui chevauche le cadre (profondeur) */
.about-story__media {
  position: relative;
  padding-bottom: var(--space-2xl);
}

.about-story__frame {
  padding: 10px;
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
}

.about-story__frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.about-story__quote {
  position: absolute;
  left: calc(-1 * var(--space-lg));
  right: var(--space-2xl);
  bottom: 0;
  margin: 0;
  padding: var(--space-lg) var(--space-xl);
  background-color: var(--color-black);
  background-image: radial-gradient(20rem 10rem at 85% 0%, rgba(176, 141, 87, 0.22), transparent 60%);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float-hover);
}

@media (max-width: 767px) {
  .about-story__quote {
    left: var(--space-md);
    right: var(--space-md);
  }
}

.about-story__quote p {
  font-family: var(--font-family-heading);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--color-gold-light);
  margin: 0;
}

/* ===== Galerie du lieu : mosaique asymetrique (une grande + deux petites, cf. spec §4) ===== */
.about-lieu-mosaic {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .about-lieu-mosaic {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .about-lieu-mosaic__item--large {
    grid-row: span 2;
  }
}

.about-lieu-mosaic__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-gold);
}

.about-lieu-mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform var(--transition-slow) var(--easing-luxe);
}

@media (min-width: 768px) {
  .about-lieu-mosaic__item img {
    aspect-ratio: auto;
    position: absolute;
    inset: 0;
  }

  .about-lieu-mosaic__item {
    min-height: 220px;
  }

  .about-lieu-mosaic__item--large {
    min-height: 456px;
  }
}

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

/* Legende sur voile degrade, revelee en douceur au survol (desktop) / toujours visible (tactile) */
.about-lieu-mosaic__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-xl) var(--space-lg) var(--space-md);
  background: linear-gradient(to top, rgba(22, 21, 19, 0.75), transparent);
  color: var(--color-white);
  font-family: var(--font-family-heading);
  font-style: italic;
  font-size: 1.0625rem;
}

@media (hover: hover) {
  .about-lieu-mosaic__item figcaption {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity var(--transition-slow) var(--easing-luxe),
                transform var(--transition-slow) var(--easing-luxe);
  }

  .about-lieu-mosaic__item:hover figcaption,
  .about-lieu-mosaic__item:focus-within figcaption {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Valeurs : ecrins blancs numerotes (numeros generes en CSS, partial partage intact) ===== */
.about-values .reassurance-grid {
  counter-reset: valeur;
}

.about-values .reassurance-item {
  position: relative;
  counter-increment: valeur;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-lg);
  box-shadow: var(--shadow-float);
  transition: box-shadow var(--transition-slow) var(--easing-luxe),
              transform var(--transition-slow) var(--easing-luxe),
              border-color var(--transition-slow) var(--easing-luxe);
}

.about-values .reassurance-item:hover {
  box-shadow: var(--shadow-float-hover), inset 0 0 0 1px var(--color-border-gold);
  border-color: var(--color-border-gold);
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .about-values .reassurance-item:hover {
    transform: none;
  }
}

.about-values .reassurance-item::before {
  content: "0" counter(valeur);
  display: block;
  font-family: var(--font-family-heading);
  font-size: var(--font-size-small);
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}
