/* ============================================================
   COMPONENTS — CARTES, BOUTONS, BANDEAUX, TITRES
   ============================================================ */

/* 1. HEADER DE CARTE */
.card-header {
  text-align: center;
  margin-bottom: 18px;
}

.card-header .quote-top {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: #6b4f3a;
  font-style: italic;
  padding: 6px 10px;
  background: rgba(255, 248, 235, 0.95);
  border-radius: 6px;
  display: inline-block;
  box-shadow: 0 3px 6px rgba(0,0,0,0.10);
}

/* 2. IMAGE DE CARTE */
.card-image {
  position: relative;
  z-index: 2;
}

.card-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  transform: rotate(-1deg);
}

/* 3. CORPS DE CARTE */
.card-body {
  margin-top: 18px;
  text-align: center;
}

.card-body .quote-middle {
  font-size: 1.1rem;
  font-family: 'Lora', serif;
  color: #5a4334;
  padding: 12px 18px;
  background: rgba(255, 248, 235, 0.95);
  border-radius: 10px;
  line-height: 1.6;
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

/* 4. BANDEAUX ROUGES — BOUTONS */
.banner-inspirations {
  margin: 18px auto;
  text-align: center;
}

.banner-inspirations a {
  display: inline-block;
  background: #d48166;
  color: white;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, background 0.3s ease;
}

.banner-inspirations a:hover {
  background: #c46f55;
  transform: translateY(-3px);
}

/* 5. FOOTER DE CARTE */
.card-footer {
  margin-top: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #7a4b33;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

/*6.FOND DE CARTE */
.fond-carte {
  position: relative;
  z-index: -1;
  inset:0;
}

.fond-carte::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(
    to bottom,
    rgba(253, 246, 227, 0) 0%,
    rgba(253, 246, 227, 0.35) 40%,
    rgba(253, 246, 227, 0.75) 100%
  );
  z-index: 0;
}
