/******************************
 * Page Services — XW Conseil
 ******************************/

/* Hero compact */
.hero-compact {
  background: linear-gradient(135deg, #0F2F41 0%, #12354A 100%);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}

.hero-compact h1 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.hero-compact p {
  color: #E8E4DB;
  margin: 0 auto;
}

/* Sections spacing */
.section-padding {
  padding: 64px 0;
}

.section h1 {
  font-family: var(--ff-title);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--c-primary);
}

.section p.lead,
.section > .container > p:not(.lead) {
  max-width: 780px;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.grid-3 .card h2 {
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 0.6rem;
}

.grid-3 .card p {
  margin-bottom: 0.4rem;
}

/* Services page cards */
.section-padding:not(.bg-beige) .card {
  border-top: 5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 8px 22px rgba(18,53,74,.12);
  min-height: 100%;
}

.section-padding:not(.bg-beige) .card:hover {
  transform: translateY(-6px);
  border-top-color: var(--c-gold);
  box-shadow: 0 14px 30px rgba(18,53,74,.18);
}

.card-icon {
  font-size: 2.2rem;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

.section-padding:not(.bg-beige) .card .btn {
  margin-top: auto;
  align-self: center;
}

/* Notre Méthode */
.bg-beige {
  background: var(--c-muted);
  --color-gold: var(--c-gold);
}

.bg-beige .card {
  text-align: center;
  align-items: center;
  border: 1px solid var(--border-card);
  box-shadow: 0 10px 26px rgba(18,53,74,.08);
  border-radius: 16px;
  background: var(--bg-card);
  gap: 8px;
}

.bg-beige .card > div:first-child {
  font-size: 3rem !important;
  color: var(--c-gold) !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em;
}

.bg-beige h2 {
  margin-bottom: 0.5rem;
}

/* Mobile */
@media (max-width: 600px) {
  .section h1 {
    font-size: 2rem;
  }
  .section p.lead {
    font-size: 1rem;
  }

  .hero-compact {
    padding: 48px 0;
  }
}
