/* -----------------------------------------------------------------------------
   Página Marina — Editorial Científico
   Magenta profundo + off-white rosado + quase-preto + dourado quente
   ------------------------------------------------------------------------- */

:root {
  --primary: #9B2D8E;
  --primary-light: #C964B9;
  --primary-dark: #6B1D62;
  --dark-bg: #0F0A12;
  --dark-bg-2: #18101C;
  --light-bg: #FAF7F8;
  --light-border: #EDE6E9;
  --accent: #E8C547;
  --text-on-dark: #F4ECEF;
  --text-on-dark-dim: rgba(244, 236, 239, 0.62);
  --text-on-dark-faint: rgba(244, 236, 239, 0.38);
  --text-on-light: #1B0F1A;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Outfit", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  background: var(--dark-bg);
  color: var(--text-on-dark);
  font-feature-settings: "ss01" 1, "cv01" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

#whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  color: #fff;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 60px;
  background: linear-gradient(to right, #000, #1a1a1a);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

#whatsapp-button.is-visible {
  transform: translateY(0);
  opacity: 0.8;
}

#whatsapp-button:hover,
#whatsapp-button:focus-visible {
  opacity: 1;
}

#whatsapp-button:focus-visible {
  outline: 2px solid #ff54dc;
  outline-offset: 4px;
}

.whatsapp-icon-wrap {
  position: relative;
  flex: 0 0 auto;
}

#whatsapp-icon {
  width: 60px;
  height: 60px;
  animation: pulse-rotate 2s ease-in-out infinite;
  transform-origin: center;
}

#whatsapp-button .badge {
  position: absolute;
  top: -10px;
  right: -5px;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  background: red;
}

#whatsapp-button .whatsapp-text {
  display: flex;
  flex-direction: column;
  font-size: 18px;
  line-height: 1.4;
}

#whatsapp-button .whatsapp-text strong {
  color: #ff54dc;
}

#whatsapp-button .whatsapp-text span {
  color: #fff;
}

@keyframes pulse-rotate {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.1) rotate(10deg); }
  50% { transform: scale(1.1) rotate(-10deg); }
  75% { transform: scale(1.05) rotate(5deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@media (max-width: 767px) {
  #whatsapp-button {
    right: 14px;
    bottom: 88px;
    gap: 10px;
    max-width: calc(100vw - 28px);
    padding: 10px 16px;
    font-size: 14px;
  }

  #whatsapp-icon {
    width: 32px;
    height: 32px;
  }

  #whatsapp-button .badge {
    top: -1px;
    right: -1px;
    font-size: 8px;
    padding: 1px 3px;
  }

  #whatsapp-button .whatsapp-text {
    min-width: 0;
    font-size: 14px;
    line-height: 1.2;
  }
}

/* ----- Hero shell ----- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px clamp(20px, 4vw, 56px) 0;
  overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, #1c1024 0%, var(--dark-bg) 55%, #0a0710 100%);
}
.hero-bg-light {
  background: var(--light-bg);
  color: var(--text-on-light);
}
.hero-bg-light .topbar,
.hero-bg-light .col-text {
  color: var(--text-on-light);
}

/* ----- Topbar ----- */
.topbar {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 2.4vw, 30px);
  border: 1px solid rgba(244, 236, 239, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 250, 251, 0.065), rgba(255, 250, 251, 0.025)),
    rgba(15, 10, 18, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 251, 0.12),
    0 22px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  overflow: hidden;
}
.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(201, 100, 185, 0.08) 34%, transparent 68%),
    radial-gradient(circle at 8% 0%, rgba(232, 197, 71, 0.09), transparent 28%);
}
.hero-bg-light .topbar {
  border-color: rgba(27, 15, 26, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(250, 247, 248, 0.38)),
    rgba(250, 247, 248, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 48px rgba(107, 29, 98, 0.1);
}

.brand {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.01em;
  color: var(--primary-light);
}
.hero-bg-light .brand { color: var(--primary); }
.brand-mark { display: inline-flex; }
.brand-name { color: inherit; }
.brand-name em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-on-dark-dim);
  margin-left: 2px;
}
.hero-bg-light .brand-name em { color: rgba(27, 15, 26, 0.55); }

.topbar-meta {
  position: relative;
  z-index: 1;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-dim);
}
.hero-bg-light .topbar-meta { color: rgba(27, 15, 26, 0.55); }
.topbar-sep { width: 1px; height: 12px; background: currentColor; opacity: 0.3; }
.topbar-code { font-family: var(--mono); letter-spacing: 0.1em; color: var(--accent); }
.topbar-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 250, 251, 0.84);
  white-space: nowrap;
}
.topbar-date svg {
  color: var(--accent);
  flex-shrink: 0;
}
.hero-bg-light .topbar-date { color: rgba(27, 15, 26, 0.68); }

/* ----- Corner marks ----- */
.corner {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
}
.hero-bg-light .corner { color: rgba(27, 15, 26, 0.4); }
.corner-tl { top: 88px; left: clamp(20px, 4vw, 56px); }
.corner-tr { top: 88px; right: clamp(20px, 4vw, 56px); flex-direction: row-reverse; }
.corner-tr svg { transform: scaleX(-1); }
.corner-bl { bottom: 84px; left: clamp(20px, 4vw, 56px); }
.corner-br { bottom: 84px; right: clamp(20px, 4vw, 56px); flex-direction: row-reverse; }
.corner-bl svg { transform: scaleY(-1); }
.corner-br svg { transform: scale(-1, -1); }
.corner-label { line-height: 1; }

/* ----- Main grid ----- */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding: clamp(40px, 7vh, 88px) 0 56px;
  max-width: 1440px;
  margin: 0 auto;
}

/* ----- Text column ----- */
.col-text {
  max-width: 640px;
  min-width: 0;
}

.overline {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
}
.ov-num {
  font-family: var(--mono);
  color: var(--primary-light);
}
.hero-bg-light .ov-num { color: var(--primary); }
.ov-line { flex: 0 0 36px; height: 1px; background: currentColor; opacity: 0.55; }
.ov-cat { color: var(--text-on-dark-dim); }
.hero-bg-light .ov-cat { color: rgba(27, 15, 26, 0.6); }
.hero-mobile-date {
  display: none;
}

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 22px;
  color: var(--text-on-dark);
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-bg-light .h1 { color: var(--text-on-light); }
.h1-highlight,
.h1-muted {
  display: inline;
}
.h1-highlight {
  color: var(--text-on-dark);
  font-weight: 500;
  text-shadow: 0 0 24px rgba(244, 236, 239, 0.08);
}
.h1-muted {
  color: rgba(244, 236, 239, 0.54);
  font-weight: 300;
}
.hero-bg-light .h1-highlight {
  color: var(--text-on-light);
  text-shadow: none;
}
.hero-bg-light .h1-muted {
  color: rgba(27, 15, 26, 0.5);
}
.h1-soft {
  color: var(--text-on-dark-dim);
  font-weight: 300;
}
.hero-bg-light .h1-soft { color: rgba(27, 15, 26, 0.55); }
.h1-em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.hero-bg-light .h1-em { color: var(--primary); }

.h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15.5px, 1.15vw, 17.5px);
  line-height: 1.6;
  letter-spacing: 0.005em;
  margin: 0 0 36px;
  color: var(--text-on-dark-dim);
  max-width: 60ch;
  text-wrap: pretty;
}
.hero-bg-light .h2 { color: rgba(27, 15, 26, 0.7); }
.h2-num {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
  font-size: 1.02em;
}

/* ----- CTA + price ----- */
.cta-row {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px 16px 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  box-shadow: 0 10px 28px -10px rgba(155, 45, 142, 0.7), inset 0 1px 0 rgba(255,255,255,0.12);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,0.22), transparent 60%);
  pointer-events: none;
}
.cta:hover {
  transform: translateY(-1px);
  background: #A8369B;
  box-shadow: 0 16px 36px -12px rgba(201, 100, 185, 0.75), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  transition: transform 0.18s ease;
}
.cta:hover .cta-arrow { transform: translateX(2px); }

.price-stack { display: flex; flex-direction: column; gap: 6px; }
.price-line { display: flex; align-items: baseline; gap: 10px; }
.price-num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  font-variation-settings: "opsz" 24;
}
.hero-bg-light .price-num { color: var(--text-on-light); }
.price-lote {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 3px 8px;
  border: 1px solid rgba(232, 197, 71, 0.4);
  border-radius: 999px;
  background: rgba(232, 197, 71, 0.06);
}
.price-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--text-on-dark-dim);
}
.hero-bg-light .price-meta { color: rgba(27, 15, 26, 0.55); }

/* ----- Trust list ----- */
/* ----- Right column — image stage ----- */
.col-image {
  position: relative;
  display: flex;
  justify-content: center;
}
.stage {
  position: relative;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
}

.stage-readout {
  position: absolute;
  top: -10px;
  left: 8px; right: 8px;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
  z-index: 4;
}
.hero-bg-light .stage-readout { color: rgba(27, 15, 26, 0.5); }
.stage-readout-bar {
  flex: 1; height: 2px;
  background: rgba(244, 236, 239, 0.08);
  position: relative;
  border-radius: 1px;
  overflow: hidden;
}
.hero-bg-light .stage-readout-bar { background: rgba(27, 15, 26, 0.1); }
.stage-readout-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 80%);
}

.stage-caption {
  position: absolute;
  bottom: -34px;
  left: 0; right: 0;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--text-on-dark-dim);
}
.hero-bg-light .stage-caption { color: rgba(27, 15, 26, 0.6); }
.stage-caption-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.stage-caption-text { flex: 1; font-style: italic; font-family: var(--serif); font-weight: 300; font-size: 13.5px; }
.stage-caption-coord { font-family: var(--mono); font-size: 10px; opacity: 0.6; }

/* ----- Image frame ----- */
.image-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(80% 100% at 50% 100%, rgba(155, 45, 142, 0.32) 0%, transparent 60%),
    linear-gradient(180deg, #2a1832 0%, #15101a 100%);
  border: 1px solid rgba(201, 100, 185, 0.18);
  box-shadow:
    0 30px 80px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.stage-bleed .image-frame { border-radius: 12px; }
.stage-duotone .image-frame {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--dark-bg) 100%);
}

.hero-video-frame {
  background: #08060b;
}

.hero-video-frame iframe,
.hero-video-frame vturb-smartplayer {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #08060b;
}

.hero-video-frame .image-overlay,
.hero-video-frame .image-grid,
.hero-video-frame .annot {
  display: none;
}

.marina-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: contrast(1.04) saturate(0.95);
}
.stage-duotone .marina-img {
  filter: grayscale(1) contrast(1.15) brightness(0.95);
  mix-blend-mode: luminosity;
  opacity: 0.92;
}

.image-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 10, 18, 0.35) 0%, transparent 22%, transparent 60%, rgba(15, 10, 18, 0.55) 100%),
    radial-gradient(70% 50% at 50% 110%, rgba(155, 45, 142, 0.4), transparent 70%);
  mix-blend-mode: multiply;
}
.stage-duotone .image-overlay {
  background: radial-gradient(80% 60% at 50% 30%, rgba(201, 100, 185, 0.35), transparent 70%);
  mix-blend-mode: screen;
}

.image-grid {
  position: absolute; inset: 0;
  pointer-events: none;
}
.image-grid-line {
  position: absolute;
  background: rgba(244, 236, 239, 0.07);
}
.image-grid-line.vertical { top: 0; bottom: 0; width: 1px; }
.image-grid-line.horizontal { left: 0; right: 0; height: 1px; }

/* ----- Photo annotations ----- */
.annot {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}
.annot-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.08);
  flex-shrink: 0;
}
.annot-line {
  width: 28px; height: 1px;
  background: currentColor;
  opacity: 0.7;
  margin: 0 8px;
}
.annot-label {
  padding: 3px 7px;
  background: rgba(15, 10, 18, 0.78);
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--text-on-dark);
  white-space: nowrap;
  backdrop-filter: blur(4px);
}
.annot-gold { color: var(--accent); }
.annot-primary { color: var(--primary-light); }
.annot-lilac { color: #D9A6D2; }

/* ----- Floating diagram cards ----- */
.card {
  position: absolute;
  z-index: 5;
  top: var(--top, auto);
  left: var(--left, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  background: linear-gradient(180deg, #1e1322 0%, #15101a 100%);
  border: 1px solid rgba(201, 100, 185, 0.18);
  border-radius: 14px;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.55);
  padding: 14px;
  backdrop-filter: blur(8px);
}
.card-label {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-on-dark);
  margin-bottom: 10px;
}
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(201, 100, 185, 0.18);
}
.dot-gold { background: var(--accent); box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.18); }

/* Mapa Anatômico */
.mapa-card { width: 200px; }
.mapa-diagram {
  width: 100%;
  height: 140px;
  margin-bottom: 10px;
}
.card-caption {
  margin: 0;
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--text-on-dark-dim);
  text-wrap: pretty;
}

/* Sinal Acústico */
.sinal-card {
  width: 230px;
  padding: 14px 14px 12px;
}
.sinal-bars {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 12px;
  padding: 4px 0;
}
.sinal-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 55%, var(--primary) 100%);
  border-radius: 2px;
  opacity: 0.85;
}
.sinal-bar:nth-child(2) { opacity: 0.6; }
.sinal-bar:nth-child(4) { opacity: 0.55; }
.sinal-bar:nth-child(6) { opacity: 0.5; }

.sinal-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-faint);
}
.sinal-dot-row { display: inline-flex; gap: 4px; }
.sinal-dot-row span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(244, 236, 239, 0.18);
}
.sinal-dot-row .active { background: var(--accent); }

/* Light-mode card variants */
.hero-bg-light .card {
  background: #fff;
  border-color: var(--light-border);
  box-shadow: 0 10px 30px -16px rgba(107, 29, 98, 0.18);
}
.hero-bg-light .card-label { color: var(--text-on-light); }
.hero-bg-light .card-caption { color: rgba(27, 15, 26, 0.7); }
.hero-bg-light .sinal-meta { color: rgba(27, 15, 26, 0.5); }

/* ----- Bottom rail ----- */
/* ----- Layout variants ----- */
.hero-layout-overlap .hero-grid {
  grid-template-columns: 1fr;
  align-items: start;
}
.hero-layout-overlap .col-text {
  max-width: 760px;
  position: relative;
  z-index: 4;
}
.hero-layout-overlap .col-image {
  position: absolute;
  top: 80px; right: 0;
  width: 44%;
  z-index: 1;
  opacity: 0.95;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }
  .col-text {
    display: contents;
    max-width: 100%;
  }
  .overline { order: 1; }
  .h1 { order: 2; }
  .h2 { order: 3; }
  .col-image {
    order: 4;
    margin: 8px 0 28px;
  }
  .cta-row { order: 5; }
  .hero-lote-progress { order: 6; }
  .stage { max-width: 640px; }
  .h1 { font-size: clamp(32px, 7vw, 44px); }
  .topbar-meta { display: none; }
  .topbar { padding: 15px 18px; }
  .corner { display: none; }
  .mapa-card { width: 160px; }
  .sinal-card { width: 180px; }
  .hero-layout-overlap .col-image {
    position: relative; top: 0; width: 100%; opacity: 1;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-left: 18px;
    padding-right: 18px;
    overflow-x: clip;
  }
  .hero-grid {
    width: 100%;
    min-width: 0;
  }
  .h1 {
    max-width: 100%;
    font-size: clamp(28px, 8.2vw, 32px);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }
  .h2 {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: anywhere;
  }
  .hero-mobile-date {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(244, 236, 239, 0.72);
  }
  .hero-mobile-date svg {
    color: var(--accent);
    flex: 0 0 auto;
  }
  .col-text {
    display: contents;
  }
  .overline { order: 1; }
  .h1 { order: 2; }
  .h2 { order: 3; }
  .col-image {
    order: 4;
    margin: 2px 0 26px;
  }
  .cta-row { order: 5; }
  .hero-lote-progress { order: 6; }
  .cta {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .cta-row {
    width: 100%;
    min-width: 0;
    gap: 14px;
  }
  .price-stack { width: 100%; }
  .price-line {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .stage { max-width: 100%; aspect-ratio: 16 / 9; }
  .mapa-card { --left: 0% !important; width: 150px; }
  .sinal-card { --right: 0% !important; width: 160px; }
  .stage-caption { font-size: 10.5px; bottom: -52px; }
  .stage-caption-text { font-size: 12px; }
}
/* -----------------------------------------------------------------------------
   Página Marina — Dobra 2 — O Método
   Light background, editorial chart aesthetic
   ------------------------------------------------------------------------- */

.dobra {
  position: relative;
  background: var(--light-bg);
  color: var(--text-on-light);
  padding: clamp(56px, 9vh, 110px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
}

.dobra::before {
  /* Subtle paper grain — radial tint */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 50% at 20% 0%, rgba(155, 45, 142, 0.04), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(232, 197, 71, 0.05), transparent 60%);
  pointer-events: none;
}

.dobra-topbar {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px;
  margin: 0 auto 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-border);
}
.dobra-overline {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d-ov-num {
  font-family: var(--mono);
  color: var(--primary);
}
.d-ov-line { flex: 0 0 36px; height: 1px; background: var(--primary); opacity: 0.45; }
.d-ov-cat { color: rgba(27, 15, 26, 0.6); }
.dobra-corner-code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 15, 26, 0.42);
}

/* ----- Grid ----- */
.dobra-grid {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

/* ----- Text column ----- */
.dobra-col-text {
  max-width: 560px;
  padding-top: 8px;
}

.dobra-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: var(--text-on-light);
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.dobra-h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.dobra-h2 .h2-mark {
  position: relative;
  display: inline-block;
}
.dobra-h2 .h2-mark::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0.08em;
  height: 0.22em;
  background: rgba(232, 197, 71, 0.55);
  z-index: -1;
  border-radius: 2px;
}

.dobra-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(19px, 1.55vw, 22px);
  line-height: 1.45;
  color: rgba(27, 15, 26, 0.78);
  margin: 0 0 28px;
  padding-left: 18px;
  border-left: 2px solid var(--primary);
  max-width: 56ch;
  font-variation-settings: "opsz" 36;
}
.lede-quote {
  font-style: italic;
  color: var(--primary);
  white-space: nowrap;
}

.dobra-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(27, 15, 26, 0.78);
  margin: 0 0 24px;
  max-width: 56ch;
}
.dobra-body strong {
  color: var(--text-on-light);
  font-weight: 600;
}

/* ----- Reveal list ----- */
.reveal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--light-border);
}
.reveal-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--light-border);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.45;
  color: rgba(27, 15, 26, 0.82);
  transition: background 0.18s ease;
}
.reveal-item:hover {
  background: rgba(155, 45, 142, 0.025);
}
.reveal-arrow {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 20px;
  color: var(--primary);
  line-height: 1;
  font-style: italic;
}
.reveal-text strong {
  font-weight: 600;
  color: var(--text-on-light);
}

.dobra-close {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--text-on-light);
  margin: 0 0 32px;
  font-variation-settings: "opsz" 36;
}
.dobra-close em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  background: linear-gradient(180deg, transparent 65%, rgba(232, 197, 71, 0.4) 65%, rgba(232, 197, 71, 0.4) 92%, transparent 92%);
  padding: 0 2px;
}

/* ----- CTA ----- */
.dobra-cta-row {
  display: flex; align-items: center; gap: 18px;
  flex-wrap: wrap;
}
.cta-light {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(155, 45, 142, 0.5), inset 0 1px 0 rgba(255,255,255,0.18);
}
.cta-light:hover {
  background: #A8369B;
  box-shadow: 0 18px 40px -14px rgba(155, 45, 142, 0.6), inset 0 1px 0 rgba(255,255,255,0.22);
}
.cta-aside {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(27, 15, 26, 0.6);
}

/* ----- Ficha mockup ----- */
.dobra-col-visual {
  position: relative;
  padding-top: 12px;
}

.ficha-wrap {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.ficha-clip {
  position: absolute;
  top: -22px;
  left: 36px;
  z-index: 4;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.ficha {
  position: relative;
  background: #fffdfb;
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 26px 28px 22px;
  box-shadow:
    0 30px 60px -28px rgba(107, 29, 98, 0.22),
    0 1px 0 rgba(255,255,255,0.7) inset;
  font-family: var(--sans);
  transform: rotate(-0.6deg);
}

.ficha::before {
  /* perforation strip on left side */
  content: "";
  position: absolute;
  left: 14px; top: 16px; bottom: 16px;
  width: 1px;
  background: repeating-linear-gradient(
    180deg,
    rgba(27,15,26,0.15) 0,
    rgba(27,15,26,0.15) 4px,
    transparent 4px,
    transparent 8px
  );
}

/* Ficha header */
.ficha-head {
  display: flex; align-items: flex-start;
  gap: 18px;
  padding-left: 14px;
}
.ficha-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.ficha-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 45, 142, 0.15);
}
.ficha-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-on-light);
  font-variation-settings: "opsz" 36;
}
.ficha-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.ficha-meta {
  display: inline-flex; align-items: baseline; gap: 6px;
  font-size: 10.5px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
}
.ficha-meta-k {
  text-transform: uppercase;
  color: rgba(27,15,26,0.45);
  font-size: 9px;
  letter-spacing: 0.18em;
}
.ficha-meta-v {
  color: var(--text-on-light);
  font-weight: 500;
}

.ficha-rule {
  height: 1px;
  background: var(--light-border);
  margin: 14px 0 4px 14px;
  position: relative;
}
.ficha-rule::before, .ficha-rule::after {
  content: "";
  position: absolute;
  top: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.6;
}
.ficha-rule::before { left: 0; }
.ficha-rule::after { right: 0; background: var(--accent); opacity: 0.9; }

/* Field rows */
.ficha-row {
  padding: 12px 0 12px 14px;
  border-bottom: 1px dashed rgba(27,15,26,0.1);
}
.ficha-row:last-of-type { border-bottom: 0; }

.ficha-row-head {
  display: flex; align-items: baseline; gap: 10px;
  margin-bottom: 10px;
}
.ficha-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(27,15,26,0.35);
  width: 18px;
}
.ficha-field-label {
  flex: 1;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-light);
}
.ficha-field-status {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid;
  background: rgba(255,255,255,0.7);
}
.ficha-field-status.filled {
  color: var(--primary);
  border-color: rgba(155, 45, 142, 0.25);
  background: rgba(155, 45, 142, 0.05);
}
.ficha-field-status.muted {
  color: rgba(27,15,26,0.55);
  border-color: rgba(27,15,26,0.12);
}
.ficha-field-status.accent {
  color: #8a6b00;
  border-color: rgba(232, 197, 71, 0.35);
  background: rgba(232, 197, 71, 0.12);
}

/* Scale field */
.ficha-scale {
  position: relative;
  padding: 22px 0 14px;
}
.scale-track {
  display: flex;
  justify-content: space-between;
  height: 18px;
  align-items: flex-end;
  position: relative;
}
.scale-tick {
  width: 1px;
  height: 6px;
  background: rgba(27,15,26,0.25);
}
.scale-tick[data-major] {
  height: 12px;
  background: rgba(27,15,26,0.45);
}
.scale-range {
  position: absolute;
  top: 22px;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 3px;
}
.scale-range-cap {
  position: absolute;
  top: -22px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: 0.05em;
}
.scale-range-cap.left { left: -8px; }
.scale-range-cap.right { right: -8px; }
.scale-comfort {
  position: absolute;
  top: 30px;
  height: 4px;
  background: rgba(232, 197, 71, 0.85);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(232, 197, 71, 0.18);
}
.scale-comfort-cap {
  position: absolute;
  top: 8px;
  left: 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #8a6b00;
  white-space: nowrap;
}

/* Profile chips */
.profile-row {
  display: flex; gap: 6px;
}
.profile-chip {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px 6px;
  border: 1px solid var(--light-border);
  border-radius: 8px;
  background: rgba(250, 247, 248, 0.6);
}
.profile-chip-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(27,15,26,0.45);
}
.profile-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(27,15,26,0.12);
}
.profile-chip.active {
  border-color: var(--primary);
  background: rgba(155, 45, 142, 0.06);
  box-shadow: 0 0 0 3px rgba(155, 45, 142, 0.08);
}
.profile-chip.active .profile-chip-num {
  color: var(--primary);
  font-weight: 700;
}
.profile-chip.active .profile-chip-dot {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 45, 142, 0.2);
}

/* Tract diagram */
.tract-diagram {
  background: rgba(250, 247, 248, 0.5);
  border: 1px solid var(--light-border);
  border-radius: 8px;
  padding: 10px 12px;
}

/* Wave block */
.wave-block {
  position: relative;
  padding: 6px 0;
}
.wave-svg {
  display: block;
  width: 100%;
  height: 48px;
}
.wave-window {
  position: absolute;
  top: 0; bottom: 0;
  border: 1px solid var(--primary);
  border-radius: 4px;
  background: rgba(155, 45, 142, 0.06);
  pointer-events: none;
}
.wave-window-cap {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  background: #fffdfb;
  padding: 0 6px;
}

/* Handwritten note */
.ficha-row-note {
  background: rgba(232, 197, 71, 0.06);
  margin: 8px -28px -22px 0;
  padding: 14px 28px 18px 28px;
  border-radius: 0 0 12px 0;
  border-bottom: 0 !important;
}
.ficha-note {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--text-on-light);
  margin: 0;
  font-variation-settings: "opsz" 36;
}
.ficha-note u {
  text-decoration: none;
  background: linear-gradient(180deg, transparent 70%, rgba(232, 197, 71, 0.55) 70%, rgba(232, 197, 71, 0.55) 92%, transparent 92%);
  padding: 0 2px;
}

/* Footer */
.ficha-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 16px;
  padding: 14px 0 0 14px;
  border-top: 1px solid var(--light-border);
}
.ficha-stamp {
  width: 76px; height: 76px;
  border: 1.5px dashed var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  transform: rotate(-8deg);
  opacity: 0.78;
}
.stamp-inner {
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  line-height: 1.1;
}
.stamp-line-1 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: 14px;
}
.stamp-line-2 {
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.stamp-line-3 {
  font-family: var(--mono);
  font-size: 6.5px;
  letter-spacing: 0.16em;
  margin-top: 3px;
  opacity: 0.7;
}
.ficha-foot-meta {
  display: flex; gap: 18px;
}
.ficha-foot-meta > div {
  display: flex; flex-direction: column; gap: 2px;
  text-align: right;
}

/* External arrow annotations */
.ficha-arrow {
  position: absolute;
  display: flex; align-items: center; gap: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  z-index: 5;
  pointer-events: none;
}
.arrow-label {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--primary);
  background: rgba(250, 247, 248, 0.9);
  padding: 2px 6px;
  border-radius: 3px;
}
.arrow-mid {
  top: 38%;
  left: -90px;
}
.arrow-bot {
  bottom: 72px;
  left: -126px;
}

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .ficha-arrow.arrow-mid,
  .ficha-arrow.arrow-bot { display: none; }
}

@media (max-width: 960px) {
  .dobra-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .dobra-col-text {
    display: contents;
    max-width: 100%;
  }
  .dobra-h2 {
    order: 1;
    width: 100%;
  }
  .dobra-col-visual {
    order: 2;
    width: 100%;
    margin: 0 0 42px;
  }
  .dobra-lede,
  .dobra-body,
  .reveal-list,
  .dobra-close,
  .dobra-cta-row {
    order: 3;
    width: 100%;
  }
  .dobra-corner-code { display: none; }
  .ficha-arrow { display: none; }
  .ficha { transform: none; }
}

@media (max-width: 600px) {
  .dobra { padding-left: 18px; padding-right: 18px; }
  .dobra-h2 { font-size: 36px; line-height: 1.04; }
  .dobra-lede { font-size: 17px; padding-left: 14px; }
  .lede-quote { white-space: normal; }
  .ficha { padding: 22px 18px 18px; }
  .ficha-head { flex-direction: column; gap: 10px; }
  .ficha-title { font-size: 21px; }
  .profile-row { gap: 4px; }
  .profile-chip { padding: 6px 2px; }
  .dobra-cta-row .cta { width: 100%; justify-content: center; }
}
/* -----------------------------------------------------------------------------
   Página Marina — Dobra 3 — Diagnóstico diferencial
   Dark editorial, clinical aesthetic
   ------------------------------------------------------------------------- */

.dobra3 {
  position: relative;
  background:
    radial-gradient(120% 80% at 20% 0%, #1c1024 0%, var(--dark-bg) 55%, #07050a 100%);
  color: var(--text-on-dark);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
}

/* ----- Top bar ----- */
.d3-topbar {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.08);
}
.d3-overline {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d3-ov-num {
  font-family: var(--mono);
  color: var(--primary-light);
}
.d3-ov-line { flex: 0 0 36px; height: 1px; background: var(--primary-light); opacity: 0.45; }
.d3-ov-cat { color: rgba(244, 236, 239, 0.6); }
/* ----- Intro ----- */
.d3-intro {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.d3-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text-on-dark);
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 14ch;
}
.d3-h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.d3-em {
  position: relative;
}
.d3-em::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px;
  bottom: 0.04em;
  height: 0.16em;
  background: rgba(232, 197, 71, 0.45);
  z-index: -1;
  border-radius: 2px;
}
.d3-strike {
  position: relative;
  color: rgba(244, 236, 239, 0.45);
  font-style: italic;
  font-weight: 300;
}
.d3-strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 53%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, #E8806D 12%, #E8806D 88%, transparent 100%);
  transform: rotate(-2deg);
  pointer-events: none;
}

.d3-intro-body {
  padding-top: 14px;
  max-width: 480px;
}
.d3-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--text-on-dark);
  margin: 0 0 22px;
  padding-left: 18px;
  border-left: 2px solid var(--primary);
  font-variation-settings: "opsz" 36;
}
.d3-lede strong {
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}
.d3-body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-on-dark-dim);
  margin: 0 0 24px;
  max-width: 56ch;
}

.d3-bridge {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.45;
  color: var(--text-on-dark);
  margin: 0;
  padding: 14px 14px 14px 34px;
  border-top: 1px dashed rgba(244, 236, 239, 0.15);
  border-bottom: 1px dashed rgba(244, 236, 239, 0.15);
}
.d3-bridge em {
  font-style: italic;
  color: var(--primary-light);
  font-weight: 500;
}
.d3-bridge-arrow {
  position: absolute;
  left: 10px; top: 14px;
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
}

/* ----- Grid ----- */
.d3-grid-wrap {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

.d3-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* ----- Diagnostic card ----- */
.diag-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(30, 19, 34, 0.85) 0%, rgba(21, 16, 26, 0.85) 100%);
  border: 1px solid rgba(232, 128, 109, 0.18);
  border-radius: 14px;
  padding: 28px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.diag-card::before {
  /* coral top accent strip — signal of "alert/symptom" */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(232, 128, 109, 0.65) 30%, rgba(232, 128, 109, 0.65) 70%, transparent 100%);
}

.diag-symptom {
  position: relative;
  padding: 0 0 0 4px;
}
.diag-quote-mark {
  position: absolute;
  left: -8px; top: -18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 56px;
  line-height: 1;
  color: rgba(232, 128, 109, 0.28);
  font-variation-settings: "opsz" 144;
}
.diag-symptom-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-on-dark);
  font-variation-settings: "opsz" 36, "SOFT" 50;
  font-style: italic;
}

.diag-divider {
  position: relative;
  height: 1px;
  background: rgba(244, 236, 239, 0.08);
  margin: 4px 0;
}
.diag-divider-cap {
  position: absolute;
  top: -6px;
  left: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 236, 239, 0.5);
  background: #15101a;
  padding-right: 8px;
}

.diag-hyp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.diag-hyp {
  display: grid;
  grid-template-columns: 1fr 14px;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--text-on-dark);
  border-bottom: 1px dashed rgba(244, 236, 239, 0.07);
}
.diag-hyp:last-child { border-bottom: 0; }
.diag-hyp-text {
  color: rgba(244, 236, 239, 0.86);
}
.diag-hyp-marker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--primary-light);
  text-align: right;
  opacity: 0.75;
}

.diag-card-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px solid rgba(244, 236, 239, 0.06);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.diag-foot-k { color: rgba(244, 236, 239, 0.45); }
.diag-foot-v {
  color: var(--accent);
  font-weight: 600;
  font-style: italic;
}

/* ----- Grid footer note ----- */
.d3-grid-footer {
  margin-top: 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(244, 236, 239, 0.08);
}
.d3-grid-footer-text {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.45;
  color: var(--text-on-dark-dim);
  margin: 0;
  max-width: 68ch;
  font-variation-settings: "opsz" 36;
}
.d3-grid-footer-text strong {
  font-style: italic;
  font-weight: 500;
  color: var(--text-on-dark);
  font-family: var(--serif);
}
.d3-but {
  color: var(--primary-light);
  font-style: italic;
  font-weight: 500;
}

/* ----- Punchline ----- */
.d3-punch {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 80px auto 0;
  padding: 40px clamp(20px, 5vw, 64px) 36px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(155, 45, 142, 0.06) 0%, rgba(155, 45, 142, 0) 100%);
  border: 1px solid rgba(201, 100, 185, 0.18);
  border-radius: 18px;
  overflow: hidden;
}
.d3-punch::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 70% at 100% 50%, rgba(232, 197, 71, 0.08), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(155, 45, 142, 0.18), transparent 60%);
  pointer-events: none;
}
.d3-punch-mark {
  flex-shrink: 0;
  color: rgba(232, 128, 109, 0.85);
  transform: rotate(-8deg);
  position: relative;
  z-index: 1;
}
.d3-punch-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text-on-dark);
  margin: 0;
  position: relative;
  z-index: 1;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  text-wrap: pretty;
}
.d3-punch-strike {
  position: relative;
  color: rgba(244, 236, 239, 0.5);
  font-weight: 300;
  font-style: italic;
}
.d3-punch-strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 52%;
  height: 2px;
  background: #E8806D;
  transform: rotate(-2deg);
  border-radius: 1px;
}
.d3-punch-em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  background: linear-gradient(180deg, transparent 65%, rgba(232, 197, 71, 0.22) 65%, rgba(232, 197, 71, 0.22) 92%, transparent 92%);
  padding: 0 2px;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .d3-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .d3-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .d3-h2 { max-width: 100%; }
  .d3-punch {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 22px;
    margin-top: 56px;
  }
}

@media (max-width: 600px) {
  .dobra3 { padding-left: 18px; padding-right: 18px; }
  .d3-h2 { font-size: 34px; line-height: 1.04; }
  .d3-lede { font-size: 16.5px; padding-left: 14px; }
  .d3-bridge { font-size: 15.5px; padding-left: 28px; }
  .diag-card { padding: 24px 18px 18px; }
  .diag-symptom-text { font-size: 22px; }
  .diag-hyp { font-size: 14px; grid-template-columns: 1fr 12px; gap: 8px; }
  .d3-punch-text { font-size: 22px; }
  .d3-punch-mark svg { width: 56px; height: 56px; }
}

/* ======== HSCROLL - DOBRA COM TRILHO DE CARDS (VERTICAL 9:16) ======== */
#mt-hscroll-1.mt-hs-scene{
  position: relative;
  background: #171717;
  color: #eee;
  overflow: clip; /* sem barra horizontal */
}

/* bloco "preso" (sticky) que ocupa a viewport */
#mt-hscroll-1 .mt-hs-pin{
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  gap: min(3vw, 28px);
  padding: clamp(16px, 4vw, 48px);
  box-sizing: border-box;
}

/* titulo */
#mt-hscroll-1 .mt-hs-title{
  margin: 0;
  text-align: center;
  font-size: clamp(20px, 5vw, 34px);
  line-height: 1.05;
  letter-spacing: .5px;
  font-weight: 800;
  color:#F1F1F1;
  font-family: var(--sans);
}
.highlight-beltmap {
  color: var(--primary-light);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(201, 100, 185, 0.28);
}

/* pista visivel (altura definida via JS para 9:16) */
#mt-hscroll-1 .mt-hs-rail{
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  padding: 0 clamp(10px, 2vw, 24px);
  box-sizing: border-box;
}

/* legenda dentro do card */
#mt-hscroll-1 .mt-hs-caption-card {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  pointer-events: none;
  white-space: nowrap;
}

/* trilho que se move na horizontal */
#mt-hscroll-1 .mt-hs-track{
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px); /* espaco entre cards */
  will-change: transform;
  transform: translate3d(0,0,0);
  transition: transform .05s linear;
}

/* cards 9:16 (largura controla a altura) */
#mt-hscroll-1 .mt-hs-card{
  position: relative; /* necessario para posicionar botao do card */
  flex: 0 0 clamp(180px, 22vw, 280px);
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  display: block;
  background: #000;
  box-shadow: 0 12px 34px rgba(0,0,0,.25);
  transform: translateZ(0);
}
#mt-hscroll-1 .mt-hs-card video{
  width: 100%; height: 100%;
  object-fit: cover; display:block; border-radius: inherit;
}

/* Botao central por card (icone) */
#mt-hscroll-1 .mt-audio-cardbtn{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  display:flex; align-items:center; justify-content:center;
  width: 96px; height: 96px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.55);
  color:#fff; cursor:pointer; z-index:3;
  transition: transform .15s ease, background .15s ease, opacity .2s ease;
}
#mt-hscroll-1 .mt-audio-cardbtn:hover{ transform:translate(-50%,-50%) scale(1.05); }
#mt-hscroll-1 .mt-audio-cardbtn svg{ width:48px; height:48px; }

/* Estado com som ATIVO */
#mt-hscroll-1 .mt-audio-cardbtn[data-state="unmuted"]{
  background: rgba(155,45,142,.88);
}

/* legenda (fora do trilho) */
#mt-hscroll-1 .mt-hs-caption{
  justify-self: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid #f06ba7;
  background: rgba(0,0,0,.15);
  font-weight: 600;
}

/* esconder barras (apenas aqui) */
#mt-hscroll-1, #mt-hscroll-1 *{ scrollbar-width:none; -ms-overflow-style:none; }
#mt-hscroll-1 *::-webkit-scrollbar{ display:none; }

/* ===== MOBILE: empilha, sem sticky/trilho, video 250px ===== */
@media (max-width: 768px) {
  #mt-hscroll-1.mt-hs-scene { overflow: visible; }

  #mt-hscroll-1 .mt-hs-pin{
    position: static;
    height: auto;          /* sem 100vh no mobile */
    display: block;
    padding: 16px;
  }

  #mt-hscroll-1 .mt-hs-title{
    font-size: clamp(20px, 4.2vw, 28px);
  }

  #mt-hscroll-1 .mt-hs-title:first-of-type{
    margin-top: 18px;
  }

  #mt-hscroll-1 .mt-hs-title + .mt-hs-title{
    margin-top: 8px;
    margin-bottom: 26px;
  }

  #mt-hscroll-1 .mt-hs-rail{
    overflow: visible;
    padding: 0;
    height: auto !important; /* ignora 9:16 */
  }

  /* trilho deixa de ser flex/horizontal e vira fluxo normal */
  #mt-hscroll-1 .mt-hs-track{
    position: static;
    display: block;
    transform: none !important;
    transition: none !important;
    gap: 0;
  }

  /* cada card ocupa a largura e tem altura fixa */
  #mt-hscroll-1 .mt-hs-card{
    width: 100%;
    height: 350px;          /* << requisito */
    aspect-ratio: auto;     /* cancela 9:16 */
    border-radius: 14px;
    margin: 14px 0;         /* espacamento vertical entre cards */
  }

  #mt-hscroll-1 .mt-hs-card video{
    width: 100%;
    height: 100%;
    object-fit: cover;      /* preenche mantendo corte elegante */
    border-radius: inherit;
  }

  /* botao de audio menor; caption externa opcionalmente some */
  #mt-hscroll-1 .mt-audio-cardbtn{ width:72px; height:72px; }
  #mt-hscroll-1 .mt-hs-caption { display: none; }
}


/* -----------------------------------------------------------------------------
   Página Marina — Dobra 5 — Ciclo da Frustração
   Light editorial, circular diagram
   ------------------------------------------------------------------------- */

.dobra5 {
  position: relative;
  background: var(--light-bg);
  color: var(--text-on-light);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
}
.dobra5::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 80% 0%, rgba(155, 45, 142, 0.05), transparent 60%),
    radial-gradient(60% 60% at 0% 100%, rgba(232, 197, 71, 0.05), transparent 60%);
  pointer-events: none;
}

/* ----- Topbar ----- */
.d5-topbar {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--light-border);
}
.d5-overline {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d5-ov-num {
  font-family: var(--mono);
  color: var(--primary);
}
.d5-ov-line { flex: 0 0 36px; height: 1px; background: var(--primary); opacity: 0.45; }
.d5-ov-cat { color: rgba(27, 15, 26, 0.6); }
.d5-code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 15, 26, 0.42);
}

/* ----- Intro ----- */
.d5-intro {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto 48px;
  text-align: left;
}

.d5-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text-on-light);
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 22ch;
}
.d5-h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
}
.d5-h2 .d5-em {
  position: relative;
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
}
.d5-h2 .d5-em::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0.05em;
  height: 0.18em;
  background: rgba(232, 197, 71, 0.45);
  z-index: -1;
  border-radius: 2px;
}

.d5-lede {
  position: relative;
  font-family: var(--sans);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: rgba(27, 15, 26, 0.7);
  margin: 0;
  padding-left: 34px;
  max-width: 56ch;
}
.d5-lede strong {
  color: var(--primary);
  font-weight: 600;
}
.d5-lede-mark {
  position: absolute;
  left: 6px; top: -4px;
  color: var(--primary);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1;
}

/* ----- Diagram ----- */
.d5-diagram-wrap {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 0 24px;
}

.cycle-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.cycle-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(27, 15, 26, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27, 15, 26, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center center;
  mask-image: radial-gradient(circle at center, #000 60%, transparent 92%);
  -webkit-mask-image: radial-gradient(circle at center, #000 60%, transparent 92%);
}

.cycle-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cycle-center-1 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 41px;
  fill: var(--text-on-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.cycle-center-2 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  fill: rgba(27, 15, 26, 0.55);
  font-variation-settings: "opsz" 36;
}
.cycle-center-3 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 46px;
  fill: var(--primary);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
/* ----- Cycle node ----- */
.cycle-node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 187px;
  background: #fffdfb;
  border: 1px solid var(--light-border);
  border-radius: 17px;
  padding: 14px 17px 17px;
  box-shadow:
    0 12px 28px -14px rgba(107, 29, 98, 0.22),
    0 1px 0 rgba(255,255,255,0.7) inset;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}
.cycle-node::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.4px;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--primary) 70%, transparent 100%);
  opacity: 0.7;
}
.cycle-node.node-coral::before {
  background: linear-gradient(90deg, transparent 0%, #E8806D 30%, #E8806D 70%, transparent 100%);
  opacity: 0.85;
}

.node-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.node-num {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(155, 45, 142, 0.08);
  border: 1px solid rgba(155, 45, 142, 0.18);
}
.node-coral .node-num {
  color: #b94a36;
  background: rgba(232, 128, 109, 0.08);
  border-color: rgba(232, 128, 109, 0.25);
}
.node-icon {
  color: var(--primary);
  display: inline-flex;
  width: 34px; height: 34px;
}
.node-coral .node-icon { color: #b94a36; }

.node-body { display: flex; flex-direction: column; gap: 4px; }
.node-label {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 23px;
  line-height: 1.1;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--text-on-light);
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.node-hint {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.35;
  color: rgba(27, 15, 26, 0.55);
  margin: 0;
}

/* ----- Punchline ----- */
.d5-punch {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 56px auto 0;
  padding: 32px clamp(24px, 4vw, 48px) 28px;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  background:
    linear-gradient(180deg, rgba(155, 45, 142, 0.025) 0%, rgba(232, 197, 71, 0.04) 100%);
}

.d5-punch-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.d5-punch-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #E8806D;
  box-shadow: 0 0 0 3px rgba(232, 128, 109, 0.2);
}

.d5-punch-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--text-on-light);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
  text-wrap: pretty;
  max-width: 30ch;
}
.d5-punch-times {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.78em;
  color: var(--accent);
  font-weight: 600;
  background: rgba(232, 197, 71, 0.12);
  border: 1px solid rgba(232, 197, 71, 0.35);
  padding: 0 8px;
  border-radius: 6px;
  letter-spacing: 0.04em;
  display: inline-block;
  transform: translateY(-2px);
}
.d5-punch-strike {
  position: relative;
  font-style: italic;
  color: rgba(27, 15, 26, 0.55);
  white-space: nowrap;
}
.d5-punch-strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 53%;
  height: 2px;
  background: #E8806D;
  transform: rotate(-2deg);
  pointer-events: none;
  border-radius: 1px;
}
.d5-punch-anno {
  position: absolute;
  left: calc(100% + 8px);
  bottom: -18px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transform: rotate(-3deg);
}

.d5-punch-foot {
  display: flex; align-items: baseline; gap: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(27, 15, 26, 0.12);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.d5-punch-foot-k { color: rgba(27, 15, 26, 0.42); }
.d5-punch-foot-v {
  color: var(--primary);
  font-style: italic;
  font-family: var(--serif);
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 13.5px;
  font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .d5-code { display: none; }
  .d5-diagram-wrap { max-width: 100%; }
  .cycle-node { width: 130px; padding: 10px 12px 12px; }
  .node-label { font-size: 17px; }
  .node-hint { font-size: 10.5px; }
  .cycle-center-1, .cycle-center-3 { font-size: 30px; }
  .cycle-center-2 { font-size: 18px; }
}

@media (max-width: 720px) {
  .dobra5 { padding: 48px 16px; }
  .d5-h2 { font-size: 30px; }
  .d5-lede { font-size: 15px; padding-left: 26px; }
  .d5-diagram-wrap {
    width: 100% !important;
    height: auto !important;
    padding: 14px 0 6px;
    margin-bottom: 10px;
  }
  .cycle-stage { aspect-ratio: 1 / 1.1; }
  .cycle-node {
    width: 96px;
    padding: 8px 8px 10px;
    border-radius: 10px;
  }
  .node-num { font-size: 9px; padding: 2px 5px; }
  .node-icon { width: 22px; height: 22px; }
  .node-icon svg { width: 22px; height: 22px; }
  .node-label { font-size: 14px; }
  .node-hint { display: none; }
  .cycle-center-1 { font-size: 22px; }
  .cycle-center-2 { font-size: 14px; }
  .cycle-center-3 { font-size: 26px; }
  .d5-punch-text { font-size: 20px; }
  .d5-punch-anno { font-size: 12px; left: auto; right: 0; bottom: -22px; }
}


/* -----------------------------------------------------------------------------
   Página Marina — Dobra 6 — O mapa — SEM MAPA / COM MAPA
   Vertical split: dark left + light right
   ------------------------------------------------------------------------- */

.dobra6 {
  position: relative;
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
  color: var(--text-on-light);
  background: var(--light-bg);
}

/* ----- Split background ----- */
.d6-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.d6-bg-left,
.d6-bg-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
}
.d6-bg-left {
  left: 0;
  background:
    radial-gradient(80% 60% at 20% 20%, #1c1024 0%, var(--dark-bg) 55%, #07050a 100%);
}
.d6-bg-right {
  right: 0;
  background: var(--light-bg);
}
.d6-bg-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(155, 45, 142, 0) 8%,
    rgba(155, 45, 142, 0.45) 30%,
    rgba(232, 197, 71, 0.45) 70%,
    rgba(155, 45, 142, 0) 92%,
    transparent 100%);
  transform: translateX(-0.5px);
}

/* ----- Topbar ----- */
.d6-topbar {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.1);
  color: var(--text-on-dark);
}
.d6-overline {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.d6-ov-num {
  font-family: var(--mono);
  color: var(--primary-light);
}
.d6-ov-line { flex: 0 0 36px; height: 1px; background: var(--primary-light); opacity: 0.55; }
.d6-ov-cat { color: rgba(244, 236, 239, 0.65); }
.d6-code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ----- Intro ----- */
.d6-intro {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0;
  align-items: end;
}
.d6-intro-left {
  padding: 0 28px 0 8px;
  color: var(--text-on-dark);
  max-width: 540px;
}
.d6-intro-axis {
  width: 60px;
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 18px;
}
.d6-intro-axis-mark {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--light-bg) 100%);
  padding: 6px 4px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.d6-intro-right {
  padding: 0 8px 4px 28px;
  display: flex; flex-direction: column; align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.d6-intro-right-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}
.d6-intro-right-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-on-light);
  margin: 0;
  max-width: 18ch;
  font-variation-settings: "opsz" 36;
}
.d6-intro-right-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(27, 15, 26, 0.5);
}

.d6-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 18px;
  color: #fff;
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 12ch;
}
.d6-h2-soft {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}
.d6-h2-em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.d6-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.5;
  color: rgba(244, 236, 239, 0.78);
  margin: 0;
  font-variation-settings: "opsz" 36;
  max-width: 40ch;
}
.d6-no, .d6-yes {
  font-style: italic;
  font-weight: 500;
}
.d6-no { color: #E8806D; }
.d6-yes { color: var(--accent); }

/* ----- Grid ----- */
.d6-grid-wrap {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}
.d6-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 0;
  row-gap: 0;
  align-items: stretch;
}

/* Column heads */
.d6-col-head {
  display: flex; align-items: center; gap: 16px;
  padding: 22px 28px;
  border-radius: 14px 14px 0 0;
}
.d6-col-head-no {
  background:
    linear-gradient(180deg, rgba(232, 128, 109, 0.08) 0%, rgba(232, 128, 109, 0) 100%);
  color: #E8806D;
  border: 1px solid rgba(232, 128, 109, 0.22);
  border-bottom: 1px dashed rgba(232, 128, 109, 0.3);
}
.d6-col-head-yes {
  background:
    linear-gradient(180deg, rgba(155, 45, 142, 0.06) 0%, rgba(232, 197, 71, 0.05) 100%);
  color: var(--primary);
  border: 1px solid rgba(155, 45, 142, 0.18);
  border-bottom: 1px dashed rgba(155, 45, 142, 0.28);
}
.col-head-icon {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  flex-shrink: 0;
}
.col-head-text {
  display: flex; flex-direction: column;
  gap: 2px;
}
.col-head-tag {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.7;
}
.col-head-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 36;
}
.d6-col-head-no .col-head-title {
  font-style: italic;
}
.d6-col-head-yes .col-head-title em { font-style: italic; }
.col-head-cap {
  font-family: var(--sans);
  font-size: 11.5px;
  font-style: italic;
  color: currentColor;
  opacity: 0.75;
  margin-top: 2px;
}

.d6-axis-head {
  display: flex; align-items: center; justify-content: center;
  width: 60px;
  border-bottom: 1px dashed rgba(155, 45, 142, 0.3);
}
.axis-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--accent);
}

/* Rows */
.d6-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 28px;
  border-left: 1px solid;
  border-right: 1px solid;
  border-bottom: 1px dashed;
  min-height: 96px;
}
.d6-row-no {
  background: linear-gradient(180deg, rgba(255,255,255,0.012) 0%, rgba(255,255,255,0) 100%);
  border-color: rgba(232, 128, 109, 0.14);
  border-bottom-color: rgba(232, 128, 109, 0.16);
  color: rgba(232, 128, 109, 0.92);
}
.d6-row-yes {
  background: linear-gradient(180deg, rgba(255, 253, 251, 0.6) 0%, rgba(255, 253, 251, 0.2) 100%);
  border-color: rgba(155, 45, 142, 0.14);
  border-bottom-color: rgba(155, 45, 142, 0.16);
  color: var(--text-on-light);
}

/* last row removes bottom dashed */
.d6-grid > .d6-row:nth-last-child(3),
.d6-grid > .d6-row:nth-last-child(1) {
  border-bottom-style: solid;
  border-bottom-color: transparent;
  border-radius: 0 0 14px 14px;
}

.row-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  padding-top: 4px;
}
.d6-row-no .row-num { color: rgba(232, 128, 109, 0.6); }
.d6-row-yes .row-num { color: var(--primary); }

.row-content {
  position: relative;
  padding-right: 18px;
}
.row-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.32;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: pretty;
  font-variation-settings: "opsz" 36, "SOFT" 50;
}
.d6-row-no .row-text {
  font-style: italic;
  font-weight: 300;
  color: rgba(232, 128, 109, 0.92);
}
.d6-row-yes .row-text {
  color: var(--text-on-light);
}
.row-quote {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4em;
  line-height: 0.5;
  color: rgba(232, 128, 109, 0.55);
  margin-right: 4px;
  transform: translateY(8px);
}
.row-mark {
  position: absolute;
  right: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 197, 71, 0.18);
}

/* Center axis between rows */
.d6-axis {
  display: flex; flex-direction: column; align-items: center;
  width: 60px;
  padding: 24px 0;
  position: relative;
}
.axis-line {
  flex: 1;
  width: 1px;
  background: rgba(155, 45, 142, 0.18);
}
.axis-arrow {
  color: var(--primary);
  margin: 8px 0;
  display: inline-flex;
  background: var(--light-bg);
  padding: 4px 2px;
}
.axis-tag {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 18px);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--light-bg);
  padding: 0 6px;
  white-space: nowrap;
  font-weight: 600;
  opacity: 0.7;
}

/* Footer summary */
.d6-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0;
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
  font-family: var(--sans);
}
.d6-foot-left, .d6-foot-right {
  display: flex; flex-direction: column; gap: 4px;
  padding: 0 28px;
}
.d6-foot-right { align-items: flex-end; text-align: right; }
.d6-foot-mid {
  width: 60px;
  text-align: center;
}
.foot-arrow {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 26px;
  color: var(--primary);
}
.foot-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(27, 15, 26, 0.5);
}
.d6-foot-left .foot-k { color: rgba(232, 128, 109, 0.7); }
.foot-v {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.005em;
  font-variation-settings: "opsz" 36;
}
.d6-foot-left .foot-v { color: rgba(232, 128, 109, 0.92); font-weight: 300; }
.d6-foot-right .foot-v { color: var(--primary); }

/* ----- Responsive ----- */
@media (max-width: 820px) {
  .d6-bg-left { display: none; }
  .d6-bg-right { width: 100%; }
  .d6-bg-divider { display: none; }
  .d6-topbar { color: var(--text-on-light); border-bottom-color: var(--light-border); }
  .d6-ov-num { color: var(--primary); }
  .d6-ov-line { background: var(--primary); }
  .d6-ov-cat { color: rgba(27, 15, 26, 0.6); }
  .d6-code { color: rgba(27, 15, 26, 0.5); }

  .d6-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .d6-intro-left { color: var(--text-on-light); max-width: 100%; padding: 0; }
  .d6-h2 { color: var(--text-on-light); max-width: 100%; }
  .d6-h2-soft { color: rgba(27, 15, 26, 0.45); }
  .d6-h2-em { color: var(--primary); }
  .d6-lede { color: rgba(27, 15, 26, 0.7); max-width: 60ch; }
  .d6-intro-axis { display: none; }
  .d6-intro-right {
    padding: 0;
    align-items: flex-start;
    text-align: left;
    padding-top: 14px;
    border-top: 1px solid var(--light-border);
  }

  .d6-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .d6-col-head { border-radius: 12px; }
  .d6-axis-head { display: none; }
  .d6-axis {
    flex-direction: row;
    width: 100%;
    padding: 8px 0;
    gap: 10px;
  }
  .axis-line { width: auto; flex: 1; height: 1px; }
  .axis-arrow { transform: rotate(90deg); margin: 0; }
  .axis-tag { position: static; transform: none; background: transparent; padding: 0; }
  .d6-row {
    border-radius: 12px;
    border-style: solid !important;
    border-bottom: 1px solid !important;
  }
  .d6-foot {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }
  .d6-foot-right { align-items: flex-start; text-align: left; }
  .foot-arrow { transform: rotate(90deg); display: inline-block; }
  .d6-foot-mid { width: 100%; text-align: left; padding: 0 28px; }
}

@media (max-width: 600px) {
  .dobra6 { padding: 48px 18px; }
  .d6-h2 { font-size: 32px; }
  .d6-lede { font-size: 15.5px; }
  .col-head-title { font-size: 19px; }
  .d6-col-head { padding: 18px 20px; gap: 12px; }
  .d6-row { padding: 18px 20px; grid-template-columns: 32px 1fr; gap: 10px; }
  .row-text { font-size: 16.5px; }
  .row-num { font-size: 10px; }
  .d6-foot-left, .d6-foot-right, .d6-foot-mid { padding: 0 20px; }
  .foot-v { font-size: 15px; }
}


/* -----------------------------------------------------------------------------
   Página Marina — Dobra 8 — Entregas
   Dark editorial, catalog spreads
   ------------------------------------------------------------------------- */

.dobra8 {
  position: relative;
  background:
    radial-gradient(120% 80% at 80% 0%, #1c1024 0%, var(--dark-bg) 55%, #07050a 100%);
  color: var(--text-on-dark);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
}

/* ----- Topbar ----- */
.d8-topbar {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 48px;
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.08);
}
.d8-overline {
  display: flex; align-items: center; gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.d8-ov-line { flex: 0 0 36px; height: 1px; background: var(--primary-light); opacity: 0.55; }
.d8-ov-cat { color: rgba(244, 236, 239, 0.6); }

/* ----- Intro ----- */
.d8-intro {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto 72px;
}
.d8-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  color: #fff;
  text-wrap: pretty;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  max-width: 22ch;
}
.d8-h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}
.d8-h2-soft {
  color: rgba(255,255,255,0.45);
  font-weight: 300;
}
.d8-h2-strike {
  position: relative;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  font-weight: 300;
}
.d8-h2-strike::before {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  top: 53%;
  height: 1.8px;
  background: #E8806D;
  transform: rotate(-2deg);
  border-radius: 1px;
}

.d8-lede-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: end;
  padding-top: 8px;
  border-top: 1px dashed rgba(244, 236, 239, 0.1);
}
.d8-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.45;
  color: var(--text-on-dark-dim);
  margin: 0;
  padding-top: 22px;
  font-variation-settings: "opsz" 36;
  max-width: 56ch;
}
.d8-lede em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}
.d8-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
}
.d8-cite {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  gap: 4px;
  padding: 22px 0 0;
}
.d8-cite-k {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.d8-cite-v {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(244, 236, 239, 0.65);
  font-variation-settings: "opsz" 36;
}

/* ----- Spreads ----- */
.d8-spreads {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.delivery {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding: 56px 0;
}
.delivery-visual-right .delivery-visual { order: 2; }
.delivery-visual-right .delivery-text   { order: 1; }

.delivery-visual {
  position: relative;
}
.delivery-text {
  max-width: 540px;
}

.delivery-overline {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.d-ov-num {
  font-family: var(--mono);
  color: var(--primary-light);
}
.d-ov-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
}
.d-ov-cat { color: var(--text-on-dark-dim); }

.delivery-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  color: var(--text-on-dark);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.delivery-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary-light);
  font-variation-settings: "opsz" 144, "SOFT" 70;
}

.delivery-punch {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 18px;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  font-variation-settings: "opsz" 36;
  max-width: 38ch;
}

.delivery-body {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-on-dark-dim);
  margin: 0 0 24px;
  max-width: 56ch;
}

/* Divider between spreads */
.d8-divider {
  position: relative;
  height: 1px;
  background: rgba(244, 236, 239, 0.08);
  margin: 12px 0;
  display: flex; align-items: center; justify-content: center;
}
.d8-divider-cap {
  position: absolute;
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: 24px;
  color: var(--accent);
  background:
    radial-gradient(50% 80% at 50% 50%, var(--dark-bg) 30%, transparent 80%);
  padding: 8px 18px;
  line-height: 1;
}

/* -----------------------------------------------------------------------------
   MiniFicha
   ------------------------------------------------------------------------- */
.mini-ficha-wrap {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
}
.mini-ficha-clip {
  position: absolute;
  top: -16px;
  left: 32px;
  z-index: 4;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
}
.mini-ficha {
  position: relative;
  background: #fffdfb;
  color: var(--text-on-light);
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 22px 22px 16px;
  box-shadow:
    0 30px 60px -28px rgba(155, 45, 142, 0.45),
    0 1px 0 rgba(255,255,255,0.7) inset;
  transform: rotate(-0.6deg);
}
.mini-ficha::before {
  content: "";
  position: absolute;
  left: 12px; top: 14px; bottom: 14px;
  width: 1px;
  background: repeating-linear-gradient(180deg,
    rgba(27,15,26,0.15) 0, rgba(27,15,26,0.15) 4px,
    transparent 4px, transparent 8px);
}

.mini-ficha-head {
  padding-left: 12px;
  margin-bottom: 16px;
}
.mini-ficha-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.mini-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(155, 45, 142, 0.15);
}
.mini-ficha-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-on-light);
  font-variation-settings: "opsz" 36;
}
.mini-ficha-title em {
  font-style: italic;
  color: var(--primary);
}

.mini-ficha-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  padding: 11px 0 11px 12px;
  border-top: 1px dashed rgba(27,15,26,0.1);
}
.mini-num {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(27,15,26,0.35);
  padding-top: 5px;
}
.mini-row-body {
  display: flex; flex-direction: column;
  gap: 6px;
}
.mini-label {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-light);
}

/* mini scale */
.mini-scale {
  position: relative;
  padding: 14px 0 4px;
}
.mini-scale-track {
  display: flex; justify-content: space-between;
  align-items: flex-end;
  height: 12px;
}
.mini-tick {
  width: 1px; height: 5px;
  background: rgba(27,15,26,0.22);
}
.mini-tick[data-major] { height: 9px; background: rgba(27,15,26,0.4); }
.mini-scale-range {
  position: absolute;
  top: 18px; height: 5px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 3px;
}
.mini-range-cap {
  position: absolute;
  top: -16px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--primary-dark);
  font-weight: 600;
}
.mini-range-cap.left { left: -6px; }
.mini-range-cap.right { right: -6px; }

/* profile chips */
.mini-profile-row {
  display: flex; gap: 4px;
}
.mini-chip {
  flex: 1;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  padding: 5px 0;
  border-radius: 5px;
  border: 1px solid var(--light-border);
  background: rgba(250, 247, 248, 0.6);
  color: rgba(27,15,26,0.4);
}
.mini-chip.on {
  border-color: var(--primary);
  background: rgba(155, 45, 142, 0.08);
  color: var(--primary);
  font-weight: 700;
}

/* tension marks row */
.mini-marks {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.mini-mark {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid;
}
.mini-mark.m1 { color: var(--primary); border-color: rgba(155,45,142,0.3); background: rgba(155,45,142,0.06); }
.mini-mark.m2 { color: #8a6b00;       border-color: rgba(232,197,71,0.35); background: rgba(232,197,71,0.10); }
.mini-mark.m3 { color: var(--primary-dark); border-color: rgba(107,29,98,0.3); background: rgba(107,29,98,0.05); }

/* note */
.mini-ficha-note {
  margin: 4px -22px -16px 0;
  padding: 12px 22px 14px 24px;
  background: rgba(232, 197, 71, 0.07);
  border-top: 1px dashed rgba(27,15,26,0.1);
  border-radius: 0 0 12px 0;
}
.mini-note-eyebrow {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a6b00;
}
.mini-note-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-on-light);
  margin: 4px 0 0;
  font-variation-settings: "opsz" 36;
}
.mini-note-text u {
  text-decoration: none;
  background: linear-gradient(180deg, transparent 70%, rgba(232,197,71,0.55) 70%, rgba(232,197,71,0.55) 92%, transparent 92%);
}

.mini-ficha-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 12px;
  padding: 10px 0 0 12px;
  border-top: 1px solid var(--light-border);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,15,26,0.5);
}
.mini-stamp {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   MiniAtlas
   ------------------------------------------------------------------------- */
.atlas-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
}
.atlas-spine {
  width: 26px;
  background:
    linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: 4px 0 0 4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: inset -2px 0 0 rgba(0,0,0,0.18), inset 2px 0 0 rgba(255,255,255,0.06);
}
.atlas-spine-text {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 700;
}

.atlas-book {
  position: relative;
  flex: 1;
  background: #fffdfb;
  color: var(--text-on-light);
  border: 1px solid var(--light-border);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  padding: 22px 38px 18px 24px;
  box-shadow:
    0 30px 60px -28px rgba(155, 45, 142, 0.45),
    0 1px 0 rgba(255,255,255,0.7) inset;
}
.atlas-book::before {
  /* page edge — subtle stack of pages */
  content: "";
  position: absolute;
  right: -4px; top: 6px; bottom: 6px;
  width: 4px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0) 60%),
    repeating-linear-gradient(180deg,
      #fffdfb 0, #fffdfb 1.5px,
      rgba(27,15,26,0.05) 1.5px, rgba(27,15,26,0.05) 2px);
  border-radius: 0 4px 4px 0;
}

.atlas-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--light-border);
}
.atlas-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.atlas-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text-on-light);
  font-variation-settings: "opsz" 36;
}
.atlas-title em {
  font-style: italic;
  color: var(--primary);
}
.atlas-head-meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(27,15,26,0.55);
}
.atlas-sep {
  width: 1px; height: 10px;
  background: rgba(27,15,26,0.2);
}

.atlas-rule {
  position: relative;
  height: 1px;
  background: var(--light-border);
  margin: 14px 0 12px;
}
.atlas-rule-cap {
  position: absolute;
  top: -7px;
  left: 0;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: #fffdfb;
  padding-right: 8px;
  font-weight: 600;
}

.atlas-index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.atlas-entry {
  display: grid;
  grid-template-columns: 26px 1fr auto 38px 42px;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--text-on-light);
  border-bottom: 1px dashed rgba(27,15,26,0.07);
}
.atlas-entry-more {
  font-style: italic;
  color: rgba(27,15,26,0.55);
  border-bottom: 0;
}
.atlas-entry-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}
.atlas-entry-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.atlas-dots {
  display: block;
  border-bottom: 1px dotted rgba(27,15,26,0.3);
  height: 9px;
  margin-bottom: 3px;
}
.atlas-entry-page {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-size: 13.5px;
  font-variation-settings: "opsz" 36;
}
.atlas-entry-range {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: rgba(27,15,26,0.42);
  text-align: right;
}

/* right-edge tabs */
.atlas-tabs {
  position: absolute;
  right: -10px;
  top: 72px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.atlas-tab {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px;
  height: 28px;
  border-radius: 3px 6px 6px 3px;
  background: var(--primary-light);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 4px rgba(107, 29, 98, 0.25);
}
.atlas-tab.tab-1 { background: rgba(201, 100, 185, 0.6); }
.atlas-tab.tab-2 { background: rgba(201, 100, 185, 0.75); }
.atlas-tab.tab-3.active {
  background: var(--accent);
  color: #4a3700;
  transform: translateX(2px);
  box-shadow: 0 4px 8px rgba(232, 197, 71, 0.35);
  width: 26px;
}
.atlas-tab.tab-4 { background: rgba(155, 45, 142, 0.85); }
.atlas-tab.tab-5 { background: var(--primary-dark); }

.atlas-foot {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--light-border);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.atlas-foot-k { color: rgba(27,15,26,0.45); }
.atlas-foot-v {
  font-family: var(--serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .d8-lede-row { grid-template-columns: 1fr; gap: 18px; }
  .d8-cite { align-items: flex-start; text-align: left; padding-top: 0; }

  .delivery {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .delivery-visual-right .delivery-visual,
  .delivery-visual-right .delivery-text { order: unset; }
  .delivery-visual-right .delivery-text { order: 2; }
  .delivery-visual-right .delivery-visual { order: 1; }
  .delivery-text { max-width: 100%; }
}

@media (max-width: 600px) {
  .dobra8 { padding: 48px 18px; }
  .d8-h2 { font-size: 30px; }
  .d8-lede { font-size: 16.5px; padding-top: 16px; }
  .delivery { padding: 36px 0; }
  .delivery-title { font-size: 28px; }
  .delivery-punch { font-size: 17px; padding-left: 14px; }
  .mini-ficha { padding: 18px 18px 14px; }
  .atlas-wrap { max-width: 100%; }
  .atlas-book { padding: 18px 30px 14px 18px; }
  .atlas-entry { grid-template-columns: 22px 1fr auto 32px; gap: 8px; font-size: 12px; }
  .atlas-entry-range { display: none; }
  .atlas-tabs { right: -8px; top: 60px; }
  .atlas-tab { width: 20px; height: 24px; font-size: 10px; }
  .atlas-tab.tab-3.active { width: 24px; }
}

/* -----------------------------------------------------------------------------
   Página Marina — Dobra 9 — Por que este workshop existe
   ------------------------------------------------------------------------- */

.dobra9 {
  position: relative;
  background: var(--light-bg);
  color: var(--text-on-light);
  padding: clamp(64px, 10vh, 120px) clamp(20px, 4vw, 56px);
  overflow: hidden;
  font-family: var(--sans);
}
.dobra9::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 50% at 0% 0%, rgba(155, 45, 142, 0.05), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(232, 197, 71, 0.05), transparent 60%);
  pointer-events: none;
}

.d9-grid {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.d9-col-visual { position: relative; }
.d9-portrait-stage {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
}
.d9-portrait-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #0f0a12;
  border: 1px solid var(--light-border);
  box-shadow:
    0 30px 80px -32px rgba(107, 29, 98, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.7) inset;
}
.d9-portrait-img {
  position: absolute;
  right: -23%;
  bottom: -4%;
  width: 124%;
  max-width: none;
  height: auto;
  filter: contrast(1.04) saturate(0.96);
}
.d9-portrait-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 10, 18, 0.18) 0%, transparent 24%, transparent 50%, rgba(15, 10, 18, 0.55) 100%),
    radial-gradient(80% 60% at 50% 110%, rgba(155, 45, 142, 0.45), transparent 70%);
  pointer-events: none;
}
.d9-spec-stack {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 4;
}
.d9-spec-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(15, 10, 18, 0.78);
  border: 1px solid rgba(232, 197, 71, 0.22);
  border-radius: 12px;
  color: #fff;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 10px 24px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.d9-spec-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(232, 197, 71, 0.35);
  color: var(--accent);
  flex-shrink: 0;
  background: rgba(232, 197, 71, 0.05);
}
.d9-spec-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.d9-spec-label {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  line-height: 1.2;
}
.d9-spec-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.3;
}

.d9-col-text {
  max-width: 560px;
  position: relative;
}
.d9-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 36px;
  color: var(--text-on-light);
  text-wrap: pretty;
  max-width: 16ch;
}
.d9-h2-em {
  font-style: italic;
  font-weight: 500;
  color: var(--primary);
  position: relative;
}
.d9-h2-em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.16em;
  background: rgba(232, 197, 71, 0.45);
  z-index: -1;
  border-radius: 2px;
}
.d9-body-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
}
.d9-body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: rgba(27, 15, 26, 0.78);
  margin: 0;
  max-width: 58ch;
}
.d9-body strong {
  color: var(--text-on-light);
  font-weight: 600;
}
.d9-body-em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
  font-size: 17.5px;
}
.d9-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  font-size: 1.04em;
  background: linear-gradient(180deg, transparent 70%, rgba(232, 197, 71, 0.3) 70%, rgba(232, 197, 71, 0.3) 92%, transparent 92%);
  padding: 0 3px;
}
.d9-strike {
  position: relative;
  color: rgba(27, 15, 26, 0.5);
  font-style: italic;
}
.d9-strike::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 53%;
  height: 1.5px;
  background: #e8806d;
  transform: rotate(-2deg);
  border-radius: 1px;
}
@media (max-width: 960px) {
  .d9-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .d9-col-text {
    max-width: 100%;
    order: 2;
  }
  .d9-col-visual { order: 1; }
  .d9-portrait-stage { max-width: 460px; }
}

@media (max-width: 600px) {
  .dobra9 { padding: 48px 18px; }
  .d9-h2 {
    font-size: 32px;
    max-width: 100%;
  }
  .d9-body { font-size: 15.5px; }
  .d9-body-em { font-size: 16.5px; }
  .d9-spec-stack {
    left: 14px;
    right: 14px;
    bottom: 14px;
    gap: 6px;
  }
  .d9-spec-card {
    padding: 10px 12px;
    gap: 10px;
  }
  .d9-spec-icon {
    width: 30px;
    height: 30px;
  }
  .d9-spec-icon svg {
    width: 18px;
    height: 18px;
  }
  .d9-spec-label { font-size: 13px; }
  .d9-spec-sub { font-size: 11px; }
}

/* -----------------------------------------------------------------------------
   Página Marina — Dobra 6 v3 — Minimalist split
   ------------------------------------------------------------------------- */

.dobra6v3 {
  position: relative;
  min-height: 100vh;
  padding: clamp(72px, 12vh, 140px) 0;
  overflow: hidden;
  font-family: var(--sans);
  color: var(--text-on-light);
  background: var(--light-bg);
}
.d6v3-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.d6v3-bg-l { background: var(--dark-bg); }
.d6v3-bg-r { background: var(--light-bg); }

.d6v3-intro {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto clamp(56px, 9vh, 96px);
  padding: 0 clamp(40px, 6vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.d6v3-intro-l { color: var(--text-on-dark); }
.d6v3-intro-r { color: var(--text-on-light); }
.d6v3-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 236, 239, 0.92);
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.25);
}
.d6v3-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.55;
}
.d6v3-eyebrow-r {
  color: var(--primary);
  border-bottom-color: rgba(155, 45, 142, 0.35);
}
.d6v3-h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.024em;
  margin: 0;
  text-wrap: pretty;
}
.d6v3-h2-l { color: rgba(244, 236, 239, 0.92); }
.d6v3-h2-l .soft { color: rgba(244, 236, 239, 0.45); }
.d6v3-h2-r em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}

.d6v3-rows {
  position: relative;
  z-index: 2;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 1280px;
}
.d6v3-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  padding: clamp(28px, 4.5vh, 48px) clamp(40px, 6vw, 88px);
  border-top: 1px solid rgba(244, 236, 239, 0.08);
  position: relative;
}
.d6v3-row:last-child {
  border-bottom: 1px solid rgba(244, 236, 239, 0.08);
}
.d6v3-row::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  right: 0;
  height: 1px;
  background: var(--light-border);
}
.d6v3-row:last-child::before {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 0;
  height: 1px;
  background: var(--light-border);
}
.d6v3-cell {
  display: flex;
  align-items: center;
}
.d6v3-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.008em;
  margin: 0;
  text-wrap: pretty;
  max-width: 22ch;
}
.d6v3-text-sem {
  font-style: italic;
  color: rgba(244, 236, 239, 0.55);
}
.d6v3-text-com {
  color: var(--text-on-light);
  font-weight: 400;
}
.d6v3-text-com em {
  font-style: italic;
  color: var(--primary);
}

@media (max-width: 820px) {
  .d6v3-bg { grid-template-columns: 1fr; }
  .d6v3-bg-l { display: none; }
  .d6v3-bg-r { background: var(--light-bg); }
  .dobra6v3 {
    background:
      linear-gradient(180deg, rgba(155, 45, 142, 0.035) 0%, transparent 32%),
      var(--light-bg);
  }
  .d6v3-intro,
  .d6v3-row {
    grid-template-columns: 1fr;
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }
  .d6v3-intro {
    gap: 18px;
    margin-bottom: 34px;
  }
  .d6v3-intro-l { color: var(--text-on-light); }
  .d6v3-h2-l { color: var(--text-on-light); }
  .d6v3-h2-l .soft { color: rgba(27, 15, 26, 0.45); }
  .d6v3-eyebrow {
    color: rgba(27, 15, 26, 0.5);
    margin-bottom: 14px;
  }
  .d6v3-intro .d6v3-eyebrow {
    display: none;
  }
  .d6v3-rows {
    counter-reset: d6v3-pair;
    width: min(100%, 480px);
    padding: 0 clamp(16px, 4vw, 28px);
  }
  .d6v3-row {
    counter-increment: d6v3-pair;
    gap: 0;
    padding: 0;
    margin-bottom: 18px;
    overflow: hidden;
    border: 1px solid rgba(155, 45, 142, 0.14);
    border-radius: 18px;
    background: rgba(255, 253, 251, 0.82);
    box-shadow: 0 18px 48px rgba(27, 15, 26, 0.07);
  }
  .d6v3-row:last-child {
    margin-bottom: 0;
    border-bottom: 1px solid rgba(155, 45, 142, 0.14);
  }
  .d6v3-row::before,
  .d6v3-row:last-child::before {
    content: counter(d6v3-pair, decimal-leading-zero);
    position: absolute;
    top: 14px;
    right: 16px;
    bottom: auto;
    left: auto;
    z-index: 2;
    display: block;
    width: auto;
    height: auto;
    background: transparent;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(155, 45, 142, 0.42);
  }
  .d6v3-cell {
    position: relative;
    display: block;
    padding: 42px 18px 20px;
  }
  .d6v3-cell::before {
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
  }
  .d6v3-cell-l {
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(232, 128, 109, 0.22);
    background:
      linear-gradient(135deg, rgba(232, 128, 109, 0.13) 0%, rgba(232, 128, 109, 0.035) 100%),
      rgba(255, 247, 245, 0.78);
  }
  .d6v3-cell-l::before {
    content: "Sem mapa";
    color: rgba(232, 128, 109, 0.86);
  }
  .d6v3-cell-l::after {
    content: "?";
    position: absolute;
    left: 18px;
    bottom: -15px;
    z-index: 2;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(155, 45, 142, 0.2);
    border-radius: 50%;
    background: var(--light-bg);
    color: var(--primary);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1;
  }
  .d6v3-cell-r {
    padding-top: 46px;
    background:
      linear-gradient(90deg, rgba(155, 45, 142, 0.18) 0 3px, transparent 3px),
      linear-gradient(135deg, rgba(232, 197, 71, 0.12) 0%, rgba(255, 253, 251, 0.92) 44%),
      rgba(255, 253, 251, 0.96);
  }
  .d6v3-cell-r::before {
    content: "Com mapa";
    color: var(--primary);
  }
  .d6v3-text-sem { color: rgba(232, 128, 109, 0.85); }
  .d6v3-text-com {
    color: var(--text-on-light);
    font-weight: 400;
  }
  .d6v3-text {
    max-width: 100%;
  }
  .d6v3-row::after {
    display: none;
  }
}

@media (max-width: 600px) {
  .dobra6v3 { padding: 56px 0 64px; }
  .d6v3-intro {
    padding-left: 20px;
    padding-right: 20px;
  }
  .d6v3-h2 { font-size: 36px; }
  .d6v3-text { font-size: 19px; }
  .d6v3-rows {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .d6v3-cell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .d6v3-cell::before,
  .d6v3-cell-l::after {
    left: 16px;
  }
}
/* -----------------------------------------------------------------------------
   Página Marina — Dobra 6 v3 — Os 3 dias do Mapeamento
   ------------------------------------------------------------------------- */

.dobra6v3 {
  --d6-wine: var(--primary-dark);
  --d6-off: #eef2ea;
  --d6-off-deep: #dfe4d9;
  --d6-accent: #8f7b1e;
  --d6-ink: #181412;
  --d6-ink-soft: #4a413b;
  --d6-paper-rule: rgba(24, 20, 18, 0.12);
  position: relative;
  width: 100%;
  min-height: auto;
  padding: 96px 80px;
  overflow: hidden;
  background: var(--d6-off);
  color: var(--d6-ink);
  font-family: var(--sans);
}

.d6v3-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.d6v3-topo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  color: rgba(24, 20, 18, 0.05);
  pointer-events: none;
}

.d6v3-topo-bg svg {
  width: 100%;
  height: 100%;
}

.d6v3-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 56px;
}

.d6v3-eyebrow,
.d6v3-day-label {
  display: block;
  padding: 0;
  border: 0;
  font-family: var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
}

.d6v3-eyebrow::before {
  content: none;
}

.d6v3-eyebrow {
  font-size: 13px;
}

.d6v3-day-label {
  font-size: 11px;
  letter-spacing: 0.24em;
}

.d6v3-accent {
  color: var(--d6-accent);
}

.d6v3-header-eyebrow {
  margin-bottom: 22px;
}

.d6v3-title {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--d6-ink);
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 60px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.d6v3-title em {
  color: var(--d6-wine);
  font-style: italic;
}

.d6v3-sub {
  max-width: 620px;
  margin: 0;
  color: var(--d6-ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.d6v3-sub em {
  font-family: var(--serif);
  font-style: italic;
}

.d6v3-sub strong {
  color: var(--d6-ink);
  font-weight: 700;
}

.d6v3-compass-rose {
  width: 110px;
  height: 110px;
  color: var(--d6-wine);
  opacity: 0.75;
}

.d6v3-compass-rose svg {
  width: 100%;
  height: 100%;
}

.d6v3-map-plate {
  position: relative;
  height: 220px;
  margin-bottom: 60px;
  padding: 24px 40px;
  overflow: hidden;
  border: 1px solid var(--d6-paper-rule);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
}

.d6v3-map-plate > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.d6v3-map-north {
  font: 600 9px var(--sans);
  letter-spacing: 0.15em;
  fill: var(--d6-wine);
}

.d6v3-map-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translate(-50%, 0);
}

.d6v3-node-1 {
  left: 9%;
  top: 92px;
}

.d6v3-node-2 {
  left: 42%;
  top: 32px;
}

.d6v3-node-3 {
  left: 92%;
  top: 12px;
}

.d6v3-map-node-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--d6-wine);
  border-radius: 50%;
  background: var(--d6-off);
  color: var(--d6-wine);
  box-shadow: 0 4px 14px rgba(107, 29, 98, 0.18);
}

.d6v3-map-node-pin svg {
  width: 28px;
  height: 28px;
}

.d6v3-map-node .d6v3-day-label {
  color: var(--d6-wine);
}

.d6v3-days-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.d6v3-day-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 32px 28px;
  border: 1px solid var(--d6-paper-rule);
  border-radius: 16px;
  background: #fff;
}

.d6v3-day-card-mid {
  transform: translateY(28px);
}

.d6v3-day-num-ghost {
  position: absolute;
  top: 14px;
  right: 22px;
  color: rgba(107, 29, 98, 0.08);
  font-family: var(--serif);
  font-size: 80px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  pointer-events: none;
}

.d6v3-day-label-top {
  color: var(--d6-accent);
}

.d6v3-day-title {
  margin: 0;
  color: var(--d6-ink);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.d6v3-question {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--d6-paper-rule);
  color: var(--d6-wine);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.3;
}

.d6v3-body {
  margin: 0;
  color: var(--d6-ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
}

.d6v3-outcome {
  margin-top: auto;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--d6-off-deep);
}

.d6v3-outcome .d6v3-day-label {
  margin-bottom: 10px;
  color: var(--d6-accent);
}

.d6v3-outcome ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.d6v3-outcome li {
  position: relative;
  padding-left: 16px;
  color: var(--d6-ink);
  font-size: 13px;
  line-height: 1.5;
}

.d6v3-outcome li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--d6-accent);
}

.d6v3-closing {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 80px;
}

.d6v3-rule {
  height: 1px;
  background: var(--d6-paper-rule);
}

.d6v3-closing-text {
  max-width: 640px;
  margin: 0;
  color: var(--d6-ink);
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  letter-spacing: -0.01em;
}

.d6v3-closing-text span {
  color: var(--d6-accent);
  font-weight: 700;
}

.d6v3-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.d6v3-reveal.d6v3-in {
  opacity: 1;
  transform: none;
}

.d6v3-day-card-mid.d6v3-in {
  transform: translateY(28px);
}

@keyframes d6v3DashIn {
  from { stroke-dashoffset: 1400; }
  to { stroke-dashoffset: 0; }
}

.d6v3-path-in {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.d6v3-path-in.d6v3-in {
  animation: d6v3DashIn 2.2s cubic-bezier(0.4, 0.1, 0.3, 1) forwards;
}

@media (max-width: 960px) {
  .dobra6v3 {
    padding: 64px 32px;
  }

  .d6v3-header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .d6v3-compass-rose {
    width: 72px;
    height: 72px;
  }

  .d6v3-map-plate {
    height: 160px;
    padding: 16px 24px;
  }

  .d6v3-node-1 {
    top: 82px;
  }

  .d6v3-node-2 {
    top: 24px;
  }

  .d6v3-node-3 {
    top: 10px;
  }

  .d6v3-map-node-pin {
    width: 44px;
    height: 44px;
  }

  .d6v3-map-node-pin svg {
    width: 22px;
    height: 22px;
  }

  .d6v3-days-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .d6v3-day-card-mid {
    transform: none;
  }

  .d6v3-day-card-mid.d6v3-in {
    transform: none;
  }

  .d6v3-day-title {
    font-size: 24px;
  }

  .d6v3-closing {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .d6v3-rule {
    display: none;
  }

  .d6v3-closing-text {
    font-size: 22px;
  }
}

@media (max-width: 520px) {
  .dobra6v3 {
    padding: 48px 24px;
  }

  .d6v3-title {
    font-size: 34px;
  }

  .d6v3-sub {
    font-size: 16px;
  }

  .d6v3-map-plate {
    height: 130px;
  }

  .d6v3-map-node .d6v3-day-label {
    font-size: 9px;
  }

  .d6v3-day-card {
    padding: 24px 22px;
  }

  .d6v3-day-num-ghost {
    font-size: 60px;
  }
}

/* ----- Dobra Cronograma ----- */
.dobra-cronograma {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 6vw, 56px) clamp(18px, 4vw, 56px) clamp(44px, 7vw, 72px);
  background:
    radial-gradient(56% 86% at 82% 2%, rgba(155, 45, 142, 0.2), transparent 62%),
    linear-gradient(180deg, #120b14 0%, #0d0810 100%);
  color: var(--text-on-dark);
  font-family: var(--sans);
  border-left: 1px solid rgba(244, 236, 239, 0.28);
}

.dobra-cronograma::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(244, 236, 239, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0, rgba(244, 236, 239, 0.022) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(90deg, #000, #000 86%, transparent);
}

.cronograma-shell {
  position: relative;
  z-index: 2;
  max-width: 345px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.cronograma-mark {
  display: inline-flex;
  width: 28px;
  height: 28px;
  margin: 0 0 26px 3px;
  color: var(--accent);
}

.cronograma-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cronograma-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(244, 236, 239, 0.9);
  white-space: nowrap;
}

.cronograma-meta::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--primary-light));
}

.cronograma-copy h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(36px, 6.8vw, 38px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.cronograma-copy p {
  margin: 18px 0 30px;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: rgba(244, 236, 239, 0.62);
  font-variation-settings: "opsz" 36;
}

.cronograma-table {
  display: flex;
  flex-direction: column;
}

.cronograma-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 18px;
  padding: 15px 0 16px;
  border-bottom: 1px solid rgba(244, 236, 239, 0.72);
}

.cronograma-time,
.cronograma-event {
  font-family: var(--sans);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 20px rgba(201, 100, 185, 0.14);
}

.cronograma-time {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.cronograma-event {
  justify-self: end;
  font-size: 24px;
  letter-spacing: -0.025em;
}

@media (max-width: 760px) {
  .dobra-cronograma {
    padding: 34px 18px 50px;
  }

  .cronograma-shell {
    max-width: 100%;
  }

  .cronograma-meta {
    margin-bottom: 14px;
    font-size: 11px;
    line-height: 1.35;
  }

  .cronograma-copy h2 {
    font-size: 36px;
  }

  .cronograma-copy p {
    margin: 14px 0 28px;
    font-size: 16px;
  }

  .cronograma-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    padding: 15px 0 14px;
  }

  .cronograma-time {
    font-size: 24px;
  }

  .cronograma-event {
    font-size: 23px;
  }
}

/* ----- Dobra 11 FAQ ----- */
.dobra11 {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 118px) clamp(18px, 4vw, 56px);
  background:
    radial-gradient(70% 70% at 86% 8%, rgba(155, 45, 142, 0.24), transparent 58%),
    linear-gradient(180deg, #0f0a12 0%, #140d18 52%, #0d0810 100%);
  color: var(--text-on-dark);
}

.dobra11::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(244, 236, 239, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, transparent 0, rgba(244, 236, 239, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 82%, transparent);
}

.d11-shell {
  position: relative;
  z-index: 2;
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
}

.d11-heading {
  position: sticky;
  top: 28px;
}

.d11-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.d11-kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
}

.d11-heading h2 {
  margin: 0;
  max-width: 520px;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 0.94;
  letter-spacing: 0;
  font-variation-settings: "opsz" 72;
}

.d11-heading p {
  max-width: 430px;
  margin: 22px 0 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-on-dark-dim);
}

.d11-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.d11-faq-item {
  border: 1px solid rgba(237, 230, 233, 0.13);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 250, 251, 0.06), rgba(255, 250, 251, 0.025)),
    rgba(20, 13, 24, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.d11-faq-item.is-open {
  border-color: rgba(201, 100, 185, 0.46);
  background:
    linear-gradient(180deg, rgba(155, 45, 142, 0.15), rgba(255, 250, 251, 0.035)),
    rgba(20, 13, 24, 0.86);
}

.d11-faq-question {
  width: 100%;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 32px;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.d11-faq-number {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--primary-light);
  font-variation-settings: "opsz" 48;
}

.d11-faq-text {
  font-family: var(--sans);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text-on-dark);
}

.d11-faq-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(232, 197, 71, 0.45);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
}

.d11-faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 24px;
  color: var(--text-on-dark-dim);
  transition: grid-template-rows 0.28s ease, padding 0.28s ease;
}

.d11-faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.d11-faq-item.is-open .d11-faq-answer {
  grid-template-rows: 1fr;
  padding: 0 24px 24px 82px;
}

.d11-faq-answer-inner p {
  margin: 0;
  max-width: 680px;
  font-size: 16.5px;
  line-height: 1.72;
}

.d11-faq-answer-inner p + p {
  margin-top: 14px;
}

@media (max-width: 820px) {
  .d11-shell {
    grid-template-columns: 1fr;
  }

  .d11-heading {
    position: relative;
    top: auto;
  }
}

@media (max-width: 560px) {
  .dobra11 {
    padding: 64px 16px;
  }

  .d11-faq-question {
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    gap: 12px;
    padding: 18px 16px;
  }

  .d11-faq-item.is-open .d11-faq-answer {
    padding: 0 16px 20px 62px;
  }

  .d11-faq-answer-inner p {
    font-size: 16px;
  }
}
