/* =========================================================================
   PÉROLA MARES — DESIGN SYSTEM
   Tokens: cor, tipografia, layout, assinatura visual (color-block diagonal,
   inspirado nos looks esportivos color-blocked da própria personagem).
   ========================================================================= */

/* Fontes self-hosted (variable fonts, subset latin) — elimina dependência de
   fonts.googleapis.com/fonts.gstatic.com e a cadeia extra de requisições que
   o @import gerava, melhorando LCP/FCP. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-standard-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-standard-italic.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  /* ---- cor ---- */
  --pm-paper: #faf7fb;
  --pm-paper-alt: #f2eef7;
  --pm-ink: #17132a;
  --pm-ink-70: rgba(23, 19, 42, 0.7);
  --pm-ink-45: rgba(23, 19, 42, 0.45);
  --pm-pink: #ff2e88;
  --pm-pink-soft: #ffd6e9;
  --pm-ocean: #0b5fff;
  --pm-ocean-soft: #dbe7ff;
  --pm-lilac: #8b5cf6;
  --pm-coral: #ff7a45;
  --pm-gold: #c9a46a;
  --pm-white: #ffffff;

  --pm-gradient-signature: linear-gradient(
    115deg,
    var(--pm-coral) 0%,
    var(--pm-pink) 38%,
    var(--pm-lilac) 68%,
    var(--pm-ocean) 100%
  );

  /* ---- tipografia ---- */
  --font-display: "Fraunces", "Iowan Old Style", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.1rem);
  --step-3: clamp(2.1rem, 1.7rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.8rem, 2.1rem + 3.2vw, 4.6rem);
  --step-5: clamp(3.6rem, 2.4rem + 5.5vw, 6.6rem);

  /* ---- layout ---- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   RESET
   ========================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--pm-paper);
  color: var(--pm-ink);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 3px solid var(--pm-ocean);
  outline-offset: 3px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pm-pink);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--pm-gradient-signature);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7.5rem);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: var(--step-3);
  margin-top: 0.5rem;
}

.section-head p {
  margin-top: 1rem;
  color: var(--pm-ink-70);
  font-size: var(--step-1);
}

.text-center {
  text-align: center;
  margin-inline: auto;
}

/* =========================================================================
   BOTÕES
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  border-radius: 999px;
  font-weight: 700;
  font-size: var(--step--1);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--pm-ink);
  color: var(--pm-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(23, 19, 42, 0.45);
}

.btn-gradient {
  background: var(--pm-gradient-signature);
  color: var(--pm-white);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -10px rgba(255, 46, 136, 0.5);
}

.btn-outline {
  border-color: var(--pm-ink);
  color: var(--pm-ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--pm-ink);
  color: var(--pm-white);
}

.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--pm-white);
}

.btn-outline.on-dark:hover {
  background: var(--pm-white);
  color: var(--pm-ink);
}

/* =========================================================================
   HEADER
   ========================================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 251, 0.82);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(23, 19, 42, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--pm-pink);
  font-style: italic;
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  gap: clamp(1.1rem, 2vw, 2.1rem);
  align-items: center;
}

.nav-desktop a {
  font-weight: 600;
  font-size: 0.94rem;
  position: relative;
  padding-block: 6px;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--pm-gradient-signature);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pm-ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  top: 82px;
  right: 0;
  bottom: 0;
  left: 0;
  background: var(--pm-paper);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 90;
  overflow-y: auto;
}

.nav-mobile.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile ul {
  padding: 2.5rem var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  padding-block: 0.5rem;
  display: block;
  border-bottom: 1px solid rgba(23, 19, 42, 0.08);
}

.nav-mobile .header-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  white-space: normal;
  text-align: center;
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  padding-block: 1.1em;
}

@media (min-width: 960px) {
  .nav-desktop {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
  .nav-mobile {
    display: none;
  }
}

/* =========================================================================
   HERO — assinatura: faixa diagonal color-block atrás do título
   ========================================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 6vw, 4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy .eyebrow {
  margin-bottom: 1.2rem;
}

.hero-copy h1 {
  font-size: var(--step-5);
  font-style: italic;
}

.hero-copy h1 em {
  font-style: normal;
  background: var(--pm-gradient-signature);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy .lede {
  margin-top: 1.5rem;
  font-size: var(--step-1);
  color: var(--pm-ink-70);
  max-width: 46ch;
}

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  isolation: isolate;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -20% -30%;
  background: var(--pm-gradient-signature);
  transform: rotate(-8deg);
  clip-path: polygon(0 38%, 100% 22%, 100% 100%, 0 100%);
  z-index: -1;
  opacity: 0.9;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .tag {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(23, 19, 42, 0.55);
  backdrop-filter: blur(8px);
  color: var(--pm-white);
  padding: 0.5em 1em;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

/* =========================================================================
   QUEM É PÉROLA
   ========================================================================= */
.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy h2 {
  font-size: var(--step-3);
  font-style: italic;
}

.split-copy p {
  margin-top: 1.2rem;
  color: var(--pm-ink-70);
  font-size: var(--step-1);
}

.split-copy .btn {
  margin-top: 1.8rem;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 0.85fr 1.15fr;
  }
  .split.reverse {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split.reverse .split-media {
    order: 2;
  }
}

/* =========================================================================
   UNIVERSO — grid assimétrico
   ========================================================================= */
.universo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.universo-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  color: var(--pm-white);
  isolation: isolate;
}

.universo-card:nth-child(2) {
  aspect-ratio: 3/4;
  margin-top: 2.2rem;
}
.universo-card:nth-child(3) {
  margin-top: -2.2rem;
}

.universo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.universo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23, 19, 42, 0.82) 0%, rgba(23, 19, 42, 0.05) 55%);
}

.universo-card:hover img {
  transform: scale(1.06);
}

.universo-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.3rem;
  z-index: 2;
}

.universo-card-body .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step--1);
  opacity: 0.75;
}

.universo-card-body h3 {
  font-size: var(--step-1);
  margin-top: 0.2rem;
}

.universo-card-body p {
  margin-top: 0.4rem;
  font-size: 0.86rem;
  opacity: 0.85;
  max-width: 26ch;
}

@media (min-width: 720px) {
  .universo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .universo-card:nth-child(2) { margin-top: 2.2rem; }
  .universo-card:nth-child(3) { margin-top: -1rem; }
  .universo-card:nth-child(4) { margin-top: 1.4rem; }
}

/* =========================================================================
   SERVIÇOS / CARDS GENÉRICOS
   ========================================================================= */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.service-card {
  background: var(--pm-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(23, 19, 42, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(23, 19, 42, 0.25);
  border-color: transparent;
}

.service-card .icon-bar {
  width: 34px;
  height: 5px;
  border-radius: 3px;
  background: var(--pm-gradient-signature);
  margin-bottom: 1.1rem;
}

.service-card h3 {
  font-size: var(--step-1);
}

.service-card p {
  margin-top: 0.6rem;
  color: var(--pm-ink-70);
  font-size: 0.95rem;
}

@media (min-width: 640px) {
  .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.cols-5 { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================================
   FAIXA CTA
   ========================================================================= */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--pm-ink);
  color: var(--pm-white);
  isolation: isolate;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--pm-gradient-signature);
  opacity: 0.28;
  mix-blend-mode: screen;
  z-index: -1;
}

.cta-band h2 {
  font-size: var(--step-3);
  font-style: italic;
  max-width: 18ch;
}

.cta-band p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
}

.cta-band .btn {
  margin-top: 1.8rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.site-footer {
  background: var(--pm-ink);
  color: rgba(255, 255, 255, 0.85);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.footer-brand .logo {
  color: var(--pm-white);
}

.footer-brand p {
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 34ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
}
.footer-col a:hover {
  color: var(--pm-pink);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 780px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

/* =========================================================================
   REVEAL ON SCROLL
   ========================================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   PÁGINAS INTERNAS — cabeçalho de página
   ========================================================================= */
.page-hero {
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3rem);
  position: relative;
}

.page-hero h1 {
  font-size: var(--step-4);
  font-style: italic;
  max-width: 16ch;
}

.page-hero p {
  margin-top: 1.2rem;
  font-size: var(--step-1);
  color: var(--pm-ink-70);
  max-width: 55ch;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--pm-ink-45);
  margin-bottom: 1.3rem;
}
.breadcrumbs a:hover {
  color: var(--pm-pink);
}

/* =========================================================================
   PORTFÓLIO
   ========================================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  border: 1px solid rgba(23, 19, 42, 0.15);
  background: transparent;
  padding: 0.55em 1.1em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pm-ink-70);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  border-color: var(--pm-ink);
  color: var(--pm-ink);
}

.filter-btn.is-active {
  background: var(--pm-ink);
  border-color: var(--pm-ink);
  color: var(--pm-white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  color: var(--pm-white);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(23,19,42,0.85) 0%, transparent 50%);
}

.portfolio-item-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.1rem;
  z-index: 2;
}

.portfolio-item-body .cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pm-pink-soft);
  font-weight: 700;
}

.portfolio-item-body h3 {
  font-size: 1.05rem;
  margin-top: 0.3rem;
}

@media (min-width: 640px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-empty {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--pm-ink-45);
  border: 1px dashed rgba(23,19,42,0.2);
  border-radius: var(--radius-md);
}
.portfolio-empty.is-visible { display: block; }

/* =========================================================================
   BIOGRAFIA — timeline editorial
   ========================================================================= */
.bio-block {
  display: grid;
  gap: 1rem;
  padding-block: 2.4rem;
  border-top: 1px solid rgba(23, 19, 42, 0.1);
}
.bio-block:last-child { border-bottom: 1px solid rgba(23, 19, 42, 0.1); }

.bio-block .bio-label {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-1);
  color: var(--pm-pink);
}

.bio-block h3 {
  font-size: var(--step-2);
}

.bio-block p {
  color: var(--pm-ink-70);
  max-width: 62ch;
}

.bio-placeholder {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pm-ocean);
  background: var(--pm-ocean-soft);
  padding: 0.35em 0.8em;
  border-radius: 999px;
}

@media (min-width: 780px) {
  .bio-block {
    grid-template-columns: 220px 1fr;
    align-items: baseline;
  }
}

/* =========================================================================
   BLOG
   ========================================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--pm-white);
  border: 1px solid rgba(23,19,42,0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(23,19,42,0.25);
}

.blog-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--pm-paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card .thumb img {
  width: 100%; height: 100%; object-fit: contain;
}

.blog-card-body {
  padding: 1.4rem;
}

.blog-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.76rem;
  color: var(--pm-ink-45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.blog-meta .cat { color: var(--pm-pink); }

.blog-card h3 {
  margin-top: 0.7rem;
  font-size: 1.25rem;
}

.blog-card p.excerpt {
  margin-top: 0.6rem;
  color: var(--pm-ink-70);
  font-size: 0.92rem;
}

@media (min-width: 700px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1020px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* artigo individual */
.article-header {
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: 2rem;
  max-width: 420px;
  max-height: 65vh;
  margin-inline: auto;
  background: var(--pm-paper-alt);
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cover img {
  width: 100%;
  height: 100%;
  max-height: 65vh;
  object-fit: contain;
  display: block;
}

.article-body {
  max-width: 72ch;
  margin-inline: auto;
  font-size: 1.08rem;
  color: var(--pm-ink);
}
.article-body p { margin-bottom: 1.3rem; color: var(--pm-ink-70); }
.article-body h2 {
  font-size: var(--step-2);
  margin-top: 2.2rem;
  margin-bottom: 0.9rem;
  font-style: italic;
}
.article-body blockquote {
  margin: 2rem 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--pm-pink);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--pm-ink);
}

.article-footer {
  max-width: 72ch;
  margin-inline: auto;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(23,19,42,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.share-row {
  display: flex;
  gap: 0.6rem;
}
.share-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(23,19,42,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.3s var(--ease);
}
.share-row a:hover { background: var(--pm-ink); color: var(--pm-white); border-color: var(--pm-ink); }

.related-grid {
  margin-top: 1rem;
}

/* =========================================================================
   FORMULÁRIO — Contato
   ========================================================================= */
.contact-layout {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}

.form-field {
  margin-bottom: 1.2rem;
}

.form-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  color: var(--pm-ink-70);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.85em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(23, 19, 42, 0.15);
  background: var(--pm-white);
  color: var(--pm-ink);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pm-pink);
  box-shadow: 0 0 0 4px var(--pm-pink-soft);
  outline: none;
}

.form-note {
  font-size: 0.82rem;
  color: var(--pm-ink-45);
  margin-top: 1rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #e4f7ea; color: #1c7a3f; }

.contact-info-card {
  background: var(--pm-ink);
  color: var(--pm-white);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  height: fit-content;
}
.contact-info-card h3 { font-size: var(--step-1); font-style: italic; }
.contact-info-card ul { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card ul li { font-size: 0.92rem; color: rgba(255,255,255,0.75); }
.contact-info-card ul li strong { display: block; color: var(--pm-white); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.25rem; }

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.3fr 0.9fr; }
}

/* =========================================================================
   UTILIDADES
   ========================================================================= */
.mt-lg { margin-top: clamp(2rem, 5vw, 3.5rem); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pm-ink);
  color: var(--pm-white);
  padding: 1em 1.4em;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}
