/* ── Pages service (terrassement…) — complète city.css ─────────────────────── */

/* Intro deux colonnes */
.tp-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.tp-intro p { font-size: 0.97rem; line-height: 1.8; opacity: 0.75; margin-bottom: 16px; }
.tp-intro-aside {
  background: var(--brown);
  color: var(--cream);
  border-radius: 12px;
  padding: 32px 28px;
}
.tp-intro-aside strong {
  display: block;
  font-family: 'Zen Dots', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}
.tp-intro-aside p { color: var(--cream); opacity: 0.85; font-size: 0.92rem; margin-bottom: 0; }
@media (max-width: 768px) { .tp-intro { grid-template-columns: 1fr; gap: 28px; } }

/* Cartes prestations (sans photo) */
.tp-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.tp-card {
  background: rgba(56,43,38,0.035);
  border: 1px solid rgba(56,43,38,0.07);
  padding: 28px 26px;
}
.tp-card-num {
  font-family: 'Zen Dots', sans-serif;
  font-size: 0.72rem;
  opacity: 0.35;
  display: block;
  margin-bottom: 10px;
}
.tp-card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: 8px; color: var(--brown); }
.tp-card p { font-size: 0.86rem; line-height: 1.65; opacity: 0.62; }
@media (max-width: 600px) { .tp-cards { grid-template-columns: 1fr; } }

/* Étapes */
.tp-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.tp-steps li {
  counter-increment: step;
  border-top: 2px solid var(--brown);
  padding-top: 20px;
}
.tp-steps li::before {
  content: '0' counter(step);
  font-family: 'Zen Dots', sans-serif;
  font-size: 1.6rem;
  opacity: 0.15;
  display: block;
  margin-bottom: 10px;
}
.tp-steps h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.tp-steps p { font-size: 0.86rem; line-height: 1.65; opacity: 0.62; }
@media (max-width: 900px) { .tp-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tp-steps { grid-template-columns: 1fr; } }

/* Bon à savoir */
.tp-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tp-info {
  background: rgb(243, 241, 227);
  border: 1px solid rgba(56,43,38,0.12);
  border-radius: 8px;
  padding: 26px 24px;
}
.tp-info h3 { font-size: 0.98rem; font-weight: 700; margin-bottom: 10px; }
.tp-info p { font-size: 0.86rem; line-height: 1.7; opacity: 0.66; }
.tp-info a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .tp-info-grid { grid-template-columns: 1fr; } }

/* Zone d'intervention : communes par distance */
.tp-zones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tp-zone {
  border: 1px solid rgba(56,43,38,0.12);
  border-radius: 8px;
  padding: 22px 20px;
}
.tp-zone-title {
  font-family: 'Zen Dots', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 14px;
}
.tp-zone ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.tp-zone li { font-size: 0.86rem; line-height: 1.4; }
.tp-zone li small { opacity: 0.45; margin-left: 4px; }
.tp-zone a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.tp-zone-note { font-size: 0.8rem; opacity: 0.5; margin-top: 18px; }
@media (max-width: 900px) { .tp-zones { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tp-zones { grid-template-columns: 1fr; } }

/* Galerie « Les étapes d'un terrassement » : frise numérotée sur fond brun */
.tp-gal { background: var(--brown); color: var(--cream); }
.tp-gal .city-section-label { opacity: 0.5; }
.tp-gal .city-section-title,
.tp-gal .city-section-lead { color: var(--cream); }
.tp-gal .city-section-lead { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid rgba(243,241,226,0.2); max-width: none; }
.tp-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.tp-gal-card { margin: 0; }
.tp-gal-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 14px;
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.tp-gal-card img:hover { opacity: 0.85; }
.tp-gal-card strong { font-size: 1rem; }
.tp-gal-num {
  font-family: 'Zen Dots', sans-serif;
  font-size: 0.75rem;
  background: var(--cream);
  color: var(--brown);
  border-radius: 100px;
  padding: 3px 9px;
  margin-right: 10px;
  vertical-align: 1px;
}
.tp-gal-card p { font-size: 0.82rem; line-height: 1.55; opacity: 0.6; margin-top: 6px; }
.tp-gal .tp-credit { color: var(--cream); margin-top: 28px; }
@media (max-width: 900px) { .tp-gal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
  .tp-gal-grid { gap: 22px 12px; }
  .tp-gal-card img { margin-bottom: 10px; }
  .tp-gal-num { display: inline-block; margin: 0 0 6px; }
  .tp-gal-card strong { display: block; font-size: 0.92rem; }
  .tp-gal-card p { font-size: 0.76rem; }
}
.tp-credit { font-size: 0.72rem; opacity: 0.4; margin-top: 12px; }

/* Carte statique de la zone (remplace l'iframe OSM, bloquée par certains navigateurs) */
.tp-map { margin: 40px 0 0; }
.tp-map img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid rgba(56,43,38,0.1); }
.tp-map figcaption { font-size: 0.8rem; opacity: 0.6; margin-top: 10px; }
.tp-map figcaption a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }

/* ── Ajustements v3 (26 nov. 2026) ─────────────────────────────────────────── */
.tp-title-sub { display: block; font-size: 0.62em; line-height: 1.25; margin-top: 10px; }

/* Intro : photo + encadré dans la colonne de droite */
.tp-intro-side { display: flex; flex-direction: column; gap: 16px; }
.tp-intro-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }

/* Blocs prestations : petite photo à gauche */
.tp-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; align-items: start; }
.tp-card-img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 420px) {
  .tp-card { grid-template-columns: 88px 1fr; gap: 14px; padding: 20px 18px; }
  .tp-card-img { width: 88px; height: 88px; }
}

/* Photo du Perche */
.tp-perche { margin: 8px 0 28px; }
.tp-perche img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 12px; display: block; }
.tp-perche figcaption { font-size: 0.8rem; margin-top: 8px; color: #000; }
@media (max-width: 600px) { .tp-perche img { aspect-ratio: 16 / 9; } }

/* Contraste : descriptions en noir (fond clair) ou blanc (fond sombre), sans transparence */
.page-terrassement .city-section-lead,
.page-terrassement .tp-intro p,
.page-terrassement .tp-card p,
.page-terrassement .tp-steps p,
.page-terrassement .tp-info p,
.page-terrassement .city-why-item p,
.page-terrassement .city-faq-answer,
.page-terrassement .tp-zone li,
.page-terrassement .tp-zone li small,
.page-terrassement .tp-zone-note,
.page-terrassement .tp-map figcaption,
.page-terrassement .tp-credit { opacity: 1; color: #000; }
.page-terrassement .city-hero-subtitle,
.page-terrassement .tp-intro-aside p,
.page-terrassement .tp-gal .city-section-lead,
.page-terrassement .tp-gal-card p,
.page-terrassement .tp-gal .tp-credit,
.page-terrassement .city-cta-inner p,
.page-terrassement .city-cta-nearby-links a { opacity: 1; color: #fff; }

/* ── Intro « Tout commence sous vos pieds » (v5, version sobre) ──────────── */
.tp-intro2 {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 64px;
  align-items: start;
  margin-top: 40px;
}
.tp-intro2-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.tp-intro2-badge {
  background: var(--brown);
  color: #fff;
  padding: 24px 26px;
}
.tp-intro2-badge strong { display: block; font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.tp-intro2-badge p { font-size: 0.92rem; line-height: 1.7; color: #fff; }
.tp-intro2-text p { font-size: 1rem; line-height: 1.8; color: #000; margin-bottom: 20px; }
.tp-intro2-text p.tp-intro2-lead { font-size: 1.4rem; line-height: 1.4; font-weight: 500; color: var(--brown); margin-bottom: 24px; }
@media (max-width: 860px) {
  .tp-intro2 { grid-template-columns: 1fr; gap: 32px; }
  .tp-intro2-text p.tp-intro2-lead { font-size: 1.2rem; }
}
