/* =========================
   PAGE PHOTOS
========================= */

.photos-page {
  background:
    radial-gradient(circle at 88% 14%, rgba(168, 191, 163, 0.10), transparent 18%),
    radial-gradient(circle at 12% 82%, rgba(203, 122, 79, 0.06), transparent 14%),
    var(--ivoire);
}

/* Harmonisation avec header fixe du site */
.photos-page main {
  overflow: hidden;
}

/* =========================
   HERO
========================= */

.photos-hero {
  position: relative;
  padding: 150px 0 100px;
  overflow: hidden;
}

.photos-hero-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.photos-hero-image {
  display: flex;
  justify-content: center;
}

.photos-hero-image .photo-card-main {
  width: min(100%, 470px);
  padding: 18px 18px 28px;
  transform: rotate(-2deg);
}

.photos-hero-image .photo-card-main img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  border-radius: 10px;
}

.photos-hero-text {
  max-width: 560px;
}

.photos-hero-text h1 {
  margin: 0 0 18px;
  font-family: "Cardo", serif;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 1.02;
  font-weight: 400;
  color: var(--texte);
}

.photos-subtitle {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.85;
  color: var(--texte-soft);
  max-width: 500px;
}

.photos-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 28px;
}

.photos-note {
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--ligne);
  border-radius: 24px;
  box-shadow: var(--ombre-soft);
  backdrop-filter: blur(10px);
}

.photos-note p {
  margin: 0;
  color: var(--texte-soft);
  line-height: 1.6;
}

/* =========================
   DECOS PHOTOS
========================= */

.photos-hero .decor-top-left,
.photos-hero .decor-bottom-right {
  position: absolute;
  width: 160px;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: multiply;
}

.photos-hero .decor-top-left {
  top: 110px;
  left: 30px;
  transform: rotate(-8deg);
}

.photos-hero .decor-bottom-right {
  right: 30px;
  bottom: 30px;
  transform: rotate(12deg);
}

/* =========================
   COMMENT CA MARCHE
========================= */

.photos-info {
  position: relative;
  padding: 100px 0;
}

.photos-info .divider {
  display: block;
  width: 110px;
  margin: 0 auto 24px;
  opacity: 0.45;
}

.photos-info-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.photos-info h2,
.photos-tip-box h2 {
  margin: 0 0 18px;
  font-family: "Cardo", serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  font-weight: 400;
  color: var(--texte);
}

.photos-steps {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.step-card {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--ligne);
  border-radius: 24px;
  box-shadow: var(--ombre);
  backdrop-filter: blur(10px);
  text-align: left;
}

.step-number {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(203, 122, 79, 0.12);
  color: var(--terracotta);
  font-weight: 600;
}

.step-card h3 {
  margin: 0 0 12px;
  font-family: "Cardo", serif;
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--texte);
}

.step-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--texte-soft);
}

/* =========================
   CONSEIL
========================= */

.photos-tip {
  padding: 0 0 48px;
}

.photos-tip-box {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 34px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.88) 100%);
  border: 1px solid var(--ligne);
  border-radius: 28px;
  box-shadow: var(--ombre);
  backdrop-filter: blur(10px);
}

.photos-tip-box p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.85;
  color: var(--texte-soft);
}

/* =========================
   ANIMATIONS LEGERES
========================= */

.photos-hero-image .photo-card-main,
.step-card,
.photos-tip-box,
.photos-note {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.photos-hero-image .photo-card-main:hover,
.step-card:hover,
.photos-tip-box:hover,
.photos-note:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(47, 42, 40, 0.10);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {
  .photos-hero-container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .photos-hero-image,
  .photos-hero-text {
    justify-self: center;
    text-align: center;
  }

  .photos-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .photos-actions {
    justify-content: center;
  }

  .photos-note {
    margin: 0 auto;
  }

  .photos-steps {
    grid-template-columns: 1fr;
  }

  .step-card {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .photos-hero {
    padding: 124px 0 80px;
  }

  .photos-info {
    padding: 84px 0;
  }

  .photos-tip {
  padding: 0 0 32px;
  }

  .photos-hero-container,
  .photos-info-container {
    width: calc(100% - 28px);
  }

  .photos-actions {
    margin-top: 24px;
    margin-bottom: 22px;
  }

  .photos-actions .btn {
    width: 100%;
  }

  .photos-note {
    width: 100%;
    border-radius: 22px;
  }

  .photos-tip-box {
    width: calc(100% - 28px);
    padding: 30px 22px;
    border-radius: 24px;
  }

  .photos-hero .decor-top-left,
  .photos-hero .decor-bottom-right {
    width: 90px;
    opacity: 0.08;
  }

  .photos-hero .decor-top-left {
    top: 100px;
    left: 10px;
  }

  .photos-hero .decor-bottom-right {
    right: 10px;
    bottom: 10px;
  }
}

@media (max-width: 560px) {
  .photos-hero-text h1,
  .photos-info h2,
  .photos-tip-box h2 {
    font-size: 2.3rem;
  }

  .step-card {
    padding: 24px 20px;
  }

  .step-card h3 {
    font-size: 1.5rem;
  }
}