/* ============================================================
   TEXTO — template de artigo
============================================================ */

/* ── Hero ── */
.texto-hero {
  background: var(--dark);
  padding: clamp(20px, 3.5vw, 50px) clamp(16px, 8.3vw, 120px) clamp(40px, 5.5vw, 80px) clamp(20px, 19.2vw, 277px);
}

.texto-hero-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 32px);
}

.texto-place {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: clamp(6px, 0.6vw, 10px);
}

.texto-meta {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.05em;
  color: var(--cream);
  opacity: 0.55;
  text-transform: uppercase;
}

.texto-title {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(28px, 6.6vw, 95px);
  letter-spacing: clamp(-1px, -0.21vw, -3px);
  line-height: 1.05;
  color: var(--red);
}

.texto-subtitle {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(14px, 2.2vw, 32px);
  letter-spacing: clamp(-0.3px, -0.1vw, -1.4px);
  line-height: 1.4;
  color: var(--cream);
}

/* ── Photo area — laterais vermelhas + centro cream ── */
.texto-photo-area {
  background: var(--red);
  display: grid;
  grid-template-columns: clamp(20px, 3.47vw, 50px) 1fr clamp(20px, 3.47vw, 50px);
  min-height: clamp(240px, 42vw, 600px);
}

.texto-photo-side {
  /* fill vermelho vem do background do pai */
}

.texto-photo-center {
  background: var(--cream);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* When an image is present it fills the center over the dogs */
.texto-photo-img {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
}

.texto-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Cachorrinhas centradas — visíveis quando não há imagem */
.texto-photo-dogs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: relative;
  z-index: 1;
}

.texto-dog {
  height: clamp(80px, 11vw, 160px);
  width: auto;
  display: block;
}

.texto-dog:first-child {
  height: clamp(125px, 17.7vw, 258px);
}

.texto-dog:last-child {
  margin-left: clamp(-24px, -1.8vw, -8px);
  align-self: center;
}

/* ── Article wrapper ── */
.texto-article {
  background: var(--cream);
}

/* ── Pull quote ── */
.texto-pullquote {
  background: var(--red);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(20px, 2.7vw, 39px);
  padding: clamp(32px, 5.3vw, 77px) clamp(20px, 8.3vw, 120px) clamp(40px, 6vw, 87px);
}

.texto-pullquote-left {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: clamp(20px, 2.2vw, 32px);
}

.texto-pullquote-byline {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(11px, 1.2vw, 17px);
  line-height: 1;
  color: #000;
}

.texto-pullquote-word {
  font-family: var(--font-mono);
  font-weight: 200;
  font-size: clamp(44px, 9.3vw, 134px);
  line-height: 0.95;
  color: var(--cream);
}

.texto-pullquote-cols {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(24px, 4.4vw, 63px);
  padding-top: clamp(20px, 2.2vw, 32px);
}

.texto-pullquote-para {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(13px, 2.1vw, 30px);
  line-height: 1.5;
  color: var(--dark);
}

.texto-pullquote-link {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(13px, 2.1vw, 30px);
  line-height: 1.5;
  color: var(--dark);
  cursor: pointer;
}

.texto-pullquote-link u {
  text-underline-position: from-font;
}

/* ── Inline figure ── */
.texto-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 0.8vw, 12px);
  padding: clamp(8px, 2vw, 32px) 0;
}

.texto-figure img {
  max-width: clamp(180px, 35%, 400px);
  width: 100%;
  height: auto;
  display: block;
}

.texto-figure--large img {
  max-width: clamp(220px, 44%, 500px);
}

.texto-figure figcaption {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(10px, 0.9vw, 13px);
  color: var(--dark);
  opacity: 0.6;
  text-align: center;
}

/* ── Body text ── */
.texto-content {
  padding: clamp(32px, 4.5vw, 64px) clamp(20px, 8.9vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vw, 32px);
}

.texto-content p {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(12px, 1.3vw, 19px);
  line-height: 1.3;
  color: var(--dark);
}

/* Primeiro content (logo após o pullquote) — mais respiro no topo */
.texto-article > .texto-content:first-of-type {
  padding-top: clamp(120px, 19vw, 270px);
}

/* Último content (antes do footer) — mais respiro embaixo */
.texto-article > .texto-content:last-of-type {
  padding-bottom: clamp(80px, 13vw, 190px);
}

/* ── Divider ── */
.texto-divider {
  border: none;
  border-top: 2px solid var(--dark);
  margin: 0 clamp(20px, 8.9vw, 128px);
  opacity: 0.15;
}

/* ── Highlighted paragraph ── */
.texto-highlight {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(12px, 1.3vw, 19px);
  line-height: 1.3;
  color: var(--dark);
  padding: clamp(24px, 3.3vw, 48px) clamp(20px, 8.9vw, 128px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .texto-hero {
    padding-top: 72px;
  }
}

@media (max-width: 700px) {
  .texto-hero {
    padding-left: clamp(16px, 5vw, 40px);
    padding-right: clamp(16px, 5vw, 40px);
  }

  .texto-pullquote {
    flex-direction: column;
    gap: clamp(12px, 4vw, 24px);
  }
}
