/* ===== TOKENS — Torre de Vigia ===== */
/*   Laranja  #F07020  |  Creme  #FAEDCC  |  Escuro  #1C1A18  */
:root {
  --orange: #F07020;
  /* cor primária do logo             */
  --orange-dark: #C8580A;
  /* hover / variante escura          */
  --orange-light: #FDE8D0;
  /* fundo sutil laranja              */
  --cream: #FAEDCC;
  /* símbolo creme do logo            */
  --dark: #1C1A18;
  /* charcoal profundo                */
  --dark2: #2D2926;
  /* seções escuras                   */
  --grey-bg: #F4F1EC;
  /* seções alternadas (parchment)    */
  --white: #FFFFFF;
  --text-dark: #1C1A18;
  --text-mid: #3D3530;
  --text-muted: #6E6258;

  --font-head: 'Exo 2', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --nav-h: 70px;
  --max-w: 1160px;
  --trans: 0.25s ease;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== LAYOUT ===== */
.container {
  width: min(var(--max-w), 94vw);
  margin-inline: auto;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.two-col.reverse .info-image {
  order: -1;
}

/* Otimização de Renderização - Apenas para seções abaixo da dobra */
section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 500px;
}

/* ===== NAV ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--orange);
  transition: box-shadow var(--trans);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 94vw);
  margin-inline: auto;
  height: var(--nav-h);
}

/* brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--dark);
}

/* if real logo.png exists → show it; else fallback to svg+text */
.nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-icon {
  width: 38px;
  height: 38px;
  color: var(--orange);
  flex-shrink: 0;
}

.brand-name {
  color: var(--dark);
}

.brand-name span {
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-dark);
  transition: color var(--trans);
}

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

.nav-cta {
  background: var(--orange);
  padding: .6rem 1.25rem;
  border-radius: var(--radius);
}

/* Maior especificidade para sobrepor .nav-links a */
.nav-links .nav-cta {
  color: var(--white);
  transition: background var(--trans);
}

.nav-links .nav-cta:hover {
  background: var(--orange-dark);
  color: var(--white);
}

/* ===== FLOATING LANGUAGE SWITCHER ===== */
.fab-lang {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 9999; /* Garante que fique acima de tudo */
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  pointer-events: auto;
}

.fab-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(240, 112, 32, 0.45);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.fab-btn:hover {
  background: var(--orange-dark);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 30px rgba(240, 112, 32, 0.6);
}

.fab-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.2);
  padding: 0.75rem 0;
  min-width: 190px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
  overflow: hidden;
}

.fab-lang.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab-menu li a {
  display: block;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dark) !important;
  font-family: var(--font-body);
  font-weight: 600;
  transition: all var(--trans);
  text-decoration: none;
  border-left: 3px solid transparent;
}

.fab-menu li a:hover {
  background: var(--orange-light);
  color: var(--orange) !important;
  border-left-color: var(--orange);
  padding-left: 1.75rem;
}

.fab-menu li a.active {
  background: rgba(240, 112, 32, 0.05);
  color: var(--orange) !important;
  font-weight: 800 !important;
  border-left-color: var(--orange);
}

@media (max-width: 768px) {
  .fab-lang {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .fab-btn {
    width: 54px;
    height: 54px;
  }
}


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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--trans);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/mission.png') center/cover no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 26, 24, .92) 0%, rgba(240, 112, 32, .55) 100%);
  z-index: 1;
}

/* Two-column hero layout */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  animation: fadeUp .8s ease-out both;
}

.hero-text {
  color: var(--white);
}

.hero-tag {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 1.75rem;
  min-height: 3.65em; /* Reservar espaço para até 3 linhas de texto (evita CLS) */
}

.hero-title.hero-title-flex {
  display: flex;
  align-items: center;
}

.hero-title-accent {
  color: var(--orange);
}

.hero-sub {
  font-style: italic;
  font-size: clamp(.9rem, 1.6vw, 1.08rem);
  color: rgba(255, 255, 255, .7);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Logo no hero */
.hero-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-img {
  width: clamp(220px, 32vw, 380px);
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 0 60px rgba(240, 112, 32, .45),
    0 24px 64px rgba(0, 0, 0, .5);
  animation: logoFloat 4s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 1rem 2.25rem;
  border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans);
}

.btn-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, .7);
  color: var(--white);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: background var(--trans), border-color var(--trans);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: var(--white);
}

.btn-ghost-alt {
  display: inline-block;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  transition: all var(--trans);
  cursor: pointer;
}

.btn-ghost-alt:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== AUTHORITY BAR ===== */
.authority-bar {
  background: var(--orange);
  color: var(--white);
  padding: .9rem 0;
}

.authority-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.bar-divider {
  opacity: .45;
}

/* ===== SECTION UTILITIES ===== */
.section-alt {
  background: var(--grey-bg);
}

.section-dark {
  background: var(--dark2);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-eyebrow {
  color: var(--white);
}

.section-eyebrow {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}

.section-eyebrow.light {
  color: var(--cream);
}

.section-title-center {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-align: center;
  color: var(--dark);
  margin-bottom: 2rem;
}

.section-title-center.light {
  color: var(--white);
}

.section-desc-center {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

/* ===== VÍDEO PRINCIPAL ===== */
.section-video {
  padding: 5rem 0;
  text-align: center;
}

.video-main-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  box-shadow: 0 12px 48px rgba(240, 112, 32, .25);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 2rem;
}

.video-main-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ===== MAPA E ESTRATÉGIA ===== */
/* ===== MAPA E ESTRATÉGIA ===== */
.section-mapa { 
  padding: 6rem 0; 
  text-align: center;
  background: #fcfaf2; /* Fundo sólido para evitar conflitos de renderização */
}

.map-embed-wrap {
  width: 100%; 
  height: auto; 
  min-height: 300px; 
  overflow: visible; 
  margin: 3rem auto;
  background: transparent; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  max-width: 850px; /* Reduzindo um pouco para foco central */
}

.map-embed-wrap img.map-img {
  width: 100%; height: auto; display: block;
  max-height: 600px;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 15px 45px rgba(0,0,0,0.15));
}

.strategy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin: 4rem auto 0;
  text-align: left;
  max-width: 1000px; /* Limite para não espalhar demais em telas ultra-wide */
}

.strategy-item {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  border-top: 4px solid var(--orange); /* Destaque no topo em vez de borda lateral */
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.strategy-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.strategy-item h3 {
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  text-transform: none; /* Mais moderno sem ser all-caps */
  letter-spacing: -0.02em;
  font-weight: 800;
}

.strategy-item p {
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 1rem;
  margin: 0;
}

.strategy-footer {
  margin: 5rem auto;
  padding: 3rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
  text-align: center;
  max-width: 800px;
  position: relative;
}

.strategy-footer p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
  font-style: italic;
  font-family: var(--font-head);
  font-weight: 500;
}

.map-cta-wrap {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .strategy-grid { max-width: 700px; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section-mapa { padding: 4rem 1.25rem; }
  .strategy-item { padding: 2rem; }
  .strategy-footer { padding: 2rem; margin: 4rem 1rem; }
  .strategy-footer p { font-size: 1.1rem; }
}

/* ===== GRID DE VÍDEOS (2×2) ===== */
.section-videos-grid {
  padding: 5rem 0;
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.video-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  transition: transform var(--trans), box-shadow var(--trans);
}

.video-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .18);
}

.video-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== INFO SECTIONS ===== */
.section-info {
  padding: 5.5rem 0;
}

.info-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.info-body {
  font-size: .98rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.info-body strong {
  color: var(--dark);
}

.info-body.mt {
  margin-top: 1.25rem;
  font-style: italic;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin: 1.25rem 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: .04rem;
}

.negation-list li::before {
  content: '✕';
  color: #c00;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 36px rgba(0, 0, 0, .14);
}

.scripture {
  border-left: 4px solid var(--orange);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--orange-light);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--text-mid);
  line-height: 1.7;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.scripture cite {
  display: block;
  margin-top: .6rem;
  font-style: normal;
  font-weight: 700;
  font-size: .82rem;
  color: var(--orange);
}

.info-emphasis {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--dark);
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.55;
  border-radius: var(--radius);
}

/* ===== SCRIPTURE / VIGIAS SECTION ===== */
.section-scripture {
  background: var(--dark2);
  color: var(--white);
  padding: 6rem 0;
  text-align: center;
}

.scripture-hero {
  max-width: 760px;
  margin: 2rem auto 3rem;
  font-style: italic;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.55;
  color: var(--cream);
}

.scripture-hero cite {
  display: block;
  margin-top: .75rem;
  font-style: normal;
  font-weight: 700;
  font-size: .82rem;
  color: var(--orange);
}

.vigias-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.vigia-item {
  background: rgba(255, 255, 255, .06);
  padding: 1.25rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--orange);
  font-size: .92rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: .65rem;
}

.vigia-item span {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ===== EVENTO ===== */
.section-evento {
  padding: 5.5rem 0;
}

.evento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

.evento-block {
  margin-bottom: 2rem;
}

.evento-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--orange);
  margin-bottom: .9rem;
}

.evento-venue {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .4rem;
}

.evento-block p {
  font-size: .9rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.7;
}

.map-link {
  color: var(--orange);
  text-decoration: underline;
  font-size: .88rem;
  display: inline-block;
  margin-top: .4rem;
}

.map-link:hover {
  color: var(--cream);
}

.evento-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: .5rem;
}

.evento-table td {
  padding: .55rem 0;
  font-size: .9rem;
  color: rgba(255, 255, 255, .8);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.evento-table td:last-child {
  text-align: right;
  color: var(--orange);
  font-weight: 700;
}

/* Especificidade maior que .evento-block p para não precisar de !important */
.evento-block .evento-note {
  margin-top: .9rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .4);
}

.evento-col>h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

/* ===== SPEAKERS ===== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.speaker {
  text-align: center;
}

.speaker img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .6rem;
  border: 3px solid var(--orange);
  transition: transform var(--trans);
}

.speaker:hover img {
  transform: scale(1.07);
}

.sp-name {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.sp-org {
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  margin-top: .2rem;
}

.speakers-soon {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
  font-style: italic;
  line-height: 1.6;
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

/* ===== CTA FINAL ===== */
.section-cta {
  background: var(--orange-light);
  padding: 5rem 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
}

.cta-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 560px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
  color: var(--orange);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-brand-fallback {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: -.01em;
}

.footer-tagline {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-links a {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255, 255, 255, .55);
  transition: color var(--trans);
}

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

.footer-copy {
  font-size: .78rem;
  color: rgba(255, 255, 255, .3);
}

.footer-scripture {
  font-style: italic;
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
  max-width: 520px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .vigias-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .speakers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .two-col,
  .two-col.reverse,
  .evento-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .two-col.reverse .info-image {
    order: 0;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .vigias-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    min-height: 4.8em; /* Reservar espaço para até 4 linhas de texto no mobile */
  }

  .map-embed-wrap {
    height: 320px;
  }

  /* hero vira coluna única no mobile */
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-logo-wrap {
    order: -1;
  }

  .hero-logo-img {
    width: clamp(160px, 55vw, 260px);
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1.25rem 1.5rem;
    gap: 1rem;
    border-top: 2px solid var(--orange);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  }

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

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .speakers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vigias-grid {
    grid-template-columns: 1fr;
  }

  .btn-cta,
  .btn-ghost,
  .btn-ghost-alt {
    width: 100%;
    text-align: center;
  }

  .map-embed-wrap {
    height: 250px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== SCROLL ANIMATIONS (classes aplicadas pelo JS) ===== */
.fade-in-ready {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-in-ready.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ACESSIBILIDADE — texto visível apenas para leitores de tela ===== */
.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;
}

/* ===== CARROSSEL DE FRASES ===== */
.section-frases {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-frases::before {
  content: '"';
  position: absolute;
  font-family: var(--font-head);
  font-size: 20rem;
  color: rgba(255, 255, 255, 0.03);
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.frases-carousel {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.frase-slide {
  position: absolute;
  width: 100%;
  max-width: 850px;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.frase-slide.active {
  opacity: 1;
  pointer-events: auto;
  position: relative;
}

.frase-text {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
  margin-bottom: 1rem;
}

.frase-author {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
}

.frases-controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.frases-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  font-size: 1.2rem;
}

.frases-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.05);
}

/* ===== TRANSITIONS FOR DYNAMIC ROTATING TEXTS ===== */
.fade-text {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.fade-text.fade-out {
  opacity: 0;
}

/* ===== TYPEWRITER CURSOR ===== */
.typewriter-cursor::after {
  content: '|';
  color: var(--orange);
  animation: typewriter-blink 0.75s step-end infinite;
  margin-left: 4px;
  font-weight: 500;
}

@keyframes typewriter-blink {
  from, to { color: transparent }
  50% { color: var(--orange) }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

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

  .fade-in-ready {
    opacity: 1;
    transform: translateY(0);
  }

  .typewriter-cursor::after {
    content: none !important;
  }
}

/* ===== COOKIE CONSENT BANNER (GLASSMORPHISM) ===== */
.cookie-banner {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: calc(100% - 4rem);
  max-width: 420px;
  background: rgba(28, 26, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cookie-banner-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-icon {
  width: 24px;
  height: 24px;
  color: var(--orange);
  flex-shrink: 0;
}

.cookie-banner-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  text-align: left;
}

.cookie-policy-link {
  color: var(--orange);
  text-decoration: underline;
  font-weight: 600;
  transition: color var(--trans);
}

.cookie-policy-link:hover {
  color: var(--cream);
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

.cookie-btn {
  padding: 0.65rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--trans);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn-reject:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}

.cookie-btn-accept {
  background: var(--orange);
  color: var(--white);
  border: 1px solid var(--orange);
}

.cookie-btn-accept:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.cookie-btn-accept:active {
  transform: translateY(0);
}

@media (max-width: 576px) {
  .cookie-banner {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    width: calc(100% - 2rem);
    max-width: none;
    padding: 1.25rem;
  }
}

/* ===== NOTIFICATION TOAST (VIGIAS RECENTES) ===== */
.watchman-toast {
  position: fixed;
  bottom: 2.5rem;
  left: -26rem; /* Começa fora da tela para animar deslizando */
  width: 360px;
  background: rgba(28, 26, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem;
  z-index: 9998;
  transition: left 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.5s ease;
  opacity: 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  pointer-events: auto;
}

.watchman-toast.show {
  left: 2.5rem;
  opacity: 1;
}

/* Indicador pulsante */
.watchman-toast-indicator {
  position: relative;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.watchman-toast-indicator::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: watchmanPulse 2s infinite ease-out;
  opacity: 0;
}

@keyframes watchmanPulse {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

/* Conteúdo */
.watchman-toast-content {
  flex: 1;
}

.watchman-toast-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.watchman-toast-message {
  font-family: var(--font-body);
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.watchman-toast-message strong {
  color: var(--white);
  font-weight: 700;
}

/* Botão de Fechar */
.watchman-toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-top: -2px;
  transition: color var(--trans);
}

.watchman-toast-close:hover {
  color: var(--orange);
}

/* Responsividade do Toast */
@media (max-width: 768px) {
  .watchman-toast {
    bottom: 1.5rem;
    left: -100%;
    width: auto;
    max-width: calc(100vw - 3rem - 64px); /* Evita sobrepor o FAB de idiomas que tem 54px no mobile */
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .watchman-toast.show {
    left: 1.5rem;
  }
  
  .watchman-toast-message {
    font-size: 0.8rem;
  }
}