/*
Theme Name: Eliezer Marcos Premium
Theme URI: https://eliezermarcos.com
Author: Eliezer Marcos
Description: Tema editorial premium para ensino bíblico, pregação, EBD, produtos digitais e captação de contatos.
Version: 3.3.0
Text Domain: eliezermarcos
*/

:root {
  --em-navy-1000: #2a0f13;
  --em-navy-950: #381316;
  --em-navy-900: #481a1e;
  --em-navy-850: #5a2226;
  --em-navy-800: #6d2b2b;
  --em-blue-600: #7a5230;
  --em-gold-600: #a8792a;
  --em-gold-500: #c89b3c;
  --em-gold-400: #e0c26c;
  --em-cream: #f3e8d2;
  --em-paper: #fffbf3;
  --em-soft: #f8f0e0;
  --em-line: #e7d8b8;
  --em-ink: #2b1c14;
  --em-muted: #7c6a52;
  --em-white: #ffffff;
  --em-success: #4f7a42;
  --em-danger: #9c3a30;
  --em-ribbon: #8f2430;
  --em-ribbon-dark: #6c1b24;
  --em-container: 1240px;
  --em-radius-sm: 12px;
  --em-radius: 20px;
  --em-radius-lg: 30px;
  --em-shadow-sm: 0 10px 30px rgba(43,15,19,.1);
  --em-shadow: 0 24px 70px rgba(43,15,19,.18);
  --em-serif: "Fraunces", Georgia, serif;
  --em-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--em-ink);
  background: var(--em-paper);
  font-family: var(--em-sans);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.em-menu-open, body.em-search-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: var(--em-navy-950); background: var(--em-gold-400); }
:focus-visible { outline: 2px solid var(--em-gold-500); outline-offset: 3px; border-radius: 4px; }
.em-btn:focus-visible, .em-path-card:focus-visible, .em-card:focus-visible { outline-offset: 5px; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em;
  color: var(--em-navy-950);
  font-family: var(--em-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.55rem, 5.2vw, 4.85rem); }
h2 { font-size: clamp(2.05rem, 3.5vw, 3.35rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); }
p { margin: 0 0 1.25em; }
ul, ol { margin: 0 0 1.5em; padding-left: 1.4em; }

.em-container { width: min(calc(100% - 40px), var(--em-container)); margin-inline: auto; }
.em-section { padding: 104px 0; position: relative; }
.em-section--white { background: var(--em-paper); }
.em-section--soft { background: var(--em-soft); }
.em-section--feature { background: linear-gradient(180deg, var(--em-paper) 0, var(--em-soft) 100%); padding-top: 64px; }
.em-section--closing { padding-top: 48px; background: var(--em-paper); }
.em-grid { display: grid; gap: 26px; }
.em-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.em-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.em-lead { color: var(--em-muted); font-size: 1.08rem; line-height: 1.8; }
.em-center-action { margin-top: 40px; text-align: center; }

.screen-reader-text,
.em-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.em-skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; background: #fff; color: #000; padding: 12px 18px; border-radius: 8px; }
.em-skip-link:focus { top: 20px; }

/* Reading progress */
.em-reading-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; height: 3px; pointer-events: none; }
.admin-bar .em-reading-progress { top: 32px; }
.em-reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--em-gold-600), var(--em-gold-400)); }

/* Announcement */
.em-announcement { background: var(--em-navy-1000); color: #f4e3d5; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .76rem; font-weight: 600; letter-spacing: .025em; }
.em-announcement a { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.em-announcement strong { color: var(--em-gold-400); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }
.em-announcement-dot { width: 6px; height: 6px; background: var(--em-gold-500); border-radius: 50%; box-shadow: 0 0 0 5px rgba(211,163,62,.12); }

/* Header */
.em-site-header { position: sticky; top: 0; z-index: 900; background: rgba(56,19,22,.94); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); transition: box-shadow .25s ease, background .25s ease; }
.admin-bar .em-site-header { top: 32px; }
.em-site-header.is-scrolled { box-shadow: 0 16px 40px rgba(42,15,19,.18); background: rgba(56,19,22,.985); }
.em-header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.em-brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.em-brand .custom-logo-link { display: block; }
.em-brand .custom-logo { max-height: 54px; width: auto; }
.em-brand-mark { width: 46px; height: 46px; border: 1px solid rgba(226,189,104,.65); border-radius: 14px 14px 6px 14px; display: grid; place-items: center; color: var(--em-gold-400); background: linear-gradient(145deg, rgba(226,189,104,.11), rgba(226,189,104,.02)); box-shadow: inset 0 0 0 4px rgba(255,255,255,.02); }
.em-brand-mark span { font-family: var(--em-serif); font-size: 1.15rem; letter-spacing: -.06em; }
.em-brand-text { display: grid; line-height: 1.18; }
.em-brand-text strong { color: #fff; font-family: var(--em-serif); font-size: 1.22rem; font-weight: 400; letter-spacing: -.01em; }
.em-brand-text span { margin-top: 5px; color: #c9b09b; font-size: .64rem; font-weight: 700; letter-spacing: .105em; text-transform: uppercase; }
.em-nav { display: flex; align-items: center; margin-left: auto; }
.em-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.em-nav li { position: relative; }
.em-nav a { display: flex; align-items: center; min-height: 48px; padding: 0 13px; color: #f4e3d5; font-size: .86rem; font-weight: 700; border-radius: 10px; transition: color .2s ease, background .2s ease; }
.em-nav > ul > li > a:hover,
.em-nav > ul > li.current-menu-item > a,
.em-nav > ul > li.current-menu-ancestor > a { color: var(--em-gold-400); background: rgba(255,255,255,.04); }
.em-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 6px; background-color: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s ease, background-color .2s ease; }
.em-nav li:hover > a::after,
.em-nav li:focus-within > a::after { transform: rotate(180deg); }
.em-nav .sub-menu { position: absolute; left: 0; top: calc(100% + 8px); width: 250px; padding: 10px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); background: #fff; border: 1px solid var(--em-line); border-radius: 16px; box-shadow: var(--em-shadow); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.em-nav li:hover > .sub-menu,
.em-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.em-nav .sub-menu a { color: var(--em-ink); min-height: 42px; padding: 8px 12px; font-size: .83rem; }
.em-nav .sub-menu a:hover { color: var(--em-navy-950); background: var(--em-soft); }
.em-header-actions { display: flex; align-items: center; gap: 10px; }
.em-search-toggle { width: 43px; height: 43px; display: grid; place-items: center; color: #f3e5d8; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; transition: .2s ease; }
.em-search-toggle:hover { color: var(--em-gold-400); border-color: rgba(226,189,104,.45); }
.em-search-toggle svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.em-menu-toggle { display: none; width: 44px; height: 44px; padding: 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: rgba(255,255,255,.04); }
.em-menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .25s ease; }
.em-menu-toggle span + span { margin-top: 5px; }
.em-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.em-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.em-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.em-btn { position: relative; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 23px; overflow: hidden; color: var(--em-navy-950); background: linear-gradient(135deg, var(--em-gold-400), var(--em-gold-500)); border: 1px solid transparent; border-radius: 14px; font-size: .86rem; font-weight: 800; letter-spacing: .01em; box-shadow: 0 12px 28px rgba(185,134,45,.22); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.em-btn::before { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-18deg); transition: left .55s ease; pointer-events: none; }
.em-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(185,134,45,.28); }
.em-btn:hover::before { left: 130%; }
@media (prefers-reduced-motion: reduce) { .em-btn::before { display: none; } }
.em-btn--small { min-height: 43px; padding: 0 17px; border-radius: 12px; font-size: .78rem; }
.em-btn--navy { color: #fff; background: var(--em-navy-950); box-shadow: 0 12px 28px rgba(56,19,22,.18); }
.em-btn--navy:hover { background: var(--em-navy-850); }
.em-btn--ghost { color: #fff; background: transparent; border-color: rgba(255,255,255,.24); box-shadow: none; }
.em-btn--ghost:hover { border-color: var(--em-gold-400); color: var(--em-gold-400); background: rgba(255,255,255,.03); box-shadow: none; }
.em-btn--full { width: 100%; }
.em-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.em-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--em-navy-950); font-weight: 800; font-size: .88rem; border-bottom: 1px solid rgba(56,19,22,.25); padding-bottom: 4px; }
.em-text-link:hover { color: var(--em-gold-600); border-color: var(--em-gold-600); }

/* Search overlay */
.em-search-dialog { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 24px; background: rgba(42,15,19,.88); backdrop-filter: blur(18px); }
.em-search-dialog[hidden] { display: none; }
.em-search-close { position: absolute; right: 28px; top: 24px; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; color: #fff; font-size: 2rem; line-height: 1; }
.em-search-panel { width: min(680px, 100%); padding: 42px; background: #fff; border-radius: var(--em-radius-lg); box-shadow: 0 40px 100px rgba(0,0,0,.28); }
.em-search-panel h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.em-search-panel > p { color: var(--em-muted); margin-top: 16px; margin-bottom: 0; }
.search-form { display: flex; gap: 10px; }
.search-form label { flex: 1; }
.search-field { width: 100%; height: 54px; padding: 0 16px; color: var(--em-ink); background: #fff; border: 1px solid var(--em-line); border-radius: 13px; outline: none; }
.search-field:focus { border-color: var(--em-gold-500); box-shadow: 0 0 0 4px rgba(211,163,62,.12); }
.search-submit { height: 54px; padding: 0 20px; color: #fff; background: var(--em-navy-950); border: 0; border-radius: 13px; font-weight: 800; }

/* Hero */
.em-hero { position: relative; min-height: 690px; overflow: hidden; color: #fff; background:
  radial-gradient(circle at 78% 18%, rgba(71,111,153,.22), transparent 30%),
  radial-gradient(circle at 18% 90%, rgba(185,134,45,.10), transparent 34%),
  linear-gradient(118deg, var(--em-navy-1000), var(--em-navy-950) 52%, #6d2b2b); }
.em-hero::before { content: ""; position: absolute; inset: 0; opacity: .15; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to right, #000, transparent 82%); }
.em-hero-inner { position: relative; z-index: 2; min-height: 690px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(420px, .8fr); align-items: center; gap: 84px; padding: 88px 0 96px; }
.em-hero-copy { max-width: 720px; }
.em-hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 25px; padding: 8px 13px; color: var(--em-gold-400); background: rgba(226,189,104,.06); border: 1px solid rgba(226,189,104,.28); border-radius: 999px; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.em-hero h1 { margin-bottom: 25px; color: #fff; font-size: clamp(3.2rem, 5.7vw, 5.65rem); line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.em-hero-title-line { display: block; }
.em-hero-title-line.is-accent { color: var(--em-gold-400); font-style: italic; }
.em-hero-text { max-width: 650px; margin-bottom: 31px; color: #e3cfbc; font-size: clamp(1rem, 1.4vw, 1.16rem); line-height: 1.75; }
.em-hero-assurance { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px; color: #cab19b; font-size: .75rem; font-weight: 700; }
.em-hero-assurance span { display: flex; align-items: center; gap: 7px; }
.em-hero-assurance i { width: 18px; height: 18px; display: grid; place-items: center; color: var(--em-gold-400); background: rgba(226,189,104,.1); border-radius: 50%; font-style: normal; font-size: .66rem; }
.em-hero-visual { position: relative; min-height: 485px; display: grid; place-items: center; }
.em-editorial-card { width: min(440px, 100%); min-height: 390px; padding: 42px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.045)); border: 1px solid rgba(255,255,255,.17); border-radius: 34px 34px 14px 34px; box-shadow: 0 38px 90px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(18px); transform: rotate(1.5deg); }
.em-editorial-top { display: flex; align-items: flex-start; justify-content: space-between; }
.em-mini-label { color: var(--em-gold-600); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.em-editorial-card .em-mini-label { color: var(--em-gold-400); }
.em-editorial-mark { width: 62px; height: 62px; display: grid; place-items: center; color: var(--em-gold-400); background: rgba(226,189,104,.09); border: 1px solid rgba(226,189,104,.2); border-radius: 18px; }
.em-editorial-mark svg { width: 39px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.em-editorial-card blockquote { position: relative; margin: 48px 0 26px; padding-left: 6px; color: #fff; font-family: var(--em-serif); font-size: clamp(1.65rem, 2.7vw, 2.3rem); line-height: 1.28; }
.em-editorial-card blockquote::before { content: "“"; display: block; margin-bottom: -.18em; color: var(--em-gold-400); font-size: 2.6em; line-height: 1; opacity: .85; }
.em-editorial-card cite { color: #d6bfaa; font-style: normal; font-size: .8rem; font-weight: 700; }
.em-editorial-card cite::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--em-gold-400); }
.em-latest-float { position: absolute; left: -44px; bottom: 12px; width: 255px; padding: 22px; display: grid; gap: 7px; color: var(--em-ink); background: #fff; border-radius: 20px 20px 5px 20px; box-shadow: 0 24px 60px rgba(0,0,0,.23); transform: rotate(-2deg); transition: transform .2s ease; }
.em-latest-float:hover { transform: rotate(-2deg) translateY(-4px); }
.em-latest-float strong { font-family: var(--em-serif); font-size: 1.05rem; line-height: 1.25; }
.em-latest-link { color: var(--em-navy-950); font-size: .72rem; font-weight: 800; }
.em-topic-float { position: absolute; right: -16px; top: 34px; display: grid; gap: 7px; }
.em-topic-float span { padding: 7px 11px; color: #f7e7d8; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; font-size: .66rem; font-weight: 700; backdrop-filter: blur(8px); }
.em-hero-orbit { position: absolute; border-radius: 50%; }
.em-hero-orbit--one { width: 520px; height: 520px; right: -120px; top: 15px; border: 1px solid rgba(226,189,104,.14); background: radial-gradient(circle at 50% 50%, rgba(226,189,104,.05), transparent 62%); }
.em-hero-orbit--two { width: 760px; height: 760px; right: -280px; top: -105px; border: 1px solid rgba(226,189,104,.08); }
.em-hero-orbit--one::before { content: ""; position: absolute; inset: 38px; border: 1px solid rgba(226,189,104,.09); border-radius: 50%; }

/* Value strip */
.em-value-strip { background: #fff; border-bottom: 1px solid var(--em-line); }
.em-value-strip .em-container { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 26px; color: #836d5b; font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.em-value-strip i { width: 4px; height: 4px; flex: 0 0 auto; background: var(--em-gold-500); border-radius: 50%; }

/* Section headings */
.em-eyebrow { display: inline-block; margin-bottom: 13px; color: var(--em-gold-600); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.em-section-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.em-section-head h2 { text-wrap: balance; }
.em-section-head .em-lead { max-width: 650px; margin-inline: auto; }
.em-section-intro { margin-bottom: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .65fr); gap: 70px; align-items: end; }
.em-section-intro h2 { max-width: 750px; margin-bottom: 0; text-wrap: balance; }
.em-section-intro > p { margin: 0 0 7px; color: var(--em-muted); line-height: 1.85; }

/* Path cards */
.em-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.em-path-card { position: relative; min-height: 350px; padding: 29px; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--em-line); border-radius: var(--em-radius); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.em-path-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -90px; bottom: -90px; background: radial-gradient(circle, rgba(211,163,62,.16), transparent 70%); transition: transform .3s ease; }
.em-path-card:hover { transform: translateY(-7px); border-color: rgba(185,134,45,.42); box-shadow: var(--em-shadow-sm); }
.em-path-card:hover::after { transform: scale(1.45); }
.em-path-number { align-self: flex-end; color: #cebdad; font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.em-path-icon { width: 60px; height: 60px; margin: 29px 0 28px; display: block; background-color: var(--em-soft); background-repeat: no-repeat; background-position: center; background-size: 28px; border: 1px solid #f6ebe1; border-radius: 17px; transition: background-color .25s ease, border-color .25s ease, transform .25s ease; }
.em-path-card:hover .em-path-icon { background-color: var(--em-navy-950); border-color: var(--em-navy-950); transform: translateY(-2px) rotate(-4deg); }
.em-icon-sermon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23071629' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 24V9l9-4 9 4v15l-9 4-9-4Z'/%3E%3Cpath d='M16 5v23M11 11l3 1M11 16l3 1M21 11l-3 1M21 16l-3 1'/%3E%3C/svg%3E"); }
.em-icon-school { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23071629' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 11 12-6 12 6-12 6-12-6Z'/%3E%3Cpath d='M8 13.5V21c5 4 11 4 16 0v-7.5M28 11v9'/%3E%3C/svg%3E"); }
.em-icon-book { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23071629' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6c5-1 8 0 11 3 3-3 6-4 11-3v20c-5-1-8 0-11 3-3-3-6-4-11-3V6Z'/%3E%3Cpath d='M16 9v20M9 11h4M9 16h4M19 11h4M19 16h4'/%3E%3C/svg%3E"); }
.em-icon-gift { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23071629' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13h22v14H5zM3 8h26v5H3zM16 8v19'/%3E%3Cpath d='M16 8c-5 0-7-1-7-3 0-1.5 1-2.5 2.5-2.5C14 2.5 16 8 16 8ZM16 8c5 0 7-1 7-3 0-1.5-1-2.5-2.5-2.5C18 2.5 16 8 16 8Z'/%3E%3C/svg%3E"); }
.em-path-card h3 { margin-bottom: 12px; font-size: 1.42rem; }
.em-path-card p { color: var(--em-muted); font-size: .9rem; line-height: 1.7; }
.em-path-link { margin-top: auto; display: flex; align-items: center; justify-content: space-between; color: var(--em-navy-950); font-size: .78rem; font-weight: 800; }
.em-path-link b { width: 34px; height: 34px; display: grid; place-items: center; background: var(--em-soft); border-radius: 50%; transition: .2s ease; }
.em-path-card:hover .em-path-link b { color: var(--em-navy-950); background: var(--em-gold-400); transform: translateX(3px); }

/* Cards / editorial grid */
.em-editorial-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .7fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 22px; }
.em-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--em-line); border-radius: var(--em-radius); box-shadow: 0 8px 28px rgba(56,19,22,.04); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.em-card:hover { transform: translateY(-5px); border-color: rgba(185,134,45,.38); box-shadow: var(--em-shadow-sm); }
.em-card-media { position: relative; min-height: 225px; display: block; overflow: hidden; background-position: center; background-size: cover; transition: transform .5s ease; }
.em-card:hover .em-card-media { transform: scale(1.05); }
.em-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(42,15,19,.55)); }
.em-card-media--abstract { background:
  radial-gradient(circle at 76% 24%, rgba(226,189,104,.24), transparent 25%),
  radial-gradient(circle at 25% 90%, rgba(55,102,149,.36), transparent 35%),
  linear-gradient(135deg, var(--em-navy-850), var(--em-navy-950)); }
.em-card-media--abstract::before { content: "EM"; position: absolute; left: 28px; top: 25px; color: rgba(255,255,255,.08); font-family: var(--em-serif); font-size: 5.5rem; line-height: 1; }
.em-card-type { position: absolute; z-index: 2; left: 22px; top: 0; padding: 8px 12px 12px; color: var(--em-gold-400); background: linear-gradient(180deg, var(--em-ribbon), var(--em-ribbon-dark)); clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%); font-family: var(--em-sans); font-size: .6rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.em-card-body { padding: 26px; }
.em-card-body h3 { margin: 10px 0 12px; font-size: 1.48rem; line-height: 1.16; }
.em-card-body h3 a:hover { color: var(--em-gold-600); }
.em-card-body p { color: var(--em-muted); font-size: .88rem; line-height: 1.72; }
.em-meta { min-height: 20px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #9a8574; font-size: .68rem; font-weight: 700; }
.em-price { color: var(--em-gold-600); font-size: .82rem; }
.em-card-link { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; color: var(--em-navy-950); border-top: 1px solid #edf1f4; font-size: .78rem; font-weight: 800; }
.em-card-link span:last-child { transition: transform .2s ease; }
.em-card:hover .em-card-link span:last-child { transform: translateX(4px); }
.em-card--featured { grid-row: 1 / span 2; display: grid; grid-template-rows: 1.12fr .88fr; }
.em-card--featured .em-card-media { min-height: 340px; }
.em-card--featured .em-card-body { padding: 34px; }
.em-card--featured .em-card-body h3 { font-size: clamp(1.75rem, 3vw, 2.35rem); }
.em-card--featured .em-card-body p { font-size: .96rem; }
.em-card--compact { display: grid; grid-template-columns: 145px minmax(0, 1fr); }
.em-card--compact .em-card-media { min-height: 100%; }
.em-card--compact .em-card-body { padding: 24px; }
.em-card--compact .em-card-body h3 { font-size: 1.22rem; }
.em-card--compact .em-card-body p { display: none; }
.em-card--compact .em-card-link { margin-top: 12px; }
.em-empty-state { max-width: 720px; margin: 0 auto; padding: 52px; text-align: center; background: #fff; border: 1px solid var(--em-line); border-radius: var(--em-radius-lg); }
.em-empty-state > span { width: 58px; height: 58px; margin: 0 auto 20px; display: grid; place-items: center; color: var(--em-gold-600); background: var(--em-cream); border-radius: 50%; font-size: 1.6rem; }
.em-empty-state p { color: var(--em-muted); }

/* Featured lead magnet */
.em-feature-panel { display: grid; grid-template-columns: .72fr 1fr .95fr; align-items: stretch; overflow: hidden; color: #fff; background:
  radial-gradient(circle at 20% 20%, rgba(226,189,104,.13), transparent 26%),
  linear-gradient(130deg, var(--em-navy-1000), var(--em-navy-850)); border-radius: 34px; box-shadow: 0 34px 90px rgba(56,19,22,.2); }
.em-feature-art { position: relative; min-height: 480px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01)); border-right: 1px solid rgba(255,255,255,.08); background-size: cover; background-position: center; }
.em-feature-art.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(42,15,19,.35)); }
.em-feature-seal { position: absolute; z-index: 3; top: 0; left: 30px; width: 52px; padding: 16px 0 22px; display: flex; align-items: flex-start; justify-content: center; color: var(--em-gold-400); background: linear-gradient(180deg, var(--em-ribbon), var(--em-ribbon-dark)); font-family: var(--em-sans); font-size: .62rem; font-weight: 900; letter-spacing: .14em; writing-mode: vertical-rl; text-orientation: mixed; clip-path: polygon(0 0, 100% 0, 100% 82%, 50% 100%, 0 82%); box-shadow: 0 14px 26px rgba(0,0,0,.28); }
.em-feature-book { width: 215px; height: 300px; padding: 32px 25px; display: flex; flex-direction: column; color: #fff; background: linear-gradient(150deg, #6d2b2b, #2a0f13); border: 1px solid rgba(226,189,104,.42); border-radius: 8px 20px 20px 8px; box-shadow: -14px 20px 45px rgba(0,0,0,.38), inset 5px 0 0 rgba(255,255,255,.04); transform: rotate(-5deg); }
.em-feature-book::before { content: ""; width: 45px; height: 2px; margin-bottom: 28px; background: var(--em-gold-400); }
.em-feature-book span { color: var(--em-gold-400); font-size: .65rem; font-weight: 900; letter-spacing: .18em; }
.em-feature-book strong { margin-top: 15px; font-family: var(--em-serif); font-size: 1.9rem; font-weight: 400; line-height: 1.04; }
.em-feature-book small { margin-top: auto; color: #c9b099; font-size: .62rem; text-transform: uppercase; letter-spacing: .12em; }
.em-feature-copy { padding: 62px 35px 55px 48px; align-self: center; }
.em-feature-copy .em-eyebrow { color: var(--em-gold-400); }
.em-feature-copy h2 { color: #fff; font-size: clamp(2rem, 3vw, 3.1rem); }
.em-feature-copy > p { color: #dcc8b5; }
.em-feature-form { padding: 34px; display: flex; align-items: center; background: rgba(255,255,255,.055); border-left: 1px solid rgba(255,255,255,.08); }
.em-feature-form .em-lead-copy { display: none; }
.em-feature-form .em-lead-box { width: 100%; }
.em-check-list { list-style: none; padding: 0; margin: 25px 0 30px; display: grid; gap: 11px; }
.em-check-list li { position: relative; padding-left: 29px; }
.em-check-list li::before { content: "✓"; position: absolute; left: 0; top: .12em; width: 19px; height: 19px; display: grid; place-items: center; color: var(--em-navy-950); background: var(--em-gold-400); border-radius: 50%; font-size: .68rem; font-weight: 900; }
.em-check-list--light { color: #f0dfd0; font-size: .84rem; }

/* Forms / lead boxes */
.em-form { display: grid; gap: 14px; }
.em-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.em-field { display: grid; gap: 6px; }
.em-field label { color: var(--em-ink); font-size: .7rem; font-weight: 800; }
.em-field input,
.em-field textarea,
.em-field select { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--em-ink); background: #fff; border: 1px solid var(--em-line); border-radius: 12px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.em-field textarea { min-height: 160px; resize: vertical; }
.em-field input:focus,
.em-field textarea:focus,
.em-field select:focus { border-color: var(--em-gold-500); box-shadow: 0 0 0 4px rgba(211,163,62,.11); }
.em-consent { display: flex; align-items: flex-start; gap: 8px; color: #8d7969; font-size: .66rem; line-height: 1.45; }
.em-consent input { margin-top: 3px; accent-color: var(--em-gold-600); }
.em-lead-box--feature .em-field label,
.em-feature-form .em-consent { color: #f5e6d8; }
.em-lead-box--feature .em-field input { background: rgba(255,255,255,.95); }
.em-lead-box--sidebar,
.em-side-card { padding: 26px; background: #fff; border: 1px solid var(--em-line); border-radius: var(--em-radius); box-shadow: var(--em-shadow-sm); }
.em-lead-box--sidebar .em-lead-copy h3,
.em-lead-box--card .em-lead-copy h3 { margin: 6px 0 9px; font-size: 1.55rem; }
.em-lead-box--sidebar .em-lead-copy p,
.em-lead-box--card .em-lead-copy p { color: var(--em-muted); font-size: .82rem; }
.em-notice { margin-bottom: 18px; padding: 14px 17px; border: 1px solid var(--em-line); border-radius: 12px; font-size: .84rem; }
.em-notice--success { color: var(--em-success); background: #eef9f3; border-color: #d6e3bb; }
.em-notice--error { color: var(--em-danger); background: #fff1f1; border-color: #efc8c8; }

/* About */
.em-about-grid { display: grid; grid-template-columns: minmax(360px, .82fr) minmax(0, 1.05fr); gap: 90px; align-items: center; }
.em-about-visual { position: relative; min-height: 590px; }
.em-portrait { position: absolute; inset: 0 38px 42px 0; background-size: cover; background-position: center top; border-radius: 30px 30px 10px 30px; box-shadow: var(--em-shadow); }
.em-portrait--placeholder { display: grid; place-items: center; text-align: center; background:
  radial-gradient(circle at 65% 18%, rgba(226,189,104,.18), transparent 28%),
  linear-gradient(145deg, var(--em-navy-850), var(--em-navy-950)); color: #fff; }
.em-portrait--placeholder span { font-family: var(--em-serif); font-size: 8rem; color: rgba(255,255,255,.12); }
.em-portrait--placeholder small { position: absolute; bottom: 35px; max-width: 240px; color: #d7c0a9; font-size: .72rem; }
.em-about-quote { position: absolute; right: 0; bottom: 0; width: 260px; padding: 25px; color: #fff; background: var(--em-navy-950); border-radius: 19px 19px 5px 19px; box-shadow: var(--em-shadow-sm); }
.em-about-quote > span { color: var(--em-gold-400); font-family: var(--em-serif); font-size: 3rem; line-height: .5; }
.em-about-quote p { margin: 8px 0 0; font-family: var(--em-serif); font-size: 1.15rem; line-height: 1.35; }
.em-about-copy h2 { max-width: 680px; text-wrap: balance; }
.em-principles { margin: 34px 0 37px; display: grid; gap: 0; border-top: 1px solid var(--em-line); }
.em-principles > div { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--em-line); }
.em-principles strong { color: var(--em-gold-600); font-size: .7rem; letter-spacing: .1em; }
.em-principles span { color: var(--em-muted); font-size: .84rem; }
.em-principles b { display: block; margin-bottom: 2px; color: var(--em-navy-950); font-size: .83rem; }

/* Closing CTA */
.em-closing-card { padding: 62px 68px; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; color: #fff; background:
  radial-gradient(circle at 88% 15%, rgba(226,189,104,.18), transparent 26%),
  linear-gradient(130deg, var(--em-navy-1000), var(--em-navy-850)); border-radius: 32px; }
.em-closing-card h2 { max-width: 760px; color: #fff; font-size: clamp(2rem, 3.4vw, 3.25rem); }
.em-closing-card p { color: #decbb8; margin-bottom: 0; }
.em-closing-card .em-actions { flex: 0 0 auto; }

/* Footer lead */
.em-footer-lead { padding: 92px 0 70px; background: var(--em-paper); }
.em-footer-lead-inner { padding: 44px 50px; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 60px; background: var(--em-cream); border: 1px solid #ece3d2; border-radius: 26px; }
.em-footer-lead-inner h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.em-footer-lead-inner > div > p { margin-bottom: 0; color: var(--em-muted); }
.em-footer-lead .em-lead-copy { display: none; }
.em-footer-lead .em-lead-form { grid-template-columns: 1fr 1fr; align-items: end; }
.em-footer-lead .em-consent { grid-column: 1 / -1; }
.em-footer-lead .em-btn { grid-column: 1 / -1; }

/* Footer */
.em-site-footer { padding: 76px 0 28px; color: #d1bdaa; background: var(--em-navy-1000); }
.em-footer-grid { display: grid; grid-template-columns: 1.65fr .75fr .75fr 1fr; gap: 58px; }
.em-brand--footer { margin-bottom: 22px; }
.em-footer-brand > p { max-width: 410px; font-size: .84rem; line-height: 1.75; }
.em-site-footer h3 { margin-bottom: 20px; color: #fff; font-family: var(--em-sans); font-size: .73rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.em-site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.em-site-footer li, .em-site-footer a { font-size: .79rem; }
.em-site-footer a:hover { color: var(--em-gold-400); }
.em-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.em-social a { padding: 7px 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; }
.em-footer-bottom { margin-top: 60px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.09); color: #a9917b; font-size: .68rem; }
.em-whatsapp { position: fixed; z-index: 700; right: 22px; bottom: 78px; width: 54px; height: 54px; display: grid; place-items: center; color: #fff; background: #5e9c1a; border-radius: 50%; box-shadow: 0 14px 35px rgba(0,0,0,.22); transition: transform .2s ease; }
.em-whatsapp:hover { transform: translateY(-4px); }
.em-whatsapp svg { width: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.em-back-top { position: fixed; z-index: 700; right: 27px; bottom: 22px; width: 44px; height: 44px; color: #fff; background: var(--em-navy-850); border: 1px solid rgba(255,255,255,.12); border-radius: 50%; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s ease; }
.em-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* Page hero / breadcrumbs */
.em-page-hero,
.em-post-hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(circle at 85% 12%, rgba(226,189,104,.15), transparent 24%),
  linear-gradient(125deg, var(--em-navy-1000), var(--em-navy-850)); }
.em-page-hero::after,
.em-post-hero::after { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to right, transparent, #000); }
.em-page-hero .em-container { position: relative; z-index: 2; padding-top: 78px; padding-bottom: 82px; }
.em-page-hero h1 { max-width: 900px; color: #fff; font-size: clamp(2.55rem, 5vw, 4.55rem); text-wrap: balance; }
.em-page-hero p { max-width: 720px; margin-bottom: 0; color: #ddc9b6; font-size: 1.05rem; }
.em-breadcrumbs { position: relative; z-index: 2; margin-bottom: 30px; display: flex; flex-wrap: wrap; gap: 8px; color: #bba38c; font-size: .68rem; font-weight: 700; }
.em-breadcrumbs a:hover { color: var(--em-gold-400); }
.em-breadcrumbs span[aria-current="page"] { color: #e5d5c5; }

/* Page layout */
.em-page-layout { padding-top: 72px; padding-bottom: 96px; display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 70px; align-items: start; }
.em-page-content { max-width: 820px; }
.em-page-sidebar { position: sticky; top: 126px; display: grid; gap: 22px; }
.em-side-nav h3 { margin: 6px 0 18px; }
.em-side-nav > a { display: flex; justify-content: space-between; padding: 11px 0; color: var(--em-muted); border-top: 1px solid var(--em-line); font-size: .8rem; font-weight: 700; }
.em-side-nav > a:hover { color: var(--em-gold-600); }

/* Rich text */
.em-content { color: #5b4230; font-size: 1.02rem; line-height: 1.86; }
.em-content > *:first-child { margin-top: 0; }
.em-content h2 { margin-top: 2.05em; margin-bottom: .68em; color: var(--em-navy-950); font-size: clamp(1.75rem, 3vw, 2.45rem); }
.em-content h3 { margin-top: 1.8em; font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
.em-content h4 { margin-top: 1.7em; font-family: var(--em-sans); font-size: 1.05rem; font-weight: 800; }
.em-content a:not(.em-btn):not(.em-text-link) { color: #985a1a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.em-content blockquote { margin: 2.2em 0; padding: 28px 32px; color: var(--em-navy-850); background: var(--em-cream); border-left: 4px solid var(--em-gold-500); border-radius: 0 16px 16px 0; font-family: var(--em-serif); font-size: 1.35rem; line-height: 1.55; }
.em-content blockquote p:last-child { margin-bottom: 0; }
.em-content ul li, .em-content ol li { margin-bottom: .5em; }
.em-content img { border-radius: 16px; }
.em-content table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: .9rem; }
.em-content th, .em-content td { padding: 12px; border: 1px solid var(--em-line); text-align: left; }
.em-content th { background: var(--em-soft); color: var(--em-navy-950); }
.em-content .wp-block-button__link { border-radius: 12px; background: var(--em-navy-950); }

/* Single post */
.em-post-hero-inner { position: relative; z-index: 2; padding-top: 75px; padding-bottom: 108px; }
.em-post-kicker { margin-bottom: 23px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: #c8b09b; font-size: .72rem; font-weight: 700; }
.em-pill { position: relative; display: inline-flex; padding: 7px 10px 10px; color: var(--em-gold-400); background: linear-gradient(180deg, var(--em-ribbon), var(--em-ribbon-dark)); clip-path: polygon(0 0, 100% 0, 100% 74%, 50% 100%, 0 74%); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.em-post-hero h1 { max-width: 1000px; color: #fff; font-size: clamp(2.7rem, 5.6vw, 5rem); text-wrap: balance; }
.em-post-deck { max-width: 790px; color: #ddcab9; font-size: 1.08rem; line-height: 1.75; }
.em-author-line { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: #f2e4d7; font-size: .76rem; }
.em-author-line > span:last-child { display: grid; }
.em-author-line small { color: #bba28b; }
.em-author-avatar,
.em-author-box-avatar { flex: 0 0 auto; display: grid; place-items: center; color: var(--em-gold-400); background-color: var(--em-navy-850); background-position: center; background-size: cover; border: 1px solid rgba(226,189,104,.35); border-radius: 50%; font-family: var(--em-serif); }
.em-author-avatar { width: 44px; height: 44px; }
.em-featured--wide { position: relative; z-index: 3; margin: -62px 0 0; overflow: hidden; border-radius: 26px; box-shadow: var(--em-shadow); }
.em-featured--wide img { width: 100%; max-height: 660px; object-fit: cover; }
.em-article-layout { padding-top: 76px; padding-bottom: 100px; display: grid; grid-template-columns: 205px minmax(0, 730px) 270px; justify-content: center; gap: 46px; align-items: start; }
.em-article-aside,
.em-article-cta { position: sticky; top: 126px; }
.em-toc-card { padding: 20px 0; border-top: 2px solid var(--em-navy-950); border-bottom: 1px solid var(--em-line); }
.em-toc { margin-top: 14px; }
.em-toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.em-toc li { line-height: 1.35; }
.em-toc a { color: #8c7867; font-size: .72rem; font-weight: 700; }
.em-toc a:hover, .em-toc a.is-active { color: var(--em-gold-600); }
.em-toc p { color: #a69383; font-size: .7rem; line-height: 1.5; }
.em-share { margin-top: 24px; display: grid; gap: 8px; }
.em-share > span { margin-bottom: 3px; color: #a39080; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.em-share a, .em-share button { padding: 8px 0; color: var(--em-muted); background: transparent; border: 0; border-bottom: 1px solid var(--em-line); text-align: left; font-size: .72rem; font-weight: 700; }
.em-share a:hover, .em-share button:hover { color: var(--em-gold-600); }
.em-author-box { margin-top: 55px; padding: 30px; display: grid; grid-template-columns: 86px 1fr; gap: 24px; background: var(--em-soft); border-radius: var(--em-radius); }
.em-author-box-avatar { width: 86px; height: 86px; font-size: 1.65rem; }
.em-author-box h3 { margin: 5px 0 8px; }
.em-author-box p { color: var(--em-muted); font-size: .84rem; line-height: 1.7; }
.em-related { border-top: 1px solid var(--em-line); }

/* CTA inside content */
.em-content > .em-cta-box { margin-top: 42px !important; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; background: var(--em-navy-950); border-radius: var(--em-radius); }
.em-content > .em-cta-box h2 { margin: 0 0 5px; color: #fff; font-size: 1.7rem; }
.em-content > .em-cta-box p { margin: 0; color: #d0bdab; font-size: .82rem; }

/* Blog toolbar / pagination */
.em-blog-toolbar { margin-bottom: 30px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.em-blog-toolbar > span { color: var(--em-muted); font-size: .78rem; font-weight: 700; }
.em-blog-toolbar .search-form { width: min(390px, 100%); }
.em-pagination { margin-top: 48px; }
.em-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.em-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--em-line); border-radius: 10px; font-size: .76rem; font-weight: 800; }
.em-pagination .current, .em-pagination .page-numbers:hover { color: #fff; background: var(--em-navy-950); border-color: var(--em-navy-950); }

/* 404 */
.em-404 { min-height: 720px; display: grid; place-items: center; text-align: center; color: #fff; background:
  radial-gradient(circle at 50% 30%, rgba(226,189,104,.12), transparent 30%),
  var(--em-navy-1000); }
.em-404 .em-container { max-width: 780px; }
.em-404-code { display: block; color: rgba(255,255,255,.08); font-family: var(--em-serif); font-size: clamp(8rem, 22vw, 15rem); line-height: .75; }
.em-404 h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.3rem); }
.em-404 p { color: #d0bdaa; }
.em-404 .em-actions { justify-content: center; margin-top: 30px; }

/* Reveal animation */
.js .em-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .em-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1180px) {
  .em-header-inner { gap: 18px; }
  .em-nav a { padding-inline: 9px; font-size: .79rem; }
  .em-hero-inner { grid-template-columns: minmax(0, 1fr) 390px; gap: 45px; }
  .em-topic-float { right: 0; }
  .em-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-path-card { min-height: 300px; }
  .em-feature-panel { grid-template-columns: .68fr 1fr; }
  .em-feature-form { grid-column: 1 / -1; }
  .em-feature-form .em-lead-form { grid-template-columns: 1fr 1fr; align-items: end; }
  .em-feature-form .em-consent, .em-feature-form .em-btn { grid-column: 1 / -1; }
  .em-article-layout { grid-template-columns: 180px minmax(0, 720px); }
  .em-article-cta { display: none; }
}

@media (max-width: 1020px) {
  .em-header-cta { display: none; }
  .em-menu-toggle { display: block; order: 3; margin-left: 4px; }
  .em-header-actions { margin-left: auto; }
  .em-nav { position: fixed; inset: 118px 18px auto; max-height: calc(100vh - 140px); padding: 18px; display: none; overflow-y: auto; background: var(--em-navy-950); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
  .admin-bar .em-nav { inset-block-start: 150px; }
  .em-nav.is-open { display: block; }
  .em-nav ul { display: grid; }
  .em-nav a { min-height: 44px; padding-inline: 12px; }
  .em-nav .sub-menu { position: static; width: auto; padding: 0 0 8px 14px; opacity: 1; visibility: visible; transform: none; background: transparent; border: 0; box-shadow: none; }
  .em-nav .sub-menu a { color: #cab19b; }
  .em-hero { min-height: auto; }
  .em-hero-inner { min-height: auto; grid-template-columns: 1fr; padding: 80px 0 95px; }
  .em-hero-copy { max-width: 790px; }
  .em-hero-visual { width: min(520px, 100%); margin: 0 auto; }
  .em-latest-float { left: -20px; }
  .em-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .em-section-intro { gap: 35px; }
  .em-about-grid { grid-template-columns: 1fr 1fr; gap: 45px; }
  .em-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .em-footer-grid > div:last-child { grid-column: 2 / span 2; }
  .em-page-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 45px; }
  .em-article-layout { grid-template-columns: 1fr; max-width: 800px; }
  .em-article-aside { position: static; display: grid; grid-template-columns: 1fr auto; gap: 28px; }
  .em-toc-card { display: none; }
  .em-share { margin-top: 0; grid-template-columns: auto repeat(3, auto); align-items: center; }
  .em-share > span { margin: 0 8px 0 0; }
  .em-share a, .em-share button { border: 0; padding: 5px 8px; }
}

@media (max-width: 760px) {
  .admin-bar .em-site-header { top: 46px; }
  .admin-bar .em-reading-progress { top: 46px; }
  .em-container { width: min(calc(100% - 28px), var(--em-container)); }
  .em-section { padding: 72px 0; }
  .em-announcement a { justify-content: flex-start; min-height: 40px; white-space: nowrap; overflow: hidden; }
  .em-announcement a > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; }
  .em-announcement strong { display: none; }
  .em-header-inner { min-height: 72px; }
  .em-brand-mark { width: 42px; height: 42px; }
  .em-brand-text strong { font-size: 1.05rem; }
  .em-brand-text span { display: none; }
  .em-search-toggle { width: 41px; height: 41px; }
  .em-nav { inset-block-start: 104px; }
  .admin-bar .em-nav { inset-block-start: 150px; }
  .em-search-panel { padding: 28px; }
  .search-form { display: grid; }
  .em-hero-inner { padding: 65px 0 78px; gap: 55px; }
  .em-hero h1 { font-size: clamp(2.85rem, 13.8vw, 4.25rem); }
  .em-hero-text { font-size: .98rem; }
  .em-hero-visual { min-height: 390px; }
  .em-editorial-card { min-height: 335px; padding: 28px; }
  .em-editorial-card blockquote { margin: 35px 0 20px; font-size: 1.62rem; }
  .em-latest-float { left: 4px; bottom: -15px; width: 220px; padding: 18px; }
  .em-topic-float { right: 0; top: -20px; }
  .em-value-strip .em-container { padding: 16px 0; justify-content: flex-start; overflow-x: auto; }
  .em-value-strip span { flex: 0 0 auto; }
  .em-section-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 34px; }
  .em-path-grid, .em-grid--3, .em-grid--4 { grid-template-columns: 1fr; }
  .em-path-card { min-height: 280px; }
  .em-editorial-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .em-card--featured { grid-row: auto; }
  .em-card--compact { grid-template-columns: 125px minmax(0,1fr); }
  .em-feature-panel { grid-template-columns: 1fr; }
  .em-feature-art { min-height: 390px; border: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .em-feature-copy { padding: 42px 28px 15px; }
  .em-feature-form { padding: 28px; border-left: 0; }
  .em-feature-form .em-lead-form { grid-template-columns: 1fr; }
  .em-feature-form .em-consent, .em-feature-form .em-btn { grid-column: auto; }
  .em-about-grid { grid-template-columns: 1fr; }
  .em-about-visual { min-height: 480px; }
  .em-portrait { inset: 0 20px 45px 0; }
  .em-about-quote { width: 225px; }
  .em-closing-card { padding: 42px 28px; display: grid; }
  .em-footer-lead { padding: 65px 0 50px; }
  .em-footer-lead-inner { padding: 32px 24px; grid-template-columns: 1fr; gap: 28px; }
  .em-footer-lead .em-lead-form { grid-template-columns: 1fr; }
  .em-footer-lead .em-consent, .em-footer-lead .em-btn { grid-column: auto; }
  .em-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .em-footer-grid > div:first-child { grid-column: 1 / -1; }
  .em-footer-grid > div:last-child { grid-column: auto; }
  .em-footer-bottom { display: grid; }
  .em-page-hero .em-container { padding-top: 58px; padding-bottom: 62px; }
  .em-page-layout { grid-template-columns: 1fr; padding-top: 55px; }
  .em-page-sidebar { position: static; }
  .em-post-hero-inner { padding-top: 54px; padding-bottom: 86px; }
  .em-post-hero h1 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .em-featured--wide { margin-top: -38px; border-radius: 18px; }
  .em-article-layout { padding-top: 52px; }
  .em-share { display: flex; flex-wrap: wrap; }
  .em-author-box { grid-template-columns: 65px 1fr; padding: 24px; }
  .em-author-box-avatar { width: 65px; height: 65px; }
  .em-content > .em-cta-box { display: grid; }
  .em-blog-toolbar { display: grid; }
}

@media (max-width: 480px) {
  body { font-size: 15px; }
  .em-header-actions { gap: 6px; }
  .em-search-toggle { display: none; }
  .em-hero-assurance { display: grid; gap: 8px; }
  .em-actions { align-items: stretch; }
  .em-actions .em-btn { width: 100%; }
  .em-hero-visual { min-height: 375px; }
  .em-editorial-card { min-height: 320px; padding: 24px; }
  .em-editorial-mark { width: 50px; height: 50px; }
  .em-latest-float { width: 200px; }
  .em-topic-float { display: none; }
  .em-card--compact { grid-template-columns: 1fr; }
  .em-card--compact .em-card-media { min-height: 180px; }
  .em-card--compact .em-card-body p { display: block; }
  .em-feature-book { width: 185px; height: 265px; }
  .em-about-visual { min-height: 420px; }
  .em-about-quote { width: 205px; padding: 20px; }
  .em-footer-grid { grid-template-columns: 1fr; }
  .em-footer-grid > div:first-child { grid-column: auto; }
  .em-footer-grid > div:last-child { grid-column: auto; }
  .em-author-box { grid-template-columns: 1fr; }
  .em-search-dialog { padding: 14px; }
  .em-search-panel { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .em-reveal { opacity: 1; transform: none; }
}


/* =========================================================
   PREMIUM 3.0 — refinamentos de escala, retrato e biblioteca
   ========================================================= */

.em-hero {
  min-height: 660px;
}
.em-hero-inner {
  min-height: 660px;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .72fr);
  gap: 72px;
  padding: 74px 0 84px;
}
.em-hero-copy {
  max-width: 700px;
}
.em-hero h1 {
  max-width: 690px;
  font-size: clamp(3rem, 5vw, 4.75rem);
  line-height: 1;
}
.em-hero-portrait-wrap {
  min-height: 520px;
  place-items: center end;
}
.em-hero-portrait-card {
  position: relative;
  width: min(420px, 92%);
  height: 520px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 70% 18%, rgba(226,189,104,.20), transparent 28%),
    linear-gradient(155deg, #5c2226, #2a0f13 72%);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 34px 34px 10px 34px;
  box-shadow: 0 36px 90px rgba(0,0,0,.34);
}
.em-hero-portrait-card::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 10px;
  bottom: 10px;
  right: 6px;
  width: 3px;
  background: repeating-linear-gradient(180deg, var(--em-gold-400) 0 2px, transparent 2px 5px);
  opacity: .8;
  border-radius: 2px;
}
.em-hero-portrait-glow {
  position: absolute;
  inset: auto 8% 4% 8%;
  height: 58%;
  background: radial-gradient(ellipse, rgba(226,189,104,.22), transparent 68%);
  filter: blur(18px);
}
.em-hero-portrait {
  position: absolute;
  inset: 22px 22px 0;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  border-radius: 24px 24px 0 0;
  filter: saturate(.94) contrast(1.02);
}
.em-hero-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(56,19,22,.82) 100%);
}
.em-hero-nameplate {
  position: absolute;
  z-index: 3;
  left: 34px;
  right: 34px;
  bottom: 26px;
  display: grid;
  gap: 4px;
  color: #fff;
}
.em-hero-nameplate span {
  font-family: var(--em-serif);
  font-size: 1.55rem;
  line-height: 1.08;
}
.em-hero-nameplate small {
  color: #dbc7b4;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .035em;
}
.em-hero-verse {
  position: absolute;
  z-index: 5;
  left: -55px;
  top: 54px;
  width: 235px;
  padding: 22px 22px 20px;
  color: #fff;
  background: rgba(56,19,22,.93);
  border: 1px solid rgba(226,189,104,.22);
  border-radius: 18px 18px 5px 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.26);
  backdrop-filter: blur(12px);
}
.em-hero-verse .em-mini-label {
  color: var(--em-gold-400);
}
.em-hero-verse blockquote {
  position: relative;
  margin: 13px 0 10px;
  padding-left: 4px;
  font-family: var(--em-serif);
  font-size: 1.06rem;
  line-height: 1.32;
}
.em-hero-verse blockquote::before {
  content: "\201C";
  display: block;
  margin-bottom: -.28em;
  color: var(--em-gold-400);
  font-family: var(--em-serif);
  font-size: 2.4em;
  line-height: 1;
  opacity: .85;
}
.em-hero-verse cite {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d9c9c9;
  font-size: .64rem;
  font-style: normal;
  font-weight: 700;
}
.em-hero-verse cite::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--em-gold-400);
}
.em-latest-float--portrait {
  left: auto;
  right: -20px;
  bottom: 24px;
  width: 248px;
}
.em-topic-float {
  display: none;
}

/* Foto institucional padrão */
.em-portrait {
  background-position: center 8%;
}
.em-about-visual::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 62%;
  left: -30px;
  bottom: 10px;
  background: var(--em-cream);
  border-radius: 28px;
}

/* Escala editorial mais equilibrada */
.em-section {
  padding: 92px 0;
}
.em-section-intro h2,
.em-section-head h2,
.em-about-copy h2 {
  font-size: clamp(2rem, 3.1vw, 3rem);
}
.em-footer-lead-inner h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
}

/* Página do blog */
.em-page-hero--blog .em-container {
  padding-top: 64px;
  padding-bottom: 68px;
}
.em-page-hero--blog h1 {
  max-width: 860px;
  font-size: clamp(2.65rem, 4.5vw, 3.95rem);
  line-height: 1.03;
}
.em-page-hero--blog p {
  font-size: 1rem;
}
.em-blog-section {
  padding-top: 64px;
}
.em-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 38px;
  align-items: start;
}
.em-blog-main {
  min-width: 0;
}
.em-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.em-blog-sidebar {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 20px;
}
.em-blog-sidebar .em-side-card {
  padding: 25px;
  box-shadow: 0 10px 35px rgba(56,19,22,.06);
}
.em-blog-sidebar .em-side-card h2 {
  margin-bottom: 18px;
  font-size: 1.55rem;
}
.em-side-card--gold {
  background:
    radial-gradient(circle at 90% 5%, rgba(226,189,104,.26), transparent 30%),
    var(--em-cream);
  border-color: #ead9b9;
}
.em-side-card--gold p {
  color: var(--em-muted);
  font-size: .83rem;
}
.em-side-links {
  display: grid;
}
.em-side-links a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  color: var(--em-ink);
  border-top: 1px solid var(--em-line);
  font-size: .82rem;
  font-weight: 750;
}
.em-side-links a:first-child {
  border-top: 0;
}
.em-side-links a b {
  color: var(--em-gold-600);
  transition: transform .2s ease;
}
.em-side-links a:hover b {
  transform: translateX(4px);
}
.em-category-cloud {
  display: grid;
  gap: 8px;
}
.em-category-cloud a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 11px;
  color: var(--em-muted);
  background: var(--em-soft);
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 700;
}
.em-category-cloud a:hover {
  color: var(--em-navy-950);
  background: var(--em-cream);
}
.em-category-cloud span {
  min-width: 24px;
  padding: 2px 6px;
  text-align: center;
  color: var(--em-navy-950);
  background: #fff;
  border-radius: 999px;
  font-size: .62rem;
}

/* Cards editoriais únicos sem depender de imagem externa */
.em-card--archive .em-card-media {
  min-height: 215px;
}
.em-card--archive .em-card-body {
  padding: 24px;
}
.em-card--archive .em-card-body h3 {
  font-size: 1.32rem;
}
.em-card--archive .em-card-body p {
  font-size: .84rem;
}
.em-card-media--abstract::before {
  content: none;
}
.em-card-visual-word {
  position: absolute;
  z-index: 1;
  left: 24px;
  top: 28px;
  max-width: 78%;
  color: rgba(255,255,255,.20);
  font-family: var(--em-serif);
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: .92;
  letter-spacing: -.04em;
}
.em-card-visual-line {
  position: absolute;
  z-index: 1;
  left: 25px;
  top: 50%;
  width: 86px;
  height: 3px;
  background: var(--em-gold-400);
  box-shadow: 0 0 0 7px rgba(226,189,104,.08);
}
.em-card--visual-sermon .em-card-media--abstract {
  background:
    radial-gradient(circle at 82% 20%, rgba(226,189,104,.28), transparent 26%),
    linear-gradient(145deg, #623a13, #2f1603);
}
.em-card--visual-ebd .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(120,181,163,.30), transparent 28%),
    linear-gradient(145deg, #513d13, #311e03);
}
.em-card--visual-study .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(132,157,211,.32), transparent 28%),
    linear-gradient(145deg, #6e3d21, #331705);
}
.em-card--visual-leadership .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(218,152,109,.28), transparent 28%),
    linear-gradient(145deg, #4b2d32, #281511);
}
.em-card--visual-ai .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(154,124,235,.30), transparent 28%),
    linear-gradient(145deg, #682d2c, #311209);
}
.em-card--visual-devotion .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(203,164,91,.28), transparent 28%),
    linear-gradient(145deg, #4a3a28, #151716);
}
.em-card--visual-gift .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(117,190,146,.32), transparent 28%),
    linear-gradient(145deg, #414a1a, #201e03);
}
.em-card--visual-book .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(226,189,104,.30), transparent 28%),
    linear-gradient(145deg, #433521, #181510);
}
.em-card--visual-course .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(91,159,209,.30), transparent 28%),
    linear-gradient(145deg, #633e18, #311905);
}
.em-card--visual-article .em-card-media--abstract {
  background:
    radial-gradient(circle at 78% 20%, rgba(226,189,104,.22), transparent 28%),
    linear-gradient(145deg, var(--em-navy-850), var(--em-navy-1000));
}

/* Formulários */
.em-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.em-consent a:hover {
  color: var(--em-gold-600);
}

/* Ajuste de submenu */
.em-nav .sub-menu {
  width: 238px;
  padding: 8px;
}
.em-nav .sub-menu a {
  min-height: 39px;
}

/* Responsividade Premium 3.0 */
@media (max-width: 1180px) {
  .em-hero-inner {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 48px;
  }
  .em-hero-portrait-card {
    height: 485px;
  }
  .em-hero-verse {
    left: -35px;
    width: 220px;
  }
  .em-blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }
}

@media (max-width: 1020px) {
  .em-hero-inner {
    grid-template-columns: 1fr;
  }
  .em-hero-copy {
    max-width: 760px;
  }
  .em-hero-portrait-wrap {
    width: min(620px, 100%);
    min-height: 555px;
    margin-inline: auto;
    place-items: center;
  }
  .em-hero-verse {
    left: 0;
  }
  .em-latest-float--portrait {
    right: 0;
  }
  .em-blog-layout {
    grid-template-columns: 1fr;
  }
  .em-blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .em-blog-sidebar .em-side-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .em-hero-inner {
    padding: 58px 0 72px;
  }
  .em-hero h1 {
    font-size: clamp(2.65rem, 12.4vw, 3.75rem);
  }
  .em-hero-portrait-wrap {
    min-height: 500px;
  }
  .em-hero-portrait-card {
    width: min(390px, 88%);
    height: 470px;
  }
  .em-hero-verse {
    left: 0;
    top: 30px;
    width: 210px;
    padding: 18px;
  }
  .em-latest-float--portrait {
    right: 0;
    bottom: 8px;
    width: 220px;
  }
  .em-page-hero--blog .em-container {
    padding-top: 50px;
    padding-bottom: 54px;
  }
  .em-page-hero--blog h1 {
    font-size: clamp(2.25rem, 10vw, 3.1rem);
  }
  .em-blog-grid {
    grid-template-columns: 1fr;
  }
  .em-blog-sidebar {
    grid-template-columns: 1fr;
  }
  .em-blog-sidebar .em-side-card:last-child {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .em-hero-portrait-wrap {
    min-height: 455px;
  }
  .em-hero-portrait-card {
    width: 92%;
    height: 430px;
  }
  .em-hero-portrait {
    inset: 15px 15px 0;
  }
  .em-hero-nameplate {
    left: 25px;
    right: 25px;
    bottom: 22px;
  }
  .em-hero-verse {
    width: 185px;
    top: 18px;
    padding: 15px;
  }
  .em-hero-verse blockquote {
    font-size: .92rem;
  }
  .em-latest-float--portrait {
    width: 195px;
    padding: 16px;
  }
}

/* Ajustes finais de títulos internos — Premium 3.0 */
.em-page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 4.35vw, 3.9rem);
  line-height: 1.04;
}
.em-post-hero h1 {
  max-width: 980px;
  font-size: clamp(2.55rem, 4.7vw, 4.35rem);
  line-height: 1.02;
}
@media (max-width: 760px) {
  .em-page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.05rem); }
  .em-post-hero h1 { font-size: clamp(2.3rem, 10.8vw, 3.35rem); }
}
