/* =========================================================
   ACCUEIL — sections spécifiques (DA cinématique)
   À charger après base.css + da.css.
========================================================= */

/* ---------- HERO ACCUEIL ---------- */
.home-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(36px, 5vw, 80px);
}

/* hero pleine largeur (sans vidéo) */
.home-hero__solo {
  max-width: 60rem;
}
.home-hero__solo .home-hero__title {
  font-size: clamp(2.8rem, 8vw, 7rem);
}

/* bande de réassurance */
.home-hero__trust {
  margin-top: clamp(34px, 5vw, 56px);
  padding-top: clamp(26px, 3vw, 36px);
  border-top: 1px solid var(--dz-line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 40px);
}
.home-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.home-trust__k {
  font-family: var(--dz-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  letter-spacing: -0.01em;
  color: var(--dz-accent-2);
}
.home-trust__l {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--dz-soft);
  font-weight: 300;
}

/* ---------- RÉALISATION VEDETTE ---------- */
.home-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.home-feature__text {
  max-width: 46ch;
}
.home-feature__text .dz-eyebrow {
  margin-bottom: 16px;
}
.home-feature__lead {
  margin-top: 16px;
  color: var(--dz-soft);
  line-height: 1.65;
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
}
.home-project--feature {
  aspect-ratio: 4 / 5;
}

/* carte vedette sans image : fond travaillé aux couleurs marque */
.home-project.home-project--noimg {
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(156, 122, 47, 0.18), transparent 60%),
    linear-gradient(160deg, #1b1812 0%, #2a2419 55%, #14110c 100%);
  border-color: rgba(156, 122, 47, 0.3);
  overflow: hidden;
}
.home-project.home-project--noimg::after {
  background: linear-gradient(180deg, rgba(9, 9, 11, 0) 30%, rgba(9, 9, 11, 0.55) 100%);
}
.home-project--noimg .home-project__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -58%);
  font-family: var(--dz-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(120deg, #e6cf94, #c6a75e 55%, #8a6f33);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0.92;
  white-space: nowrap;
  pointer-events: none;
}
.home-project--noimg .home-project__name {
  color: #fff;
}

.home-hero__title {
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  line-height: 0.96;
}

.home-hero__lead {
  margin-top: clamp(22px, 3vw, 34px);
}

.home-hero__actions {
  margin-top: clamp(26px, 3.4vw, 40px);
}

.home-hero__cue {
  margin-top: clamp(30px, 4vw, 50px);
}

/* média vidéo encadré — format natif (paysage), non rogné */
.home-hero__media {
  position: relative;
  align-self: center;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--dz-line);
  background: transparent;
  box-shadow: 0 30px 70px rgba(27, 24, 18, 0.12);
}

.home-hero__media video,
.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.6s var(--dz-ease);
}

.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0) 0%, rgba(9, 9, 11, 0) 60%, rgba(9, 9, 11, 0.28) 100%);
  pointer-events: none;
}

.home-hero__tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(27, 24, 18, 0.12);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(27, 24, 18, 0.1);
  font-family: var(--dz-label);
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dz-ink);
}

.home-hero__tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dz-accent);
  box-shadow: 0 0 0 4px rgba(198, 167, 94, 0.18);
  animation: home-pulse 2.4s var(--dz-ease) infinite;
}

@keyframes home-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ---------- EN-TÊTE DE SECTION ---------- */
.home-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 24ch;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.home-head--wide {
  max-width: 30ch;
}

.home-head__lead {
  max-width: 52ch;
  margin-top: 4px;
}

/* ---------- GRILLE VALEURS ---------- */
.home-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

/* ---------- BANDE RÉSULTAT ---------- */
.home-result {
  margin-top: clamp(20px, 3vw, 34px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
}

.home-result__title {
  font-family: var(--dz-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 14px 0 0;
}

.home-result__text {
  margin-top: 14px;
  color: var(--dz-soft);
  line-height: 1.65;
  font-weight: 300;
  max-width: 48ch;
}

.home-result__actions {
  justify-content: flex-end;
}

/* ---------- PROCESS / ÉTAPES ---------- */
.home-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dz-line);
  border: 1px solid var(--dz-line);
  border-radius: 6px;
  overflow: hidden;
}

.home-step {
  background: var(--dz-bg);
  padding: clamp(26px, 2.6vw, 40px) clamp(22px, 2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background 0.6s var(--dz-ease);
}

.home-step:hover {
  background: var(--dz-bg-2);
}

.home-step__num {
  font-family: var(--dz-display);
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--dz-accent-2);
}

.home-step__num::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--dz-accent);
  margin-bottom: 18px;
}

.home-step__title {
  font-family: var(--dz-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.18;
  color: var(--dz-ink);
}

.home-step__text {
  color: var(--dz-soft);
  line-height: 1.6;
  font-weight: 300;
  font-size: 0.95rem;
}

/* ---------- TEASER PROJETS ---------- */
.home-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.home-project {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--dz-line);
  text-decoration: none;
  aspect-ratio: 4 / 5;
  background: var(--dz-bg-2);
}

.home-project img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--dz-ease);
}

.home-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.1) 0%, rgba(9, 9, 11, 0) 35%, rgba(9, 9, 11, 0.88) 100%);
  pointer-events: none;
}

.home-project:hover img {
  transform: scale(1.1);
}

.home-project__body {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
}

.home-project__cat {
  font-family: var(--dz-label);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--dz-accent-2);
}

.home-project__name {
  margin: 10px 0 0;
  font-family: var(--dz-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
  color: var(--dz-ink);
}

.home-project__go {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--dz-label);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dz-soft);
  transition: color 0.4s var(--dz-ease), gap 0.4s var(--dz-ease);
}

.home-project__go svg {
  width: 16px;
  height: 16px;
}

.home-project:hover .home-project__go {
  color: var(--dz-accent-2);
  gap: 16px;
}

.home-projects__more {
  margin-top: clamp(32px, 4vw, 50px);
  display: flex;
  justify-content: center;
}

/* ---------- CTA FINAL ---------- */
.home-cta {
  text-align: center;
}

.home-cta__title {
  font-family: var(--dz-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin: 22px auto 18px;
}

.home-cta__title em {
  font-style: italic;
  color: var(--dz-accent-2);
}

.home-cta__lead {
  margin: 0 auto clamp(30px, 4vw, 42px);
  text-align: center;
}

.home-cta__actions {
  justify-content: center;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .home-hero__grid {
    grid-template-columns: 1fr;
  }
  .home-hero__media {
    aspect-ratio: 16 / 11;
    order: -1;
  }
  .home-values,
  .home-projects {
    grid-template-columns: 1fr;
  }
  .home-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-result {
    grid-template-columns: 1fr;
  }
  .home-result__actions {
    justify-content: flex-start;
  }
  .home-feature {
    grid-template-columns: 1fr;
  }
  .home-project--feature {
    order: -1;
    aspect-ratio: 16 / 11;
  }
}

@media (max-width: 560px) {
  .home-steps {
    grid-template-columns: 1fr;
  }
  .home-hero__trust {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
