/* ═══ Pages internes — Clean Débarras Occitanie ═══ */

.page { background: var(--bg); }

.page__hero { padding: clamp(120px, 15vw, 175px) 0 clamp(30px, 4vw, 48px); }
.page__crumb {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 22px;
}
.page__crumb a { color: var(--ink-soft); transition: color 0.25s; }
.page__crumb a:hover { color: var(--primary); }
.page__crumb span { opacity: 0.4; margin: 0 6px; }

.page__h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 16px 0 22px;
}
.page__h1-alt { font-style: italic; color: var(--primary); }
.page__lead {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 62ch;
}
.page__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.page__visual {
  margin-top: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 460px;
}
.page__visual img { width: 100%; height: clamp(240px, 34vw, 460px); object-fit: cover; }

.page__body { padding: clamp(48px, 7vw, 88px) 0 clamp(60px, 8vw, 100px); }

.page__block { margin-bottom: clamp(38px, 5vw, 60px); }
.page__block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}
.page__block p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 15px;
  max-width: 70ch;
}
.page__block p a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.page__block p a:hover { opacity: 0.75; }

.page__list { max-width: 70ch; }
.page__list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.page__list li::before {
  content: '';
  position: absolute;
  left: 2px; top: 0.55em;
  width: 14px; height: 8px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.page__steps { counter-reset: none; max-width: 74ch; }
.page__steps li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.page__steps li:last-child { border-bottom: 1px solid var(--line); }
.page__step-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--primary);
  line-height: 1.1;
  flex: none;
  width: 56px;
}
.page__steps h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.page__steps p { margin-bottom: 0; }

.page__rels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.page__rel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.page__rel:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(11, 27, 51, 0.08); }
.page__rel span { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.page__rel em {
  font-family: var(--font-ui);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
}

/* ─── Bloc d'appel en bas de page ─── */
.page__cta {
  background: var(--ink);
  color: #E6ECF6;
  padding: clamp(64px, 8vw, 100px) 0;
  text-align: center;
}
.page__cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
}
.page__cta p {
  color: rgba(230, 236, 246, 0.75);
  max-width: 58ch;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.page__cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ─── Hub prestations ─── */
.hub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hub__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hub__card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(11, 27, 51, 0.1); }
.hub__img { display: block; height: 190px; overflow: hidden; }
.hub__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.hub__card:hover .hub__img img { transform: scale(1.05); }
.hub__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.hub__body h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.hub__body p { color: var(--ink-soft); font-size: 0.93rem; line-height: 1.62; margin-bottom: 18px; }
.hub__link {
  margin-top: auto;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}
.hub__link:hover { opacity: 0.7; }

/* ─── Page devis ─── */
.devis__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 70px);
  padding-bottom: clamp(70px, 9vw, 110px);
  align-items: start;
}
.devis__aside h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 16px; }
.devis__tel {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}
.devis__mail { display: block; color: var(--ink-soft); margin: 6px 0 26px; text-decoration: underline; text-underline-offset: 3px; }
.devis__mail:hover { color: var(--primary); }
.devis__zone {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
.devis__zone strong { color: var(--ink); }
.page--devis .contact__points li { color: var(--ink); }
.page--devis .form { background: var(--white); }

@media (max-width: 980px) {
  .page__rels, .hub__grid { grid-template-columns: repeat(2, 1fr); }
  .devis__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page__rels, .hub__grid { grid-template-columns: 1fr; }
  .page__steps li { flex-direction: column; gap: 8px; }
  .page__step-num { width: auto; }
}
