/* Projeto Reconstruir - Ânima Produções */
:root {
  --color-navy: #0b1f33;
  --color-blue: #0f3c63;
  --color-gold: #b6862c;
  --color-gold-light: #e4c374;
  --color-burgundy: #6e1423;
  --color-teal: #84a4a9;
  --color-dark: #201c14;
  --color-grey: #605e5e;
  --color-light: #faf7f0;
  --color-white: #ffffff;
  --font-base: 'Inter', Arial, Helvetica, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-head: 'Space Grotesk', 'Inter', Arial, sans-serif;
  --max-width: 1200px;
  --radius: 10px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

main { padding-top: 118px; }
body.has-hero main { padding-top: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.4rem 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), padding var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(250, 248, 242, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(11, 31, 51, 0.08);
  box-shadow: 0 8px 30px rgba(11, 31, 51, 0.08);
  padding: 0.15rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
}

.logo img { height: 132px; width: auto; transition: height var(--transition); }
.site-header.scrolled .logo img { height: 84px; }

.main-nav ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
}

.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: var(--color-navy);
  position: relative;
  padding: 0.5rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--color-burgundy);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

.main-nav .nav-cta {
  background: var(--color-navy);
  color: #fff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { background: var(--color-burgundy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.8) 0%, rgba(110, 20, 35, 0.55) 100%);
}

.hero-content .eyebrow-cross {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-gold-light);
  font-family: var(--font-display);
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.hero-content .eyebrow-cross svg { width: 18px; height: 18px; fill: var(--color-gold-light); }

.hero-content {
  max-width: 720px;
  padding: 4rem 0;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 60ch;
}

.btn {
  display: inline-block;
  background: var(--color-blue);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid var(--color-blue);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn:hover { background: var(--color-navy); border-color: var(--color-navy); transform: translateY(-2px); }

.btn-gold {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-navy);
}
.btn-gold:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); color: var(--color-navy); }

.btn-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline:hover { background: #fff; color: var(--color-navy); }

/* Ornamental cross divider (Catholic identity) */
.divider-cross {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0 auto 2.5rem;
  color: var(--color-gold);
}
.divider-cross::before,
.divider-cross::after {
  content: "";
  height: 1px;
  width: 64px;
  background: linear-gradient(90deg, transparent, var(--color-gold-light));
}
.divider-cross::after { background: linear-gradient(90deg, var(--color-gold-light), transparent); }
.divider-cross svg { width: 22px; height: 22px; fill: var(--color-gold); }

/* Coming-soon banner (replaces fixed-date event card) */
.soon-banner {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(11, 31, 51, 0.15);
  border: 1px solid rgba(182, 134, 44, 0.25);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: -3.5rem auto 3rem;
  max-width: 820px;
  position: relative;
}
.soon-banner .soon-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.soon-banner .soon-icon svg { width: 26px; height: 26px; fill: var(--color-gold-light); }
.soon-banner h2 { color: var(--color-navy); font-size: 1.2rem; margin-bottom: 0.25rem; }
.soon-banner p { color: var(--color-grey); margin: 0; }

/* Sections */
section { padding: 4rem 0; }

.section-title {
  text-align: center;
  color: var(--color-navy);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-grey);
  max-width: 65ch;
  margin: 0 auto 3rem;
}

blockquote {
  max-width: 700px;
  margin: 0 auto 3rem;
  position: relative;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--color-navy);
  font-size: 1.25rem;
  border-left: 4px solid var(--color-gold);
  padding: 0.25rem 1.75rem;
  background: linear-gradient(90deg, rgba(182, 134, 44, 0.06), transparent 60%);
}
blockquote::before {
  content: "\271D";
  display: block;
  color: var(--color-gold);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
blockquote cite { display: block; margin-top: 0.75rem; font-style: normal; font-weight: 700; color: var(--color-burgundy); }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.module-card {
  background: var(--color-light);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 4px solid var(--color-gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.module-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(11, 31, 51, 0.12); }

.module-card .module-number {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-gold-light);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.module-card h3 { color: var(--color-navy); font-family: var(--font-display); margin-bottom: 1rem; font-size: 1.15rem; }

.module-card .topic { margin-bottom: 1rem; }
.module-card .topic h4 { font-size: 0.95rem; color: var(--color-burgundy); margin-bottom: 0.25rem; }
.module-card .topic ul { list-style: none; }
.module-card .topic li { padding-left: 1rem; position: relative; color: var(--color-grey); }
.module-card .topic li::before { content: "✝"; position: absolute; left: 0; font-size: 0.75rem; color: var(--color-gold); }

.module-card img { border-radius: var(--radius); margin-bottom: 1rem; aspect-ratio: 16/9; object-fit: cover; }

.cta-band {
  background: linear-gradient(160deg, var(--color-navy) 0%, var(--color-burgundy) 130%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "\271D";
  display: block;
  font-size: 1.8rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}
.cta-band h2 { margin-bottom: 1rem; font-family: var(--font-display); }
.cta-band p { margin-bottom: 2rem; max-width: 60ch; margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: #f0f0f0;
  padding: 3rem 0 1.5rem;
}

.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 4.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 134, 44, 0.18), transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.footer-brand img { height: 56px; width: auto; margin-bottom: 0.9rem; }
.footer-brand p { max-width: 32ch; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }

.footer-grid {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-grid h3 {
  color: var(--color-gold-light);
  margin-bottom: 1rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.65rem; }
.footer-grid a { color: rgba(255, 255, 255, 0.72); transition: color var(--transition); font-size: 0.95rem; }
.footer-grid a:hover { color: var(--color-gold-light); }

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
}

/* z1 standard footer badge */
footer.z1-footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.4);
  padding: 22px 8vw;
  font-size: 12.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 16px;
}

.z1-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, #1d1a34, #211d3c);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 8px 20px 8px 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.z1-badge:hover { border-color: rgba(140, 124, 246, 0.5); transform: translateY(-1px); }

.z1-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, #b9a6f7, #6f5ce6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.z1-divider { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.14); flex-shrink: 0; }

.z1-text { display: flex; flex-direction: column; gap: 1px; line-height: 1.35; }
.z1-text em { font-style: normal; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; color: #8b87a3; }
.z1-text b { font-size: 16px; font-weight: 800; background: linear-gradient(90deg, #c3b4fa, #8a7af0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.z1-text i { font-style: normal; font-size: 12.5px; font-weight: 500; color: #d3d0e2; }

@media (max-width: 640px) {
  footer.z1-footer { flex-direction: column; align-items: flex-start; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* Breadcrumb */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--color-grey);
}
.breadcrumb a { color: var(--color-blue); }

/* Utility */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 340px);
    background: var(--color-light);
    box-shadow: -8px 0 32px rgba(11, 31, 51, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    z-index: 150;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 6.5rem 2rem 2rem; }
  .main-nav a { display: block; width: 100%; padding: 0.9rem 0; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { margin-top: 0.75rem; text-align: center; }
  .nav-toggle { display: flex; }
  .soon-banner { flex-direction: column; text-align: center; margin-top: -3rem; }
  .logo img { height: 92px; }
  .site-header.scrolled .logo img { height: 68px; }
  main { padding-top: 96px; }
  .footer-top { flex-direction: column; }
}
