/* ============================================
   NAPPING — Styles page d'accueil
   ============================================ */

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}
.hero__text h1 { margin: 0.6rem 0 1.3rem; }
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.8rem 0 2.4rem;
}
.hero__trust {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero__trust-item strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--teal-deep);
}
.hero__trust-item span {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Hero visual ---------- */
.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__caption {
  margin-top: 1.6rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  max-width: 320px;
}

@media (max-width: 900px) {
  .hero__inner { padding-top: 2.5rem; padding-bottom: 3rem; }
  .hero__visual { order: -1; }
}

/* ---------- Why grid ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.why-item__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}
.why-item h4 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.why-item p { font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 560px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Path / frise dessinée ---------- */
.path {
  position: relative;
  margin-top: 3.5rem;
}
.path__line {
  width: 100%;
  height: 40px;
  display: block;
  margin-bottom: -8px;
}
.path__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
}
.path__step {
  text-align: center;
  padding-top: 0.5rem;
}
.path__step h4 { font-size: 0.98rem; margin: 0.7rem 0 0.35rem; }
.path__step p { font-size: 0.84rem; color: var(--ink-soft); }
.path__dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  border: 3px solid var(--cream-warm);
  box-shadow: 0 0 0 1px var(--terracotta);
}
.path__dot--end { background: var(--teal-deep); box-shadow: 0 0 0 1px var(--teal-deep); }

@media (max-width: 900px) {
  .path__line { display: none; }
  .path__steps {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    text-align: left;
  }
  .path__step { text-align: left; padding-left: 1.6rem; border-left: 2px dotted var(--line); padding-bottom: 0.2rem; }
  .path__dot { position: absolute; left: -7px; top: 0.55rem; }
  .path__step { position: relative; }
}

/* ---------- Hero mosaic (4 apps) ---------- */
.hero-mosaic {
  width: 320px;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  transform: rotate(2deg);
}
.hero-mosaic__item {
  border-radius: var(--radius);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.2rem;
  box-shadow: var(--shadow);
  color: var(--white);
}
.hero-mosaic__label {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
}
.hero-mosaic__sub {
  font-size: 0.72rem;
  opacity: 0.85;
}
.hero-mosaic__item--teal { background: linear-gradient(135deg, var(--teal-mid) 0%, var(--teal-deep) 100%); }
.hero-mosaic__item--terracotta { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 100%); color: var(--teal-deep); }
.hero-mosaic__item--coral { background: linear-gradient(135deg, #D98469 0%, #B5563F 100%); }
.hero-mosaic__item--deep { background: linear-gradient(135deg, var(--teal-deep) 0%, #113437 100%); }

@media (max-width: 900px) {
  .hero-mosaic { width: 260px; transform: none; margin: 0 auto; }
}

/* ---------- Réalisations teaser tiles ---------- */
.realisations-teaser { align-items: stretch; }
.real-tile {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.6rem 1.3rem;
  border-radius: var(--radius);
  min-height: 130px;
  justify-content: flex-end;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: var(--shadow);
}
.real-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.real-tile__name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
}
.real-tile__desc { font-size: 0.8rem; opacity: 0.9; }
.real-tile--teal { background: linear-gradient(135deg, var(--teal-mid) 0%, var(--teal-deep) 100%); color: var(--white); }
.real-tile--terracotta { background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-d) 100%); color: var(--teal-deep); }
.real-tile--coral { background: linear-gradient(135deg, #D98469 0%, #B5563F 100%); color: var(--white); }
.real-tile--deep { background: linear-gradient(135deg, var(--teal-deep) 0%, #113437 100%); color: var(--white); }
