:root {
  --ink: #11231e;
  --ink-soft: #27413a;
  --paper: #f8faf7;
  --surface: #ffffff;
  --mist: #edf2ee;
  --gold: #d8a332;
  --clay: #a85f3f;
  --teal: #1f6f68;
  --line: rgba(17, 35, 30, 0.14);
  --shadow: 0 24px 80px rgba(17, 35, 30, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Manrope", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

i[data-lucide] {
  width: 1.1rem;
  height: 1.1rem;
  stroke-width: 2.1;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px max(20px, calc((100vw - 1120px) / 2));
  color: #fff;
  background: linear-gradient(180deg, rgba(10, 20, 18, 0.72), rgba(10, 20, 18, 0.26));
  backdrop-filter: blur(14px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(17, 35, 30, 0.92);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}

.brand,
.site-nav,
.header-action,
.btn,
.channel-link,
.video-card {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
  white-space: nowrap;
}

.brand-photo {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.12);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.header-action,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.header-action {
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
}

.btn {
  padding: 0 20px;
}

.btn:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--ink);
  background: linear-gradient(135deg, #f2c961, var(--gold));
  box-shadow: 0 18px 48px rgba(216, 163, 50, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f6d273, #c78d26);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline {
  color: var(--ink);
  border-color: var(--line);
  background: var(--surface);
}

.btn-outline:hover {
  border-color: rgba(31, 111, 104, 0.38);
  box-shadow: 0 16px 36px rgba(31, 111, 104, 0.12);
}

.btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.14);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 88svh;
  padding: 130px 20px 72px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: -2;
  object-fit: cover;
  object-position: center 36%;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 15, 0.88) 0%, rgba(6, 18, 15, 0.62) 44%, rgba(6, 18, 15, 0.18) 100%),
    linear-gradient(180deg, rgba(4, 12, 10, 0.18) 0%, rgba(4, 12, 10, 0.78) 100%);
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  max-width: 1120px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;
}

h1 {
  max-width: 780px;
  font-size: 4.75rem;
}

h1 span {
  display: block;
}

h2 {
  color: var(--ink);
  font-size: 2.55rem;
}

h3 {
  font-size: 1.1rem;
}

.hero-copy {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
}

.verse {
  max-width: 760px;
  margin: 28px 0 0;
  padding: 0 0 0 22px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 255, 255, 0.9);
  font-family: "Lora", Georgia, serif;
  font-size: 1.02rem;
}

.verse cite {
  display: block;
  margin-top: 10px;
  color: #f4d88a;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.channel-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.channel-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease;
}

.channel-link:first-child {
  border-left: 1px solid var(--line);
}

.channel-link:hover {
  color: var(--teal);
  background: #f1f6f3;
}

.section {
  padding: 88px 0;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: #5a6b65;
  font-size: 1rem;
}

.section-heading-split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.feature-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.video-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 40px rgba(17, 35, 30, 0.07);
}

.feature-card {
  min-height: 220px;
  padding: 28px;
}

.feature-card > i {
  width: 38px;
  height: 38px;
  margin-bottom: 32px;
  color: var(--teal);
}

.feature-card h3 {
  color: var(--ink);
}

.feature-card p,
.video-card-body span,
.contact-layout p {
  color: #5a6b65;
}

.feature-card p {
  margin: 12px 0 0;
}

.video-section {
  background: #eef4f0;
}

.youtube-carousel {
  max-width: 980px;
}

.youtube-carousel .carousel {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(17, 35, 30, 0.1);
}

.yt-item {
  display: grid;
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--surface);
}

.youtube-frame {
  aspect-ratio: 16 / 9;
  background: #0d1715;
}

.youtube-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.youtube-caption {
  display: grid;
  gap: 6px;
  padding: 22px 24px;
}

.youtube-caption strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.youtube-caption span {
  color: #5a6b65;
}

.video-card {
  overflow: hidden;
  color: var(--ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  border-color: rgba(31, 111, 104, 0.34);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  min-height: 190px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(17, 35, 30, 0.24), rgba(168, 95, 63, 0.42)),
    url("../assets/img/pastorsandromelo.jpg") center 38% / cover;
}

.video-thumb-alt {
  background:
    linear-gradient(135deg, rgba(31, 111, 104, 0.32), rgba(17, 35, 30, 0.38)),
    url("../assets/img/pastorsandromelo.jpg") center 48% / cover;
}

.video-thumb-warm {
  background:
    linear-gradient(135deg, rgba(184, 125, 31, 0.44), rgba(17, 35, 30, 0.38)),
    url("../assets/img/pastorsandromelo.jpg") center 56% / cover;
}

.video-thumb i {
  width: 58px;
  height: 58px;
  padding: 17px;
  border-radius: 50%;
  color: #fff;
  background: rgba(17, 35, 30, 0.72);
  backdrop-filter: blur(10px);
}

.video-card-body {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.media-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(17, 35, 30, 0.97), rgba(31, 111, 104, 0.88)),
    var(--ink);
}

.media-band h2,
.media-band .section-heading p:not(.eyebrow) {
  color: #fff;
}

.media-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}

.media-layout .section-heading {
  margin-bottom: 0;
}

.media-layout .btn {
  margin-top: 24px;
}

.carousel-wrapper {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 14px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-wrapper.single-slide {
  grid-template-columns: minmax(0, 1fr);
}

.carousel-wrapper.single-slide .carousel {
  grid-column: 1;
}

.carousel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.tiktok-carousel .carousel {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: 0 18px 50px rgba(17, 35, 30, 0.08);
}

.carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s ease;
}

.insta-item,
.tt-item {
  display: flex;
  flex: 0 0 100%;
  justify-content: center;
  min-width: 100%;
  max-width: 100%;
  overflow: hidden;
  padding: 18px;
}

.instagram-media {
  min-width: 326px !important;
  max-width: 540px !important;
  width: 100% !important;
}

.tt-item iframe {
  width: min(100%, 325px);
  height: 620px;
  border: 0;
  border-radius: 8px;
  background: #111;
}

.nav-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-btn[hidden] {
  display: none !important;
}

.media-band .nav-btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
}

.nav-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

.nav-btn:focus-visible,
.btn:focus-visible,
.header-action:focus-visible,
.site-nav a:focus-visible,
.channel-link:focus-visible,
.video-card:focus-visible {
  outline: 3px solid rgba(216, 163, 50, 0.55);
  outline-offset: 3px;
}

.contact-band {
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
}

.contact-layout h2 {
  max-width: 620px;
}

.contact-layout p {
  max-width: 620px;
  margin: 16px 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer {
  padding: 26px 20px;
  color: rgba(255, 255, 255, 0.76);
  background: var(--ink);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
  }

  .hero {
    padding-top: 164px;
  }

  h1 {
    font-size: 3.8rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .feature-grid,
  .video-grid,
  .media-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    gap: 12px;
  }

  .brand span:last-child {
    max-width: 162px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    width: 44px;
    padding: 0;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 90svh;
    padding-bottom: 52px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(6, 18, 15, 0.72) 0%, rgba(6, 18, 15, 0.62) 36%, rgba(6, 18, 15, 0.92) 100%);
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.85rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .channel-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .channel-link {
    border: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .section-heading-split {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .carousel-wrapper.single-slide {
    grid-template-columns: minmax(0, 1fr);
  }

  .carousel {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    max-width: 420px;
  }

  .instagram-media {
    min-width: 0 !important;
  }

  .prev,
  .prev-yt,
  .prev-tt {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
  }

  .next,
  .next-yt,
  .next-tt {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
  }

  .insta-item,
  .tt-item {
    padding: 12px;
  }

  .tt-item iframe {
    height: 560px;
  }
}

@media (max-width: 440px) {
  .brand span:last-child {
    display: none;
  }

  .site-nav {
    gap: 2px;
    padding: 5px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.62rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    width: 100%;
  }

  .btn {
    width: 100%;
    min-height: 48px;
  }

  .feature-card {
    min-height: auto;
  }

  .tt-item iframe {
    height: 520px;
  }
}
