/******************************
 * Page Ressources - XW Conseil
 ******************************/

.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-subtitle {
  color: #E8E4DB;
  margin: 0 auto;
  max-width: 780px;
  font-size: 1.05rem;
}

.section h1 {
  font-family: var(--ff-title);
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  color: var(--c-primary);
}

.section-padding {
  padding: 64px 0;
}

.section-padding .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 .card:hover {
  transform: translateY(-6px);
  border-top-color: var(--c-gold);
  box-shadow: 0 14px 30px rgba(18,53,74,.18);
}

.grid-3 .card h2 { font-size: 1.2rem; font-weight: 650; margin-bottom: 0.6rem; }
.grid-3 .card p { margin-bottom: 0.4rem; }

.card .btn {
  align-self: center;
  margin-top: auto;
}

/* Bouton outil de budget (léger accent) */
.btn.btn-budget {
  background: var(--c-accent-5);
  color: #fff;
  border-color: var(--c-accent-5);
}

.btn.btn-budget:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
}

/* Mobile : léger resserrage des marges */
@media (max-width: 600px) {
  .hero-compact { padding: 48px 0; }
  .section h1 { font-size: 1.9rem; }
  .hero-subtitle { font-size: 1rem; }
}
