/* Page d'accueil : visuel de marque + contenu, tient sur un écran. */

.landing {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
}

.landing-visual {
  position: relative;
  height: 34svh;
  min-height: 210px;
  overflow: hidden;
  background: var(--color-surface-muted);
}
.landing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
}

.logo--on-photo {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  top: 16px;
  height: 96px;
}
.logo--landing { display: none; }

.landing-content {
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter) 20px;
}
.landing-content .display { font-size: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem); max-width: 18ch; }
.landing-content .lead { margin-top: 1rem; font-size: var(--fs-sm); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
}
.cta-row .btn { width: 100%; }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.meta li { display: inline-flex; align-items: center; gap: 0.4rem; }
.meta svg {
  width: 16px; height: 16px;
  fill: none;
  stroke: var(--color-hover-line);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1.5rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}
.landing-footer a { color: inherit; }

/* ---- Tablette / desktop : composition en deux colonnes ---------------- */
@media (min-width: 900px) {
  .landing {
    grid-template-rows: none;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    height: 100vh;
    height: 100svh;
    min-height: 640px;
  }
  .landing-visual { height: auto; min-height: 0; }
  .logo--on-photo { display: none; }

  .landing-content {
    justify-content: center;
    padding: 48px clamp(40px, 6vw, 96px);
    position: relative;
  }
  .logo--landing {
    display: block;
    height: clamp(180px, 26vh, 250px);
    margin-bottom: clamp(20px, 4vh, 40px);
  }
  .landing-content .lead { font-size: var(--fs-md); margin-top: 1.25rem; }
  .cta-row { margin-top: 2rem; }
  .cta-row .btn { width: auto; }
  .meta { margin-top: 1.75rem; }
  .landing-footer {
    position: absolute;
    left: clamp(40px, 6vw, 96px);
    bottom: 28px;
  }
}

@media (min-width: 1280px) {
  .landing { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}
