/*
Theme Name: Obra Missional — Página Única
Theme URI: https://obramissional.com.br
Author: Obra Missional
Author URI: https://obramissional.com.br
Description: Tema em blocos nativos, leve e responsivo, criado para apresentar a Obra Missional e o Devocional 1 Minuto com Deus em uma página única.
Requires at least: 6.4
Requires PHP: 7.4
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obra-missional
Tags: block-patterns, full-site-editing, one-column, custom-colors, custom-logo, featured-images
*/

:root {
  --om-navy: #102f4f;
  --om-navy-deep: #09233c;
  --om-gold: #c9a35e;
  --om-gold-light: #ecd9b0;
  --om-cream: #f8f5ee;
  --om-sand: #ede6d8;
  --om-green: #6f8062;
  --om-ink: #1d2a35;
  --om-muted: #63707b;
  --om-white: #ffffff;
  --om-radius: 24px;
  --om-shadow: 0 24px 70px rgba(9, 35, 60, 0.12);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  background: var(--om-cream);
  color: var(--om-ink);
  overflow-x: hidden;
}

a {
  text-underline-offset: 0.18em;
}

.om-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 24px;
  background: rgba(248, 245, 238, 0.94);
  border-bottom: 1px solid rgba(16, 47, 79, 0.09);
  backdrop-filter: blur(18px);
}

.admin-bar .om-header {
  top: 32px;
}

.om-header__inner {
  min-height: 54px;
}

.om-brand {
  gap: 12px;
}

.om-logo {
  display: inline-block;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: url("assets/images/logo-obra-missional.png") center / contain no-repeat;
  box-shadow: 0 8px 22px rgba(21, 181, 204, 0.2);
}

.om-brand .wp-block-site-title {
  margin: 0;
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  font-weight: 780;
  letter-spacing: 0.02em;
}

.om-brand .wp-block-site-title a {
  color: var(--om-navy);
  text-decoration: none;
}

.om-header .wp-block-navigation {
  font-size: 0.91rem;
  font-weight: 650;
}

.om-header .wp-block-navigation a {
  color: var(--om-navy);
}

.om-button .wp-block-button__link,
.om-button--outline .wp-block-button__link {
  border-radius: 999px;
  padding: 0.86rem 1.25rem;
  font-weight: 750;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.om-button .wp-block-button__link {
  background: var(--om-gold);
  color: var(--om-navy-deep);
  box-shadow: 0 12px 28px rgba(201, 163, 94, 0.25);
}

.om-button--outline .wp-block-button__link {
  background: transparent;
  color: var(--om-white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.om-button .wp-block-button__link:hover,
.om-button--outline .wp-block-button__link:hover {
  transform: translateY(-2px);
}

.om-hero {
  position: relative;
  min-height: min(810px, 91vh);
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 132px) 24px;
  overflow: hidden;
  color: var(--om-white);
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 163, 94, 0.32), transparent 32%),
    radial-gradient(circle at 8% 90%, rgba(111, 128, 98, 0.25), transparent 38%),
    linear-gradient(135deg, var(--om-navy-deep) 0%, var(--om-navy) 58%, #234f68 100%);
}

.om-hero::before {
  content: "";
  position: absolute;
  width: min(700px, 65vw);
  aspect-ratio: 1;
  right: -14%;
  bottom: -42%;
  border: 1px solid rgba(236, 217, 176, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(236, 217, 176, 0.035), 0 0 0 140px rgba(236, 217, 176, 0.025);
}

.om-hero__inner {
  position: relative;
  z-index: 2;
}

.om-eyebrow {
  margin-bottom: 18px;
  color: var(--om-gold-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.om-hero h1 {
  max-width: 780px;
  margin: 0;
  color: var(--om-white);
  font-size: clamp(3.1rem, 6vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.om-hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.65;
}

.om-hero__buttons {
  margin-top: 34px;
}

.om-hero-card {
  position: relative;
  max-width: 440px;
  min-height: 390px;
  margin-left: auto;
  padding: clamp(28px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

.om-hero-card::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -65px;
  bottom: -65px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 163, 94, 0.5), rgba(201, 163, 94, 0));
}

.om-hero-card__line {
  width: 62px;
  height: 2px;
  margin: 26px 0;
  background: var(--om-gold);
}

.om-hero-card h2 {
  margin: 0;
  color: var(--om-white);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.om-hero-card p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.om-time-badge {
  display: inline-block;
  margin-top: 22px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(201, 163, 94, 0.17);
  color: var(--om-gold-light) !important;
  font-size: 0.84rem;
  font-weight: 750;
}

.om-section {
  padding: clamp(78px, 10vw, 132px) 24px;
}

.om-section--white {
  background: var(--om-white);
}

.om-section--soft {
  background: var(--om-sand);
}

.om-section--navy {
  color: var(--om-white);
  background: var(--om-navy-deep);
}

.om-section__head {
  max-width: 780px;
  margin-bottom: 48px;
}

.om-section__head h2,
.om-split h2,
.om-study h2,
.om-about h2 {
  margin-top: 0;
  color: var(--om-navy);
  font-size: clamp(2.25rem, 5.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.om-section--navy h2 {
  color: var(--om-white);
}

.om-kicker {
  margin-bottom: 12px;
  color: var(--om-green);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.om-section--navy .om-kicker {
  color: var(--om-gold-light);
}

.om-copy {
  color: var(--om-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.om-section--navy .om-copy {
  color: rgba(255, 255, 255, 0.74);
}

.om-split {
  gap: clamp(34px, 7vw, 90px);
  align-items: center !important;
}

.om-visual {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--om-radius);
  background:
    linear-gradient(180deg, rgba(9, 35, 60, 0.02), rgba(9, 35, 60, 0.72)),
    radial-gradient(circle at 65% 28%, #f1cf83 0 9%, transparent 10%),
    linear-gradient(145deg, #d9bf87, #789084 55%, #17324d);
  box-shadow: var(--om-shadow);
}

.om-visual::before {
  content: "";
  position: absolute;
  left: 10%;
  right: -8%;
  bottom: -25%;
  height: 68%;
  border-radius: 50% 0 0 0;
  background: rgba(9, 35, 60, 0.6);
  transform: rotate(-8deg);
}

.om-visual__content {
  position: absolute;
  z-index: 2;
  left: clamp(26px, 5vw, 52px);
  right: clamp(26px, 5vw, 52px);
  bottom: clamp(28px, 5vw, 50px);
}

.om-visual__content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.om-visual__content h3 {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--om-white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.om-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.om-checks li {
  position: relative;
  margin: 14px 0;
  padding-left: 32px;
  color: var(--om-ink);
  line-height: 1.55;
}

.om-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--om-navy);
  background: var(--om-gold-light);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 22px;
  text-align: center;
}

.om-card-grid {
  gap: 24px;
}

.om-card {
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(16, 47, 79, 0.09);
  border-radius: var(--om-radius);
  background: var(--om-white);
  box-shadow: 0 18px 55px rgba(9, 35, 60, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.om-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(9, 35, 60, 0.12);
}

.om-card__number {
  margin-bottom: 30px;
  color: var(--om-gold);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.om-card h3 {
  margin: 0 0 14px;
  color: var(--om-navy);
  font-size: 1.45rem;
  line-height: 1.2;
}

.om-card p {
  margin-bottom: 0;
  color: var(--om-muted);
  line-height: 1.65;
}

.om-study {
  border-radius: 34px;
  padding: clamp(34px, 6vw, 72px);
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.om-study__list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: study;
}

.om-study__list li {
  counter-increment: study;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.82);
}

.om-study__list li::before {
  content: "0" counter(study);
  flex: 0 0 auto;
  color: var(--om-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.om-about__quote {
  margin: 28px 0 0;
  padding: 24px 0 24px 28px;
  border-left: 3px solid var(--om-gold);
  color: var(--om-navy);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 680;
  line-height: 1.45;
}

.om-cta {
  position: relative;
  padding: clamp(52px, 8vw, 92px);
  overflow: hidden;
  border-radius: 34px;
  color: var(--om-white);
  background: linear-gradient(135deg, var(--om-green), #4f6758);
  box-shadow: var(--om-shadow);
}

.om-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -110px;
  top: -145px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.035);
}

.om-cta h2 {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0;
  color: var(--om-white);
  font-size: clamp(2.35rem, 5vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.om-cta p,
.om-cta .wp-block-buttons {
  position: relative;
  z-index: 2;
}

.om-cta p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.om-footer {
  padding: 48px 24px;
  color: rgba(255, 255, 255, 0.68);
  background: #061a2c;
}

.om-footer a {
  color: var(--om-gold-light);
}

.om-footer__inner {
  gap: 26px;
}

.om-footer__name {
  margin: 0;
  color: var(--om-white);
  font-weight: 750;
}

.om-post-shell {
  padding: clamp(60px, 8vw, 110px) 24px;
}

.om-post-shell .wp-block-post-title {
  color: var(--om-navy);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.om-post-shell .wp-block-post-content {
  font-size: 1.08rem;
  line-height: 1.8;
}

@media (max-width: 960px) {
  .om-header__cta {
    display: none;
  }

  .om-hero {
    min-height: auto;
  }

  .om-hero-card {
    max-width: none;
    margin: 20px 0 0;
  }

  .om-split {
    gap: 46px;
  }
}

@media (max-width: 782px) {
  .admin-bar .om-header {
    top: 46px;
  }

  .om-header {
    padding: 10px 18px;
  }

  .om-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .om-hero {
    padding: 76px 20px 68px;
  }

  .om-hero h1 {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .om-hero__lead {
    font-size: 1rem;
  }

  .om-hero__buttons .wp-block-button,
  .om-hero__buttons .wp-block-button__link,
  .om-cta .wp-block-button,
  .om-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

  .om-section {
    padding: 72px 20px;
  }

  .om-visual {
    min-height: 390px;
  }

  .om-cta {
    padding: 42px 28px;
    border-radius: 24px;
  }

  .om-footer__inner {
    align-items: flex-start !important;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
