/* ─────────────────────────────────────────────
   04-hero.css — Section hero
   Note : background-image de .hero::before injecté en inline CSS
   depuis home-hero.php (URL issue de la médiathèque WP via champ ACF).
───────────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--hero-bg);
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, var(--hero-bg) 0%, color-mix(in srgb, var(--hero-bg) 15%, transparent) 100%),
    linear-gradient(to top, rgba(107, 56, 88, 0.65) 0%, transparent 55%);
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 1.25rem 3rem;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  gap: 1rem;
}

.hero-logo {
  display: block;
  height: 230px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
  margin: 0 auto auto 0;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.hero-location-icon {
  color: var(--accent1);
  flex-shrink: 0;
}

.hero h1 {
  color: var(--white);
  margin: 0;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 560px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-right {
  display: none;
}
