/* =====================================================
   TEMA LILÁS CLARO - Portal Magia do Amor
   Sobrescreve o master.css sem precisar recompilar os SCSS.
   Para ajustar cores, mexa apenas nas variáveis abaixo.
   ===================================================== */

:root {
  --lilas-fundo: #fbf8ff;
  --lilas-50: #f7f1ff;
  --lilas-100: #efe5fb;
  --lilas-200: #e2d1f5;
  --lilas-300: #c9ade9;
  --lilas-500: #9661d1;
  --lilas-600: #7a45b8;
  --lilas-700: #5e2d96;
  --plum-900: #2d1645;
  --lilas-titulo: #7a45b8; /* cor única de todos os títulos */
  --texto: #4d4262;
  --texto-suave: #6e6382;
  --sombra: 0 14px 40px -12px rgba(94, 45, 150, 0.18);
}

/* ---------- Base ---------- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--texto);
  background: var(--lilas-fundo);
  line-height: 1.75;
}

::selection {
  background: var(--lilas-300);
  color: var(--plum-900);
}

a {
  color: var(--lilas-700);
}

a:hover {
  color: var(--lilas-600);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4 {
  color: var(--lilas-titulo);
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.2px;
}

/* Títulos com classes de cor próprias (roxo, preto, branco...) também ficam no mesmo lilás */
h1.theme-color, h2.theme-color, h3.theme-color, h4.theme-color, h5.theme-color, h6.theme-color,
h1.theme2nd-color, h2.theme2nd-color, h3.theme2nd-color, h4.theme2nd-color, h5.theme2nd-color, h6.theme2nd-color,
h1.theme3rd-color, h2.theme3rd-color, h3.theme3rd-color, h4.theme3rd-color, h5.theme3rd-color, h6.theme3rd-color,
h1.black-color, h2.black-color, h3.black-color, h4.black-color, h5.black-color, h6.black-color,
h1.white-color, h2.white-color, h3.white-color, h4.white-color, h5.white-color, h6.white-color,
.h1.white-color, .h2.white-color, .h3.white-color, .h4.white-color, .h5.white-color, .h6.white-color,
.display-4.white-color {
  color: var(--lilas-titulo);
}

/* Ícones do Font Awesome que têm classes de título (ex.: display-4) não podem perder a fonte de ícones */
i.fas, i.fa {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
}

i.far {
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
}

i.fab {
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

/* ---------- Cores de texto (antes eram brancas sobre fundo escuro) ---------- */
.white-color {
  color: var(--plum-900);
}

.white-color-light {
  color: var(--texto-suave);
}

.white-color h1, .white-color h2, .white-color h3,
.white-color h4, .white-color h5, .white-color h6 {
  color: inherit;
}

/* Botões verdes continuam com texto branco */
.m-btn .white-color,
.m-btn span.white-color {
  color: #ffffff;
}

/* Textos brancos do Bootstrap dentro do rodapé */
.footer .text-white {
  color: var(--plum-900) !important;
}

.footer .yellow-color {
  color: var(--lilas-titulo) !important;
}

.footer .links-white a:not(:hover) {
  color: var(--texto-suave);
}

/* ---------- Cabeçalho ---------- */
.fixed-header-bar.theme2nd-bg {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(94, 45, 150, 0.08);
  border-bottom: 1px solid var(--lilas-200);
}

.main-navbar .navbar-nav > li > a {
  color: var(--plum-900);
  letter-spacing: 0.5px;
}

.main-navbar .navbar-nav > li > a:hover,
.main-navbar .navbar-nav > li > a.active {
  color: var(--lilas-600);
}

/* Logo original é branca: a cor lilás é aplicada pela máscara da própria imagem */
.main-navbar .navbar-brand .logo {
  position: relative;
  display: inline-block;
}

.main-navbar .navbar-brand .logo img {
  opacity: 0;
  display: block;
}

.main-navbar .navbar-brand .logo::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #7a45b8;
  -webkit-mask: url("../img/lavinia.avif") center / contain no-repeat;
          mask: url("../img/lavinia.avif") center / contain no-repeat;
}

/* ---------- Banner (hero) ---------- */
#home {
  background: radial-gradient(circle at 15% 10%, #ffffff 0%, transparent 55%),
              radial-gradient(circle at 90% 85%, #e4d0f7 0%, transparent 50%),
              linear-gradient(160deg, #fbf8ff 0%, #efe5fb 100%) !important;
}

/* Remove a sombra preta de texto que existia sobre a imagem escura */
#home [style*="text-shadow"] {
  text-shadow: none !important;
}

.foto-topo {
  filter: drop-shadow(0 18px 30px rgba(94, 45, 150, 0.28));
}

/* ---------- Seções ---------- */
.gray-bg {
  background-color: var(--lilas-50);
}

.theme-g-bg {
  background: linear-gradient(135deg, #f7f1ff 0%, #e4d0f7 100%);
}

/* Lista de serviços: fundo claro e cartões brancos */
#lista-servicos {
  background: linear-gradient(160deg, #ffffff 0%, #f1e7fb 100%) !important;
  background-attachment: scroll !important;
}

#lista-servicos .border-all-1 {
  background: #ffffff;
  border: 1px solid var(--lilas-200) !important;
  border-radius: 18px;
  box-shadow: var(--sombra);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#lista-servicos .border-all-1:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -12px rgba(94, 45, 150, 0.28);
}

#lista-servicos .white-after:after {
  background-color: var(--lilas-600);
}

#lista-servicos .text-white {
  color: var(--texto-suave) !important;
}

/* Cards do carrossel de trabalhos */
#trabalho .owl-carousel .box-shadow-hover {
  background-image: none !important;
  background-color: #ffffff !important;
  border: 1px solid var(--lilas-200);
  border-radius: 24px;
  box-shadow: var(--sombra);
}

#trabalho .owl-carousel .box-shadow-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -14px rgba(94, 45, 150, 0.3);
}

#trabalho .avatar-100 {
  border: 3px solid var(--lilas-200) !important;
}

/* ---------- Imagens e galeria ---------- */
.border-radius-10 {
  border-radius: 24px !important;
  box-shadow: var(--sombra);
}

.portfolio-box-02 .portfolio-img img {
  border-radius: 18px;
}

#depoimentos .p-10px img {
  border-radius: 18px;
  box-shadow: 0 10px 30px -10px rgba(94, 45, 150, 0.2);
}

/* ---------- Botões ---------- */
.m-btn {
  transition: all 0.3s ease-in-out;
  letter-spacing: 0.3px;
}

/* Verde escuro para o texto branco ter contraste suficiente (~5:1) */
.m-btn.m-btn-green {
  background: #0f7a36;
  box-shadow: 0 12px 24px -10px rgba(15, 122, 54, 0.55);
}

.m-btn.m-btn-green:hover,
.m-btn.m-btn-green:focus {
  background: #0b6a2e;
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -10px rgba(15, 122, 54, 0.7);
}

/* Todos os botões com o mesmo formato (pílula) e o mesmo tamanho mínimo */
.m-btn.m-btn-radius,
.m-btn.m-btn-round,
.m-btn.m-btn-green {
  border-radius: 999px;
  min-width: 260px;
  padding: 0.75rem 1.75rem;
}

/* Mesma largura para todos os botões de WhatsApp em pares */
.m-btn-dual .m-btn {
  width: 340px;
  max-width: 100%;
}

/* Título da lista de serviços: peso igual ao dos demais títulos */
#lista-servicos h2 {
  font-weight: 600;
}

/* =====================================================
   Seção TRABALHOS - diagramação
   ===================================================== */

/* Introdução */
#trabalho .trabalho-intro img {
  width: 110px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 12px 18px rgba(176, 30, 60, 0.25));
}

/* Cards dos tipos de trabalho (lado a lado, mesma altura) */
#trabalho .trabalho-tipos {
  align-items: stretch;
}

#trabalho .trabalho-tipos > [class*="col-"] {
  display: flex;
}

#trabalho .trabalho-card {
  position: relative;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--lilas-200);
  border-radius: 24px;
  padding: 40px 36px 36px;
  box-shadow: var(--sombra);
  text-align: left;
}

#trabalho .trabalho-card::before {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lilas-600), var(--lilas-300));
  margin-bottom: 18px;
}

#trabalho .trabalho-card h3 {
  margin-bottom: 14px;
}

#trabalho .trabalho-card p {
  line-height: 1.85;
}

/* Card menor (texto curto) com letra um pouco maior para equilibrar a altura */
#trabalho .trabalho-tipos .col-lg-5 .trabalho-card p {
  font-size: 1.1rem;
}

/* Painel de sigilo e discrição */
#trabalho .trabalho-sigilo {
  margin-top: 56px;
  padding: 56px 56px 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f3eafc 100%);
  border: 1px solid var(--lilas-200);
  border-radius: 32px;
  box-shadow: var(--sombra);
}

#trabalho .trabalho-colunas {
  column-count: 2;
  column-gap: 56px;
  max-width: 980px;
  margin: 0 auto;
}

#trabalho .trabalho-colunas p {
  break-inside: avoid;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* Aviso em destaque */
#trabalho .trabalho-aviso {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 16px 22px;
  background: var(--lilas-100);
  border-left: 4px solid var(--lilas-600);
  border-radius: 12px;
  color: var(--plum-900);
  font-size: 1rem;
}

#trabalho .trabalho-aviso strong {
  color: var(--lilas-titulo);
}

/* Slider (dentro do container, 3 cards por vez, mesma altura) */
#trabalho .trabalho-slider {
  margin-top: 64px;
}

#trabalho .owl-stage {
  display: flex;
}

#trabalho .owl-item {
  display: flex;
  float: none;
}

#trabalho .owl-item > .box-shadow-hover {
  width: 100%;
}

/* Espaço dentro da área cortada pelo slider, para as sombras e o efeito de hover não serem cortados */
#trabalho .owl-stage-outer {
  padding: 16px 10px 30px;
  margin: -16px -10px -30px;
}

#trabalho .owl-carousel .box-shadow-hover h6 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

#trabalho .owl-carousel .box-shadow-hover p {
  line-height: 1.75;
}

#trabalho .owl-dots {
  margin-top: 24px;
}

@media (max-width: 991px) {
  #trabalho .trabalho-sigilo {
    padding: 40px 28px 32px;
  }

  #trabalho .trabalho-colunas {
    column-count: 1;
  }
}

@media (max-width: 575px) {
  #trabalho .trabalho-card {
    padding: 32px 24px 28px;
  }

  #trabalho .trabalho-sigilo {
    padding: 32px 20px 24px;
    border-radius: 24px;
  }
}

/* ---------- Rodapé ---------- */
.footer .footer-bottom {
  background: #ffffff;
}

.footer h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Telefones do rodapé: os dois com exatamente o mesmo estilo */
.footer .footer-whats {
  display: inline-block;
  color: var(--lilas-titulo) !important;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer .footer-whats:hover {
  color: var(--lilas-700) !important;
}

.footer .footer-whats i {
  margin-right: 6px;
}

/* =====================================================
   HERO (banner principal)
   ===================================================== */
#home .hero-row {
  min-height: 100vh;
  padding-top: 80px;
  padding-bottom: 24px;
}

#home .hero-texto {
  text-align: left;
}

#home .hero-selo {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 16px;
  background: var(--lilas-100);
  border: 1px solid var(--lilas-200);
  border-radius: 999px;
  color: var(--lilas-700);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
}

#home .hero-titulo {
  margin: 0 0 10px;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
}

#home .hero-sub {
  margin: 0 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  color: var(--plum-900);
}

#home .hero-desc {
  max-width: 640px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--texto);
}

#home .hero-preco {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  background: #ffffff;
  border: 1px solid var(--lilas-200);
  border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(94, 45, 150, 0.35);
  color: var(--plum-900);
  font-weight: 500;
}

#home .hero-preco strong {
  color: var(--lilas-titulo);
  font-weight: 700;
}

/* Botões de WhatsApp lado a lado */
#home .hero-botoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 640px;
  padding: 0;
}

#home .hero-botoes a.m-btn {
  flex: 1 1 260px;
  width: auto;
  min-width: 0;
  margin: 0;
}

/* Número do telefone numa linha própria, sem quebrar no meio */
#home .hero-botoes a.m-btn small {
  display: block;
  white-space: nowrap;
}

/* Foto central com a roda dos signos girando atrás, como uma órbita */
#home .hero-orbita {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

#home .hero-orbita::before {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 97, 209, 0.35) 0%, transparent 65%);
  z-index: 0;
}

#home .hero-orbita .roda-fortuna {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
  filter: drop-shadow(0 20px 40px rgba(94, 45, 150, 0.35));
}

/* Foto volta para cima do texto, em tamanho cheio */
#home .hero-texto .foto-topo {
  display: block;
  width: min(300px, 70%);
  height: auto;
  margin: 0 0 18px;
}

/* Telas menores: foto em cima, texto centralizado */
@media (max-width: 991px) {
  #home .hero-row {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  #home .hero-texto {
    text-align: center;
    margin-top: 24px;
  }

  #home .hero-desc,
  #home .hero-botoes {
    margin-left: auto;
    margin-right: auto;
  }

  #home .hero-texto .foto-topo {
    margin: 0 auto 18px;
  }

  #home .hero-orbita {
    width: min(340px, 86%);
    margin-top: 16px;
  }
}

/* =====================================================
   GALERIA - grid simples com fotos quadradas do mesmo tamanho
   ===================================================== */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.galeria-item {
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--sombra);
}

.galeria-item img {
  display: block;
  width: 100%;
  height: auto; /* anula o atributo height="600" da imagem */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 575px) {
  .galeria-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .galeria-item {
    border-radius: 14px;
  }
}

/* Nome "Mãe Maria" em destaque no topo do hero */
#home .hero-nome {
  margin: 0 0 6px;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(3rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1;
  color: var(--lilas-titulo);
  letter-spacing: 0.5px;
}

#home .hero-nome::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin-top: 8px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--lilas-600), var(--lilas-300));
}

@media (max-width: 991px) {
  #home .hero-nome::after {
    margin-left: auto;
    margin-right: auto;
  }
}
