/**
 * Astrólogo Milton — paleta inspirada em Santo Expedito
 * Vermelho cardeal, dourado e fundos profundos
 */
:root {
  --bs-primary: #8a0202;
  --bs-primary-rgb: 95, 4, 2;
  --bs-secondary: #c9a85c;
  --bs-secondary-rgb: 201, 168, 92;
  --bs-warning: #e8c547;
  --bs-warning-rgb: 232, 197, 71;
  --bs-dark: #5f0402;
  --bs-dark-rgb: 26, 10, 12;
}

/* Faixas, rodapé e CTAs — ouro “fechado” (como tecido em sombra): texto claro continua legível */
.bg-gold {
  background: linear-gradient(118deg, #5c3d12 0%, #7a5220 42%, #9a6b28 100%);
}

/* Cabeçalho fixo — dourado envelhecido / militar, alinhado ao paramento */
.bg-paramento-nav {
  background: linear-gradient(92deg, #4a3510 0%, #644218 45%, #7d5420 100%) !important;
}

/**
 * Seções inteiras em dourado paramento (tons de brocado / fitas da vestimenta).
 * Texto escuro para contraste.
 */
.section-paramento-ouro {
  position: relative;
  background: linear-gradient(
    168deg,
    #f0e2b8 0%,
    #e6cf8a 18%,
    #d4b366 40%,
    #c5983e 62%,
    #deb863 82%,
    #b8893d 100%
  );
  overflow: hidden;
}

.section-paramento-ouro::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 12% 15%, rgba(255, 252, 240, 0.55), transparent 48%),
    radial-gradient(ellipse 80% 60% at 88% 80%, rgba(120, 72, 24, 0.14), transparent 55%);
  pointer-events: none;
}

.section-paramento-ouro > .container,
.section-paramento-ouro > .effect-bottom {
  position: relative;
  z-index: 1;
}

.text-on-paramento {
  color: #2c1810 !important;
}

.heading-on-paramento {
  color: #5c1018 !important;
}

.muted-on-paramento {
  color: rgba(44, 24, 16, 0.78) !important;
}

.quote-on-paramento {
  color: #451018 !important;
}

/* Listas e ênfase em fundo dourado */
.section-paramento-ouro strong {
  color: #3d0d14;
}

/**
 * Nome no hero — dourado em gradiente (efeito brocado / letras metálicas).
 * Compatível com fundos escuros; remove o branco do Bootstrap via transparent + clip.
 */
.titulo-ouro-hero {
  display: inline-block;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  background: linear-gradient(
    185deg,
    #fffef7 0%,
    #f7ebc4 18%,
    #e8d48a 38%,
    #d4af37 55%,
    #b88920 72%,
    #7a5c12 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 18px rgba(232, 212, 138, 0.35));
}

@supports not (background-clip: text) {
  .titulo-ouro-hero {
    color: #e8d48a !important;
    -webkit-text-fill-color: #e8d48a;
    background: none;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.7));
  }
}

/* Destaques dourados em títulos secundários */
.text-secondary {
  color: #e0c47a !important;
}

/* Bullets carrossel serviços / depoimentos */
.services .swiper-pagination .swiper-pagination-bullet,
.swiper-container .swiper-pagination .swiper-pagination-bullet {
  background-color: #e8c547;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

/* Cabeçalho fixo — alinhado ao tema */
.main-header.headroom--not-top,
.main-header.headroom--pinned {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

/* Placeholders da galeria */
.milton-gallery-placeholder {
  min-height: 220px;
  background: linear-gradient(160deg, rgba(107, 15, 31, 0.35), rgba(26, 10, 12, 0.9));
  border: 2px dashed rgba(201, 168, 92, 0.45);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(224, 196, 122, 0.9);
  font-size: 0.95rem;
  text-align: center;
  padding: 1rem;
  width: fit-content;
}

/* Bloco “desafios” — layout em cards */
.desafios-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5c1018;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(92, 16, 24, 0.15);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
}

.desafio-intro-card {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(92, 16, 24, 0.1);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  text-align: left;
  height: 100%;
}

.desafio-quote-bar {
  border-left: 4px solid var(--bs-primary);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 1rem 1rem 0;
  padding: 1.35rem 1.5rem;
  text-align: left;
  height: 100%;
  display: flex;
  align-items: center;
}

.desafio-quote-bar strong {
  font-size: 1.15rem;
  line-height: 1.4;
}

.desafio-tiles-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c1018;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.desafio-tile {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(92, 16, 24, 0.08) !important;
  border-radius: 1rem !important;
  padding: 1.35rem 1.25rem !important;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.desafio-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(45, 10, 16, 0.12) !important;
}

.desafio-tile-emoji {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.65rem;
  display: block;
}

.desafio-tile p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.desafio-cta-strip {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(92, 16, 24, 0.1);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin-top: 0.5rem;
}

@media (max-width: 767.98px) {
  .desafio-intro-card,
  .desafio-quote-bar {
    margin-bottom: 0.5rem;
  }
}
