/*
Theme Name: Mayara Tesser
Theme URI: https://mayaratesser.com.br/
Author: Rota Studio
Author URI: https://arotastudio.com.br/
Description: Tema sob medida para Mayara Tesser — Psicóloga & Sexóloga. Home institucional, blog e página de artigo.
Version: 1.0.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mayaratesser
Tags: blog, one-column, custom-menu, featured-images, translation-ready
*/

:root {
  --wine: #59160a;
  --wine-deep: #3a0d06;
  --gold: #d9b275;
  --gold-soft: #e8cfa6;
  --cream: #f6ede3;
  --white: #ffffff;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
}

/* acessibilidade / WordPress */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--wine-deep);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}
.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ---------- HEADER ---------- */
/* O cabeçalho é sempre uma camada sobre o topo da página: fica fora do fluxo e
   com altura zero, para nunca empurrar a hero para baixo. */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  z-index: 10;
  padding: 0;
}
.header-inner {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  flex: 0 0 auto;
}
.brand img {
  display: block;
  height: 38px;
  width: auto;
}
.brand .brand-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--cream);
  text-decoration: none;
}

.nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
}
.nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 38px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.25s ease;
}
/* Todos os itens têm a mesma cor — inclusive o da página atual, que o
   WordPress marca com as classes abaixo. O destaque acontece só no hover. */
.nav a,
.nav a:visited,
.nav a[aria-current="page"],
.nav .current-menu-item > a,
.nav .current-menu-ancestor > a,
.nav .current_page_item > a,
.nav .current_page_parent > a,
.nav .current_page_ancestor > a {
  color: var(--cream);
}
.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"]:hover,
.nav .current-menu-item > a:hover,
.nav .current-menu-ancestor > a:hover,
.nav .current_page_item > a:hover,
.nav .current_page_parent > a:hover,
.nav .current_page_ancestor > a:hover {
  color: var(--gold-soft);
}

/* ---------- MENU MOBILE ---------- */
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(217, 178, 117, 0.45);
  border-radius: 999px;
  color: var(--gold-soft);
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}
.nav-toggle:hover {
  background: rgba(217, 178, 117, 0.12);
  border-color: var(--gold);
}
.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition:
    background 0.2s ease,
    transform 0.3s ease;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}
/* vira "X" quando aberto */
.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 104px 28px 40px;
  background: radial-gradient(
    120% 120% at 50% 0%,
    #6b1b0c 0%,
    var(--wine) 42%,
    var(--wine-deep) 100%
  );
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-nav a {
  display: block;
  padding: 18px 0;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(217, 178, 117, 0.18);
  transition: color 0.25s ease;
}
.mobile-nav li:last-child a {
  border-bottom: 0;
}
.mobile-nav a:hover,
.mobile-nav a:active {
  color: var(--gold);
}
body.nav-open {
  overflow: hidden;
}
/* header acima do painel e ancorado no topo enquanto o menu está aberto */
body.nav-open .site-header {
  position: fixed;
  z-index: 30;
}

/* ---------- BOTÕES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 999px;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}
.btn-header {
  flex: 0 0 auto;
  padding: 12px 26px;
  color: var(--gold-soft);
  border: 1px solid rgba(217, 178, 117, 0.55);
}
.btn-header:hover {
  background: rgba(217, 178, 117, 0.12);
  border-color: var(--gold);
  color: var(--gold);
}
.btn-cta {
  padding: 17px 40px;
  background: var(--gold);
  color: var(--wine-deep);
  font-weight: 600;
}
.btn-cta:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}
.btn-cta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--white);
}
h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}
/* destaque dos títulos das seções */
h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--wine);
}

.subheadline {
  font-size: 1.02rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(246, 237, 227, 0.82);
  margin: 0 0 44px;
  max-width: 560px;
}

/* ---------- HERO (home) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background-color: var(--wine);
  background-image: radial-gradient(
    120% 120% at 12% 18%,
    #6b1b0c 0%,
    var(--wine) 45%,
    var(--wine-deep) 100%
  );
  overflow: hidden;
}
/* brilho dourado difuso atrás da foto */
.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -6%;
  width: min(760px, 60vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 178, 117, 0.16) 0%,
    rgba(217, 178, 117, 0.06) 45%,
    rgba(217, 178, 117, 0) 70%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 160px 40px 120px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: min(560px, 46%);
}
/* Foto recortada: coluna à direita, ocupando toda a altura da hero */
.hero-media {
  position: absolute;
  top: 30px;
  right: 80px;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  /* a foto inteira aparece, ancorada na base da hero */
  object-fit: contain;
  object-position: right bottom;
  /* dissolve a borda esquerda da foto no fundo vinho */
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 12%,
    #000 30%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 12%,
    #000 30%
  );
}

/* ---------- FAIXA (boxed, sobreposta à hero) ---------- */
.strip {
  position: relative;
  z-index: 3;
  margin-top: -60px;
  padding: 0 40px;
  color: var(--wine-deep);
  background: linear-gradient(
    to bottom,
    transparent 0,
    transparent 60px,
    var(--cream) 60px
  );
}
.strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 24px;
  background: var(--gold);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 13, 6, 0.22);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}
.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 6px 24px;
  text-align: left;
}
.strip-item + .strip-item {
  border-left: 1px solid rgba(89, 22, 10, 0.18);
}
.strip-item i,
.strip-item svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  stroke: var(--wine);
  stroke-width: 1.5;
}
.strip-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  font-weight: 300;
  color: rgba(58, 13, 6, 0.72);
}
.strip-item strong {
  display: block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--wine-deep);
}

/* ---------- DORES ---------- */
.pains {
  position: relative;
  background: var(--cream);
  color: var(--wine-deep);
  padding: 110px 0;
}
.pains-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.pains-head {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
}
.pains .eyebrow {
  color: var(--wine);
}
.pains h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--wine-deep);
}
.pains .subheadline {
  color: rgba(58, 13, 6, 0.75);
  margin: 0 auto;
  max-width: 680px;
}
.pains-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 34px 32px;
  overflow: hidden;
  background-color: var(--wine);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border: 1px solid rgba(217, 178, 117, 0.22);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(58, 13, 6, 0.14);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
/* Véu para garantir leitura do texto sobre a imagem */
.pain-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(58, 13, 6, 0.45) 0%,
    rgba(58, 13, 6, 0.72) 55%,
    rgba(58, 13, 6, 0.92) 100%
  );
  transition: opacity 0.3s ease;
}
.pain-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 178, 117, 0.75);
  box-shadow: 0 18px 38px rgba(58, 13, 6, 0.24);
}
.pain-card-body {
  position: relative;
  z-index: 1;
  margin-top: auto;
}
.pain-card h3 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--gold-soft);
}
.pain-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(246, 237, 227, 0.78);
}

/* ---------- SOLUÇÃO ---------- */
.solution {
  background: var(--cream);
  padding: 0 0 110px;
}
.solution-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.solution-box {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 64px;
}
/* Sem vídeo definido, o texto ocupa a largura toda. */
.solution-box.has-no-video {
  grid-template-columns: 1fr;
}
.solution-box.has-no-video .solution-content {
  max-width: 760px;
}
.solution-video {
  position: relative;
  z-index: 1;
}
.solution-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 35%;
  background: var(--wine-deep);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 13, 6, 0.28);
}
/* Capa + botão de play */
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 22px;
  background: linear-gradient(
    180deg,
    rgba(58, 13, 6, 0.15) 0%,
    rgba(58, 13, 6, 0.45) 100%
  );
  cursor: pointer;
  transition:
    background 0.3s ease,
    opacity 0.25s ease;
}
.video-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(246, 237, 227, 0.55);
  color: rgba(246, 237, 227, 0.8);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.video-play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: currentColor;
}
.video-play:hover {
  background: rgba(58, 13, 6, 0.28);
}
.video-play:hover span {
  transform: scale(1.07);
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}
.solution-video.is-playing .video-play {
  opacity: 0;
  pointer-events: none;
}
.solution-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
}
.solution-content .eyebrow {
  color: var(--wine);
  margin-bottom: 12px;
}
.solution h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--wine-deep);
}
.solution-content p {
  margin: 0 0 20px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(58, 13, 6, 0.86);
}
.solution-content p:last-of-type {
  margin-bottom: 0;
}
.solution-cta {
  margin-top: 34px;
}
.solution .btn-cta {
  background: var(--wine);
  color: var(--cream);
}
.solution .btn-cta:hover {
  background: var(--wine-deep);
}

/* ---------- SOBRE MIM ---------- */
.about {
  width: 100%;
  background: var(--cream);
  color: var(--wine-deep);
}
.about-inner {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}
.about-box {
  position: relative;
  border-radius: 26px;
  background: linear-gradient(
    115deg,
    var(--gold-soft) 0%,
    var(--gold) 46%,
    #c99f60 100%
  );
  box-shadow: 0 18px 40px rgba(58, 13, 6, 0.16);
  padding: 60px 56px;
}
.about-content {
  position: relative;
  z-index: 2;
  max-width: min(560px, 46%);
}
.about-content .eyebrow {
  color: var(--wine);
  margin-bottom: 12px;
}
.about h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--wine-deep);
}
.about-content p {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(58, 13, 6, 0.86);
}
.about-content p:last-of-type {
  margin-bottom: 0;
}
/* CTA sobre o fundo dourado: vinho para contrastar */
.btn-about {
  margin-top: 34px;
  padding: 16px 36px;
  background: var(--wine);
  color: var(--cream);
  font-weight: 600;
}
.btn-about:hover {
  background: var(--wine-deep);
  transform: translateY(-2px);
}
.btn-about svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
/* Foto: coluna à direita, dissolvendo no fundo dourado */
.about-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 14%,
    #000 34%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 14%,
    #000 34%
  );
  pointer-events: none;
}

/* ---------- BLOG (seção da home) ---------- */
.blog-section {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 110px 0 0;
}
.blog-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.blog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.blog-head-text {
  max-width: 640px;
}
.blog-section .eyebrow {
  color: var(--wine);
}
.blog-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wine-deep);
}
.btn-blog {
  flex: 0 0 auto;
  padding: 14px 30px;
  background: var(--wine);
  color: var(--cream);
  font-weight: 600;
}
.btn-blog:hover {
  background: var(--wine-deep);
  transform: translateY(-2px);
}
.btn-blog svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- CARDS DE POST (home + arquivo) ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid rgba(89, 22, 10, 0.12);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(58, 13, 6, 0.14);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 22, 10, 0.35);
  box-shadow: 0 18px 38px rgba(58, 13, 6, 0.24);
}
.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--wine);
}
.blog-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}
.blog-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(58, 13, 6, 0.82);
  color: var(--gold-soft);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 12px;
  padding: 28px 26px 30px;
}
.blog-meta {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(58, 13, 6, 0.55);
}
.blog-card h2,
.blog-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.32;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wine-deep);
}
.blog-card p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 13, 6, 0.75);
}
.blog-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--wine);
  transition: gap 0.25s ease;
}
.blog-more svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.blog-card:hover .blog-more {
  gap: 14px;
}

/* ---------- INSTAGRAM ---------- */
.insta {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 100px 0 110px;
}
.insta-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.insta-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.insta-handle {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--wine-deep);
  transition: color 0.25s ease;
}
.insta-handle:hover {
  color: var(--wine);
}
.btn-insta {
  padding: 14px 30px;
  background: var(--wine);
  color: var(--cream);
  font-weight: 600;
}
.btn-insta:hover {
  background: var(--wine-deep);
  transform: translateY(-2px);
}
.btn-insta svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.insta-card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(89, 22, 10, 0.12);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(58, 13, 6, 0.14);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.insta-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.insta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 13, 6, 0) 45%,
    rgba(58, 13, 6, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.insta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(89, 22, 10, 0.35);
  box-shadow: 0 18px 38px rgba(58, 13, 6, 0.24);
}
.insta-card:hover img {
  transform: scale(1.04);
}
.insta-card:hover::after {
  opacity: 1;
}

/* ---------- FAQ ---------- */
.faq {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 110px 0 0;
}
.faq-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.faq-head .eyebrow {
  color: var(--wine);
  margin-bottom: 12px;
}
.faq h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wine-deep);
}
.faq-list {
  border-top: 1px solid rgba(89, 22, 10, 0.18);
}
.faq-item {
  border-bottom: 1px solid rgba(89, 22, 10, 0.18);
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--wine-deep);
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: var(--wine);
}
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 6px;
  background: var(--wine);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4v16M4 12h16' stroke='%23000' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(135deg);
}
.faq-item p {
  margin: 0;
  padding: 0 44px 26px 0;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(58, 13, 6, 0.82);
}

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--cream);
  padding: 0;
}
.cta-final-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.cta-final-box {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 90px 64px;
  background: radial-gradient(
    120% 120% at 50% 0%,
    #6b1b0c 0%,
    var(--wine) 42%,
    var(--wine-deep) 100%
  );
  color: var(--cream);
  border: 1px solid rgba(217, 178, 117, 0.22);
  border-radius: 26px;
  box-shadow: 0 18px 40px rgba(58, 13, 6, 0.22);
}
.cta-final-content {
  position: relative;
  z-index: 2;
  max-width: min(520px, 52%);
}
.cta-final h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  color: var(--white);
}
.cta-final h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}
.cta-final .subheadline {
  margin: 0 0 44px;
  max-width: 520px;
}
/* Foto: coluna da direita, com a cabeça saindo por cima da caixa */
.cta-final-media {
  position: absolute;
  top: -60px;
  right: 3%;
  bottom: 0;
  width: 42%;
  z-index: 1;
  pointer-events: none;
}
.cta-final-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 100%;
}

/* ---------- HERO DE PÁGINA (blog / arquivos / página) ---------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72vh;
  background-color: var(--wine);
  background-image: radial-gradient(
    120% 120% at 12% 18%,
    #6b1b0c 0%,
    var(--wine) 45%,
    var(--wine-deep) 100%
  );
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 40%;
  right: -8%;
  width: min(680px, 60vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 178, 117, 0.16) 0%,
    rgba(217, 178, 117, 0.06) 45%,
    rgba(217, 178, 117, 0) 70%
  );
  pointer-events: none;
}
.page-hero.is-compact {
  min-height: 0;
}
.page-hero.is-compact .page-hero-inner {
  padding-bottom: 90px;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 190px 40px 110px;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: min(560px, 46%);
}
.page-hero.is-compact .page-hero-content {
  max-width: 760px;
}
.page-hero .subheadline {
  margin: 0;
  max-width: 620px;
}
/* Foto recortada: coluna à direita, ocupando toda a altura do hero */
.page-hero-media {
  position: absolute;
  top: 30px;
  right: 80px;
  bottom: 0;
  width: min(560px, 46vw);
  z-index: 1;
  pointer-events: none;
}
.page-hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.page-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 12%,
    #000 30%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.5) 12%,
    #000 30%
  );
}

/* ---------- LISTAGEM DO BLOG ---------- */
.blog-list {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 72px 0 110px;
}
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter {
  padding: 10px 22px;
  border: 1px solid rgba(89, 22, 10, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(58, 13, 6, 0.72);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.filter:hover {
  border-color: var(--wine);
  color: var(--wine);
}
.filter.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.blog-empty {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(58, 13, 6, 0.75);
}

/* ---------- PAGINAÇÃO ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.page-link,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(89, 22, 10, 0.22);
  border-radius: 999px;
  color: rgba(58, 13, 6, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.page-link:hover,
.pagination a.page-numbers:hover {
  border-color: var(--wine);
  color: var(--wine);
}
.page-link.is-active,
.pagination .page-numbers.current {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.pagination .page-numbers.dots {
  border-color: transparent;
}
.page-link svg,
.pagination .page-numbers svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.page-link[aria-disabled="true"] {
  opacity: 0.4;
  pointer-events: none;
}

/* ---------- HERO DO ARTIGO ---------- */
.post-hero {
  position: relative;
  background-color: var(--wine);
  background-image: radial-gradient(
    120% 120% at 12% 18%,
    #6b1b0c 0%,
    var(--wine) 45%,
    var(--wine-deep) 100%
  );
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute;
  top: 40%;
  right: -8%;
  width: min(680px, 60vw);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(217, 178, 117, 0.16) 0%,
    rgba(217, 178, 117, 0.06) 45%,
    rgba(217, 178, 117, 0) 70%
  );
  pointer-events: none;
}
.post-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 180px 40px 120px;
}
.post-hero h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--white);
}
.post-date {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(246, 237, 227, 0.65);
}

/* ---------- CORPO DO ARTIGO ---------- */
.post-body {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 0 0 100px;
}
.post-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}
.post-body.no-cover .post-inner {
  padding-top: 72px;
}
/* imagem de destaque sobrepondo o hero */
.post-cover {
  position: relative;
  z-index: 3;
  width: 1200px;
  max-width: calc(100vw - 48px);
  margin: -70px 0 56px 50%;
  transform: translateX(-50%);
  overflow: hidden;
  border: 1px solid rgba(89, 22, 10, 0.12);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(58, 13, 6, 0.22);
}
.post-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 500;
  object-fit: cover;
}

.prose p {
  font-size: 1.04rem;
  line-height: 1.85;
  font-weight: 300;
  color: rgba(58, 13, 6, 0.82);
  margin: 0 0 26px;
}
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 52px 0 20px;
  color: var(--wine-deep);
}
.prose h2 em {
  font-style: italic;
  font-weight: 600;
  color: var(--wine);
}
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.22rem;
  line-height: 1.35;
  margin: 38px 0 14px;
  color: var(--wine-deep);
}
.prose h4,
.prose h5,
.prose h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 32px 0 12px;
  color: var(--wine-deep);
}
.prose a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.25s ease;
}
.prose a:hover {
  color: var(--wine-deep);
}
.prose strong {
  font-weight: 600;
  color: var(--wine-deep);
}
.prose ul,
.prose ol {
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.prose ol {
  counter-reset: prose-counter;
}
.prose li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(58, 13, 6, 0.82);
}
.prose ul li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.prose ol li::before {
  counter-increment: prose-counter;
  content: counter(prose-counter) ".";
  position: absolute;
  left: 0;
  font-weight: 600;
  color: var(--wine);
}
.prose blockquote {
  margin: 40px 0;
  padding: 32px 34px;
  background: var(--white);
  border: 1px solid rgba(89, 22, 10, 0.12);
  border-left: 3px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(58, 13, 6, 0.1);
}
.prose blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--wine);
  margin: 0;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose blockquote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-style: normal;
  color: rgba(58, 13, 6, 0.6);
}
.prose hr,
.prose .wp-block-separator {
  margin: 48px 0;
  border: 0;
  border-top: 1px solid rgba(89, 22, 10, 0.16);
}
.prose img,
.prose .wp-block-image img {
  height: auto;
  border-radius: 18px;
}
.prose figure {
  margin: 40px 0;
}
.prose figcaption,
.prose .wp-element-caption {
  margin-top: 12px;
  font-size: 0.84rem;
  font-weight: 300;
  text-align: center;
  color: rgba(58, 13, 6, 0.6);
}
.prose .wp-block-embed,
.prose .wp-block-video {
  margin: 40px 0;
}
.prose .wp-block-embed iframe,
.prose iframe,
.prose video {
  max-width: 100%;
  border-radius: 18px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 26px;
  font-size: 0.96rem;
  font-weight: 300;
  color: rgba(58, 13, 6, 0.82);
}
.prose th,
.prose td {
  padding: 12px 14px;
  border: 1px solid rgba(89, 22, 10, 0.16);
  text-align: left;
}
.prose code,
.prose pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92rem;
}
.prose pre {
  padding: 22px 24px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid rgba(89, 22, 10, 0.12);
  border-radius: 18px;
  color: var(--wine-deep);
}
.prose .alignleft {
  float: left;
  margin: 0 28px 20px 0;
}
.prose .alignright {
  float: right;
  margin: 0 0 20px 28px;
}
.prose .aligncenter {
  display: block;
  margin-inline: auto;
}
.prose > *:last-child {
  margin-bottom: 0;
}

/* caixa de destaque dentro do texto */
.post-note {
  margin: 40px 0;
  padding: 30px 32px;
  background: var(--wine);
  color: var(--cream);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(58, 13, 6, 0.2);
}
.post-note h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--gold);
}
.post-note p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.75;
  font-weight: 300;
  color: rgba(246, 237, 227, 0.85);
}

/* compartilhar */
.post-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid rgba(89, 22, 10, 0.16);
}
.post-share {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(58, 13, 6, 0.6);
}
.post-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(89, 22, 10, 0.22);
  border-radius: 999px;
  color: var(--wine);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.post-share a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--cream);
}
.post-share svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* posts relacionados */
.related {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 0 0 100px;
}
.related-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.related h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 36px;
  color: var(--wine-deep);
}

/* ---------- FORMULÁRIO DE BUSCA ---------- */
.search-form input[type="search"] {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--wine-deep);
  background: var(--white);
  border: 1px solid rgba(89, 22, 10, 0.18);
  border-radius: 16px;
}
.search-form input[type="search"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ---------- PÁGINA SIMPLES ---------- */
.page-body {
  background: var(--cream);
  color: var(--wine-deep);
  padding: 72px 0 100px;
}
.page-body .post-inner {
  max-width: 820px;
}

/* ---------- RODAPÉ ---------- */
.site-footer {
  background: var(--cream);
  color: rgba(58, 13, 6, 0.6);
  padding: 56px 24px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  color: var(--wine);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}
.site-footer a:hover {
  color: var(--wine-deep);
  text-decoration: underline;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 980px) {
  .header-inner {
    padding: 28px 24px;
    gap: 16px;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }

  /* hero da home: texto em cima, foto abaixo */
  .hero {
    flex-direction: column;
    justify-content: center;
  }
  .hero-content {
    max-width: none;
  }
  .hero-inner {
    order: 1;
    padding: 140px 24px 0;
  }
  .hero-media {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    max-width: 250px;
    margin: 30px auto 0;
  }
  .hero-media picture {
    height: auto;
  }
  .hero-media img {
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    margin-inline: auto;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 72%,
      rgba(0, 0, 0, 0.45) 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 72%,
      rgba(0, 0, 0, 0.45) 90%,
      transparent 100%
    );
  }
  .hero::before {
    top: auto;
    bottom: -18%;
    right: 50%;
    width: min(520px, 96vw);
    transform: translateX(50%);
  }

  /* a faixa empilha abaixo da hero */
  .strip {
    margin-top: -40px;
    padding: 0 24px;
    background: linear-gradient(
      to bottom,
      transparent 0,
      transparent 40px,
      var(--cream) 40px
    );
  }
  .strip-inner {
    grid-template-columns: 1fr;
    padding: 18px 22px;
    gap: 4px;
  }
  .strip-item {
    justify-content: flex-start;
    padding: 12px 0;
  }
  .strip-item + .strip-item {
    border-left: 0;
    border-top: 1px solid rgba(58, 13, 6, 0.18);
  }

  .pains {
    padding: 80px 0;
  }
  .pains-inner {
    padding: 0 24px;
  }
  .pains-head {
    margin-bottom: 40px;
  }
  .pains-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pain-card {
    padding: 26px 24px;
    aspect-ratio: auto;
    min-height: 260px;
  }
  .pain-card h3 {
    font-size: 1.15rem;
  }

  .solution {
    padding: 0 0 80px;
  }
  .solution-inner {
    padding: 0 24px;
  }
  .solution-box {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .solution-video {
    max-width: 360px;
    margin: 0 auto;
  }
  .solution-video video,
  .video-play {
    border-radius: 18px;
  }
  .video-play span {
    width: 62px;
    height: 62px;
  }
  .solution-content {
    max-width: none;
  }

  .about-inner {
    padding: 0 24px;
  }
  .about-box {
    border-radius: 22px;
    padding: 60px 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    /* gradiente na vertical, de cima pra baixo */
    background: linear-gradient(
      180deg,
      var(--gold-soft) 0%,
      var(--gold) 46%,
      #c99f60 100%
    );
  }
  .about-content {
    order: 1;
    max-width: none;
  }
  .about-content p {
    max-width: none;
  }
  /* Mobile: foto empilhada abaixo do texto, não mais ao fundo */
  .about-media {
    order: 2;
    position: static;
    width: auto;
    aspect-ratio: 1000 / 969;
    margin: 36px -28px -60px;
    background-position: center top;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .blog-section {
    padding: 80px 0 0;
  }
  .blog-inner {
    padding: 0 24px;
  }
  .blog-section .blog-inner {
    display: flex;
    flex-direction: column;
  }
  /* dissolve a linha do head para reordenar título, posts e botão */
  .blog-head {
    display: contents;
  }
  .blog-head-text {
    order: 1;
    margin-bottom: 32px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blog-section .blog-grid {
    order: 2;
  }
  /* botão vai para baixo dos posts, ocupando toda a largura */
  .btn-blog {
    order: 3;
    margin-top: 24px;
    width: 100%;
    justify-content: center;
  }
  .blog-card-body {
    padding: 24px 22px 26px;
  }

  .faq {
    padding: 80px 0 0;
  }
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 24px;
  }
  .faq-head {
    position: static;
  }
  .faq-item summary {
    font-size: 1.05rem;
  }
  .faq-item p {
    padding-right: 0;
  }

  .insta {
    padding: 70px 0 80px;
  }
  .insta-inner {
    padding: 0 24px;
  }
  .insta-head {
    margin-bottom: 28px;
  }
  .insta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* hero das páginas internas */
  .page-hero {
    flex-direction: column;
    min-height: 0;
  }
  .page-hero-inner {
    order: 1;
    padding: 145px 24px 0;
  }
  .page-hero.is-compact .page-hero-inner {
    padding-bottom: 64px;
  }
  .page-hero-content {
    max-width: none;
  }
  .page-hero-media {
    order: 2;
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 280px;
    margin: 24px auto 0;
  }
  .page-hero-media picture {
    height: auto;
  }
  .page-hero-media img {
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    margin-inline: auto;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 72%,
      rgba(0, 0, 0, 0.45) 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 72%,
      rgba(0, 0, 0, 0.45) 90%,
      transparent 100%
    );
  }
  .page-hero::before {
    top: auto;
    bottom: -10%;
    right: 50%;
    width: min(520px, 96vw);
    transform: translateX(50%);
  }

  .blog-list {
    padding: 48px 0 80px;
  }
  .blog-filters {
    margin-bottom: 28px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .blog-filters::-webkit-scrollbar {
    display: none;
  }
  .filter {
    flex: 0 0 auto;
  }
  .pagination {
    margin-top: 40px;
  }

  /* artigo */
  .post-hero-inner {
    padding: 145px 24px 80px;
  }
  .post-inner {
    padding: 0 24px;
  }
  .post-cover {
    margin-top: -48px;
    margin-bottom: 40px;
    border-radius: 18px;
  }
  .post-body {
    padding: 0 0 72px;
  }
  .prose blockquote {
    padding: 26px 24px;
  }
  .prose blockquote p {
    font-size: 1.08rem;
  }
  .post-note {
    padding: 26px 24px;
  }
  .post-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .related {
    padding: 0 0 72px;
  }
  .related-inner {
    padding: 0 24px;
  }

  /* CTA final */
  .cta-final {
    padding: 0;
  }
  .cta-final-inner {
    padding: 0 24px;
  }
  .cta-final-box {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 48px 28px 0;
    border-radius: 22px;
    overflow: hidden;
    text-align: left;
    /* gradiente na vertical, de cima pra baixo */
    background: linear-gradient(
      180deg,
      #6b1b0c 0%,
      var(--wine) 42%,
      var(--wine-deep) 100%
    );
  }
  .cta-final-content {
    order: 1;
    max-width: none;
  }
  .cta-final .subheadline {
    max-width: none;
  }
  .cta-final-media {
    order: 2;
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 340px;
    margin: 36px auto 0;
  }
  .cta-final-media img {
    height: auto;
  }

  .site-footer {
    padding: 32px 24px 28px;
  }
}

@media (max-width: 640px) {
  .brand img {
    height: 30px;
  }
  /* no celular o CTA do topo sai; o da hero fica logo abaixo */
  .btn-header {
    display: none;
  }
  .btn-cta {
    width: 100%;
  }
  .mobile-nav {
    padding-top: 96px;
  }
  .mobile-nav a {
    font-size: 1.25rem;
    padding: 16px 0;
  }
  .post-cover img {
    aspect-ratio: 16 / 10;
  }
}
