/* =========================================================
   Pai Luciel — Magia Luciferiana
   Estilo central do site (reutilizado em todas as páginas)
   ========================================================= */

:root {
  /* Paleta */
  --red-bright: #c20000;        /* faixa/ticker vermelho vivo */
  --red-dark:   #4a0000;        /* barra do cabeçalho (vinho escuro) */
  --red-darker: #2a0000;        /* tiras mais escuras */
  --title-red:  #6e0d0d;        /* títulos das seções */
  --gold:       #c9a24b;        /* detalhes dourados (místico) */

  --bg-dark:    #0a0a0a;        /* fundo do hero */
  --card-bg:    #ffffff;
  --text:       #2f2f2f;
  --text-soft:  #555;
  --muted:      #777;

  --wa-green:   #25d366;
  --wa-green-d: #1da851;

  --maxw: 1180px;
  --card-w: 820px;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .25);

  --font-title: 'Cinzel', 'Playfair Display', Georgia, serif;
  --font-body:  'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ---------- Reset enxuto ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background: #1c0202;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* =========================================================
   TOPO — ticker + navegação
   ========================================================= */
.ticker {
  background: var(--red-bright);
  color: #fff;
  text-align: center;
  font-size: .82rem;
  letter-spacing: .3px;
  padding: 7px 12px;
  font-weight: 500;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, var(--red-dark), var(--red-darker));
  box-shadow: 0 2px 14px rgba(0, 0, 0, .4);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  padding: 14px 18px;
  position: relative;
}
.nav__brand {
  position: absolute;
  left: 18px;
  font-family: var(--font-title);
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 1px;
  white-space: nowrap;
}
.nav__links {
  display: flex;
  gap: 30px;
  list-style: none;
}
.nav__links a {
  color: #f3e9e9;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--gold); border-color: var(--gold); }

.nav__toggle {
  position: absolute;
  right: 18px;
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 120px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(90, 0, 0, .55) 0%, rgba(10, 0, 0, .9) 55%, #050505 100%),
    repeating-linear-gradient(115deg, rgba(255,255,255,.012) 0 2px, transparent 2px 7px),
    #060606;
  overflow: hidden;
}
/* brilho/“fumaça” sutil */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 35% at 25% 30%, rgba(140, 20, 20, .28), transparent 70%),
    radial-gradient(45% 40% at 78% 65%, rgba(80, 10, 10, .30), transparent 70%);
  filter: blur(10px);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  to   { transform: translate3d(2%, 2%, 0) scale(1.06); }
}
.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.7rem, 4.4vw, 3.1rem);
  line-height: 1.18;
  max-width: 16ch;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .8);
}
.hero p {
  margin: 22px auto 34px;
  max-width: 620px;
  font-size: clamp(.95rem, 1.5vw, 1.08rem);
  color: #e9dede;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .8);
}
.scroll-cue {
  margin-top: 38px;
  font-size: 1.6rem;
  color: rgba(255, 255, 255, .8);
  animation: bob 1.8s ease-in-out infinite;
  cursor: pointer;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

/* =========================================================
   BOTÃO WHATSAPP
   ========================================================= */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(180deg, var(--wa-green), var(--wa-green-d));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 40px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  cursor: pointer;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 211, 102, .5); filter: brightness(1.05); }
.btn-wa:active { transform: translateY(0); }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; flex: none; }
.btn-wrap { text-align: center; margin: 14px 0 6px; }

/* =========================================================
   CARD DE CONTEÚDO
   ========================================================= */
.content {
  max-width: var(--card-w);
  margin: -70px auto 0;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 52px clamp(20px, 5vw, 60px) 60px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: var(--font-title);
  color: var(--title-red);
  text-align: center;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 700;
  margin-top: 14px;
}
.divider {
  width: 100%;
  max-width: 360px;
  margin: 14px auto 36px;
  border: 0;
  border-top: 2px dashed #c9b4b4;
}

/* Bloco serviço: imagem + texto */
.service {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: start;
  margin: 30px 0;
}
.service__img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
  background: #111;
}
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service__img:hover img { transform: scale(1.04); }

.service__body h3 {
  color: var(--title-red);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  font-family: var(--font-body);
  letter-spacing: .2px;
}
.service__body p { margin-bottom: 12px; color: var(--text-soft); }

/* =========================================================
   DEPOIMENTOS
   ========================================================= */
.depo-intro { text-align: center; color: var(--text-soft); margin-bottom: 26px; }
.depo-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-snap-type: x mandatory;
}
.depo-gallery::-webkit-scrollbar { height: 8px; }
.depo-gallery::-webkit-scrollbar-thumb { background: #d7c4c4; border-radius: 8px; }
.depo-gallery figure {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  cursor: zoom-in;
  background: #eee;
}
.depo-gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
  transition: transform .4s ease;
}
.depo-gallery figure:hover img { transform: scale(1.05); }

/* =========================================================
   ATENÇÃO / lista
   ========================================================= */
.attn { margin-top: 30px; }
.attn strong { display: block; margin-bottom: 8px; color: var(--text); }
.attn ul { margin: 0 0 18px 20px; color: var(--text-soft); }
.attn li { margin-bottom: 6px; }
.attn .more { font-weight: 600; letter-spacing: .5px; color: var(--text); }

/* =========================================================
   PÁGINA DE POLÍTICA
   ========================================================= */
.policy p { margin-bottom: 14px; }
.policy h3 {
  color: var(--title-red);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 26px 0 10px;
}
.policy-list { list-style: none; margin: 0 0 14px; padding: 0; }
.policy-list li { margin-bottom: 8px; }

/* =========================================================
   RODAPÉ
   ========================================================= */
.foot-strip {
  background: var(--red-bright);
  color: #fff;
  text-align: center;
  padding: 16px 14px;
  font-size: .85rem;
  margin-top: 60px;
}
.foot-strip a { text-decoration: underline; }
.foot-dark { background: var(--red-darker); height: 60px; }

/* =========================================================
   BOTÃO FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
  z-index: 200;
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* =========================================================
   LIGHTBOX (depoimentos)
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 92vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }

/* =========================================================
   ANIMAÇÃO DE ENTRADA (scroll reveal)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .scroll-cue, .wa-float { animation: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 760px) {
  .nav__brand { display: none; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: var(--red-darker);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav__links.open { max-height: 320px; }
  .nav__links a { display: block; width: 100%; text-align: center; padding: 14px; border-bottom: 1px solid rgba(255,255,255,.08); }

  .content { margin-top: -40px; border-radius: 14px 14px 0 0; padding: 36px 20px 44px; }
  .service { grid-template-columns: 1fr; gap: 16px; }
  .service__img { max-width: 320px; margin: 0 auto; }
  .service__body { text-align: left; }
  .depo-gallery figure { width: 180px; }
  .depo-gallery img { height: 250px; }
}

/* =========================================================
   BLOG (índice) + ARTIGO
   ========================================================= */
.blog-hero {
  background: radial-gradient(120% 90% at 50% 0%, rgba(90,0,0,.55) 0%, #0a0a0a 65%, #050505 100%);
  color: #fff; text-align: center; padding: 56px 20px 42px;
}
.blog-hero h1 { font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3rem); }
.blog-hero p { color: #e6dcdc; margin-top: 10px; }

.blog-wrap { max-width: 1080px; margin: 38px auto 52px; padding: 0 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card {
  background: #fff; border-radius: 14px; overflow: hidden; color: var(--text);
  box-shadow: 0 12px 34px rgba(0,0,0,.22); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,.32); }
.post-card__img { height: 184px; overflow: hidden; background: #eee; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { color: #b58b32; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.post-card h2 { font-family: var(--font-title); color: var(--title-red); font-size: 1.24rem; margin: 8px 0 10px; line-height: 1.25; }
.post-card p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.post-card__more { color: var(--title-red); font-weight: 700; font-size: .9rem; margin-top: 14px; }
.blog-empty {
  background: #fff; border-radius: 14px; padding: 54px 24px; text-align: center;
  color: var(--text-soft); box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.article {
  max-width: 760px; margin: 36px auto 52px; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow); padding: 42px clamp(20px,5vw,56px) 48px; color: var(--text);
}
.article__back { color: var(--title-red); font-weight: 600; font-size: .9rem; text-decoration: none; }
.article__back:hover { text-decoration: underline; }
.article__title { font-family: var(--font-title); color: var(--title-red); line-height: 1.2; margin: 16px 0 8px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.article__date { color: var(--muted); font-size: .85rem; margin-bottom: 22px; }
.article__cover { border-radius: 12px; overflow: hidden; margin-bottom: 26px; }
.article__cover img { width: 100%; display: block; }
.article__body { color: #333; line-height: 1.8; font-size: 1.05rem; }
.article__body h2 { font-family: var(--font-title); color: var(--title-red); font-size: 1.5rem; margin: 30px 0 12px; }
.article__body h3 { color: var(--title-red); font-size: 1.2rem; margin: 24px 0 10px; }
.article__body p { margin-bottom: 16px; }
.article__body ul, .article__body ol { margin: 0 0 16px 22px; }
.article__body li { margin-bottom: 8px; }
.article__body img { max-width: 100%; border-radius: 10px; margin: 18px 0; }
.article__body a { color: #0a66c2; text-decoration: underline; }
.article__body blockquote { border-left: 4px solid var(--gold); margin: 18px 0; padding: 6px 18px; color: #555; background: #faf6ec; border-radius: 0 8px 8px 0; }
.article__cta { margin-top: 34px; padding-top: 26px; border-top: 2px dashed #d9c7c7; text-align: center; }
.article__cta p { color: var(--text-soft); margin-bottom: 14px; font-weight: 600; }

@media (max-width: 760px) {
  .article { margin-top: 18px; border-radius: 14px 14px 0 0; padding: 30px 20px 38px; }
}
