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

:root {
  --accent: #f5c518;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --text: #ffffff;
  --text-muted: #aaaaaa;
  --font: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--dark);
  color: var(--text);
  overflow-x: hidden;
}

.accent {
  color: var(--accent);
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 64px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.15);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
}

.nav-logo {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* hamburguer → X */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.35) 50%,
    rgba(0,0,0,0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

.hero-content p {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  line-height: 1;
}

.hero-arrow:hover {
  background: rgba(245, 197, 24, 0.7);
  border-color: var(--accent);
}

.hero-arrow.left { left: 2rem; }
.hero-arrow.right { right: 2rem; }

.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  padding: 0;
}

.hero-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 2px;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

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

/* ─── CARDS ─── */
.cards-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--dark2);
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3.5rem 2.5rem;
  gap: 1rem;
  border-right: 1px solid rgba(255,255,255,0.05);
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-color 0.3s;
}

.card:last-child {
  border-right: none;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 0;
  transition: background 0.3s;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card:nth-child(1) {
  background-image: url('image/WhatsApp Image 2026-03-28 at 19.15.51.jpeg');
}

.card:nth-child(2) {
  background-image: url('image/WhatsApp Image 2026-03-28 at 19.15.52.jpeg');
}

.card:nth-child(3) {
  background-image: url('image/WhatsApp Image 2026-03-28 at 19.15.58 (1).jpeg');
}

.card-featured::before {
  background: rgba(0,0,0,0.6);
}

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--accent);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  max-width: 240px;
}

.card:hover::before {
  background: rgba(0,0,0,0.3);
}

/* ─── VOLUNTÁRIOS ─── */
.volunteers-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  background-image: url('image/WhatsApp Image 2026-03-28 at 19.16.00 (1).jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.volunteers-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.volunteers-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.volunteers-content h2 {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.volunteers-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--dark3);
  border-top: 1px solid rgba(245, 197, 24, 0.15);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-phone {
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.footer-map iframe {
  border-radius: 4px;
  filter: grayscale(60%) invert(90%) contrast(90%);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.2rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ─── SHARED SECTION STYLES ─── */
.section-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(245, 197, 24, 0.5);
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* ─── QUEM SOMOS ─── */
.about-section {
  background: var(--dark);
  padding: 7rem 5%;
  overflow: hidden;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* mosaico de imagens */
.about-mosaic {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 180px;
  gap: 12px;
}

.mosaic-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  border-radius: 8px;
  overflow: hidden;
}

.mosaic-secondary {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mosaic-card {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
}

.about-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-mosaic img:hover {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(245, 197, 24, 0.35);
}

.badge-year {
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
}

.badge-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
  opacity: 0.75;
}

/* texto */
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
  line-height: 1.1;
}

.about-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.about-text strong {
  color: var(--text);
  font-weight: 700;
}

.about-vision {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1.4rem 0;
  background: rgba(245, 197, 24, 0.05);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.8;
}

.about-invite {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin-bottom: 1.5rem !important;
}

/* ─── DÍZIMO ─── */
.tithe-section {
  background: var(--dark2);
  padding: 7rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.tithe-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.tithe-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.tithe-text p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.tithe-verse {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  background: rgba(245, 197, 24, 0.05);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  line-height: 1.7;
}

.tithe-card {
  background: var(--dark3);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.tithe-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.tithe-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

/* QR + info lado a lado */
.tithe-pix-body {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.tithe-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.tithe-qr img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid rgba(245, 197, 24, 0.25);
  background: #fff;
  padding: 4px;
}

.tithe-qr span {
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.tithe-pix-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.tithe-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.tithe-pix-key {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
}

.tithe-pix-key span {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
  min-width: 0;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 4px;
  padding: 0.45rem 0.75rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.btn-copy svg {
  width: 13px;
  height: 13px;
}

.btn-copy:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #22c55e;
}

.tithe-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

.tithe-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}

.tithe-whatsapp svg {
  width: 20px;
  height: 20px;
  color: #22c55e;
  flex-shrink: 0;
}

.tithe-whatsapp:hover {
  color: var(--accent);
}

/* ══════════════════════════════
   RESPONSIVO — mobile-first
   Breakpoints:
   • ≤1024px  tablet landscape
   • ≤900px   tablet portrait / hamburger
   • ≤600px   mobile
   • ≤400px   mobile pequeno
   ══════════════════════════════ */

/* ── tablet landscape ── */
@media (max-width: 1024px) {
  .about-inner,
  .tithe-inner {
    gap: 3rem;
  }

  .about-mosaic {
    grid-template-rows: 200px 150px;
  }

  .nav-links {
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }
}

/* ── tablet portrait — hamburger entra aqui ── */
@media (max-width: 900px) {
  /* NAV */
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    padding: 2rem 0 2.5rem;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }

  .nav-toggle {
    display: flex;
  }

  /* HERO */
  .hero-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.6rem;
  }

  .hero-arrow.left { left: 1rem; }
  .hero-arrow.right { right: 1rem; }

  /* CARDS — coluna única */
  .cards-section {
    grid-template-columns: 1fr;
  }

  .card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 260px;
    padding: 2.5rem 2rem;
  }

  .card:last-child {
    border-bottom: none;
  }

  /* VOLUNTÁRIOS */
  .volunteers-section {
    background-attachment: scroll;
    min-height: 360px;
    padding: 4rem 5%;
  }

  /* ABOUT */
  .about-section {
    padding: 5rem 5%;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  /* mosaico sobe para antes do texto */
  .about-mosaic {
    order: -1;
    grid-template-rows: 240px 170px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .about-badge {
    bottom: -14px;
  }

  /* DÍZIMO */
  .tithe-section {
    padding: 5rem 5%;
  }

  .tithe-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .tithe-card {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  /* FOOTER */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }
}

/* ── mobile ── */
@media (max-width: 600px) {
  /* HERO */
  .hero-content h1 {
    letter-spacing: 2px;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.3rem;
  }

  .hero-arrow.left { left: 0.6rem; }
  .hero-arrow.right { right: 0.6rem; }

  /* ABOUT */
  .about-section {
    padding: 4rem 4%;
  }

  /* mosaico vira coluna única no mobile */
  .about-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 10px;
  }

  .mosaic-main {
    grid-row: auto;
    grid-column: auto;
    height: 200px;
  }

  .mosaic-secondary {
    flex-direction: row;
    height: 130px;
  }

  .mosaic-card {
    height: 100%;
  }

  .about-badge {
    position: static;
    transform: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    margin: 0.5rem auto 0;
    width: fit-content;
  }

  .badge-year {
    font-size: 1rem;
    display: inline;
  }

  .badge-label {
    font-size: 0.6rem;
    margin-top: 0;
    display: inline;
  }

  .about-text h2 {
    font-size: 1.8rem;
    letter-spacing: 3px;
  }

  /* DÍZIMO */
  .tithe-section {
    padding: 4rem 4%;
  }

  .tithe-pix-body {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .tithe-qr img {
    width: 140px;
    height: 140px;
  }

  .tithe-pix-info {
    width: 100%;
  }

  .tithe-pix-key {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .tithe-pix-key span {
    width: 100%;
    font-size: 0.78rem;
  }

  .btn-copy {
    width: 100%;
    justify-content: center;
    padding: 0.6rem;
  }

  /* FOOTER */
  .footer-inner {
    padding: 2.5rem 4%;
  }

  .footer-logo {
    font-size: 1.2rem;
    letter-spacing: 3px;
  }

  .footer-bottom {
    padding: 1rem 4%;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  /* VOLUNTÁRIOS */
  .volunteers-content h2 {
    letter-spacing: 1px;
  }
}

/* ── mobile muito pequeno ── */
@media (max-width: 400px) {
  .nav-logo {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .about-mosaic {
    gap: 8px;
  }

  .mosaic-main {
    height: 170px;
  }

  .mosaic-secondary {
    height: 110px;
  }

  .tithe-card {
    padding: 1.5rem;
  }

  .btn-primary,
  .btn-outline {
    font-size: 0.72rem;
    padding: 0.75rem 1.5rem;
    letter-spacing: 1.5px;
  }
}
