/* ── SERVICE LISTING PAGES (cadastre.html, topographie.html, btp.html…) ── */

body { line-height: 1.7; }

/* ── SERVICE HEADER ── */
.service-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 12rem 5vw 5rem;
  color: var(--white);
}
.header-content { max-width: 900px; }
.service-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 800;
}
.service-header h1 em { font-style: normal; color: var(--gold); }
.service-header p { color: rgba(255,255,255,0.85); max-width: 700px; font-size: 1.05rem; margin-top: 1rem; }
.law-reference {
  font-size: 0.7rem; color: var(--gold-light);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1rem; display: block;
}

/* ── SECTION LABEL (service pages variant) ── */
.section-label {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.section-label::before { content: ''; width: 2rem; height: 2px; background: var(--gold); }

/* ── WORKFLOW ── */
.workflow-section { padding: 5rem 5vw; background: var(--white); }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem; margin-top: 2rem;
}
.step-card {
  background: var(--cream);
  padding: 2rem; border-radius: 8px;
  border-bottom: 3px solid var(--gold);
  border-top: 1px solid var(--cream-dark);
}
.step-num { font-weight: 800; color: var(--navy); font-size: 1.5rem; }
.step-title { font-family: 'Raleway', sans-serif; font-weight: 700; color: var(--navy-dark); margin: 1rem 0 0.5rem; font-size: 1rem; }
.step-desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.65; }

/* ── PHOTO SLIDER ── */
.photo-slider {
  width: 100%; height: 220px; overflow: hidden;
  position: relative; border-radius: 8px 8px 0 0;
  margin-bottom: 0; background: var(--cream);
  animation: none !important;
}
.photo-slider img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  animation: none !important;
}

/* ── PRESTATIONS GRID ── */
.prestations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2rem; padding: 5rem 5vw; background: var(--cream);
}
.prestation-card {
  background: var(--white); padding: 0; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(10,35,64,0.07);
  overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(26,95,160,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prestation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(10,35,64,0.14);
}
.card-body { padding: 2rem; flex-grow: 1; }
.prestation-card h3 {
  font-family: 'Raleway', sans-serif; color: var(--navy-dark);
  margin-bottom: 0.8rem; font-size: 1.1rem;
  display: flex; justify-content: space-between; align-items: center;
}
.prestation-card h3 a { text-decoration: none; color: var(--navy-dark); }
.prestation-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.65; }

.law-tag {
  font-size: 0.6rem; background: var(--navy);
  color: white; padding: 3px 8px; border-radius: 3px;
  white-space: nowrap;
}
.ancfcc-note {
  font-size: 0.8rem; font-style: italic; margin-top: 1rem;
  color: var(--mid); border-top: 1px solid var(--cream-dark); padding-top: 1rem;
}
.tech-specs {
  font-size: 0.72rem; color: var(--navy); font-weight: 700;
  text-transform: uppercase; margin-bottom: 0.8rem; display: block;
  letter-spacing: 0.08em;
}

.card-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--navy); text-decoration: none;
  font-weight: 700; margin-top: 1.5rem; font-size: 0.9rem;
}
.card-link::after { content: '→'; transition: transform 0.2s ease; }
.prestation-card:hover .card-link::after { transform: translateX(4px); }

.card-media { display: block; position: relative; text-decoration: none; color: inherit; }
.card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(13,61,122,0.85), rgba(13,61,122,0.1));
  color: white; padding: 0.8rem 1rem; font-weight: 700;
  text-align: center; font-size: 0.9rem;
  transition: transform 0.25s ease;
}
.prestation-card:hover .media-overlay { transform: translateY(-4px); }

/* ── FOOTER CTA ── */
.footer-cta {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: white; padding: 5rem 5vw; text-align: center;
}
.footer-cta h2 { color: white; }
.footer-cta p { color: rgba(255,255,255,0.8); max-width: 600px; margin: 1rem auto; }
.btn-gold {
  background: var(--gold); color: var(--dark);
  padding: 1rem 2.5rem; text-decoration: none;
  font-weight: 800; border-radius: 4px;
  display: inline-block; margin-top: 2rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── FICHE DETAIL PAGES (btp/) ── */
.nav-back { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.nav-back:hover { color: var(--gold); }

.fiche-header {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 10rem 5vw 4rem;
  color: var(--white);
}
.fiche-header h1 { font-family: 'Raleway', sans-serif; font-size: 2.5rem; margin-bottom: 1rem; font-weight: 800; }
.fiche-header p { color: rgba(255,255,255,0.82); font-size: 1.05rem; }

.fiche-content { max-width: 900px; margin: 0 auto; padding: 4rem 5vw; }
.fiche-image { width: 100%; height: auto; margin: 2rem 0; border-radius: 8px; box-shadow: 0 8px 32px rgba(10,35,64,0.12); }

.specs {
  background: var(--cream); padding: 2rem;
  border-left: 4px solid var(--navy);
  margin: 2rem 0; border-radius: 6px;
  border: 1px solid var(--cream-dark);
  border-left: 4px solid var(--navy);
}
.specs h3 { color: var(--navy-dark); margin-bottom: 0.5rem; font-family: 'Raleway', sans-serif; }

.btn-back {
  display: inline-block; margin: 2rem 0;
  padding: 0.8rem 1.5rem;
  background: var(--navy); color: white;
  text-decoration: none; border-radius: 4px; font-weight: 700;
  transition: background 0.2s;
}
.btn-back:hover { background: var(--navy-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .prestations-grid { grid-template-columns: 1fr; }
  .fiche-header h1 { font-size: 1.8rem; }
  .service-header h1 { font-size: 2rem; }
}
