/* Bandeau photo partagé : photo réelle intacte, texte et devis séparés. */
.hero.hero--photo {
  grid-template-columns: minmax(0, 1fr) 380px;
  min-height: auto;
  background: radial-gradient(ellipse at 80% 20%, #345940 0%, #1a3a2a 65%);
}

.hero--photo::before {
  content: none;
}

.hero--photo .hero-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 28px;
  padding: 52px 36px 52px 48px;
  min-width: 0;
}

.hero--photo .hero-copy {
  padding: 0;
  min-width: 0;
}

.hero--photo .hero-badge {
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
}

.hero--photo h1 {
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.12;
  overflow-wrap: normal;
}

.hero--photo .hero-desc {
  font-size: 0.98rem;
  margin-bottom: 26px;
}

.hero--photo .hero-ctas {
  gap: 10px;
  margin-bottom: 26px;
}

.hero--photo .hero-ctas a {
  padding: 12px 18px;
  font-size: 0.88rem;
}

.hero--photo .hero-phones {
  padding: 16px 20px;
}

.hero--photo .hero-trust {
  line-height: 1.5;
  align-items: flex-start;
}

.hero--photo .hero-trust svg {
  flex: 0 0 14px;
  margin-top: 2px;
}

.hero--photo .hero-photo {
  position: relative;
  min-width: 0;
  padding: 9px;
  border: 1px solid rgba(226, 192, 106, 0.45);
  border-radius: 24px 24px 8px 24px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.23);
}

.hero--photo .hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 16px 16px 4px 16px;
}

.hero--photo .hero-photo figcaption {
  padding: 16px 9px 10px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.8rem;
  line-height: 1.5;
}

.hero--photo .hero-photo figcaption span {
  display: block;
  margin-bottom: 4px;
  color: var(--or-clair);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero--photo .hero-photo figcaption strong {
  display: block;
  color: #fff;
  font-size: 0.94rem;
  font-weight: 700;
}

.hero--photo .hero-form-panel {
  padding: 40px 28px;
}

@media (max-width: 1200px) {
  .hero.hero--photo {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero--photo .hero-story {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    gap: 40px;
    padding: 44px 40px;
  }

  .hero--photo h1 {
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  }

  .hero--photo .hero-photo {
    width: 100%;
    max-width: 350px;
    justify-self: end;
  }

  .hero--photo .hero-form-panel {
    padding: 36px 40px;
  }
}

@media (max-width: 768px) {
  .hero--photo .hero-story {
    grid-template-columns: minmax(0, 1fr);
    padding: 32px 20px;
    gap: 22px;
  }

  .hero--photo h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero--photo .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }

  .hero--photo .hero-ctas {
    margin-bottom: 0;
  }

  .hero--photo .hero-ctas .btn-outline {
    display: none;
  }

  .hero--photo .hero-photo {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    align-items: center;
    max-width: none;
    border-radius: 16px;
    padding: 7px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  }

  .hero--photo .hero-photo img {
    border-radius: 10px;
  }

  .hero--photo .hero-photo figcaption {
    padding: 10px 14px;
    font-size: 0.76rem;
  }

  .hero--photo .hero-photo figcaption strong {
    font-size: 0.9rem;
    margin-bottom: 5px;
  }

  .hero--photo .hero-form-panel {
    padding: 30px 20px 40px;
  }
}

@media (max-width: 360px) {
  .hero--photo .hero-photo {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .hero--photo .hero-photo figcaption {
    padding: 8px 10px;
  }
}

.hero--photo .hero-team-proof {
  margin-top: 0;
  margin-bottom: 20px;
}
