/* ============================================================
   Consagração Total a Jesus pelas Mãos de Maria — Página Online
   Obra Refúgio de Maria
   ============================================================ */

:root {
  --vermelho-profundo: #8C1A1A;
  --vermelho-vivo: #C1272D;
  --dourado: #D4AF37;
  --dourado-escuro: #B8952C;
  --branco-perolado: #F8F8F4;
  --bege-suave: #E7D9C4;
  --rosa-terroso: #A65353;
  --texto-escuro: #3A2A1E;

  --fonte-titulo: 'Libre Baskerville', Georgia, serif;
  --fonte-subtitulo: 'Montserrat', 'Segoe UI', sans-serif;
  --fonte-apoio: 'Source Sans 3', 'Source Sans Pro', sans-serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: var(--bege-suave);
  color: var(--texto-escuro);
  font-family: var(--fonte-apoio);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--fonte-titulo);
  line-height: 1.25;
  margin: 0 0 18px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--vermelho-profundo);
  text-align: center;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--vermelho-profundo);
}

p {
  font-family: var(--fonte-subtitulo);
  font-size: 1.05rem;
}

.eyebrow {
  font-family: var(--fonte-apoio);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 28px;
  width: fit-content;
}
.divider-ornament::before,
.divider-ornament::after {
  content: "";
  width: 46px;
  height: 1px;
  background: var(--dourado);
}
.divider-ornament span {
  color: var(--dourado-escuro);
  font-size: 1.1rem;
}

/* Botões CTA */
.btn-cta {
  display: inline-block;
  background: var(--dourado);
  color: var(--vermelho-profundo);
  font-family: var(--fonte-subtitulo);
  font-weight: 700;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 50px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 20px rgba(140, 26, 26, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 2px solid transparent;
}
.btn-cta:hover {
  transform: translateY(-2px);
  background: var(--dourado-escuro);
  box-shadow: 0 12px 26px rgba(140, 26, 26, 0.24);
}
.btn-cta.btn-large {
  padding: 20px 52px;
  font-size: 1.25rem;
}
.btn-cta.btn-outline {
  background: transparent;
  color: var(--branco-perolado);
  border: 2px solid var(--dourado);
}
.btn-cta.btn-outline:hover {
  background: var(--dourado);
  color: var(--vermelho-profundo);
}

.cta-wrap { text-align: center; margin-top: 30px; }

/* ---------- HEADER ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 22px 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header img {
  width: 92px;
  height: 92px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(180deg, rgba(140,26,26,0.78) 0%, rgba(140,26,26,0.55) 45%, rgba(58,42,30,0.85) 100%),
    url('img/nossa-senhora-guadalupe.jpg');
  background-size: cover;
  background-position: center 20%;
  text-align: center;
  padding: 140px 0 80px;
}
.hero-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero .eyebrow { color: var(--dourado); }
.hero h1 {
  color: var(--branco-perolado);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin: 14px 0 22px;
}
.hero p.lead {
  color: var(--bege-suave);
  font-family: var(--fonte-subtitulo);
  font-weight: 700;
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto 12px;
}

/* Box de destaque - curso de preparação */
.info-box {
  background: var(--branco-perolado);
  border: 2px solid var(--dourado);
  border-radius: 16px;
  max-width: 560px;
  margin: 36px auto 0;
  padding: 30px 34px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}
.info-box h3 {
  text-align: center;
  margin-bottom: 16px;
}
.info-box ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}
.info-box li {
  font-family: var(--fonte-subtitulo);
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px dashed var(--bege-suave);
  color: var(--texto-escuro);
}
.info-box li:last-child { border-bottom: none; }
.info-box li strong { color: var(--vermelho-profundo); }

/* ---------- SECTION GENERIC ---------- */
section { padding: 88px 0; }

.section-claro { background: var(--branco-perolado); }
.section-bege { background: var(--bege-suave); }

.section-escuro {
  background: var(--vermelho-profundo);
  color: var(--branco-perolado);
}
.section-escuro h2 { color: var(--branco-perolado); }
.section-escuro .divider-ornament::before,
.section-escuro .divider-ornament::after { background: var(--dourado); }
.section-escuro p { color: var(--bege-suave); }

.section-intro {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

/* Checklist "Como funciona" */
.checklist {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 18px;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--fonte-subtitulo);
  font-size: 1.05rem;
  color: var(--branco-perolado);
  background: rgba(248,248,244,0.06);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 12px;
  padding: 16px 20px;
}
.checklist li .check {
  color: var(--dourado);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 2px;
}

/* Bloco imagem + texto (exército) */
.split-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  max-width: 980px;
  margin: 64px auto 0;
}
.split-block img {
  border-radius: 14px;
  border: 3px solid var(--dourado);
  box-shadow: 0 18px 38px rgba(0,0,0,0.35);
}
.split-block .split-text h3 {
  color: var(--dourado);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
}
.split-block .split-text p {
  color: var(--bege-suave);
  font-size: 1.1rem;
}

/* Requisitos */
.requisitos-list {
  max-width: 700px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 14px;
}
.requisitos-list li {
  position: relative;
  padding-left: 34px;
  font-family: var(--fonte-subtitulo);
  font-size: 1.05rem;
}
.requisitos-list li::before {
  content: "✚";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--vermelho-vivo);
  font-size: 1.1rem;
}

/* Etapas do curso - timeline */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 46px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--dourado), var(--vermelho-profundo));
}
.timeline-step {
  position: relative;
  padding-bottom: 34px;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step .num {
  position: absolute;
  left: -46px;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dourado);
  color: var(--vermelho-profundo);
  font-family: var(--fonte-titulo);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(140,26,26,0.25);
}
.timeline-step p {
  margin: 0;
  font-family: var(--fonte-subtitulo);
  font-size: 1.05rem;
  padding-top: 4px;
}

/* Box destaque - Onde é feita a Consagração */
.highlight-box {
  background: var(--rosa-terroso);
  color: var(--branco-perolado);
  border-radius: 20px;
  max-width: 860px;
  margin: 0 auto;
  padding: 56px 48px;
  text-align: center;
}
.highlight-box h2 { color: var(--branco-perolado); }
.highlight-box p {
  color: var(--branco-perolado);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Materiais */
.materiais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
}
.material-card {
  background: var(--branco-perolado);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(140,26,26,0.12);
  display: flex;
  flex-direction: column;
}
.material-card .capa {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bege-suave);
}
.material-card .capa img,
.material-card .capa.placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.material-card .capa.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-family: var(--fonte-titulo);
  color: var(--vermelho-profundo);
  background: linear-gradient(160deg, var(--bege-suave), var(--dourado) 220%);
}
.material-card .info {
  padding: 24px 26px 28px;
}
.material-card h3 { font-size: 1.15rem; }
.material-card p {
  font-size: 0.98rem;
  color: var(--texto-escuro);
}
.materiais-loja {
  text-align: center;
  margin-top: 36px;
  font-family: var(--fonte-subtitulo);
}
.materiais-loja a {
  color: var(--vermelho-profundo);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--dourado);
}

/* CTA final grande */
.section-final {
  background: linear-gradient(160deg, var(--vermelho-profundo), var(--vermelho-vivo));
  color: var(--branco-perolado);
  text-align: center;
}
.section-final h2 { color: var(--branco-perolado); }
.section-final p {
  color: var(--bege-suave);
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
}

/* Saiba mais / Sobre a Obra */
.sobre-obra {
  background: var(--bege-suave);
}
.sobre-obra .container { max-width: 880px; }
.sobre-obra p { font-size: 1rem; }
.sobre-obra .missao-carisma {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 32px 0 36px;
}
.mc-card {
  background: var(--branco-perolado);
  border-left: 4px solid var(--dourado);
  border-radius: 10px;
  padding: 22px 26px;
}
.mc-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.mc-card p { font-size: 0.97rem; margin: 0; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--texto-escuro);
  color: var(--bege-suave);
  text-align: center;
  padding: 40px 0;
}
.site-footer img {
  width: 56px;
  margin: 0 auto 14px;
}
.site-footer p {
  font-family: var(--fonte-apoio);
  font-size: 0.85rem;
  color: rgba(248,248,244,0.65);
  margin: 4px 0;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 820px) {
  .split-block { grid-template-columns: 1fr; }
  .split-block img { max-width: 340px; margin: 0 auto; }
  .materiais-grid { grid-template-columns: 1fr; }
  .sobre-obra .missao-carisma { grid-template-columns: 1fr; }
  .highlight-box { padding: 40px 26px; }
  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .info-box { padding: 24px 20px; margin-left: 16px; margin-right: 16px; }
  .btn-cta { padding: 14px 28px; font-size: 0.98rem; }
  .btn-cta.btn-large { padding: 18px 34px; font-size: 1.1rem; }
}
