/* ==========================================================================
   24º Jesus te Chama — Folha de Estilo Principal (Mobile First)
   Paleta e atmosfera inspiradas diretamente na arte oficial do evento:
   "É necessário nascer de novo" (João 3,7)
   ========================================================================== */

:root {
  /* Cores extraídas da arte oficial (céu de alvorada + luz dourada do nascer do sol) */
  --bg-deep: #061224;
  --bg-night: #091b34;
  --bg-horizon: #11284a;
  --bg-card: rgba(11, 27, 51, 0.78);
  --bg-card-strong: rgba(8, 20, 39, 0.9);

  --gold-primary: #f4c36d;
  --gold-soft: #f7d99c;
  --amber-glow: #e87d2e;
  --ivory-warm: #f8efe2;

  --text-main: #f8f5f0;
  --text-secondary: #d7cfc3;
  --text-muted: #9fb0c7;

  --border-subtle: rgba(244, 195, 109, 0.22);
  --border-strong: rgba(244, 195, 109, 0.45);

  --whatsapp-green: #25d366;
  --whatsapp-green-dark: #1da851;

  --font-serif: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-soft: 0 14px 36px rgba(2, 8, 18, 0.55);
  --shadow-glow: 0 8px 32px rgba(232, 125, 46, 0.18);
}

/* Reset enxuto e seguro */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

body {
  font-family: var(--font-sans);
  line-height: 1.55;
  color: var(--text-main);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(232, 125, 46, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, #071936 0%, #091d3a 35%, #071326 75%, #050d1a 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-soft);
}

/* Acessibilidade */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--gold-primary);
  color: #061224;
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* Containers */
.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.narrow-container {
  max-width: 680px;
}

/* ==========================================================================
   SEÇÃO 1 — ABERTURA (Mobile First)
   ========================================================================== */
.hero {
  position: relative;
  padding: 12px 0 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(244, 195, 109, 0.12);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 24%, rgba(244, 195, 109, 0.18) 0%, rgba(232, 125, 46, 0.1) 38%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.hero-top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(9, 25, 49, 0.85);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-glow);
  box-shadow: 0 0 8px var(--gold-primary);
}

.pill-sep {
  opacity: 0.55;
}

.hero-art-frame {
  width: 100%;
  max-width: 760px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  background-color: #07162c;
}

.hero-art-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hero-eyebrow {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 5.2vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ivory-warm);
  text-wrap: balance;
}

.hero-title-accent,
.text-accent {
  color: var(--gold-primary);
  font-style: italic;
}

.hero-text {
  font-size: 1rem;
  color: var(--text-main);
  max-width: 52ch;
  line-height: 1.5;
}

.hero-text strong,
.section-subtitle strong,
.closing-text strong {
  color: var(--ivory-warm);
  font-weight: 600;
}

.hero-welcome {
  font-family: var(--font-serif);
  font-size: clamp(1.06rem, 3.8vw, 1.25rem);
  font-style: italic;
  font-weight: 600;
  color: var(--gold-soft);
  max-width: 40ch;
  line-height: 1.4;
}

/* Grade de Informações (Datas, Local, Para quem) */
.hero-info-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.hero-info-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.hero-info-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.info-label {
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
}

.info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  text-align: right;
}

/* Indicação visual discreta para descer até o vídeo */
.hero-scroll-cue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(244, 195, 109, 0.12);
  border: 1px solid var(--border-strong);
  color: var(--ivory-warm);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-scroll-cue:hover {
  background: rgba(244, 195, 109, 0.2);
  color: #ffffff;
  transform: translateY(2px);
}

.scroll-arrow {
  display: inline-block;
  color: var(--gold-primary);
  font-weight: 700;
  animation: gentleBounce 2.2s infinite ease-in-out;
}

@keyframes gentleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(4px);
  }
}

/* ==========================================================================
   SEÇÕES GERAIS
   ========================================================================== */
.section {
  padding: 16px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.22;
  color: var(--ivory-warm);
  margin-bottom: 6px;
  text-wrap: balance;
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.48;
}

.section-play-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.play-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
}

/* ==========================================================================
   SEÇÃO 2 — EXPERIÊNCIA
   ========================================================================== */
.intro-section {
  padding-top: 16px;
  padding-bottom: 10px;
}

.intro-card {
  padding: 20px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(14, 34, 64, 0.85) 0%, rgba(8, 20, 39, 0.92) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.intro-title {
  margin-bottom: 2px;
}

.intro-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.intro-lead strong,
.intro-bridge strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.intro-bridge {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ivory-warm);
  line-height: 1.48;
}

/* ==========================================================================
   SEÇÃO 3 — VÍDEO DA EQUIPE
   ========================================================================== */
.testimonials-section {
  padding-top: 12px;
  padding-bottom: 16px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card-strong);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card.is-playing {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-soft), 0 0 26px rgba(244, 195, 109, 0.22);
}

.testimonial-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.testimonial-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(232, 125, 46, 0.18);
  border: 1px solid rgba(244, 195, 109, 0.3);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-person {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ivory-warm);
  line-height: 1.25;
}

.testimonial-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.video-wrapper {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #030811;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-video {
  width: 100%;
  max-height: 74vh;
  margin: 0 auto;
  display: block;
  background-color: #030811;
  cursor: pointer;
}

.testimonial-caption {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 0 4px;
}

/* ==========================================================================
   SEÇÃO 3.5 — MÚSICA TEMA DO RETIRO
   ========================================================================== */
.music-section {
  padding-top: 8px;
  padding-bottom: 12px;
}

.music-card {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(14, 34, 64, 0.88) 0%, rgba(8, 20, 39, 0.94) 100%);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.music-card.is-playing {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-soft), 0 0 26px rgba(244, 195, 109, 0.22);
}

.music-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(232, 125, 46, 0.18);
  border: 1px solid rgba(244, 195, 109, 0.32);
  color: var(--gold-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.music-title {
  margin-bottom: 0;
}

.music-track-info {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.music-track-info strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.music-player-box {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.music-play-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-primary) 0%, #e5a948 100%);
  color: #061224;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(244, 195, 109, 0.25);
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.music-play-btn:hover,
.music-play-btn:focus-visible {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-primary) 100%);
  color: #061224;
  transform: translateY(-1px);
}

.music-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.music-audio {
  width: 100%;
  height: 40px;
  border-radius: 999px;
  outline: none;
}

/* ==========================================================================
   SEÇÃO 4 — ENCERRAMENTO E COMPARTILHAMENTO
   ========================================================================== */
.closing-section {
  padding-top: 10px;
  padding-bottom: 32px;
}

.closing-card {
  position: relative;
  padding: 22px 18px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 125, 46, 0.2) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13, 33, 62, 0.94) 0%, rgba(6, 17, 34, 0.98) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-soft), var(--shadow-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.closing-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 4.6vw, 1.95rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ivory-warm);
  text-wrap: balance;
}

.closing-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.closing-highlight {
  font-family: var(--font-serif);
  font-size: clamp(1.06rem, 3.8vw, 1.22rem);
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1.35;
}

.closing-highlight strong {
  color: var(--gold-primary);
  font-weight: 700;
}

/* Botões de Ação */
.closing-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.btn {
  width: 100%;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.99);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary,
a.btn-primary,
a.btn-primary:visited {
  background: linear-gradient(135deg, var(--gold-primary) 0%, #e5a948 100%);
  color: #061224 !important;
  box-shadow: 0 6px 20px rgba(244, 195, 109, 0.28);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
  background: linear-gradient(135deg, var(--gold-soft) 0%, var(--gold-primary) 100%);
  color: #061224 !important;
  transform: translateY(-1px);
}

.btn-primary span,
.btn-primary svg,
.btn-primary:hover span,
.btn-primary:hover svg {
  color: #061224 !important;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ivory-warm);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: rgba(244, 195, 109, 0.14);
}

.share-feedback {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-primary);
  background: rgba(244, 195, 109, 0.12);
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.whatsapp-notice {
  font-size: 0.88rem;
  color: var(--ivory-warm);
  background: rgba(232, 125, 46, 0.16);
  border: 1px solid var(--border-strong);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.site-footer {
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 20, 0.85);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer-brand {
  font-size: 0.9rem;
  color: var(--gold-soft);
}

.footer-privacy-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 520px;
}

.footer-links {
  margin-top: 2px;
  font-size: 0.82rem;
}

.footer-link {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   PÁGINA DE PRIVACIDADE (privacidade.html)
   ========================================================================== */
.privacy-page {
  padding: 36px 0 56px;
}

.privacy-card {
  padding: 28px 22px;
  border-radius: var(--radius-lg);
  background: var(--bg-card-strong);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.privacy-card h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.3rem);
  color: var(--gold-primary);
  line-height: 1.2;
}

.privacy-card h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--ivory-warm);
  margin-top: 8px;
}

.privacy-card p,
.privacy-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.privacy-card ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   MEDIA QUERIES — TABLET E DESKTOP
   ========================================================================== */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .hero {
    padding: 22px 0 32px;
  }

  .hero-info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 16px 20px;
  }

  .hero-info-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 0;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 12px;
  }

  .hero-info-item:last-child {
    border-right: none;
    padding-right: 0;
  }

  .info-value {
    text-align: center;
  }

  .intro-section {
    padding-top: 24px;
    padding-bottom: 16px;
  }

  .intro-card {
    padding: 28px 32px;
    gap: 12px;
  }

  .testimonials-section {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .testimonial-card {
    padding: 20px 22px 22px;
  }

  .testimonial-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .testimonial-badge {
    order: 2;
  }

  .closing-section {
    padding-top: 16px;
    padding-bottom: 44px;
  }

  .closing-card {
    padding: 32px 34px;
    gap: 14px;
  }

  .closing-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .closing-actions .btn {
    flex: 1 1 240px;
    max-width: 340px;
  }

  .closing-actions .share-feedback,
  .closing-actions .whatsapp-notice {
    flex: 1 1 100%;
  }
}

/* Redução de movimento para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
