:root {
  --navy-950: #06101a;
  --navy-900: #0a1825;
  --navy-850: #102333;
  --blue-700: #1d5075;
  --blue-600: #28668f;
  --green-500: #79c95a;
  --green-400: #91d875;
  --green-100: #e8f7e2;
  --cream: #f5f7f5;
  --white: #ffffff;
  --ink: #12202b;
  --muted: #5f6d76;
  --line: #dce4df;
  --shadow: 0 24px 70px rgba(5, 18, 29, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.section-light { background: var(--cream); }
.section-dark { background: var(--navy-950); color: var(--white); }
.eyebrow {
  margin: 0 0 14px;
  color: var(--green-500);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.025em; }
h1 { font-size: clamp(2.65rem, 5.7vw, 5.35rem); }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

.skip-link { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--green-500); color: var(--navy-950); padding: 10px 16px; border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(6, 16, 26, .82);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand img { width: 270px; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.main-nav { display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.78); font-size: .9rem; font-weight: 650; }
.main-nav a { transition: color .2s ease, transform .2s ease; }
.main-nav a:hover { color: var(--green-400); transform: translateY(-1px); }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(145,216,117,.55); border-radius: 999px; color: var(--green-400) !important; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); padding: 11px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; margin: 5px 0; transition: .25s ease; }

.hero { position: relative; min-height: 100vh; display: grid; align-items: center; padding: 150px 0 90px; overflow: hidden; isolation: isolate; }
 .hero-photo { position: absolute; z-index: -2; inset: 0; overflow: hidden; opacity: 1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 0% center; filter: saturate(.9) contrast(1.04) brightness(.92); transform: scale(1.015); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(6,16,26,.99) 0%, rgba(6,16,26,.95) 38%, rgba(6,16,26,.68) 61%, rgba(6,16,26,.23) 100%); }
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .26; }
.hero-glow-a { width: 480px; height: 480px; background: var(--blue-600); right: -110px; top: 80px; }
.hero-glow-b { width: 330px; height: 330px; background: var(--green-500); left: 35%; bottom: -180px; opacity: .12; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.18fr .82fr; gap: 70px; align-items: center; }
.hero h1 span { color: var(--green-400); }
.hero-lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.74); font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border-radius: 999px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--green-500); color: var(--navy-950); box-shadow: 0 16px 34px rgba(121,201,90,.22); }
.button-primary:hover { background: var(--green-400); box-shadow: 0 20px 42px rgba(121,201,90,.3); }
.button-secondary { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.button-secondary:hover { border-color: rgba(145,216,117,.7); color: var(--green-400); }
.button-outline-dark { border: 1px solid rgba(18,32,43,.25); color: var(--ink); }
.button-large { min-height: 58px; padding-inline: 30px; }
.trust-line { display: flex; align-items: flex-start; gap: 10px; color: rgba(255,255,255,.58); font-size: .9rem; max-width: 690px; }
.trust-line span { color: var(--green-400); font-weight: 900; }
.hero-visual { position: relative; min-height: 520px; }
.hero-note { position: absolute; right: 0; bottom: 54px; width: 300px; padding: 20px 22px; background: rgba(6,16,26,.72); color: #fff; border: 1px solid rgba(145,216,117,.34); border-radius: 18px; box-shadow: 0 26px 70px rgba(0,0,0,.28); backdrop-filter: blur(15px); }
.hero-note strong { display: block; margin-bottom: 5px; color: var(--green-400); }
.hero-note span { font-size: .92rem; color: rgba(255,255,255,.72); }

.section-heading { max-width: 780px; margin-bottom: 52px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section-heading.light > p:not(.eyebrow) { color: rgba(255,255,255,.62); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card { min-height: 230px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 16px 45px rgba(18,32,43,.05); transition: transform .2s ease, border-color .2s ease; }
.problem-card:hover { transform: translateY(-4px); border-color: rgba(121,201,90,.75); }
.icon-circle { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 24px; border-radius: 50%; background: var(--green-100); color: var(--blue-700); font-weight: 900; font-size: .82rem; }
.problem-card h3 { margin-bottom: 12px; }
.problem-card p { color: var(--muted); font-size: .95rem; }
.section-closing { max-width: 850px; margin: 42px auto 0; text-align: center; color: var(--blue-700); font-weight: 750; font-size: 1.08rem; }

.approach-section { background: #fff; }
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: start; }
.approach-copy h2 { margin-bottom: 26px; }
.approach-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.approach-values { display: grid; gap: 14px; }
.value-item { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--cream); }
.value-item > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: var(--green-400); font-weight: 900; }
.value-item h3 { margin-bottom: 5px; }
.value-item p { margin: 0; color: var(--muted); }
.value-item-featured { border-color: rgba(121,201,90,.72); background: linear-gradient(135deg, #f4faF1, #eef6f2); }
.avatar-callout { position: relative; display: grid; grid-template-columns: 150px 1fr; align-items: end; gap: 8px; margin-top: 32px; min-height: 185px; padding: 22px 24px 20px 8px; overflow: hidden; border: 1px solid rgba(40,102,143,.16); border-radius: var(--radius-md); background: linear-gradient(130deg, #edf6f7, #f7faf5); }
.avatar-callout img { align-self: end; width: 155px; max-height: 180px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 14px 18px rgba(15,42,57,.13)); }
.avatar-callout strong { display: block; margin-bottom: 7px; color: var(--blue-700); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.avatar-callout p { margin: 0 !important; color: var(--muted); font-size: .93rem !important; }

.mentorship-section { position: relative; overflow: hidden; background: linear-gradient(135deg, #143247 0%, #1b4557 58%, #173a4a 100%); }
.mentorship-section::after { content: "$"; position: absolute; right: -40px; top: -110px; color: rgba(121,201,90,.035); font-size: 33rem; font-weight: 900; line-height: 1; transform: rotate(-10deg); pointer-events: none; }
.mentorship-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mentorship-card { padding: 40px; border-radius: var(--radius-lg); border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.075); }
.mentorship-card.featured { border-color: rgba(121,201,90,.55); background: linear-gradient(145deg, rgba(121,201,90,.16), rgba(255,255,255,.085)); box-shadow: 0 30px 75px rgba(0,0,0,.2); }
.card-kicker { display: inline-flex; padding: 7px 11px; border-radius: 999px; margin-bottom: 24px; background: rgba(121,201,90,.14); color: var(--green-400); font-size: .78rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.mentorship-card h3 { font-size: 2rem; margin-bottom: 14px; }
.card-intro { color: rgba(255,255,255,.66); min-height: 72px; }
.mentorship-card ul { padding: 0; margin: 28px 0; list-style: none; }
.mentorship-card li { position: relative; padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.82); }
.mentorship-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green-400); font-weight: 900; }
.card-result { color: rgba(255,255,255,.7); font-size: .92rem; }
.card-result strong { color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--green-400); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link.dark { color: var(--blue-700); }

.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { position: relative; padding: 26px 22px; min-height: 205px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.step::after { content: ""; position: absolute; top: 50px; right: -15px; width: 16px; height: 2px; background: var(--green-500); }
.step:last-child::after { display: none; }
.step > span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 28px; border-radius: 50%; background: var(--navy-900); color: var(--green-400); font-weight: 900; }
.step h3 { margin-bottom: 10px; font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .9rem; }

.lecture-section { background: #fff; }
.lecture-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 56px; align-items: center; }
.lecture-image { max-width: 420px; width: 100%; justify-self: start; }
.lecture-image img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lecture-copy h2 { margin-bottom: 22px; }
.lecture-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; }
.check-list { padding: 0; margin: 26px 0 30px; list-style: none; }
.check-list li { position: relative; padding: 8px 0 8px 30px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green-500); font-weight: 900; }

.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.67); font-size: 1.03rem; }
.quote-card { padding: 40px; border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(121,201,90,.16), rgba(40,102,143,.18)); border: 1px solid rgba(145,216,117,.28); }
.quote-card p { font-size: 1.45rem; line-height: 1.45; color: #fff; }
.quote-card span { color: var(--green-400); font-weight: 800; }

.content-heading { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.content-heading > div { max-width: 720px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.post-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: 0 18px 45px rgba(18,32,43,.06); }
.post-card img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center top; transition: transform .35s ease; }
.post-card:hover img { transform: scale(1.035); }
.post-body { padding: 24px; }
.post-category { color: var(--green-500); font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.post-body h3 { min-height: 72px; margin-bottom: 12px; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px; align-items: start; }
.faq-heading p:not(.eyebrow) { color: var(--muted); }
.faq-heading { position: relative; order: 2; }
.accordion { order: 1; }
.faq-avatar { width: min(280px, 100%); margin: 26px 0 -38px 0; text-align: left; }
.faq-avatar img { width: 100%; max-height: 330px; object-fit: contain; object-position: bottom center; filter: drop-shadow(0 20px 25px rgba(15,42,57,.12)); }
.accordion { display: grid; gap: 12px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--cream); overflow: hidden; }
summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font-weight: 800; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--green-500); font-size: 1.5rem; }
details[open] summary::after { content: "−"; }
details > p { padding: 0 22px 22px; color: var(--muted); margin: 0; }
.faq-answer { padding: 0 22px 20px; }
.faq-answer p { color: var(--muted); margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }

.contact-section { padding: 95px 0; background: linear-gradient(120deg, var(--blue-700), var(--navy-900)); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.contact-copy h2 { margin-bottom: 16px; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); font-size: 1.05rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.contact-actions > a:not(.button) { color: rgba(255,255,255,.75); border-bottom: 1px solid rgba(255,255,255,.18); }

.site-footer { padding: 35px 0; background: var(--navy-950); color: rgba(255,255,255,.52); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 245px; height: auto; flex: 0 0 auto; }
.footer-inner p { margin: 0; font-size: .85rem; }

.back-to-top { position: fixed; z-index: 45; right: 24px; bottom: 24px; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid rgba(145,216,117,.58); border-radius: 50%; background: rgba(6,16,26,.86); color: var(--green-400); box-shadow: 0 16px 38px rgba(0,0,0,.24); backdrop-filter: blur(12px); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .22s ease; }
.back-to-top span { font-size: 1.45rem; line-height: 1; transform: translateY(-1px); }
.back-to-top:hover { background: var(--green-500); color: var(--navy-950); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 14px; font-size: .84rem; }
  .hero-grid { gap: 45px; }
  .hero-photo { width: 100%; }
  .hero-note { right: -4px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  .header-inner { height: 74px; }
  .brand img { width: 225px; }
  .menu-toggle { display: block; }
  .main-nav { position: absolute; top: 74px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: rgba(6,16,26,.98); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; padding-top: 125px; }
  .hero-grid, .approach-grid, .lecture-grid, .about-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .faq-heading { order: 1; }
  .accordion { order: 2; }
  .hero-grid { gap: 20px; }
  .hero-copy { text-align: center; }
  .hero-lead, .trust-line { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-photo { inset: 0; width: 100%; opacity: .52; -webkit-mask-image: none; mask-image: none; }
  .hero-photo img { object-position: 52% center; }
  .hero::before { background: linear-gradient(180deg, rgba(6,16,26,.97) 0%, rgba(6,16,26,.91) 45%, rgba(6,16,26,.68) 100%); }
  .hero-visual { min-height: 350px; }
  .hero-note { left: 50%; right: auto; transform: translateX(-50%); bottom: 26px; }
  .approach-grid, .lecture-grid, .about-grid, .faq-grid, .contact-grid { gap: 48px; }
  .lecture-image { max-width: 100%; }

  .mentorship-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .content-heading { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 860px) {
  .avatar-callout { grid-template-columns: 125px 1fr; }
  .avatar-callout img { width: 130px; }
  .faq-avatar { width: 245px; margin: 18px auto -24px; text-align: center; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .avatar-callout { grid-template-columns: 1fr; padding: 18px 20px 20px; text-align: center; }
  .avatar-callout img { width: 165px; margin: 0 auto -4px; }
  .faq-avatar { width: 210px; margin: 16px auto -18px; text-align: center; }
  .section { padding: 78px 0; }
  .brand img { width: 190px; }
  .hero { padding-top: 110px; padding-bottom: 95px; }
  .hero h1 { font-size: clamp(2.35rem, 12vw, 3.5rem); }
  .hero-note { width: min(340px, calc(100% - 20px)); }
  .back-to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
  .problem-grid, .steps-grid, .posts-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; }
  .mentorship-card { padding: 28px 24px; }
  .steps-grid { gap: 12px; }
  .step { min-height: auto; }
  .post-body h3 { min-height: auto; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-inner img { width: 220px; }
}

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


/* SEO/performance: reserve image geometry and improve print readability. */
.post-card img { background: #eef3ef; }
@media print {
  .site-header, .back-to-top, .hero-actions, .contact-actions { display: none !important; }
  .section, .hero { padding: 28px 0 !important; min-height: auto !important; }
  body, .section-dark { background: #fff !important; color: #111 !important; }
}

/* ===== Refinamentos visuais v5.1 ===== */
@media (min-width: 1121px) {
  .header-inner { gap: 20px; }
  .brand img { width: 248px; }
  .main-nav { gap: 17px; font-size: .86rem; white-space: nowrap; }
}

/* Evita estouro do menu em notebooks, zoom ampliado e janelas mais estreitas. */
@media (max-width: 1120px) {
  .header-inner { height: 74px; }
  .brand img { width: 225px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: rgba(6,16,26,.98);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 10px; }
  .nav-cta { margin-top: 5px; text-align: center; }
}

/* Ritmo um pouco mais compacto sem deixar a página apertada. */
@media (min-width: 861px) {
  .section { padding: 96px 0; }
  .section-heading { margin-bottom: 46px; }
  .contact-section { padding: 82px 0; }
}

/* Palestras: foto menor, vertical e equilibrada com o bloco de texto. */
.lecture-grid {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: clamp(44px, 6vw, 76px);
}
.lecture-image {
  width: 100%;
  max-width: 380px;
  justify-self: center;
}
.lecture-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}
.lecture-copy { max-width: 610px; }

/* Conteúdos: cards com alturas coerentes, sem esticar as imagens. */
.posts-grid {
  gap: 22px;
  align-items: stretch;
}
.post-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.post-card > a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #edf2ee;
}
.post-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center top;
}
.post-body {
  display: flex;
  flex-direction: column;
  padding: 21px 22px 22px;
}
.post-category { margin-bottom: 8px; }
.post-body h3 {
  min-height: 0;
  margin-bottom: 16px;
  font-size: 1.12rem;
}
.post-body .text-link { margin-top: auto; }

/* Rodapé mais discreto e logo sempre proporcional. */
.site-footer { padding: 26px 0; }
.footer-inner { min-height: 62px; }
.footer-inner img {
  width: 218px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}
.footer-inner p { white-space: nowrap; }

/* Evita corte de contatos longos. */
.contact-actions { min-width: 0; }
.contact-actions > a:not(.button) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .lecture-grid { grid-template-columns: 1fr; }
  .lecture-image { max-width: 430px; justify-self: center; }
  .lecture-copy { max-width: none; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner p { white-space: normal; }
}

@media (max-width: 620px) {
  .post-card > a { aspect-ratio: 1 / 1; }
  .post-body { padding: 19px; }
  .footer-inner img { width: 205px; }
}
