/* ── Shared hero styles (used across all pages) ──── */
.eyebrow {
  font-family: "Georgia", serif;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a7d6a;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: "Georgia", serif;
  color: #2c3e35;
  letter-spacing: -0.01em;
}

.hero-lead {
  color: #4a5e52;
  max-width: 540px;
  font-size: 1.05rem;
}

/* ───────────────────────────────────────────────── */

.logo-empty {
  height: 3rem;
  border-radius: 15%;
  padding: 5px;
}

.profile-picture {
  border-radius: 50%;
}

.gradient-background {
  background: linear-gradient(300deg, #7c9e8a, #f5f0e8, #5a7d6a);
  background-size: 180% 180%;
  animation: gradient-animation 18s ease infinite;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.card-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: inherit;
  z-index: 0;
}

.card-cover .d-flex {
  position: relative;
  z-index: 1;
}

.perspective-img {
  border-radius: 5px;
}

.carousel-img {
  height: 450px; /* ou 400px selon ton design */
  object-fit: cover; /* IMPORTANT : recadre sans déformer */
  width: 100%;
}

.carousel-rounded {
  border-radius: 11px;
  overflow: hidden; /* IMPORTANT pour que les images suivent le radius */
}

btn-dark {
  --bs-btn-bg: #5a7d6a;
  --bs-btn-border-color: #5a7d6a;
  --bs-btn-hover-bg: #4a6b58;
  --bs-btn-hover-border-color: #4a6b58;
  --bs-btn-active-bg: #3a5948;
}

.btn-dark {
  --bs-btn-bg: transparent;
  --bs-btn-color: #5a7d6a;
  --bs-btn-border-color: #5a7d6a;
  --bs-btn-hover-bg: #5a7d6a;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: #4a6b58;
}

.btn-dark {
  --bs-btn-bg: #f5f0e8;
  --bs-btn-color: #5a7d6a;
  --bs-btn-border-color: #5a7d6a;
  --bs-btn-hover-bg: #5a7d6a;
  --bs-btn-hover-color: #f5f0e8;
  --bs-btn-active-bg: #4a6b58;
  --bs-btn-active-color: #f5f0e8;
}

.navbar {
  background-color: #fdfcf9 !important;
}

.container:has(#custom-cards) ~ .container {
  background-color: #ffffff;
}

/* Fond lin pour Mon Approche */
.container:has(> .row > .col > h2.fw-bold) {
  background-color: #f5f0e8;
  border-radius: 12px;
  padding: 2rem !important;
}

/* Titre principal */
.col h2.fw-bold.text-body-emphasis {
  color: #2c3e35;
}

/* Titres des 4 blocs */
.col h4.fw-semibold {
  color: #5a7d6a;
}

/* Séparateur */
.border-bottom {
  border-color: #5a7d6a !important;
}

/* Mon Approche — textes en sauge profond */
.col h2.fw-bold.text-body-emphasis {
  color: #2c3e35;
}

.col-d-flex h4.fw-semibold {
  color: #2c3e35;
}

h4.fw-semibold.mb-0.text-body-emphasis {
  color: #2c3e35 !important;
}

.text-body-secondary {
  color: #4a5e52 !important;
}

/* Titre de section "Mon Approche" */
.border-bottom {
  color: #2c3e35 !important;
}

/* Grand h2 dans Mon Approche */
.fw-bold.text-body-emphasis {
  color: #2c3e35 !important;
}

.btn-filled {
  --bs-btn-bg: #5a7d6a;
  --bs-btn-color: #f5f0e8;
  --bs-btn-border-color: #5a7d6a;
  --bs-btn-hover-bg: #4a6b58;
  --bs-btn-hover-color: #f5f0e8;
  --bs-btn-active-bg: #3a5948;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) !important;
}
