/* ==========================================================================
   Moi Pet · editorial.css
   Design system compartilhado para home (front-page) e landing (coming-soon).
   Inspirado em Aesop (typography editorial), Rimowa (minimalismo de produto)
   e Patricinha Pet (calor pet brasileiro).
   ========================================================================== */

:root {
  /* Editorial color tokens */
  --moipet-paper:      #fbf3e7;
  --moipet-paper-2:    #f7ebde;
  --moipet-bone:       #f0e0c8;
  --moipet-bone-2:     #e8d4b6;
  --moipet-ink:        #2a1810;
  --moipet-ink-2:      #3f2a1c;
  --moipet-ink-3:      #5a4030;
  --moipet-gold-deep:  #a8742d;
  --moipet-gold:       #cfaa67;
  --moipet-gold-soft:  rgba(168, 116, 45, 0.18);
  --moipet-gold-line:  rgba(207, 170, 103, 0.35);

  /* Type stack */
  --moipet-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --moipet-text:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --moipet-mono:    ui-monospace, "JetBrains Mono", "SF Mono", monospace;

  /* Easing */
  --moipet-ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --moipet-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Sizing */
  --moipet-max-wide: 1320px;
  --moipet-max-narrow: 920px;
}

/* ==========================================================================
   1. Background depth — paper com ruído sutil + blob orgânico
   ========================================================================== */

.ep-paper {
  position: relative;
  background-color: var(--moipet-paper);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 0.65 0 0 0 0 0.47 0 0 0 0 0.18 0 0 0 0.10 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  overflow: hidden;
}

.ep-paper--bone {
  background-color: var(--moipet-bone);
}

.ep-paper--ink {
  background-color: var(--moipet-ink);
  color: var(--moipet-paper);
}

.ep-paper::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70vw;
  height: 70vw;
  max-width: 880px;
  max-height: 880px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 170, 103, 0.22) 0%, rgba(207, 170, 103, 0.06) 50%, transparent 75%);
  filter: blur(70px);
  animation: ep-float 24s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.ep-paper--ink::before {
  background: radial-gradient(circle, rgba(207, 170, 103, 0.28) 0%, rgba(207, 170, 103, 0.08) 50%, transparent 75%);
}

.ep-paper > * { position: relative; z-index: 1; }

@keyframes ep-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(-3vw, 2vw) scale(1.06); }
  66%      { transform: translate(2vw, -3vw) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .ep-paper::before { animation: none !important; }
}

/* ==========================================================================
   2. Tipografia editorial (display + body)
   ========================================================================== */

.ep-display {
  font-family: var(--moipet-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--moipet-ink-2);
}

.ep-display-xl {
  font-size: clamp(3.2rem, 7.6vw, 7rem);
  position: relative;
  z-index: 2;
  text-shadow:
    0 0 2px rgba(63, 42, 28, 0.95),
    0 0 6px rgba(63, 42, 28, 0.85),
    0 2px 4px rgba(63, 42, 28, 0.95),
    0 4px 14px rgba(63, 42, 28, 0.75),
    0 0 1px rgba(0, 0, 0, 1),
    0 0 3px rgba(0, 0, 0, 0.85),
    /* Halo claro + gold sutil ja na base (para reduced-motion) */
    0 0 6px rgba(255, 250, 240, 0.45),
    0 0 14px rgba(255, 230, 170, 0.3),
    0 0 26px rgba(255, 200, 110, 0.18);
  animation: mp-title-pulse 5s ease-in-out infinite;
}

/* Cross-pulse dark <-> light/gold
   - Phase A (0%, 100%): camadas escuras no pico, halo claro discreto
   - Phase B (50%):      camadas escuras reduzidas, halo claro+dourado amplo
   Resultado: o texto oscila entre "definido por sombra escura" e
   "destacado por halo claro/dourado" - legivel contra qualquer imagem. */
@keyframes mp-title-pulse {
  0%, 100% {
    text-shadow:
      /* Dark — alta intensidade */
      0 0 2px rgba(63, 42, 28, 0.95),
      0 0 6px rgba(63, 42, 28, 0.85),
      0 2px 4px rgba(63, 42, 28, 0.95),
      0 4px 14px rgba(63, 42, 28, 0.75),
      0 0 1px rgba(0, 0, 0, 1),
      0 0 3px rgba(0, 0, 0, 0.85),
      /* Light/gold — discreto */
      0 0 4px rgba(255, 250, 240, 0.18),
      0 0 10px rgba(255, 230, 170, 0.10);
  }
  50% {
    text-shadow:
      /* Dark — reduzido (so contorno fino + drop leve) */
      0 0 1px rgba(63, 42, 28, 0.55),
      0 1px 2px rgba(63, 42, 28, 0.6),
      0 2px 4px rgba(63, 42, 28, 0.4),
      0 0 1px rgba(0, 0, 0, 0.5),
      /* Light/gold — amplo halo branco + dourado */
      0 0 4px rgba(255, 250, 240, 0.95),
      0 0 12px rgba(255, 240, 200, 0.85),
      0 0 24px rgba(255, 215, 130, 0.65),
      0 0 46px rgba(255, 200, 110, 0.4);
  }
}

.ep-display-lg {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem);
}

.ep-display-md {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

.ep-display-sm {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.ep-paper--ink .ep-display { color: var(--moipet-paper); }

.ep-italic-gold,
.ep-display em {
  font-style: italic;
  color: var(--moipet-gold-deep);
  /* text-shadow e animado via heranca do pai .ep-display-xl - em sincronia */
}

.ep-paper--ink .ep-italic-gold,
.ep-paper--ink .ep-display em {
  color: var(--moipet-gold);
}

.ep-eyebrow {
  display: inline-block;
  font-family: var(--moipet-text);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--moipet-ink-2, #3f2a1c);
  font-weight: 700;
  margin: 0 0 0.9rem;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid var(--moipet-gold, #cfaa67);
}

.ep-paper--ink .ep-eyebrow {
  color: var(--moipet-gold);
  border-bottom-color: rgba(207, 170, 103, 0.45);
}

.ep-lead {
  font-size: clamp(1.05rem, 1.3vw, 1.18rem);
  line-height: 1.65;
  color: var(--moipet-ink-3);
  max-width: 56ch;
}

.ep-paper--ink .ep-lead { color: rgba(251, 243, 231, 0.78); }

.ep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.2rem;
  font-family: var(--moipet-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moipet-ink-3);
}

.ep-meta span { position: relative; }
.ep-meta span + span::before {
  content: "·";
  position: absolute;
  left: -1.2rem;
  color: var(--moipet-gold);
}

/* ==========================================================================
   3. Containers + seções
   ========================================================================== */

.ep-container {
  width: min(calc(100% - 3rem), var(--moipet-max-wide));
  margin-inline: auto;
}

.ep-container-narrow {
  width: min(calc(100% - 3rem), var(--moipet-max-narrow));
  margin-inline: auto;
}

.ep-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.ep-section--tight {
  padding-block: clamp(3rem, 5vw, 4.5rem);
}

.ep-section--ink {
  background: var(--moipet-ink);
  color: var(--moipet-paper);
}

.ep-section--bone {
  background: var(--moipet-bone);
}

.ep-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--moipet-gold-line) 18%, var(--moipet-gold-line) 82%, transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   4. Hero editorial (assimétrico)
   ========================================================================== */

.ep-hero {
  position: relative;
  padding-block: clamp(4rem, 7vw, 6rem) clamp(4rem, 7vw, 6rem);
}

.ep-hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: end;
}

@media (min-width: 900px) {
  .ep-hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    align-items: end;
  }
}

.ep-hero-copy h1 {
  margin: 0.4rem 0 1.6rem;
}

.ep-hero-lead { margin-bottom: 2rem; }

.ep-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.ep-hero-meta {
  margin-top: 2.5rem;
}

.ep-hero-side {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--moipet-gold-soft);
  border-radius: var(--moipet-radius, 24px);
  backdrop-filter: blur(8px);
}

.ep-hero-side .ep-hero-side-label {
  font-family: var(--moipet-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moipet-gold-deep);
  margin-bottom: 0.6rem;
}

.ep-hero-side h3 {
  font-family: var(--moipet-display);
  font-size: 1.4rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0 0 0.8rem;
  color: var(--moipet-ink-2);
  letter-spacing: -0.01em;
}

.ep-hero-side p {
  font-size: 0.95rem;
  color: var(--moipet-ink-3);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   5. Manifesto (sub-hero)
   ========================================================================== */

.ep-manifesto {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .ep-manifesto {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.ep-manifesto-text { max-width: 40ch; }
.ep-manifesto-text p { font-size: 1.05rem; line-height: 1.7; color: var(--moipet-ink-3); margin: 1rem 0; }

.ep-manifesto-visual {
  aspect-ratio: 1;
  background: var(--moipet-bone);
  border-radius: 24px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ep-manifesto-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(207, 170, 103, 0.18), transparent 65%);
  pointer-events: none;
}

.ep-manifesto-visual svg {
  width: 60%;
  height: 60%;
  position: relative;
  z-index: 1;
}

.ep-manifesto-caption {
  margin-top: 1rem;
  font-family: var(--moipet-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moipet-ink-3);
}

/* ==========================================================================
   6. Categorias (3 colunas)
   ========================================================================== */

.ep-categorias {
  display: grid;
  gap: 1.2rem;
}

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

.ep-categoria {
  display: flex;
  flex-direction: column;
  background: var(--moipet-bone);
  border-radius: 24px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--moipet-ease), box-shadow 0.6s var(--moipet-ease);
  text-decoration: none;
  color: inherit;
}

.ep-categoria:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(111, 74, 38, 0.12);
  color: inherit;
}

.ep-categoria-icon {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--moipet-paper-2);
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.ep-categoria-icon svg {
  width: 60%;
  height: 60%;
}

.ep-categoria-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--moipet-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moipet-ink-3);
  margin-bottom: 0.5rem;
}

.ep-categoria h3 {
  font-family: var(--moipet-display);
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--moipet-ink-2);
}

.ep-categoria-arrow {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  width: 36px;
  height: 36px;
  border: 1px solid var(--moipet-gold-soft);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--moipet-gold-deep);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* ==========================================================================
   7. Feature (peça inaugural) — assimétrico
   ========================================================================== */

.ep-feature {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .ep-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .ep-feature--reverse { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
}

.ep-feature-visual {
  aspect-ratio: 1;
  background: var(--moipet-bone);
  border-radius: 24px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.ep-feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.45), transparent 60%);
  pointer-events: none;
}

.ep-feature-visual svg { width: 56%; height: 56%; position: relative; z-index: 1; }

.ep-feature-badge {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  background: var(--moipet-paper);
  color: var(--moipet-ink-2);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  font-family: var(--moipet-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--moipet-gold-soft);
}

.ep-feature-caption {
  position: absolute;
  bottom: 1.4rem;
  left: 1.4rem;
  right: 1.4rem;
  font-family: var(--moipet-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moipet-ink-3);
  text-align: center;
}

.ep-feature-body h2 { margin: 0.6rem 0 1.4rem; }
.ep-feature-body p { font-size: 1.1rem; line-height: 1.65; color: var(--moipet-ink-3); margin: 0 0 1.2rem; max-width: 50ch; }
.ep-feature-body .ep-feature-note { font-size: 0.95rem; color: var(--moipet-ink-3); margin-bottom: 1.6rem; max-width: 50ch; }

/* ==========================================================================
   8. Marquee (tira deslizante)
   ========================================================================== */

.ep-marquee {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--moipet-gold-line);
  border-bottom: 1px solid var(--moipet-gold-line);
  padding-block: 1.2rem;
  background: var(--moipet-paper);
}

.ep-paper--ink .ep-marquee {
  background: var(--moipet-ink);
  border-color: rgba(207, 170, 103, 0.18);
}

.ep-marquee-track {
  display: flex;
  gap: 3rem;
  animation: ep-marquee 42s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.ep-marquee-item {
  font-family: var(--moipet-display);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  font-style: italic;
  color: var(--moipet-ink-2);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.ep-paper--ink .ep-marquee-item { color: var(--moipet-paper); }

.ep-marquee-item::after {
  content: "✦";
  color: var(--moipet-gold-deep);
  font-style: normal;
  font-size: 0.9rem;
}

@keyframes ep-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ep-marquee-track { animation: none !important; }
}

/* ==========================================================================
   9. CTAs (botões)
   ========================================================================== */

.ep-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.9rem;
  background: var(--moipet-gold-deep);
  color: var(--moipet-paper);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.4s var(--moipet-ease), box-shadow 0.4s var(--moipet-ease);
  box-shadow: 0 6px 16px rgba(168, 116, 45, 0.22);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.ep-cta:hover,
.ep-cta:focus {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(168, 116, 45, 0.32);
  color: var(--moipet-paper);
  outline: none;
}

.ep-cta--ghost {
  background: transparent;
  color: var(--moipet-ink-2);
  border: 1px solid var(--moipet-ink-2);
  box-shadow: none;
}

.ep-cta--ghost:hover {
  background: var(--moipet-ink-2);
  color: var(--moipet-paper);
}

.ep-paper--ink .ep-cta--ghost {
  color: var(--moipet-paper);
  border-color: var(--moipet-paper);
}

.ep-paper--ink .ep-cta--ghost:hover {
  background: var(--moipet-paper);
  color: var(--moipet-ink);
}

.ep-cta-arrow {
  display: inline-block;
  transition: transform 0.4s var(--moipet-ease);
}

.ep-cta:hover .ep-cta-arrow { transform: translateX(4px); }

/* ==========================================================================
   10. CTA ink (seção dark)
   ========================================================================== */

.ep-cta-ink {
  background: var(--moipet-ink);
  color: var(--moipet-paper);
  border-radius: 28px;
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ep-cta-ink::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--moipet-gold), transparent);
}

.ep-cta-ink::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(207, 170, 103, 0.18), transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.ep-cta-ink > * { position: relative; z-index: 1; }
.ep-cta-ink .ep-eyebrow { color: var(--moipet-gold); }
.ep-cta-ink h2 { color: var(--moipet-paper); }
.ep-cta-ink p { color: rgba(251, 243, 231, 0.78); margin-bottom: 2rem; }

.ep-cta-ink-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

/* ==========================================================================
   11. Vitrine de produtos (grid editorial)
   ========================================================================== */

.ep-products {
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 600px) { .ep-products { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .ep-products { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .ep-products { grid-template-columns: repeat(4, 1fr); } }

.ep-product {
  background: var(--moipet-bone);
  border-radius: 24px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--moipet-ease), box-shadow 0.5s var(--moipet-ease);
  position: relative;
  overflow: hidden;
}

.ep-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(111, 74, 38, 0.14);
}

.ep-product-media {
  aspect-ratio: 1;
  background: var(--moipet-paper-2);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.ep-product-media svg { width: 50%; height: 50%; }

.ep-product-discount {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--moipet-ink);
  color: var(--moipet-paper);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-family: var(--moipet-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.ep-product-name {
  font-family: var(--moipet-display);
  font-size: 1.15rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--moipet-ink-2);
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.ep-product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.ep-product-price del { color: var(--moipet-ink-3); font-size: 0.85rem; opacity: 0.6; }
.ep-product-price ins { text-decoration: none; color: var(--moipet-gold-deep); font-weight: 700; font-size: 1.05rem; }
.ep-product-price > span { color: var(--moipet-gold-deep); font-weight: 700; font-size: 1.05rem; }

/* ==========================================================================
   12. Benefícios / Manifesto em grid
   ========================================================================== */

.ep-beneficios {
  display: grid;
  gap: 1.2rem;
}

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

.ep-beneficio {
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--moipet-gold-soft);
  border-radius: 24px;
}

.ep-beneficio-number {
  font-family: var(--moipet-display);
  font-size: 2.5rem;
  font-style: italic;
  color: var(--moipet-gold-deep);
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.ep-beneficio h3 {
  font-family: var(--moipet-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
}

.ep-beneficio p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--moipet-ink-3);
  margin: 0;
}

/* ==========================================================================
   13. Depoimentos editoriais
   ========================================================================== */

.ep-depoimentos {
  display: grid;
  gap: 1.2rem;
}

@media (min-width: 800px) { .ep-depoimentos { grid-template-columns: repeat(3, 1fr); } }

.ep-depoimento {
  padding: 2rem;
  background: var(--moipet-paper-2);
  border-radius: 24px;
  border: 1px solid var(--moipet-gold-soft);
}

.ep-depoimento-rating {
  font-family: var(--moipet-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--moipet-gold-deep);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.ep-depoimento blockquote {
  font-family: var(--moipet-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--moipet-ink-2);
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  letter-spacing: -0.005em;
}

.ep-depoimento cite {
  font-family: var(--moipet-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moipet-ink-3);
  font-style: normal;
}

/* ==========================================================================
   14. Section heading (comum)
   ========================================================================== */

.ep-heading {
  display: grid;
  gap: 1.2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 60rem;
}

@media (min-width: 800px) {
  .ep-heading--row {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

.ep-heading h2 { margin: 0.4rem 0 0; }

.ep-heading-link {
  font-family: var(--moipet-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moipet-gold-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--moipet-gold-deep);
  padding-bottom: 2px;
}

.ep-heading-link:hover { color: var(--moipet-ink-2); border-color: var(--moipet-ink-2); }

/* ==========================================================================
   15. Reveal animations
   ========================================================================== */

.ep-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--moipet-ease), transform 0.9s var(--moipet-ease);
}

.ep-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ep-reveal--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--moipet-ease), transform 0.7s var(--moipet-ease);
}

.ep-reveal--stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.ep-reveal--stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.ep-reveal--stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.ep-reveal--stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.ep-reveal--stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.ep-reveal--stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.ep-reveal--stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }
.ep-reveal--stagger.is-visible > *:nth-child(7) { transition-delay: 480ms; }
.ep-reveal--stagger.is-visible > *:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
  .ep-reveal,
  .ep-reveal--stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   16. Typewriter (word-by-word) - efeito de digitação em headings com [data-typewriter]
   ========================================================================== */

.t-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.15em);
  transition: opacity 0.32s var(--moipet-ease), transform 0.32s var(--moipet-ease);
}

.t-word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* preserva o <em> com flow natural (sem inline-block forçado) */
.ep-display em {
  font-style: italic;
  /* nao forcar display aqui - ja herda de .t-word */
}

/* Cursor piscando enquanto digita */
.ep-display h1.is-typing::after {
  content: "|";
  display: inline-block;
  margin-left: 0.04em;
  font-weight: 300;
  color: var(--moipet-gold-deep);
  animation: t-cursor-blink 0.7s steps(2) infinite;
}

@keyframes t-cursor-blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Glow pulsante na palavra em italico apos terminar o typewriter
   - SEM filter:brightness (causa quebra de linha)
   - Apenas text-shadow multi-camada (nao afeta layout)
   - Cor vibrante (#ffc46b) para garantir visibilidade sobre qualquer fundo */
.ep-display em.is-glowing {
  animation: t-em-glow 5s ease-out 1 forwards;
}

@keyframes t-em-glow {
  0% {
    text-shadow: 0 0 0 rgba(255, 196, 107, 0);
    color: var(--moipet-gold-deep, #a8742d);
  }
  10% {
    text-shadow:
      0 0 16px rgba(255, 196, 107, 1),
      0 0 36px rgba(255, 196, 107, 0.85),
      0 0 72px rgba(255, 196, 107, 0.55);
    color: #ffc46b;
  }
  25% {
    text-shadow:
      0 0 22px rgba(255, 220, 140, 1),
      0 0 48px rgba(255, 196, 107, 0.95),
      0 0 96px rgba(255, 196, 107, 0.7);
    color: #ffd47e;
  }
  65% {
    text-shadow:
      0 0 22px rgba(255, 220, 140, 1),
      0 0 48px rgba(255, 196, 107, 0.95),
      0 0 96px rgba(255, 196, 107, 0.7);
    color: #ffd47e;
  }
  100% {
    text-shadow: 0 0 0 rgba(255, 196, 107, 0);
    color: var(--moipet-gold-deep, #a8742d);
  }
}

@media (prefers-reduced-motion: reduce) {
  .t-word,
  .t-word.is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .ep-display h1.is-typing::after { display: none; }
  .ep-display em.is-glowing { animation: none !important; text-shadow: none !important; }
}

/* ==========================================================================
   16. Fit guide (guia de tamanhos)
   ========================================================================== */

.ep-fit {
  display: grid;
  gap: 1.2rem;
}

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

.ep-fit-card {
  padding: 2rem 1.8rem;
  background: var(--moipet-bone);
  border-radius: 24px;
  position: relative;
}

.ep-fit-size {
  font-family: var(--moipet-display);
  font-size: 2.8rem;
  line-height: 1;
  color: var(--moipet-gold-deep);
  margin-bottom: 0.6rem;
  display: block;
}

.ep-fit-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--moipet-ink-3);
  margin: 0;
}

/* ==========================================================================
   17. Helpers
   ========================================================================== */

.ep-text-center { text-align: center; }
.ep-mt-md { margin-top: clamp(2rem, 4vw, 3rem); }
.ep-mb-md { margin-bottom: clamp(2rem, 4vw, 3rem); }
