/* =========================================================
   1. TOKENS / BASE
========================================================= */

:root {
  --bg: #f8f7f3;
  --text: #191919;
  --muted: #5d5a55;
  --line: rgba(25, 25, 25, 0.12);

  --max-width: 720px;
  --pad-x: 28px;

  --space-xl: 9rem;
  --space-lg: 6rem;
  --space-md: 3rem;
  --space-sm: 1.25rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   2. LINKS
========================================================= */

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(25, 25, 25, 0.18);
  transition: border-color 180ms ease, opacity 180ms ease;
}

a:hover {
  border-color: rgba(25, 25, 25, 0.45);
  opacity: 0.9;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

/* =========================================================
   3. HEADER / MENU
========================================================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(248, 247, 243, 0.78);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.topbar a {
  border-bottom: none;
  color: var(--muted);
}

.topbar a:hover {
  color: var(--text);
  opacity: 1;
}

.topbar a.active {
  color: var(--text);
}

.topbar .brand {
  margin-right: 1.2rem;
  color: var(--text);
}

/* =========================================================
   4. HERO
========================================================= */

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad-x);
}

.hero-inner {
  max-width: 860px;
  position: relative;
}

/* linha sutil editorial */
.hero-inner::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--line);
  margin: 0 auto 2rem;
}

.hero h1 {
  margin: 0 0 1.2rem;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

/* subtítulo (campo semântico) */
.hero .sub {
  margin-top: 1.2rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  opacity: 0.85;
}

.signature {
  margin-top: 2.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  opacity: 0.7;
}

/* =========================================================
   5. LAYOUT
========================================================= */

.page {
  padding: 0 var(--pad-x) var(--space-xl);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto calc(var(--space-xl) * 0.85);
}

/* largura consistente das páginas internas */
.section.narrow {
  max-width: 620px;
}

.section.intro {
  margin-top: 1rem;
}

/* =========================================================
   6. TIPOGRAFIA
========================================================= */

strong {
  font-weight: 600;
}

.body-text p strong {
  letter-spacing: -0.01em;
}

.eyebrow {
  margin-bottom: 0.9rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted);
  opacity: 0.65;
}

body.institutional-page h1.eyebrow,
body.institutional-page h2.eyebrow {
  margin-top: 0;
  font-weight: 400;
  text-transform: none;
}

.body-text {
  font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.body-text p {
  margin: 0 0 1.35rem;
  font-weight: 400;
}

.section.narrow .body-text {
  font-weight: 400;
  letter-spacing: 0.01em;
}

.body-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  margin: 0 0 2.2rem;
  letter-spacing: -0.01em;
}

.article-cover {
  margin: 0 0 2.4rem;
}

.article-cover img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
}


.article-infographic {
  margin: 2.4rem 0 2.6rem;
}

.article-infographic img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  background: rgba(25, 25, 25, 0.025);
}

.article-infographic figcaption {
  margin-top: 0.7rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.72;
}

.article-photo {
  max-width: 42rem;
  margin: 2.5rem auto 2.7rem;
}

.article-photo-opening {
  margin-top: 0;
}

.article-photo img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.article-pullquote {
  margin: 2.4rem 0 2.7rem;
  padding: 1.3rem 0 0 1.4rem;
  border-top: 1px solid var(--line);
  border-left: 2px solid var(--line);
}

.article-pullquote p {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
  line-height: 1.3;
}

.article-video-section {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.article-video-section h2 {
  margin: 0 0 1.5rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.article-video-section video {
  display: block;
  width: 100%;
  max-height: 80vh;
  background: #111;
  border: 1px solid var(--line);
}

/* textos longos */
.text-meta {
  margin-bottom: 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
}

.text-body {
  font-size: clamp(1.55rem, 1.95vw, 1.8rem);
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.text-body p {
  margin: 0 0 1.35rem;
}

/* inscrições — grupo de homens / casa lavanda */
.enrollment-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: 2rem;
  align-items: center;
  margin: 1.2rem 0 3.5rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.18);
}

.enrollment-media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.enrollment-content {
  padding: 0.35rem 0.5rem 0.35rem 0;
}

.enrollment-status {
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.enrollment-content h2 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 3.1vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.enrollment-content > p:not(.enrollment-status) {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  line-height: 1.45;
}

.enrollment-details {
  margin: 1.2rem 0;
  padding: 1.1rem 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
}

.enrollment-details li + li {
  margin-top: 0.25rem;
}

.enrollment-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 0.25rem;
  padding: 0.8rem 1.2rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  border-bottom: 1px solid var(--text);
  background: var(--text);
  color: var(--bg);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.enrollment-button:hover {
  border-color: var(--text);
  color: var(--bg);
  opacity: 0.86;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .enrollment-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .enrollment-media {
    max-width: 28rem;
    margin: 0 auto;
  }

  .enrollment-content {
    padding: 0 0.25rem 0.25rem;
  }

  .enrollment-button {
    width: 100%;
  }
}

/* =========================================================
   7. HOME / BLOCOS
========================================================= */

.paths {
  display: grid;
  gap: 3.5rem;
}

.path {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.path h2,
.continuity h2,
.closing h2 {
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

.path p,
.continuity p,
.closing p {
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.4;
}

.continuity,
.closing {
  max-width: 640px;
}

/* =========================================================
   8. LINKS / LISTAS
========================================================= */

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.4rem;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.4;
}




/* =========================================================
   ASSINATURA DE AUTOR AO FINAL DOS TEXTOS
========================================================= */

.author-signature-section {
  margin-top: calc(var(--space-xl) * -0.25);
  margin-bottom: calc(var(--space-xl) * 0.5);
}

.author-signature {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--muted);
}

.author-signature a {
  color: inherit;
  border-bottom: 1px solid rgba(25, 25, 25, 0.18);
}

.author-signature a:hover {
  color: var(--text);
}

/* =========================================================
   ANÚNCIO DISCRETO AO FINAL DOS TEXTOS
========================================================= */

.post-ad-section {
  margin-top: calc(var(--space-xl) * -0.15);
  margin-bottom: calc(var(--space-xl) * 0.65);
}

.post-ad {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(25, 25, 25, 0.08);
  border-bottom: 1px solid rgba(25, 25, 25, 0.08);
  text-align: center;
}

.post-ad-label {
  margin: 0 0 0.85rem;
  font-family: "Inter", sans-serif;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
  opacity: 0.55;
}

.post-ad .adsbygoogle {
  display: block;
  min-height: 90px;
}

/* =========================================================
   NEWSLETTER APÓS OS ARTIGOS
========================================================= */

.post-newsletter-section {
  padding-top: 0;
  padding-bottom: 0;
}

.post-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: end;
  padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.75rem, 5vw, 3rem);
  background: #24231f;
  color: var(--bg);
  border-radius: 2px;
}

.post-newsletter-heading,
.post-newsletter-body {
  min-width: 0;
}

.post-newsletter-eyebrow {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: lowercase;
  color: rgba(248, 247, 243, 0.6);
}

.post-newsletter h2 {
  max-width: 13ch;
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 3.7vw, 2.8rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.post-newsletter-body p {
  margin: 0 0 1rem;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.42;
  color: rgba(248, 247, 243, 0.76);
}

.post-newsletter-body a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.3rem;
  border-bottom-color: rgba(248, 247, 243, 0.42);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.015em;
}

.post-newsletter-body a:hover {
  border-bottom-color: var(--bg);
  opacity: 1;
}

.post-newsletter-body a span {
  transition: transform 180ms ease;
}

.post-newsletter-body a:hover span {
  transform: translate(2px, -2px);
}

@media (max-width: 640px) {
  .post-newsletter {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem 1.35rem 1.65rem;
  }

  .post-newsletter h2 {
    max-width: 13ch;
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .post-newsletter-body p {
    font-size: 1.12rem;
  }
}

/* =========================================================
   9. FOOTER
========================================================= */

.footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.footer a {
  border-bottom: none;
  color: var(--muted);
}

.footer a:hover {
  color: var(--text);
  opacity: 1;
}

/* =========================================================
   10. RESPONSIVO
========================================================= */

@media (min-width: 900px) {
  .paths {
    gap: 4.25rem;
  }
}

@media (max-width: 640px) {
  :root {
    --space-xl: 6.5rem;
    --space-lg: 4.5rem;
    --space-md: 2.25rem;
    --pad-x: 22px;
  }

  .topbar-inner {
    gap: 0.9rem;
    font-size: 0.78rem;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 82vh;
  }

  .body-text {
    font-size: clamp(1.28rem, 6vw, 1.5rem);
    line-height: 1.48;
  }

  .body-text h1 {
    font-size: clamp(2rem, 8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1.8rem;
  }

  .text-body {
    font-size: clamp(1.35rem, 5.2vw, 1.55rem);
    line-height: 1.5;
  }

  .hero .sub {
    font-size: clamp(1.3rem, 5vw, 1.6rem);
  }

  .link-list {
    flex-direction: column;
    gap: 0.7rem;
    align-items: flex-start;
  }
}

/* =========================================================
   11. NEWSLETTER MODAL
========================================================= */

.newsletter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(25, 25, 25, 0.24);
  backdrop-filter: blur(5px);
}

.newsletter-modal.is-open {
  display: flex;
}

.newsletter-box {
  position: relative;
  width: min(100%, 560px);
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(25, 25, 25, 0.12);
  padding: 2.5rem 2.25rem 2.1rem;
  text-align: center;
}

.newsletter-box::before {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 0 auto 1.4rem;
  background: var(--line);
}

.newsletter-eyebrow {
  margin: 0 0 0.9rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--muted);
  opacity: 0.72;
}

.newsletter-box h3 {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.newsletter-text {
  max-width: 28rem;
  margin: 0 auto 1.75rem;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  color: var(--muted);
}

.newsletter-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-actions a,
.newsletter-actions button {
  border-bottom: none;
}

.btn-primary,
.btn-secondary {
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
  opacity: 0.92;
}

.btn-primary:hover {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
  opacity: 1;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--muted);
  border: none;
  opacity: 0.7;
}

.btn-secondary:hover {
  color: var(--text);
  background: transparent;
  opacity: 1;
}

.newsletter-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, opacity 180ms ease;
  opacity: 0.78;
}

.newsletter-close:hover {
  background: rgba(25, 25, 25, 0.05);
  color: var(--text);
  opacity: 1;
}

.newsletter-close:focus-visible,
.newsletter-actions a:focus-visible,
.newsletter-actions button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

body.modal-open {
  overflow: hidden;
}

/* =========================================================
   12. RESPONSIVO DO MODAL
========================================================= */

@media (max-width: 640px) {
  .newsletter-modal {
    padding: 18px;
    align-items: flex-end;
  }

  .newsletter-box {
    width: 100%;
    padding: 2rem 1.35rem 1.35rem;
    border-radius: 18px 18px 0 0;
  }

  .newsletter-box h3 {
    font-size: clamp(1.8rem, 8vw, 2.2rem);
    line-height: 1.08;
  }

  .newsletter-text {
    font-size: clamp(1.1rem, 4.8vw, 1.3rem);
    line-height: 1.42;
    margin-bottom: 1.4rem;
  }

  .newsletter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .btn-secondary {
    padding-top: 0.3rem;
  }
}

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

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

/* =========================================================
   13. BOX DE AGENDA / CONTATO
   usado na página contato e na página agenda
========================================================= */

.contact-agenda-box {
  margin-top: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1.5rem;
}

.agenda-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  background: #1f1f1f;
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1;
  border-bottom: none;
}

.agenda-button:hover {
  opacity: 0.86;
  border-color: transparent;
}

.agenda-note {
  margin-top: 1.7rem;
  font-size: 0.9rem;
  opacity: 0.72;
}

/* =========================================================
   14. RESPONSIVO DO BOX DE AGENDA / CONTATO
========================================================= */

@media (max-width: 640px) {
  .contact-agenda-box {
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .agenda-button {
    width: 100%;
    text-align: center;
    padding: 0.95rem 1.25rem;
  }
}

/* =========================================================
   15. PÁGINA QUEER EYE BRASIL
   usado em /rafael-stein-queer-eye-brasil/
========================================================= */

.qe-page {
  padding: 0 var(--pad-x) var(--space-xl);
}

.qe-section {
  max-width: 960px;
  margin: 0 auto calc(var(--space-xl) * 0.78);
}

.qe-section.qe-narrow {
  max-width: 680px;
}

.qe-hero {
  max-width: 1080px;
  margin: 0 auto calc(var(--space-xl) * 0.75);
  padding-top: 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 4rem;
  align-items: center;
}

.qe-hero-text {
  max-width: 680px;
}

.qe-hero-text h1 {
  margin: 0 0 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.018em;
}

.qe-sub {
  margin: 0 0 2rem;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  line-height: 1.25;
  color: var(--muted);
}

.qe-hero-text p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.48;
}

.qe-hero-media {
  margin: 0;
}

.qe-hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(25, 25, 25, 0.04);
}

.qe-caption {
  margin-top: 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.75;
}

.qe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
}

.qe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1.05rem;
  border-radius: 999px;
  border-bottom: none;
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.qe-button:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(25, 25, 25, 0.28);
}

.qe-button.primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.qe-button.primary:hover {
  background: var(--text);
  color: var(--bg);
}

.qe-intro-card {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.qe-intro-card p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.48;
}

.qe-intro-card p:last-child {
  margin-bottom: 0;
}

.qe-title-block {
  max-width: 680px;
  margin-bottom: 2rem;
}

.qe-title-block h2,
.qe-text h2 {
  margin: 0 0 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.3rem, 4vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.qe-title-block p {
  margin: 0;
  font-size: clamp(1.3rem, 1.7vw, 1.55rem);
  line-height: 1.45;
  color: var(--muted);
}

.qe-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.qe-video-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.16);
}

.qe-video-card.wide {
  grid-column: 1 / -1;
}

.qe-video-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: var(--text);
}

.qe-video-card p {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.32rem);
  line-height: 1.45;
  color: var(--muted);
}

.qe-video-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  margin-top: 1.15rem;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(25, 25, 25, 0.12);
}

.qe-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.qe-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: start;
}

.qe-quote {
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}

.qe-quote p {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.24;
}

.qe-quote span {
  display: block;
  margin-top: 1rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--muted);
}

.qe-text {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  line-height: 1.5;
}

.qe-text p {
  margin: 0 0 1.35rem;
}

.qe-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.qe-gallery figure {
  margin: 0;
}

.qe-gallery img {
  width: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  border: 1px solid var(--line);
  background: rgba(25, 25, 25, 0.04);
}

.qe-gallery-main img {
  height: 100%;
  min-height: 480px;
}

.qe-gallery-side {
  display: grid;
  gap: 1.25rem;
}

.qe-gallery-side img {
  aspect-ratio: 4 / 3;
}

.qe-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
}

.qe-card {
  min-height: 190px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.14);
  transition:
    border-color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.qe-card:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(25, 25, 25, 0.28);
}

.qe-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.qe-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--muted);
}

.qe-faq {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.qe-faq details {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.qe-faq summary {
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text);
}

.qe-faq p {
  margin: 1rem 0 0;
  font-size: clamp(1.16rem, 1.45vw, 1.35rem);
  line-height: 1.5;
  color: var(--muted);
}

.qe-note {
  margin-top: 1.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  opacity: 0.72;
}

/* =========================================================
   16. RESPONSIVO DA PÁGINA QUEER EYE BRASIL
========================================================= */

@media (max-width: 900px) {
  .qe-hero,
  .qe-split,
  .qe-gallery {
    grid-template-columns: 1fr;
  }

  .qe-hero {
    gap: 2.2rem;
    padding-top: 4.5rem;
  }

  .qe-hero-media img {
    aspect-ratio: 4 / 3;
  }

  .qe-gallery-main img {
    min-height: auto;
    aspect-ratio: 4 / 3;
  }

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

@media (max-width: 640px) {
  .qe-page {
    padding: 0 var(--pad-x) var(--space-xl);
  }

  .qe-section {
    margin-bottom: calc(var(--space-xl) * 0.72);
  }

  .qe-hero {
    padding-top: 3.8rem;
    margin-bottom: calc(var(--space-xl) * 0.72);
  }

  .qe-hero-text h1 {
    font-size: clamp(2.35rem, 12vw, 3.15rem);
  }

  .qe-sub {
    font-size: clamp(1.28rem, 6vw, 1.55rem);
  }

  .qe-hero-text p,
  .qe-intro-card p,
  .qe-text {
    font-size: clamp(1.25rem, 5.7vw, 1.48rem);
    line-height: 1.48;
  }

  .qe-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .qe-button {
    width: 100%;
    text-align: center;
  }

  .qe-intro-card,
  .qe-video-card,
  .qe-card,
  .qe-faq details {
    border-radius: 1.1rem;
  }

  .qe-video-grid,
  .qe-related-grid {
    grid-template-columns: 1fr;
  }

  .qe-title-block h2,
  .qe-text h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .qe-quote p {
    font-size: clamp(1.4rem, 6.4vw, 1.75rem);
  }
}

/* =========================================================
   PÁGINAS DE LISTAGEM — CSS MOVIDO DOS HTMLS
========================================================= */

/* origem: ler/index.html */
    .curated-list {
      display: grid;
      gap: 1.1rem;
      margin: 2rem 0 3rem;
    }

    .curated-card {
      display: block;
      padding: 1.25rem 0;
      border-top: 1px solid var(--line);
    }

    .curated-card:last-child {
      border-bottom: 1px solid var(--line);
    }

    .curated-card .meta {
      margin: 0 0 0.45rem;
      font-family: "Inter", sans-serif;
      font-size: 0.72rem;
      letter-spacing: 0.11em;
      text-transform: lowercase;
      color: var(--muted);
    }

    .curated-card h2 {
      margin: 0 0 0.45rem;
      font-size: clamp(1.75rem, 3vw, 2.35rem);
      font-weight: 500;
      line-height: 1.08;
      letter-spacing: -0.015em;
    }

    .curated-card p {
      max-width: 680px;
      margin: 0;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.45;
    }

    .quiet-box {
      padding: 1.5rem;
      border: 1px solid var(--line);
      background: rgba(25, 25, 25, 0.025);
      margin-top: 2rem;
    }
  

/* origem: textos/index.html */
    .blog-hero {
      max-width: 900px;
      margin: 0 auto 5.5rem;
      padding-top: 7rem;
    }

    .blog-hero h1 {
      margin: 0 0 1.35rem;
      font-weight: 500;
      font-size: clamp(3.2rem, 7vw, 6.4rem);
      line-height: 0.95;
      letter-spacing: -0.025em;
    }

    .blog-hero p:not(.eyebrow) {
      max-width: 680px;
      margin: 0;
      font-size: clamp(1.45rem, 2.2vw, 1.9rem);
      line-height: 1.35;
      color: var(--muted);
    }

    .blog-layout {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 300px;
      gap: 4rem;
      align-items: start;
    }

    .blog-featured,
    .blog-card,
    .blog-sidebox {
      border-top: 1px solid var(--line);
    }

    .blog-featured {
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      gap: 2rem;
      padding-top: 1.4rem;
      margin-bottom: 4rem;
    }

    .blog-featured img,
    .blog-card img {
      width: 100%;
      display: block;
      aspect-ratio: 16 / 10;
      object-fit: cover;
      border: 1px solid var(--line);
    }

    .blog-featured-pai img {
      object-position: 50% 38%;
    }

    .blog-meta {
      margin: 0 0 0.85rem;
      font-family: "Inter", sans-serif;
      font-size: 0.74rem;
      letter-spacing: 0.11em;
      text-transform: lowercase;
      color: var(--muted);
    }

    .blog-featured h2,
    .blog-card h2,
    .blog-sidebox h2 {
      margin: 0;
      font-weight: 500;
      line-height: 1.08;
      letter-spacing: -0.015em;
    }

    .blog-featured h2 {
      font-size: clamp(1.65rem, 2.3vw, 2.05rem);
      margin-bottom: 1rem;
    }

    .blog-featured p:not(.blog-meta),
    .blog-card p:not(.blog-meta),
    .blog-sidebox p {
      font-size: 1.18rem;
      line-height: 1.42;
      color: var(--muted);
    }

    .blog-read {
      display: inline-block;
      margin-top: 0.4rem;
      font-family: "Inter", sans-serif;
      font-size: 0.85rem;
      color: var(--muted);
    }

    .blog-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 2.5rem 2rem;
    }

    .blog-card {
      padding-top: 1.2rem;
    }

    .blog-card-body {
      padding-top: 1.1rem;
    }

    .blog-card h2 {
      font-size: clamp(1.65rem, 2.3vw, 2.05rem);
      margin-bottom: 0.75rem;
    }

    .blog-card p:not(.blog-meta) {
      margin: 0 0 0.8rem;
    }

    .blog-sidebar {
      position: sticky;
      top: 5.5rem;
    }

    .blog-sidebox {
      padding-top: 1.25rem;
      margin-bottom: 2.5rem;
    }

    .blog-sidebox h2 {
      font-size: 1.7rem;
      margin-bottom: 1rem;
    }

    .blog-categories {
      list-style: none;
      padding: 0;
      margin: 0;
      font-family: "Inter", sans-serif;
      font-size: 0.92rem;
    }

    .blog-categories li {
      border-bottom: 1px solid var(--line);
    }

    .blog-categories a {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      padding: 0.78rem 0;
      border-bottom: none;
      color: var(--muted);
    }

    .blog-newsletter {
      padding: 1.5rem;
      border: 1px solid var(--line);
      background: rgba(25, 25, 25, 0.025);
    }

    .blog-newsletter h2 {
      font-size: 2rem;
    }

    .blog-note {
      margin-top: 4rem;
      padding-top: 1.5rem;
      border-top: 1px solid var(--line);
    }

    @media (max-width: 900px) {
      .blog-layout,
      .blog-featured {
        grid-template-columns: 1fr;
      }

      .blog-sidebar {
        position: static;
      }
    }

    @media (max-width: 640px) {
      .blog-hero {
        padding-top: 4.5rem;
        margin-bottom: 4rem;
      }

      .blog-grid {
        grid-template-columns: 1fr;
      }
    }

    .side-label {
      font-family: Arial, sans-serif;
      font-size: 13px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .book-banner {
      background: var(--paper);
    }

    .book-banner h3 {
      font-size: 32px;
      margin-bottom: 18px;
    }

    .book-banner p {
      color: var(--muted);
      margin-bottom: 22px;
    }
.blog-book-banner h2 {
      margin-bottom: 1rem;
    }

    .blog-book-banner p {
      color: var(--muted);
      margin-bottom: 1.5rem;
    }

  
    .blog-book-banner .blog-meta {
      margin-bottom: 1.25rem;
    }

    .blog-book-banner h2 {
      margin-bottom: 1.5rem;
    }

    .blog-book-banner p {
      color: var(--muted);
      margin-bottom: 1.75rem;
    }

  

/* =========================================================
   17. UTILITÁRIOS EDITORIAIS E LIMPEZA DE CSS LOCAL
========================================================= */

.section-top {
  padding-top: 6rem;
}

.sr-only {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.link-list.link-list-column {
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.link-list.link-list-column-sm {
  flex-direction: column;
  gap: 0.9rem;
  align-items: flex-start;
}

.link-list.link-list-column-xs {
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}


/* páginas de trabalho — informação funcional com ritmo editorial */
.work-details {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.work-details h3 {
  margin: 0 0 0.45rem;
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  color: var(--muted);
}

.work-details p,
.work-details ul {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(0.96rem, 1.25vw, 1.06rem);
  line-height: 1.6;
}

.work-details ul {
  padding-left: 1.15rem;
}

.work-details li + li {
  margin-top: 0.35rem;
}

.work-notice {
  margin-top: 1.4rem;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
  font-family: "Inter", sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1rem);
  line-height: 1.55;
  color: var(--muted);
}

.work-details + .work-details {
  margin-top: 1.2rem;
}

@media (max-width: 640px) {
  .work-details {
    margin-top: 1.3rem;
    padding-top: 1rem;
  }

  .work-notice {
    margin-top: 1.2rem;
  }
}
.video-embed {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  margin: 2.5rem 0;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.article-title-spaced {
  margin-bottom: 2rem;
  font-weight: 500;
}

/* =========================================================
   18. PÁGINA DO LIVRO
   usado em /por-voce-eu-faria-isso-mil-vezes/
   segue a mesma largura, tipografia e ritmo das páginas internas
========================================================= */

body.book-page .body-text h2 {
  margin: 0 0 2.2rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 3.2vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.book-subtitle {
  margin: -1.2rem 0 1.35rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.4vw, 2rem);
  line-height: 1.25;
  color: var(--muted);
}

body.book-page .body-text h3 {
  margin: 2rem 0 0.85rem;
  font-family: "Inter", sans-serif;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--muted);
}

.book-intro-actions {
  margin-top: 2rem;
}

.book-note {
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.book-note p:last-child {
  margin-bottom: 0;
}

.book-card-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.book-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.book-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.book-card {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.book-card h3 {
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
}

.book-card p,
.book-card div {
  margin: 0;
  font-size: clamp(1.22rem, 1.65vw, 1.48rem);
  line-height: 1.45;
  color: var(--text);
}

.book-tag-list {
  margin-top: 1.6rem;
}

.word-constellation {
  margin-top: 2.2rem;
  padding: 3.4rem 2rem;
  background: rgba(248, 241, 230, 0.55);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.35rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.word-constellation span {
  display: inline-block;
  font-family: var(--serif);
  color: var(--text);
  line-height: 1.05;
  opacity: 0.84;
}

.word-xl {
  font-size: clamp(3rem, 7vw, 5.4rem);
  letter-spacing: -0.04em;
}

.word-lg {
  font-size: clamp(2.25rem, 5vw, 3.8rem);
  letter-spacing: -0.035em;
}

.word-md {
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  letter-spacing: -0.02em;
}

.word-sm {
  font-size: clamp(1rem, 2vw, 1.32rem);
  letter-spacing: 0.045em;
  color: var(--muted);
}

.book-signature {
  margin-top: 2.2rem;
  color: var(--muted);
}

@media (max-width: 760px) {
  .book-card-grid.two,
  .book-card-grid.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .word-constellation {
    padding: 2.6rem 1.2rem;
    gap: 1rem 1.6rem;
  }
}

@media (max-width: 640px) {
  body.book-page .body-text h2 {
    font-size: clamp(2rem, 8vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1.8rem;
  }
}

/* =========================================================
   19. PÁGINA DO LIVRO — POSTAIS E PLAYLIST
   elementos visuais discretos do universo do manuscrito
========================================================= */

.book-slow-reading .book-feature-image {
  margin: 2rem 0 0;
}

.book-feature-image {
  margin: 2rem 0;
}

.book-feature-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.book-postal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  margin-top: 2rem;
}

.book-postal-card {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.book-postal-card img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
}

.book-postal-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: var(--muted);
}

.book-postal-card p {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.24rem);
  line-height: 1.45;
  color: var(--text);
}

@media (max-width: 640px) {
  .book-postal-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =========================================================
   20. LANDING PAGE DE PALESTRA
   usado em /palestras/presenca-paternidade-masculinidades/
========================================================= */

body.talk-page {
  background: var(--bg);
}

.talk-shell {
  padding: 0 var(--pad-x) var(--space-xl);
}

.talk-hero {
  max-width: 1100px;
  margin: 0 auto calc(var(--space-xl) * 0.72);
  padding-top: 5.6rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 3.5rem;
  align-items: center;
}

.talk-hero-text h1 {
  margin: 0 0 1.4rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.65rem, 5.8vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.talk-subtitle {
  max-width: 36rem;
  margin: 0;
  font-size: clamp(1.36rem, 2.05vw, 1.85rem);
  line-height: 1.32;
  color: var(--muted);
}

.talk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
}

.talk-hero-media,
.talk-image {
  margin: 0;
}

.talk-hero-media img,
.talk-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: rgba(25, 25, 25, 0.04);
}

.talk-section {
  max-width: 980px;
  margin: 0 auto calc(var(--space-xl) * 0.68);
}

.talk-narrow {
  max-width: 680px;
}

.talk-text {
  font-size: clamp(1.34rem, 1.75vw, 1.62rem);
  line-height: 1.5;
  letter-spacing: 0.005em;
}

.talk-text p {
  margin: 0 0 1.35rem;
}

.talk-text p:last-child {
  margin-bottom: 0;
}

.talk-lead-card,
.talk-cta-box {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.18);
}

.talk-lead-card p,
.talk-cta-box .talk-text p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.36rem, 1.9vw, 1.75rem);
  line-height: 1.42;
}

.talk-lead-card p:last-child,
.talk-cta-box .talk-text p:last-child {
  margin-bottom: 0;
}

.talk-question {
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(2.05rem, 3.4vw, 3rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  color: var(--text);
}

.talk-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.talk-split.reverse .talk-image {
  order: 2;
}

.talk-split.reverse .talk-text {
  order: 1;
}

.talk-card-grid {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.6rem;
}

.talk-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.talk-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.14);
}

.talk-card h2 {
  margin: 0 0 0.65rem;
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: lowercase;
  color: var(--muted);
}

.talk-card p {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.45;
}

.talk-card-grid.compact .talk-card {
  padding: 1.2rem;
}

.talk-quote-line {
  margin-top: 2rem !important;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.talk-tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
}

.talk-tag-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.58rem 0.82rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.12);
}

.talk-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.talk-info-grid div {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.talk-info-grid h2 {
  margin: 0 0 0.55rem;
  font-family: "Inter", sans-serif;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: lowercase;
  color: var(--muted);
}

.talk-info-grid p {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.3rem);
  line-height: 1.42;
}

.talk-after-grid {
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .talk-hero,
  .talk-split,
  .talk-split.reverse {
    grid-template-columns: 1fr;
  }

  .talk-hero {
    gap: 2.2rem;
    padding-top: 4.5rem;
  }

  .talk-split.reverse .talk-image,
  .talk-split.reverse .talk-text {
    order: initial;
  }

  .talk-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .talk-shell {
    padding: 0 var(--pad-x) var(--space-xl);
  }

  .talk-hero {
    padding-top: 3.8rem;
    margin-bottom: calc(var(--space-xl) * 0.72);
  }

  .talk-hero-text h1 {
    font-size: clamp(2.35rem, 11vw, 3.15rem);
  }

  .talk-subtitle,
  .talk-text,
  .talk-lead-card p,
  .talk-cta-box .talk-text p {
    font-size: clamp(1.23rem, 5.5vw, 1.46rem);
    line-height: 1.48;
  }

  .talk-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .talk-actions .qe-button {
    width: 100%;
    text-align: center;
  }

  .talk-lead-card,
  .talk-cta-box,
  .talk-card,
  .talk-hero-media img,
  .talk-image img {
    border-radius: 1.1rem;
  }

  .talk-lead-card,
  .talk-cta-box {
    padding: 1.45rem;
  }

  .talk-card-grid.two {
    grid-template-columns: 1fr;
  }

  .talk-question {
    font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
  }

  .talk-tag-grid {
    align-items: flex-start;
  }
}



/* Ajustes compactos para landing pages de palestras */
.talk-hero {
  padding-top: 4.4rem;
  margin-bottom: calc(var(--space-xl) * 0.58);
  gap: 2.7rem;
}

.talk-hero-text h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.55rem, 5.15vw, 4.65rem);
  line-height: 0.99;
}

.talk-subtitle {
  max-width: 33rem;
  font-size: clamp(1.24rem, 1.75vw, 1.64rem);
  line-height: 1.34;
}

.talk-actions {
  margin-top: 1.45rem;
}

.talk-hero-media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.talk-conductor .talk-actions {
  margin-top: 1.25rem;
}

@media (max-width: 900px) {
  .talk-hero {
    padding-top: 3.8rem;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .talk-hero {
    padding-top: 3.2rem;
  }

  .talk-hero-text h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }
}

/* =========================================================
   MENU MOBILE
========================================================= */

.nav-toggle {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  padding: 0.35rem 0;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  color: var(--text);
}

.nav-toggle:focus-visible {
  outline: 1px solid rgba(25, 25, 25, 0.35);
  outline-offset: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .topbar-inner {
    justify-content: space-between;
    gap: 0;
    flex-wrap: wrap;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .topbar .brand {
    margin-right: 0;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.82rem;
    padding-top: 1rem;
    padding-bottom: 0.35rem;
  }

  .topbar.nav-open .nav-links {
    display: flex;
  }
}

/* Política de privacidade — hierarquia tipográfica própria da página utilitária */
body.privacy-page .body-text h1 {
  font-size: clamp(2rem, 2.8vw, 2.4rem);
  line-height: 1.15;
  margin-bottom: 1.8rem;
}

body.privacy-page .body-text h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.55rem, 2.1vw, 1.9rem);
  line-height: 1.25;
  margin: 3rem 0 1rem;
  letter-spacing: -0.01em;
}

@media (max-width: 680px) {
  body.privacy-page .body-text h1 {
    font-size: clamp(1.9rem, 9vw, 2.2rem);
  }

  body.privacy-page .body-text h2 {
    font-size: clamp(1.45rem, 7vw, 1.7rem);
    margin-top: 2.5rem;
  }
}
