/* Pierre et Jardins — sections.css — styles propres à chaque section */

/* ── HERO IMMERSIF (HERO-IMMERSIF) ── */
.hero-immersif {
  position: relative;
  min-height: clamp(480px, 82vh, 780px);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 72px) 24px;
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}

/* Image de fond */
.hero-immersif__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-immersif__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Voile gradient multi-couches pour lisibilité du texte */
.hero-immersif::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(0,0,0,.42) 0%, transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.68) 100%);
}

.hero-immersif__inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  color: #fff;
  padding-bottom: clamp(8px, 2vw, 16px);
}

.hero-immersif__eyebrow {
  font-family: var(--ff-ui);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .72rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 10px;
}

.hero-immersif__title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 1.04;
  color: #fff;
  font-weight: 600;
  margin-bottom: 0;
}

.hero-immersif__sub {
  font-family: var(--ff-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.88);
  margin: 18px 0 28px;
  max-width: 52ch;
  line-height: 1.65;
}

/* CTA héro — colonne sur mobile, flex-wrap sur desktop */
.hero-immersif__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── SECTION SERVICES (LIST-SEP) ── */
.svc-list { display: flex; flex-direction: column; }
.svc-list__item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border-light);
  transition: background var(--t-fast);
}
.svc-list__item:last-child {
  border-bottom: 1px solid var(--border-light);
}
.svc-list__num {
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  opacity: .7;
  line-height: 1;
}
.svc-list__content { display: flex; flex-direction: column; gap: 3px; }
.svc-list__title {
  font-family: var(--ff-display);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text);
  font-weight: 600;
  line-height: 1.2;
}
.svc-list__desc {
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.55;
}
.svc-list__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.svc-list__item:hover .svc-list__arrow {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.svc-list__arrow svg { width: 14px; height: 14px; }

/* ── SECTION RÉALISATIONS ── */
.realisations-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(24px, 4vw, 40px);
  flex-wrap: wrap;
}
.realisations-header .section-sub { margin-bottom: 0; max-width: 44ch; }

/* ── AVIS SECTION ── */
.avis-header-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.avis-score {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.avis-score__num {
  font-family: var(--ff-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1;
}
.avis-score__label {
  font-family: var(--ff-ui);
  font-size: .78rem;
  color: var(--text-mute);
}
.avis-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

/* ── PAGE HERO (pour realisations.html) ── */
.page-hero {
  padding: calc(var(--header-h) + clamp(32px, 5vw, 56px)) 0 clamp(32px, 5vw, 56px);
  text-align: center;
}
.page-hero__title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--text);
  margin-bottom: 14px;
}
.page-hero__title em { font-style: italic; color: var(--accent); }
.page-hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--text-2);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 24px;
}
.page-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: var(--text-2);
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: background var(--t-fast), color var(--t-fast);
}
.page-hero__back:hover { background: var(--bg-alt); color: var(--text); text-decoration: none; }
.page-hero__back svg { width: 14px; height: 14px; }

/* ── MASONRY GALERIE (realisations.html) ── */
.gal-masonry {
  column-count: 3;
  column-gap: 12px;
}
.gal-masonry__item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--r-md);
  overflow: hidden;
  cursor: pointer;
}
.gal-masonry__item img {
  width: 100%;
  display: block;
  transition: transform .4s ease;
}
.gal-masonry__item:hover img { transform: scale(1.03); }

/* ── CTA FINAL DARK (realisations.html) ── */
.real-cta {
  background: oklch(28% 0.08 145);
  padding: clamp(40px, 6vw, 64px) 0;
  text-align: center;
}
.real-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 14px;
}
.real-cta p {
  color: rgba(255,255,255,.75);
  max-width: 46ch;
  margin-inline: auto;
  margin-bottom: 28px;
}
.real-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
