/* Shared styles for dedicated service pages (Bornage, Lotissement, etc.) */

.page-service {
  padding-top: 80px;
  padding-bottom: 60px;
}

.page-service .sec-title {
  margin-bottom: 35px;
}

.page-service .sec-title .title {
  margin-bottom: 8px;
}

.page-service h1 {
  font-size: 28px;
  color: #c62828;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.page-service .lead {
  color: #444;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-service h2 {
  font-size: 22px;
  color: #c62828;
  font-weight: 600;
  margin: 36px 0 14px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #eadfdb;
}

.page-service h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
  margin: 24px 0 8px 0;
}

.page-service p a,
.page-service li a {
  color: #c62828;
}

.example-box {
  margin: 16px 0 24px;
  padding: 18px 20px;
  background: #faf7f6;
  border-left: 4px solid #c62828;
}

.example-box p:last-child {
  margin-bottom: 0;
}

.faq-item {
  margin: 0 0 16px 0;
  padding: 16px 18px;
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-radius: 8px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #c62828;
  font-size: 17px;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.page-service p,
.page-service li {
  color: #666;
  font-size: 16px;
  line-height: 1.75;
}

.page-service .list-style-cv {
  list-style: none;
  padding-left: 8px;
  margin: 12px 0 20px;
}

.page-service .list-style-cv li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}

.page-service .list-style-cv li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c62828;
  font-size: 20px;
  line-height: 1;
}

.page-service .steps-list {
  list-style: none;
  padding-left: 0;
  counter-reset: step;
  margin: 12px 0 24px;
}

.page-service .steps-list li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 56px;
  margin-bottom: 12px;
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-radius: 8px;
}

.page-service .steps-list li:before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}

.page-service .steps-list strong {
  color: #333;
}

.compare-table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th,
.compare-table td {
  border: 1px solid #eadfdb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.compare-table th {
  background: #c62828;
  color: #fff;
  font-weight: 600;
}

.compare-table tr:nth-child(even) td {
  background: #faf7f6;
}

.cta-box {
  margin-top: 40px;
  padding: 28px 30px;
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-radius: 8px;
}

.cta-box h2 {
  margin-top: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.cta-box .btn-style-one {
  margin-top: 10px;
  margin-right: 12px;
  background: #c62828;
  border-color: #c62828;
  color: #ffffff;
}

.cta-box .btn-style-one:hover,
.cta-box .btn-style-one:focus {
  background: #a51f1f;
  border-color: #a51f1f;
  color: #ffffff;
}

.cta-box .cta-phone {
  display: inline-block;
  margin-top: 12px;
  font-size: 16px;
  color: #333;
}

.case-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 8px 0 48px;
}

.case-photo-card {
  background: #fff;
  border: 1px solid #eadfdb;
  border-radius: 8px;
  overflow: hidden;
}

.case-photo-card .case-image {
  display: block;
  height: 250px;
  overflow: hidden;
  background: #eee;
}

.case-photo-card .case-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-photo-card a.case-image:hover img {
  opacity: 0.92;
}

.case-photo-card .case-body {
  padding: 20px 22px 22px;
}

.case-photo-card h2 {
  font-size: 20px;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
}

.case-credit,
.case-link {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}

.case-credit,
.case-credit a {
  color: #888;
}

.case-link {
  font-weight: 600;
}

.case-section-label {
  margin: 8px 0 16px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.case-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 10px;
}

.case-text-card {
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-left: 4px solid #c62828;
  border-radius: 8px;
  padding: 16px 18px 18px;
}

.case-text-card h2 {
  font-size: 16px;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
}

.case-text-card p:last-child {
  margin-bottom: 0;
}

.case-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}

.case-meta li {
  font-size: 14px;
  margin-bottom: 4px;
}

.case-meta strong {
  color: #333;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 16px 0 8px;
}

.team-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-radius: 8px;
  padding: 18px 20px;
}

.team-initials {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

.team-card h3 {
  margin-top: 0;
  margin-bottom: 4px;
  color: #c62828;
}

.team-role {
  color: #333;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p:last-child {
  margin-bottom: 0;
}

.team-binomes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  margin: 16px 0 8px;
}

.team-binome {
  padding: 14px 16px;
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-radius: 8px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 16px 0 10px;
}

.hub-card {
  background: #faf7f6;
  border: 1px solid #eadfdb;
  border-left: 4px solid #c62828;
  border-radius: 8px;
  padding: 22px 24px 24px;
}

.hub-card h2 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 8px;
}

.hub-card p:last-of-type {
  margin-bottom: 14px;
}

.hub-card .case-link {
  margin-top: 0;
}

@media (max-width: 767px) {
  .page-service h1 {
    font-size: 24px;
  }

  .page-service .steps-list li {
    padding-left: 52px;
  }

  .case-featured,
  .case-text-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .case-photo-card .case-image {
    height: 200px;
  }

  .team-grid,
  .team-binomes,
  .hub-grid {
    grid-template-columns: 1fr;
  }
}
