/* Casas das Nações — estilo inspirado em scoan.org + tema claro/escuro */

:root {
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050608;
  --bg-soft: #0e1118;
  --surface: #151b28;
  --surface-2: #1c2434;
  --text: #e8eaef;
  --muted: #9aa3b5;
  --gold: #c9a24d;
  --gold-soft: #e3c77a;
  --white: #ffffff;
  --line: #2a3345;
  --header-bg: rgba(6, 8, 12, 0.92);
  --hero-overlay: linear-gradient(105deg, rgba(5, 6, 8, 0.75) 0%, rgba(5, 6, 8, 0.45) 45%, rgba(5, 6, 8, 0.55) 100%);
  --events-gradient: linear-gradient(160deg, #121826 0%, #0a0d14 40%, #1a1420 100%);
  --nav-link: #f0f2f6;
  --submenu-bg: #0c0f16;
  --submenu-link: #d8dde8;
  --tile-border: #334056;
  --event-panel-bg: rgba(21, 27, 40, 0.85);
  --event-panel-border: rgba(74, 86, 110, 0.6);
  --countdown-bg: rgba(8, 10, 16, 0.65);
  --countdown-border: rgba(90, 102, 128, 0.5);
  --leader-grad-a: #1a2233;
  --leader-grad-b: #121820;
  --leader-border: #3d4a63;
  --leader-text: #c5cbd8;
  --community-bg: linear-gradient(90deg, #0f1219, #181c28 50%, #0f1219);
  --newsletter-bg: #07090e;
  --footer-bg: #050608;
  --footer-line: #2c3648;
  --footer-line-2: #202838;
  --input-bg: #101620;
  --input-border: #3a4660;
  --input-color: #f5f8ff;
  --btn-fg: #1a1408;
  --mobile-nav-bg: #0a0d12;
  --inner-hero-bg: linear-gradient(180deg, #121a2a, #0b0f19);
  --hero-sub-color: rgba(232, 234, 239, 0.88);
  --section-heading: #ffffff;
  --footer-muted-link: #c4ccdb;
  --social-chip-fg: #e0e4ed;
  --post-body: #d5dbea;
  --shadow-submenu: 0 16px 40px rgba(0, 0, 0, 0.45);
  --submenu-mobile-bg: rgba(0, 0, 0, 0.25);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #eef1f8;
  --bg-soft: #e4e9f4;
  --surface: #ffffff;
  --surface-2: #f8f9fc;
  --text: #1a2233;
  --muted: #5a6578;
  --gold: #9a6b1a;
  --gold-soft: #7a5522;
  --white: #ffffff;
  --line: #c8d0e0;
  --header-bg: rgba(255, 255, 255, 0.94);
  --hero-overlay: linear-gradient(105deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(240, 243, 250, 0.75) 100%);
  --events-gradient: linear-gradient(160deg, #dde4f2 0%, #cfd8ea 45%, #e8ecf5 100%);
  --nav-link: #1e293b;
  --submenu-bg: #ffffff;
  --submenu-link: #334155;
  --tile-border: #c5cee0;
  --event-panel-bg: rgba(255, 255, 255, 0.92);
  --event-panel-border: rgba(100, 116, 150, 0.35);
  --countdown-bg: rgba(255, 255, 255, 0.9);
  --countdown-border: rgba(100, 116, 150, 0.45);
  --leader-grad-a: #f1f4fa;
  --leader-grad-b: #e8edf6;
  --leader-border: #b8c4db;
  --leader-text: #3d4a5c;
  --community-bg: linear-gradient(90deg, #e4e9f4, #dce3f0 50%, #e4e9f4);
  --newsletter-bg: #dce3f0;
  --footer-bg: #d5dce8;
  --footer-line: #b0bccf;
  --footer-line-2: #a8b4c8;
  --input-bg: #ffffff;
  --input-border: #9aa8bf;
  --input-color: #1a2233;
  --btn-fg: #1a1408;
  --mobile-nav-bg: #f8f9fc;
  --inner-hero-bg: linear-gradient(180deg, #e8edf6, #dde4f2);
  --hero-sub-color: rgba(26, 34, 51, 0.88);
  --section-heading: #0f172a;
  --footer-muted-link: #334155;
  --social-chip-fg: #1e293b;
  --post-body: #334155;
  --shadow-submenu: 0 12px 32px rgba(15, 23, 42, 0.12);
  --submenu-mobile-bg: rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.22s ease, color 0.18s ease;
}

a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  color: var(--white);
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

/* ——— Header (scoan-style sticky bar) ——— */
.site-header.scoan-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(42, 51, 69, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.brand {
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand .custom-logo-link,
.brand .brand-logo {
  display: block;
}

.brand .custom-logo-link img,
.brand .brand-logo {
  max-height: 52px;
  width: auto;
}

.brand-text {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  max-width: 220px;
}

/* Nav */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

.menu-list > li {
  position: relative;
}

.menu-list > li > a {
  display: block;
  padding: 0.5rem 0.65rem;
  color: var(--nav-link);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.menu-list > li > a:hover,
.menu-list > li.current-menu-item > a,
.menu-list > li.current_page_item > a {
  color: var(--gold-soft);
}

.menu-list .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: var(--submenu-bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-submenu);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.menu-list > li:hover > .sub-menu,
.menu-list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-list .sub-menu a {
  display: block;
  padding: 0.45rem 1rem;
  color: var(--submenu-link);
  font-size: 0.85rem;
}

.menu-list .sub-menu a:hover {
  background: rgba(201, 162, 77, 0.12);
  color: var(--gold-soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--nav-link);
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.theme-toggle__icon--sun,
.theme-toggle__icon--moon {
  display: none;
}

html[data-theme="dark"] .theme-toggle__icon--sun {
  display: inline;
}

html[data-theme="light"] .theme-toggle__icon--moon {
  display: inline;
}

/* ——— Hero video ——— */
.scoan-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.scoan-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.scoan-hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scoan-hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scoan-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  z-index: 1;
}

.scoan-hero .container {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4.5rem;
}

.scoan-kicker {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-weight: 600;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scoan-hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 700;
  color: var(--section-heading);
  line-height: 1.12;
  letter-spacing: 0.02em;
  text-transform: none;
  max-width: 920px;
}

.scoan-hero-sub {
  margin: 0;
  max-width: 640px;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--hero-sub-color);
}

/* ——— Events band (gradient + two columns) ——— */
.events-band {
  padding: 3.5rem 0;
  background: var(--events-gradient);
  border-top: 1px solid rgba(201, 162, 77, 0.15);
  border-bottom: 1px solid var(--line);
}

.section-title-scoan {
  margin: 0 0 1.75rem;
  text-align: center;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--section-heading);
}

.section-lead {
  margin: 0 auto 1.75rem;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.section-lead--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.community-lead {
  margin: 0 auto 1.25rem;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.6;
}

#featured .section-title-scoan,
#leaders .section-title-scoan,
#blog .section-title-scoan {
  color: var(--text);
}

html[data-theme="dark"] #featured .section-title-scoan,
html[data-theme="dark"] #leaders .section-title-scoan,
html[data-theme="dark"] #blog .section-title-scoan {
  color: var(--white);
}

.events-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: stretch;
}

.event-panel {
  background: var(--event-panel-bg);
  border: 1px solid var(--event-panel-border);
  border-radius: 12px;
  padding: 1.5rem 1.6rem;
}

.event-panel--accent {
  background: linear-gradient(145deg, rgba(28, 36, 52, 0.95), rgba(18, 22, 32, 0.98));
  border-color: rgba(201, 162, 77, 0.35);
}

html[data-theme="light"] .event-panel--accent {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(236, 240, 250, 0.99));
  border-color: rgba(201, 162, 77, 0.4);
}

.event-panel h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.event-headline {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: var(--section-heading);
  line-height: 1.25;
}

html[data-theme="dark"] .event-headline {
  color: var(--white);
}

.event-date-line {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Countdown (Elementor-like) */
.countdown-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.countdown-item {
  flex: 1 1 70px;
  min-width: 64px;
  text-align: center;
  padding: 0.65rem 0.5rem;
  background: var(--countdown-bg);
  border: 1px solid var(--countdown-border);
  border-radius: 8px;
}

.countdown-digits {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

html[data-theme="dark"] .countdown-digits {
  color: var(--white);
}

.countdown-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

/* ——— Content sections ——— */
.section {
  padding: 3.75rem 0;
}

.section--muted {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--text);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html[data-theme="dark"] .section h2 {
  color: var(--white);
}

.tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.feature-tile {
  background: var(--surface);
  border: 1px solid var(--tile-border);
  border-radius: 12px;
  padding: 1.35rem 1.4rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.feature-tile h3 {
  margin: 0 0 0.65rem;
  color: var(--text);
  font-size: 1.1rem;
}

html[data-theme="dark"] .feature-tile h3 {
  color: var(--white);
}

.feature-tile p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-tile a {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leaders-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.leader-panel {
  padding: 1.5rem;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--leader-grad-a) 0%, var(--leader-grad-b) 100%);
  border: 1px solid var(--leader-border);
}

.leader-panel h3 {
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.leader-panel p {
  margin: 0;
  color: var(--leader-text);
  font-size: 0.95rem;
}

.leader-panel__img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 1rem;
  display: block;
}

.profile-block {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.profile-block__img {
  width: 100%;
  max-width: 360px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-block__text {
  flex: 1;
  min-width: 260px;
}

.profile-block__name {
  color: var(--gold-soft);
  font-size: 1.6rem;
  margin: 0.5rem 0 1rem;
}

.profile-block__bio {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 640px) {
  .profile-block__img {
    max-width: 100%;
  }
}

.cta-row .tri-grid {
  align-items: stretch;
}

.cta-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
}

.cta-card h3 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-theme="dark"] .cta-card h3 {
  color: var(--white);
}

.cta-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.btn-scoan {
  display: inline-block;
  padding: 0.65rem 1.15rem;
  background: var(--gold);
  color: var(--btn-fg) !important;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
}

.btn-scoan:hover {
  filter: brightness(1.08);
  color: var(--btn-fg) !important;
}

.blog-cards .feature-tile h3 {
  font-size: 1rem;
  line-height: 1.35;
}

.feature-tile h3 a {
  color: var(--text);
}

html[data-theme="dark"] .feature-tile h3 a {
  color: var(--white);
}

.feature-tile h3 a:hover {
  color: var(--gold-soft);
}

.post-body {
  color: var(--post-body);
  font-size: 1.05rem;
}

.post-body p:first-child {
  margin-top: 0;
}

.meta-line {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* Community strip */
.community-band {
  padding: 3rem 0;
  background: var(--community-bg);
  border-top: 1px solid var(--line);
  text-align: center;
}

.community-band h2 {
  margin: 0 0 0.35rem;
  letter-spacing: 0.14em;
}

.community-band > .container > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.social-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.social-chips a {
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--social-chip-fg);
}

.social-chips a:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

/* Newsletter */
.newsletter {
  padding: 3.25rem 0;
  background: var(--newsletter-bg);
  border-top: 1px solid var(--line);
}

.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.newsletter-inner h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}

html[data-theme="dark"] .newsletter-inner h2 {
  color: var(--white);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.newsletter-form input {
  min-width: 260px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  background: var(--input-bg);
  color: var(--input-color);
  font-size: 0.95rem;
}

.newsletter-form button {
  border: 0;
  border-radius: 6px;
  padding: 0.65rem 1.2rem;
  background: var(--gold);
  color: var(--btn-fg);
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.82rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--footer-line);
  background: var(--footer-bg);
  padding-top: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid h3 {
  margin-top: 0;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.footer-menu a {
  color: var(--footer-muted-link);
  font-size: 0.92rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding: 1rem 0 1.75rem;
  border-top: 1px solid var(--footer-line-2);
  color: var(--muted);
  font-size: 0.88rem;
}

/* Inner pages (existing) */
.inner-hero {
  padding: 2.8rem 0;
  background: var(--inner-hero-bg);
  border-bottom: 1px solid var(--line);
}

.content-wrap {
  max-width: 800px;
}

.content-wrap p,
.content-wrap li {
  color: var(--post-body);
}

/* Mobile */
@media (max-width: 1024px) {
  .tri-grid,
  .events-split,
  .leaders-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--mobile-nav-bg);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .main-nav.is-open {
    max-height: 85vh;
    overflow-y: auto;
  }

  .main-nav .menu-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1.25rem;
    gap: 0;
  }

  .menu-list > li > a {
    padding: 0.65rem 0.5rem;
    border-bottom: 1px solid rgba(42, 51, 69, 0.5);
  }

  .menu-list .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--submenu-mobile-bg);
    border-radius: 0;
    display: none;
  }

  .menu-list > li.sub-open > .sub-menu {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
    position: relative;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
  }

  .newsletter-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .scoan-hero .container {
    padding: 3.5rem 0 3rem;
  }
}

/* Socorrendo Vidas — slideshow (zoom lento + troca suave) */
.sv-slideshow {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 320px;
  background: #0b0f1a;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  isolation: isolate;
}

.sv-slideshow__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  opacity: 0;
  animation: svSlide 24s ease-in-out infinite;
  animation-delay: calc(var(--i) * 6s);
}

@keyframes svSlide {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; transform: scale(1); }
  35%  { opacity: 1; transform: scale(1.06); }
  45%  { opacity: 0; transform: scale(1.07); }
  100% { opacity: 0; transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .sv-slideshow__img {
    animation: none;
  }
  .sv-slideshow__img[style*="--i:0"] { opacity: 1; }
}

.static-illustration {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
}

/* Páginas estáticas (Ferramentas de fé, Filiais, etc.) */
.page-hero-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--section-heading);
  line-height: 1.15;
}

.page-hero-sub {
  margin: 0;
  max-width: 720px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.6;
}

.page-block-title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  color: var(--text);
}

.page-block-body {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 1.02rem;
}

.page-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  border: 1px solid var(--line);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.page-card h3 {
  margin-top: 0;
}

.page-cta-box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.page-cta-box .page-block-body {
  margin-bottom: 1rem;
}

/* TV Nações */
.tv-hero {
  padding: 2.25rem 0 1.25rem;
}

.tv-hero-breadcrumb {
  margin-bottom: 0.9rem;
}

.tv-hero-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  background: #0b0f1a;
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
  isolation: isolate;
}

.tv-hero-slides {
  position: absolute;
  inset: 0;
}

.tv-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  position: absolute;
  inset: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* slideshow: uma imagem por vez, com zoom lento e troca suave */
.tv-hero-img--a {
  animation: tvSlideA 20s ease-in-out infinite;
}

.tv-hero-img--b {
  animation: tvSlideB 20s ease-in-out infinite;
}

@keyframes tvSlideA {
  0%   { opacity: 1; transform: scale(1); }
  40%  { opacity: 1; transform: scale(1.06); }
  50%  { opacity: 0; transform: scale(1.07); }
  98%  { opacity: 0; transform: scale(1.07); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes tvSlideB {
  0%   { opacity: 0; transform: scale(1); }
  48%  { opacity: 0; transform: scale(1); }
  52%  { opacity: 1; transform: scale(1); }
  90%  { opacity: 1; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.07); }
}

@media (prefers-reduced-motion: reduce) {
  .tv-hero-img--a,
  .tv-hero-img--b {
    animation: none;
  }
  .tv-hero-img--a { opacity: 1; }
  .tv-hero-img--b { opacity: 0; }
}

.tv-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.72), rgba(0,0,0,0.22) 55%, rgba(0,0,0,0.05));
}

.tv-hero-overlay--soft {
  background: linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.15) 45%, rgba(0,0,0,0.35));
}

.tv-hero-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.25rem 1.25rem 1.35rem;
  max-width: 860px;
}

.tv-hero-title {
  margin: 0 0 0.55rem;
  font-size: clamp(1.65rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.12;
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.tv-hero-sub {
  margin: 0;
  max-width: 720px;
  color: rgba(255,255,255,0.86);
  line-height: 1.6;
  font-size: 1.02rem;
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.tv-sample-thumb {
  margin: -1.35rem -1.4rem 1rem;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  max-height: 200px;
}

.tv-sample-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.tv-sample-card .btn-scoan {
  margin-top: auto;
}

.two-col-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.tv-address p {
  margin: 0 0 0.35rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .tv-hero-card {
    aspect-ratio: 4 / 3;
    min-height: 320px;
  }

  .two-col-contact {
    grid-template-columns: 1fr;
  }
}
