/* sections.css — styles propres à chaque section de la page */

/* ======== HERO IMMERSIF ======== */
.hero-immersif {
  position: relative;
  min-height: clamp(480px, 82vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(32px, 6vw, 72px) 0;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h-mobile));
  padding-top: calc(var(--header-h-mobile) + clamp(32px, 6vw, 72px));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Voile gradient : contraste obligatoire pour lisibilité du texte */
.hero-immersif::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.72) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
}

.hero-inner .eyebrow { color: var(--accent-2); margin-bottom: 10px; }

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 5.5vw, 4.2rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-2);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 28px;
}

/* CTA hero mobile — empilés pleine largeur (piège prod #2) */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.hero-cta .btn { width: 100%; justify-content: center; }

/* ======== ABOUT ======== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  order: -1;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.about-content { order: 0; }

.about-content h2 {
  margin-bottom: 20px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.about-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}

.about-usps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.usp-row {
  display: flex;
  align-items: center; /* piège prod #3 — align-items center */
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.usp-row svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ======== SECTION SERVICES ======== */
.services-intro { max-width: 60ch; margin-bottom: 8px; }

/* ======== SECTION RÉALISATIONS ======== */
.realisations-teaser-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 40px);
}

.realisations-teaser-header h2 { margin-bottom: 0; }

/* ======== SECTION CONTACT ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 56px);
}

.contact-info h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center; /* piège prod #3 */
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--text);
}

.contact-item:last-of-type { border-bottom: 0; }

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-item a { font-weight: 600; color: var(--accent); }
.contact-item a:hover { text-decoration: underline; }

.contact-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.contact-cta-group .btn { width: 100%; justify-content: center; }
