/* ==================================================================
   LDCI — Página inicial "Versão 4"
   Estilo "lab.": cinza-claro, tipografia gigante em minúsculas,
   faixa laranja com foto em multiply, micro textos em caixa-alta,
   texto vertical e numeração rotacionada.
   Tudo escopado em .v4 / .v4- para não afetar o restante do site.
   ================================================================== */

.v4 {
  --v4-gray: #dcdcdc;
  --v4-gray-deep: #cfcfcf;
  --v4-gray-light: #e8e8e6;
  --v4-ink: #0d0d0d;
  --v4-red: #ff4a1c;
  --v4-muted: #6a6a6a;
  --v4-shell: min(1440px, calc(100vw - 80px));
  --v4-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  overflow-x: clip;
  color: var(--v4-ink);
  background: var(--v4-gray);
}

.v4 *,
.v4 *::before,
.v4 *::after {
  box-sizing: border-box;
}

.v4 h1,
.v4 h2,
.v4 h3 {
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
  text-transform: none;
}

.v4-shell {
  width: var(--v4-shell);
  margin-inline: auto;
}

/* --------------------------------------------------------- micro texto */

.v4-label,
.v4-micro-top,
.v4-micro-top-inline,
.v4-micro-title,
.v4-photo-caption,
.v4-what-sub,
.v4-news-meta,
.v4-note,
.v4-line-foot,
.v4-text-link,
.v4-micro-nav {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.v4-label {
  margin: 0 0 32px;
  color: var(--v4-muted);
}

/* ----------------------------------------------------------- controles */

.v4-square-btn,
.v4-square-sm {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--v4-ink);
  transition: background 220ms var(--v4-ease), color 220ms var(--v4-ease), transform 220ms var(--v4-ease);
}

.v4-square-btn {
  width: 52px;
  height: 52px;
}

.v4-square-btn svg {
  width: 20px;
  height: 20px;
}

.v4-square-btn:hover {
  color: var(--v4-ink);
  background: #fff;
  transform: translateX(4px);
}

.v4-square-sm {
  width: 36px;
  height: 36px;
}

.v4-square-sm svg {
  width: 16px;
  height: 16px;
}

.v4-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--v4-ink);
  transition: gap 220ms var(--v4-ease), color 220ms ease, border-color 220ms ease;
}

.v4-text-link svg {
  width: 14px;
  height: 14px;
}

.v4-text-link:hover {
  gap: 16px;
  color: var(--v4-red);
  border-color: var(--v4-red);
}

/* ------------------------------------------------------------- reveal */

.v4-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 800ms var(--v4-ease), transform 800ms var(--v4-ease);
}

html.js-ready .v4-reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(28px);
}

/* ================================================================ HERO
   Palco de posicionamento em %. Nenhum ancestral da foto cria contexto de
   empilhamento (sem z-index/opacity/transform) para o multiply funcionar. */

.v4-hero {
  background: var(--v4-gray);
}

.v4-stage {
  position: relative;
  height: clamp(340px, 55vw, 620px);
  padding-top: 50px;
  margin-top: 25px;
}

.v4-micro-nav {
  position: absolute;
  top: 28px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  font-size: 10px;
}

.v4-micro-mark {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.v4-micro-group {
  display: flex;
  gap: clamp(14px, 2vw, 36px);
}

.v4-micro-right {
  align-items: center;
}

.v4-micro-nav a {
  transition: color 180ms ease;
}

.v4-micro-nav a:hover {
  color: var(--v4-red);
}

.v4-dots {
  font-size: 7px;
  letter-spacing: 0.4em;
}

.v4-wordmark {
  position: absolute;
  top: 5%;
  left: -0.04em;
  margin: 0;
  font-size: clamp(102px, 17.5vw, 42px);
  font-weight: 200;
  line-height: 0.8;
  letter-spacing: -0.1em;
  animation: v4-slide-in 1100ms var(--v4-ease) 100ms both;
}

.v4-wordmark span {
  color: var(--v4-ink);
}

@keyframes v4-slide-in {
  from { opacity: 0; transform: translateX(-6%); }
  to { opacity: 1; transform: none; }
}

.v4-micro-copy {
  position: absolute;
  top: 17%;
  left: 33.5%;
  width: 19%;
  animation: v4-fade 900ms ease 500ms both;
}

.v4-micro-title {
  margin: 0 0 24px;
  color: var(--v4-muted);
  font-style: italic;
}

.v4-micro-copy div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.v4-micro-copy p {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes v4-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.v4-vertical {
  position: absolute;
  top: 11%;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 2;
  margin: 0;
  padding-right: 12px;
  border-right: 2px solid var(--v4-ink);
  writing-mode: vertical-rl;
  font-size: clamp(11px, 1.2vw, 17px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  animation: v4-fade 900ms ease 700ms both;
}

.v4-vertical span {
  display: block;
}

.v4-band {
  position: absolute;
  top: 60%;
  right: 0;
  bottom: 6%;
  left: 33%;
  background: var(--v4-red);
  animation: v4-wipe 1100ms var(--v4-ease) 350ms both;
}

@keyframes v4-wipe {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.v4-photo {
  position: absolute;
  top: 5%;
  right: 7%;
  bottom: 0;
  left: 56%;
  width: 37%;
  height: 80%;
  max-width: none;
  object-fit: cover;
  object-position: 62% 40%;
  filter: grayscale(1) contrast(1.2) brightness(1.06);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 78%, transparent 100%);
  animation: v4-photo-in 1300ms var(--v4-ease) 600ms both;
}

@keyframes v4-photo-in {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

.v4-photo-caption {
  position: absolute;
  right: 7%;
  bottom: calc(6% + 14px);
  margin: 0;
  color: #fff;
  font-size: 9px;
  mix-blend-mode: normal;
}

.v4-big-no {
  position: absolute;
  bottom: 0;
  left: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(64px, 8.4vw, 124px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.v4-stage > .v4-square-btn {
  position: absolute;
  bottom: 6%;
  left: 33%;
}

/* ============================================================ MANIFESTO */

.v4-statement {
  padding: clamp(96px, 11vw, 168px) 0;
  background: var(--v4-gray-light);
}

.v4-statement-grid {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 24px;
}

.v4-statement-title {
  margin: 0;
  font-size: clamp(44px, 6.6vw, 112px);
  font-weight: 500;
  line-height: 0.96;
}

.v4-statement-title mark {
  display: inline-block;
  padding: 0 0.1em 0.04em;
  color: var(--v4-ink);
  background: var(--v4-red);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.v4-statement-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--v4-ink);
}

.v4-statement-foot p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

/* ============================================================ O QUE FAZEMOS */

.v4-what {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--v4-gray);
}

.v4-what-list {
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--v4-ink);
}

.v4-what-list li {
  border-bottom: 1px solid var(--v4-ink);
}

.v4-what-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) minmax(0, 0.55fr) 36px;
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 32px) 12px;
  transition: background 320ms var(--v4-ease), color 320ms var(--v4-ease), padding 320ms var(--v4-ease);
}

.v4-what-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.v4-what-name {
  font-size: clamp(52px, 8.4vw, 144px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.v4-what-name i {
  font-style: normal;
  color: var(--v4-red);
}

.v4-what-row:hover {
  padding-inline: 28px;
  color: var(--v4-gray);
  background: var(--v4-ink);
}

.v4-what-row:hover .v4-square-sm {
  color: var(--v4-ink);
  background: var(--v4-red);
}

/* ============================================================== LINHAS */

.v4-lines {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--v4-gray-light);
}

.v4-lines-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.v4-lines-head .v4-label {
  margin-bottom: 20px;
}

.v4-lines-head h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 120px);
}

.v4-lines-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--v4-ink);
  border-left: 1px solid var(--v4-ink);
}

.v4-line-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 18px 20px 20px;
  border-right: 1px solid var(--v4-ink);
  border-bottom: 1px solid var(--v4-ink);
  overflow: hidden;
  transition: background 360ms var(--v4-ease), color 360ms var(--v4-ease), opacity 800ms var(--v4-ease), transform 800ms var(--v4-ease);
}

.v4-line-card:nth-child(2) { transition-delay: 0ms, 0ms, 90ms, 90ms; }
.v4-line-card:nth-child(3) { transition-delay: 0ms, 0ms, 180ms, 180ms; }
.v4-line-card:nth-child(4) { transition-delay: 0ms, 0ms, 270ms, 270ms; }

.v4-micro-top {
  display: flex;
  justify-content: space-between;
  color: var(--v4-muted);
  font-size: 9px;
}

.v4-line-no {
  margin-top: auto;
  font-size: clamp(100px, 11vw, 176px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.07em;
  transition: transform 500ms var(--v4-ease);
}

.v4-line-title {
  margin-top: 28px;
  font-size: clamp(28px, 2.5vw, 42px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.05em;
}

.v4-line-title i {
  font-style: normal;
  color: var(--v4-red);
}

.v4-line-desc {
  display: -webkit-box;
  margin-top: 16px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.v4-line-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid currentColor;
}

.v4-line-card:hover {
  color: var(--v4-ink);
  background: var(--v4-red);
}

.v4-line-card:hover .v4-micro-top {
  color: var(--v4-ink);
}

.v4-line-card:hover .v4-line-no {
  transform: translateX(8px);
}

.v4-line-card:hover .v4-line-title i {
  color: var(--v4-ink);
}

/* ============================================================== DESTAQUE
   Espelha o hero: faixa laranja atrás, foto em multiply à esquerda. */

.v4-feature {
  padding: clamp(72px, 8vw, 120px) 0;
  background: var(--v4-gray);
}

.v4-feature-stage {
  position: relative;
  height: clamp(620px, 50vw, 760px);
}

.v4-feature-label {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
}

.v4-feature-band {
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 0;
  left: 12%;
  background: var(--v4-red);
}

.v4-feature-photo {
  position: absolute;
  top: 6%;
  right: auto;
  bottom: 0;
  left: 6%;
  width: 46%;
  height: 94%;
  max-width: none;
  object-fit: cover;
  object-position: 40% 50%;
  filter: grayscale(1) contrast(1.2) brightness(1.04);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 80%, transparent 100%);
}

.v4-feature-caption {
  right: auto;
  bottom: 24px;
  left: calc(6% + 14px);
  color: var(--v4-ink);
}

.v4-feature-no {
  top: 0;
  right: 0;
  bottom: auto;
  left: auto;
  writing-mode: vertical-rl;
  transform: none;
  font-size: clamp(64px, 8.4vw, 124px);
  color: var(--v4-ink);
  mix-blend-mode: normal;
}

.v4-feature-copy {
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 36%;
}

.v4-feature-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(64px, 8.6vw, 144px);
  line-height: 0.84;
}

.v4-feature-copy h2 span {
  display: block;
}

.v4-feature-copy p {
  max-width: 380px;
  margin: 0 0 28px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 600;
  line-height: 1.4;
}

.v4-feature-copy .v4-text-link:hover {
  color: #fff;
  border-color: #fff;
}

/* ================================================================ NEWS */

.v4-news {
  padding: clamp(80px, 9vw, 130px) 0;
  background: var(--v4-gray-light);
}

.v4-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.v4-news-head .v4-label {
  margin-bottom: 20px;
}

.v4-news-head h2 {
  margin: 0;
  font-size: clamp(48px, 7vw, 120px);
}

.v4-news-list {
  border-top: 1px solid var(--v4-ink);
}

.v4-news-row {
  display: grid;
  grid-template-columns: 90px 260px minmax(0, 1fr) 140px 36px;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--v4-ink);
  transition: padding 300ms var(--v4-ease), background 300ms ease, opacity 800ms var(--v4-ease), transform 800ms var(--v4-ease);
}

.v4-news-row:hover {
  padding-inline: 16px;
  background: var(--v4-gray);
}

.v4-news-no {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--v4-red);
}

.v4-news-meta {
  color: var(--v4-muted);
  font-size: 10px;
}

.v4-news-title {
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.v4-news-thumb {
  width: 140px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--v4-ink);
}

.v4-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1);
  transition: transform 800ms var(--v4-ease), filter 400ms ease;
}

.v4-news-row:hover .v4-news-thumb img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.05);
}

.v4-news-row:hover .v4-square-sm {
  color: var(--v4-ink);
  background: var(--v4-red);
}

.v4-note {
  margin: 20px 0 0;
  color: var(--v4-muted);
  font-size: 10px;
}

/* =============================================================== FINAL */

.v4-final {
  padding: 32px 0 clamp(72px, 8vw, 120px);
  background: var(--v4-gray);
}

.v4-final-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: clamp(32px, 5vw, 72px);
  border-bottom: 1px solid var(--v4-ink);
}

.v4-final-top .v4-label {
  margin: 0;
}

.v4-final-a {
  margin: 0;
  font-size: clamp(64px, 12.4vw, 210px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.v4-final-a span,
.v4-final-b span {
  color: var(--v4-red);
}

.v4-final-band {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(24px, 3vw, 44px) 0 0 clamp(0px, 14vw, 200px);
  padding: clamp(28px, 4vw, 56px);
  background: var(--v4-red);
}

.v4-final-b {
  margin: 0;
  font-size: clamp(40px, 7vw, 120px);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.06em;
}

.v4-final-b span {
  color: var(--v4-ink);
}

.v4-square-lg {
  flex: none;
  width: clamp(56px, 6vw, 88px);
  height: clamp(56px, 6vw, 88px);
}

.v4-square-lg svg {
  width: 32px;
  height: 32px;
}

.v4-final-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: 24px;
  border-top: 1px solid var(--v4-ink);
  transition-delay: 160ms;
}

.v4-final-foot p {
  max-width: 560px;
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 500;
  line-height: 1.5;
}

/* ========================================================== RESPONSIVE */

@media (max-width: 1180px) {
  .v4 {
    --v4-shell: calc(100vw - 48px);
  }

  .v4-lines-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v4-line-card {
    min-height: 440px;
  }

  .v4-news-row {
    grid-template-columns: 70px 200px minmax(0, 1fr) 36px;
  }

  .v4-news-thumb {
    display: none;
  }
}

@media (max-width: 900px) {
  /* Hero vira fluxo vertical, preservando o vocabulário visual. */
  .v4-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 24px 0 0;
  }

  .v4-stage > * {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
  }

  .v4-micro-nav {
    order: 1;
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
  }

  .v4-micro-left {
    display: none;
  }

  .v4-wordmark {
    order: 2;
    font-size: clamp(150px, 42vw, 280px);
  }

  .v4-micro-copy {
    order: 3;
    margin-top: 28px;
  }

  .v4-vertical {
    order: 4;
    position: absolute;
    top: 78px;
    right: 0;
    font-size: 13px;
  }

  .v4-band {
    order: 5;
    height: 260px;
    margin-top: 150px;
    margin-left: 18%;
  }

  .v4-photo {
    order: 6;
    width: 78%;
    height: 460px;
    margin: -380px 0 0 auto;
    object-position: 58% 35%;
  }

  .v4-photo-caption {
    order: 7;
    margin: -34px 0 0 auto;
    padding-right: 12px;
  }

  .v4-big-no {
    order: 8;
    align-self: flex-start;
    margin-top: 12px;
    font-size: 72px;
  }

  .v4-stage > .v4-square-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    width: 52px;
    height: 52px;
  }

  .v4-statement-grid {
    grid-template-columns: 1fr;
  }

  .v4-statement-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .v4-what-row {
    grid-template-columns: 56px minmax(0, 1fr) 36px;
  }

  .v4-what-sub {
    grid-column: 2;
    grid-row: 2;
  }

  .v4-what-row .v4-square-sm {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .v4-feature-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    gap: 0;
  }

  .v4-feature-stage > * {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
  }

  .v4-feature-label {
    margin-bottom: 20px;
  }

  .v4-feature-band {
    height: 240px;
    margin-left: 16%;
  }

  .v4-feature-photo {
    width: 78%;
    height: 400px;
    margin-top: -300px;
  }

  .v4-feature-caption {
    margin: -34px 0 0 12px;
  }

  .v4-feature-no {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 64px;
  }

  .v4-feature-copy {
    width: auto;
    margin-top: 36px;
  }

  .v4-news-row {
    grid-template-columns: 52px minmax(0, 1fr) 36px;
    row-gap: 6px;
  }

  .v4-news-meta {
    grid-column: 2;
    grid-row: 1;
  }

  .v4-news-title {
    grid-column: 2;
    grid-row: 2;
  }

  .v4-news-no {
    grid-row: 1 / span 2;
  }

  .v4-news-row .v4-square-sm {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .v4-final-band {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .v4 {
    --v4-shell: calc(100vw - 32px);
  }

  .v4-lines-grid {
    grid-template-columns: 1fr;
  }

  .v4-line-card {
    min-height: 400px;
  }

  .v4-micro-copy div {
    grid-template-columns: 1fr;
  }

  .v4-final-band {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v4 *,
  .v4 *::before,
  .v4 *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .v4-reveal {
    opacity: 1;
    transform: none;
  }
}
