/* Texas Farm | Landing de revendedores. Mobile first.
   Cores e fontes do Guia de Branding Texas Farm (artēria, 2023).
   Layout: uma ideia por tela, blocos preto / azul / branco alternados, texto sempre alinhado a esquerda. */

@font-face { font-family: "Gotham"; src: url("../fonts/gotham-book.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Gotham"; src: url("../fonts/gotham-black.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  --preto: #000000;
  --azul: #1E22AA;     /* Pantone 2736 C */
  --vermelho: #E0004D; /* Pantone 1925 C */
  --branco: #FFFFFF;
  --branco-80: rgba(255, 255, 255, .8);
  --branco-15: rgba(255, 255, 255, .15);
  --branco-30: rgba(255, 255, 255, .3);
  --preto-70: rgba(0, 0, 0, .7);
  --preto-15: rgba(0, 0, 0, .15);
  --vermelho-escuro: #c40043;

  --fonte-titulo: "Gotham", "Montserrat", Arial, sans-serif;
  --fonte-texto: "Gotham", "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --margem: max(20px, env(safe-area-inset-left, 0px));
  --margem-dir: max(20px, env(safe-area-inset-right, 0px));
  --respiro: 32px; /* espaco padrao entre blocos no celular (referencia do Victor) */
  --curva: cubic-bezier(.7, 0, .2, 1);
  --sai: cubic-bezier(.2, .8, .2, 1);
  --topo-seguro: env(safe-area-inset-top, 0px);
  --base-segura: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--fonte-texto);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--branco); outline-offset: 3px; }
.cadastro :focus-visible { outline-color: var(--azul); }
.hero-form .campo input:focus { border-color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }

.miolo { padding-left: var(--margem); padding-right: var(--margem-dir); max-width: 640px; }

/* ---------- tipografia comum ---------- */
.rotulo {
  margin: 0 0 14px;
  font: 700 13px/1.2 var(--fonte-texto);
  text-transform: uppercase; letter-spacing: .08em;
}
.titulo-secao {
  margin: 0;
  font-family: var(--fonte-titulo); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(28px, 8.4vw, 48px);
  line-height: 1.02; letter-spacing: 0;
  overflow-wrap: break-word; min-width: 0;
  text-wrap: balance;
}
.texto { margin: 18px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.5; }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 22px;
  border: 0; border-radius: 0; cursor: pointer;
  font: 700 15px/1 var(--fonte-texto);
  text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--sai), background-color .2s ease, color .2s ease;
}
.btn:active { transform: scale(.98); }
.btn-principal { background: var(--vermelho); color: var(--branco); }
.btn-contorno { background: transparent; color: var(--preto); box-shadow: inset 0 0 0 2px var(--preto); }
.btn-cheio { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }
@media (hover: hover) {
  .btn-principal:hover { background: var(--vermelho-escuro); }
}

/* ---------- flag (bandeira estilizada do logo) ---------- */
/* mesma proporcao da bandeira do logo: quadrado azul + faixa vermelha com metade da altura, colada na base */
.flag { display: flex; align-items: flex-end; height: 14px; width: 108px; }
.flag i { width: 14px; height: 14px; flex: none; background: var(--azul); }
.flag b { flex: 1; height: 14px; background: linear-gradient(180deg, var(--branco) 0 50%, var(--vermelho) 50% 100%); }

/* ---------- topo ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(var(--topo-seguro) + 14px) var(--margem-dir) 14px var(--margem);
  transition: background-color .3s ease, padding .3s ease;
}
.topo.rolou {
  background: rgba(0,0,0,.86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding-top: calc(var(--topo-seguro) + 10px); padding-bottom: 10px;
}
.marca { display: inline-block; flex: none; }
.marca img { width: 108px; height: auto; display: block; }
.topo-cta { min-height: 42px; padding: 0 14px; font-size: 11px; letter-spacing: .03em; white-space: nowrap; }

/* =========================================================
   1. ABERTURA
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  isolation: isolate;
  overflow: clip;
  background: var(--preto);
}
/* o video ocupa a primeira tela; o formulario continua abaixo sobre o preto */
.hero-video { position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh; z-index: -3; background: var(--preto); }
.hero-video video {
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 50% 35%;
  filter: grayscale(1) contrast(1.15) brightness(.95);
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 100vh; height: 100svh; z-index: -2;
  background:
    linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%),
    linear-gradient(0deg, var(--preto) 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,0) 55%);
}
/* bloco azul em chevron, como nas aberturas do manual */
.hero-bloco {
  position: absolute; inset: 0 0 auto 0; top: 34svh; z-index: -1;
  height: 66svh;
  background: var(--azul);
  mix-blend-mode: multiply;
  clip-path: polygon(0 22%, 58% 0, 100% 26%, 100% 100%, 0 100%);
}
.hero-conteudo {
  width: 100%;
  padding: 38svh var(--margem-dir) 32px var(--margem);
}
.hero-form { margin-top: 32px; scroll-margin-top: 84px; }
.hero-form form { display: grid; gap: 16px; }
.titulo {
  margin: 0;
  font-family: var(--fonte-titulo); font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, calc((100vw - 40px) / 9.6), 84px);
  line-height: 1; letter-spacing: -.005em;
  overflow-wrap: break-word; min-width: 0;
}
.titulo .linha { display: block; overflow: clip; padding-bottom: .04em; }
.titulo .linha > span { display: block; }
.hero .flag { margin-top: 18px; }
.lide { margin: 16px 0 0; max-width: 34ch; font-size: 17px; line-height: 1.45; }
.acoes { display: grid; gap: 10px; margin-top: 24px; }
.nota { margin: 6px 0 0; font-size: 13px; color: var(--branco-80); }

/* =========================================================
   2. MANIFESTO
   ========================================================= */
.manifesto { position: relative; padding: var(--respiro) 0; overflow: clip; }
.manifesto-frase span {
  display: block;
  color: var(--branco);
  transition: opacity .5s ease;
}
.js .manifesto-frase span { opacity: .22; }
.js .manifesto-frase span.acesa { opacity: 1; }
.manifesto .texto { color: var(--branco-80); }
.manifesto-foto { position: relative; margin: 48px 0 0; isolation: isolate; }
.manifesto-foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; filter: grayscale(1) contrast(1.1); }
.manifesto-foto::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 42%;
  background: var(--azul); mix-blend-mode: multiply;
  clip-path: polygon(0 0, 100% 34%, 100% 100%, 0 100%);
}

/* simbolo da marca em sobretom, no canto do manifesto */
.marca-sobretom {
  position: absolute; right: -56px; top: 28px; z-index: 0;
  width: 220px; aspect-ratio: 466 / 414;
  background: var(--branco); opacity: .07;
  -webkit-mask: url("../img/simbolo-mascara.png") center / contain no-repeat;
  mask: url("../img/simbolo-mascara.png") center / contain no-repeat;
  pointer-events: none;
}
.manifesto .miolo, .manifesto-foto { z-index: 1; }
.manifesto .miolo { position: relative; }

/* =========================================================
   3. AS LINHAS
   ========================================================= */
.linhas { padding: 0 0 var(--respiro); }
.lista-lanc, .linhas-cta { display: none; }
.selo-tnc { margin-top: 0; line-height: 0; }
.selo-tnc img { display: block; width: min(100%, 340px); height: auto; }

/* lookbook: um look por vez, em tela cheia, com faixas da marca na troca */
.lookbook {
  position: relative; margin-top: 32px;
  aspect-ratio: 2 / 3; max-height: 88svh; width: 100%;
  overflow: clip; background: var(--preto);
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.looks { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.look { position: absolute; inset: 0; visibility: hidden; }
.look.ativo, .look.saindo { visibility: visible; }
.look.ativo { z-index: 2; }
.look.saindo { z-index: 1; }
.look img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  filter: grayscale(1) contrast(1.08);
  transform: scale(1.06);
  transition: filter 1.1s ease .55s, transform 5s linear;
}
.look.ativo img { filter: grayscale(0) contrast(1); transform: scale(1); }
.look::after { /* bloco azul reto na base */
  content: ""; position: absolute; inset: auto 0 0 0; height: 24%;
  background: var(--azul); mix-blend-mode: multiply;
}
.look-peca {
  position: absolute; left: var(--margem); bottom: 92px; z-index: 3; margin: 0;
  font: 500 13px/1 var(--fonte-texto); letter-spacing: .08em; text-transform: uppercase;
  color: var(--branco);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease .6s, transform .4s var(--sai) .6s;
}
.look.ativo .look-peca { opacity: 1; transform: none; }

.look-selo {
  position: absolute; z-index: 6; top: 32px; left: var(--margem); margin: 0;
  padding: 7px 10px; background: var(--vermelho); color: var(--branco);
  font: 700 11px/1 var(--fonte-texto); letter-spacing: .08em; text-transform: uppercase;
}
/* barras de progresso, estilo stories */
.look-progresso {
  position: absolute; z-index: 6; inset: 14px var(--margem-dir) auto var(--margem);
  display: flex; gap: 4px;
}
.look-progresso span { flex: 1; height: 3px; background: var(--branco-30); overflow: hidden; }
.look-progresso i { display: block; height: 100%; width: 100%; background: var(--branco); transform: scaleX(0); transform-origin: 0 50%; }
.look-progresso span.feito i { transform: scaleX(1); }
.look-progresso span.agora i { animation: enche var(--tempo-look, 4.5s) linear forwards; }
.lookbook.pausado .look-progresso span.agora i { animation-play-state: paused; }
@keyframes enche { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* faixas inclinadas que varrem a tela na troca de look */
.look-faixas {
  position: absolute; inset: -10% -30%; z-index: 4; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 3vw;
  transform: skewX(-18deg);
}
.look-faixas span { background: var(--azul); transform: scaleY(0); transform-origin: 50% 100%; }
.look-faixas span:nth-child(3n) { background: var(--vermelho); }
.lookbook.trocando .look-faixas span { animation: faixa .62s var(--curva) both; }
.lookbook.trocando .look-faixas span:nth-child(2) { animation-delay: .04s; }
.lookbook.trocando .look-faixas span:nth-child(3) { animation-delay: .08s; }
.lookbook.trocando .look-faixas span:nth-child(4) { animation-delay: .12s; }
.lookbook.trocando .look-faixas span:nth-child(5) { animation-delay: .16s; }
.lookbook.trocando .look-faixas span:nth-child(6) { animation-delay: .2s; }
@keyframes faixa {
  0% { transform: scaleY(0); transform-origin: 50% 100%; }
  45% { transform: scaleY(1); transform-origin: 50% 100%; }
  55% { transform: scaleY(1); transform-origin: 50% 0; }
  100% { transform: scaleY(0); transform-origin: 50% 0; }
}

/* nome da linha gigante, sobe por mascara */
.look-legenda {
  position: absolute; z-index: 5; inset: auto var(--margem-dir) 22px var(--margem);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  pointer-events: none;
}
.look-linha { margin: 0; overflow: clip; font: 800 clamp(36px, 11.4vw, 62px)/.9 var(--fonte-titulo); text-transform: uppercase; color: var(--branco); }
.look-linha span { display: block; }
.look-linha span.entra { animation: sobe .7s var(--sai) both; }
.look-contador { margin: 0 0 4px; font: 700 13px/1 var(--fonte-texto); letter-spacing: .06em; color: var(--branco-80); white-space: nowrap; }
.look-contador b { color: var(--branco); }

/* zonas de toque: esquerda volta, direita avanca */
.look-toque {
  position: absolute; z-index: 5; top: 0; bottom: 0; width: 50%;
  background: transparent; border: 0; padding: 0; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.look-anterior { left: 0; width: 34%; }
.look-proximo { right: 0; width: 66%; }
.look-toque:focus-visible { outline: 3px solid var(--vermelho); outline-offset: -3px; }
.look-pausa {
  position: absolute; z-index: 7; top: 26px; right: calc(var(--margem-dir) - 12px);
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 4px;
}
.look-pausa i { width: 4px; height: 14px; background: var(--branco); }
.look-pausa[aria-pressed="true"] i:first-child { width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--branco); }
.look-pausa[aria-pressed="true"] i:last-child { display: none; }
.look-pausa:focus-visible { outline: 3px solid var(--vermelho); }


.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* =========================================================
   3b. COLECOES (secao branca)
   ========================================================= */
.colecoes { background: var(--branco); color: var(--preto); padding: var(--respiro) 0; }
.lista-colecoes { list-style: none; margin: var(--respiro) 0 0; padding: 0 8px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lista-colecoes img { display: block; width: 100%; height: auto; aspect-ratio: 950 / 600; }

/* =========================================================
   4. POR QUE REVENDER
   ========================================================= */
.motivos { position: relative; background: var(--preto); padding: 0 0 var(--respiro); overflow: clip; }
.motivos .miolo { padding-top: 8px; }
.motivos-foto { position: relative; margin: 0; isolation: isolate; background: var(--azul); }
.motivos-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 72%, #000 100%); pointer-events: none; }
.motivos-foto .titulo-secao { position: absolute; left: var(--margem); right: var(--margem-dir); bottom: 8px; margin: 0; z-index: 1; color: var(--branco); }
.motivos-foto img { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; filter: grayscale(1) contrast(1.15); mix-blend-mode: multiply; }
/* cartoes brancos: icone, titulo e texto, um embaixo do outro */
/* celular: titulo logo no alto da foto e cartoes subindo por cima dela */
@media (max-width: 1023px) {
  .motivos-foto::after { background: linear-gradient(180deg, #000 0%, rgba(0,0,0,.35) 30%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.7) 80%, #000 100%); }
  .motivos-foto .titulo-secao { top: 20px; bottom: auto; }
  .motivos .miolo { position: relative; z-index: 2; padding-top: 0; margin-top: -54vw; }
  .motivos .blocos-motivos { margin-top: 0; }
}
.blocos-motivos { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.blocos-motivos li {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px 22px 26px;
  background: var(--branco); color: var(--preto);
}
.icone { width: 36px; height: 36px; flex: none; fill: none; stroke: var(--azul); stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; }
.blocos-motivos h3 { margin: 22px 0 0; font: 700 20px/1.2 var(--fonte-texto); }
.blocos-motivos p { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: rgba(0,0,0,.72); }

/* =========================================================
   5. OUR FLAG
   ========================================================= */
.flag-secao {
  --foto-alt: 133.33vw; /* foto 3:4 na largura toda */
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  padding-top: calc(var(--foto-alt) - 150px); /* titulo comeca abaixo do rosto */
  padding-bottom: 48px;
  background: var(--preto);
  overflow: clip;
}
.flag-foto {
  position: absolute; inset: 0 0 auto 0; z-index: -2;
  width: 100%; height: var(--foto-alt); max-width: none; object-fit: cover; object-position: 50% 0;
}
.flag-secao::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: var(--foto-alt); z-index: -1;
  background: linear-gradient(0deg, var(--preto) 0%, rgba(0,0,0,.6) 26%, rgba(0,0,0,0) 58%);
}
.titulo-grande { font-size: clamp(56px, 19vw, 120px); line-height: .88; }
.flag-conteudo .texto { color: var(--branco); }

/* =========================================================
   6. COMO FUNCIONA (as 3 linhas horizontais do grafismo)
   ========================================================= */
.passos { padding: var(--respiro) 0; }
.quadros-passos { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.quadros-passos li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start;
  padding: 20px 18px 22px; background: var(--branco); color: var(--preto);
}
.passo-num { grid-row: 1 / span 2; font: 800 44px/.8 var(--fonte-titulo); color: var(--azul); letter-spacing: -.02em; }
.quadros-passos h3 { margin: 0; font: 800 17px/1.1 var(--fonte-titulo); text-transform: uppercase; }
.quadros-passos p { margin: 8px 0 0; font-size: 15px; line-height: 1.45; color: rgba(0,0,0,.72); }
.passos-cta { display: flex; width: 100%; margin-top: var(--respiro); }

/* =========================================================
   7. CADASTRO
   ========================================================= */
.cadastro { background: var(--branco); color: var(--preto); padding: var(--respiro) 0; scroll-margin-top: 0; }
.cadastro .flag { margin-bottom: 20px; }
.cadastro form { margin-top: var(--respiro); display: grid; gap: 18px; }
.campo { display: grid; gap: 8px; min-width: 0; }
.campo label { font: 700 13px/1.2 var(--fonte-texto); text-transform: uppercase; letter-spacing: .06em; }
.campo input[type="text"], .campo input[type="email"], .campo input[type="tel"] {
  width: 100%; min-height: 56px; padding: 0 16px;
  border: 2px solid var(--preto); border-radius: 0;
  background: var(--branco); color: var(--preto);
  font: 500 17px/1.2 var(--fonte-texto);
  -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo input::placeholder { color: rgba(0,0,0,.56); }
.campo input:focus { outline: none; border-color: var(--azul); box-shadow: inset 0 0 0 1px var(--azul); }
.campo.invalido input { border-color: var(--vermelho); }
.erro { margin: 0; min-height: 0; font: 500 14px/1.35 var(--fonte-texto); color: var(--vermelho); }
.erro:empty { display: none; }
.campo .aceite, .aceite { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; text-transform: none; letter-spacing: 0; font: 400 14px/1.45 var(--fonte-texto); cursor: pointer; }
.aceite input { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border: 2px solid var(--preto); background: var(--branco); display: grid; place-content: center; cursor: pointer; }
.aceite input::before { content: ""; width: 12px; height: 12px; background: var(--azul); transform: scale(0); transition: transform .15s ease; }
.aceite input:checked::before { transform: scale(1); }
.aceite input:focus-visible { outline: 3px solid var(--vermelho); outline-offset: 2px; }
.aceite-politica { margin: -6px 0 0 36px; font-size: 14px; }
.aceite-politica a { display: inline-flex; align-items: center; min-height: 44px; color: var(--azul); text-underline-offset: 3px; }
.armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.erro-geral { text-align: left; }
.sucesso { margin-top: 28px; padding-top: 28px; border-top: 2px solid var(--preto); }
.sucesso .titulo-secao { font-size: clamp(28px, 8vw, 44px); }
.sucesso p { margin: 14px 0 0; font-size: 17px; }
.sucesso-dica { color: rgba(0,0,0,.6); }
.sucesso .btn { margin-top: 24px; }

/* =========================================================
   8. DUVIDAS
   ========================================================= */
.duvidas { padding: var(--respiro) 0; }
.duvidas .titulo-secao { margin-bottom: var(--respiro); }
.duvidas details { border-top: 1px solid var(--branco-15); }
.duvidas details:last-of-type { border-bottom: 1px solid var(--branco-15); }
.duvidas summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; padding: 16px 0;
  font: 700 17px/1.3 var(--fonte-texto);
}
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after {
  content: ""; flex: none; width: 16px; height: 16px;
  background:
    linear-gradient(var(--branco), var(--branco)) center / 16px 2px no-repeat,
    linear-gradient(var(--branco), var(--branco)) center / 2px 16px no-repeat;
  transition: transform .2s var(--sai);
}
.duvidas details[open] summary::after { transform: rotate(45deg); }
.duvidas details p { margin: 0 0 20px; color: var(--branco-80); font-size: 16px; max-width: 40ch; }

/* =========================================================
   9. RODAPE
   ========================================================= */
.rodape { padding: var(--respiro) 0 calc(var(--base-segura) + var(--respiro)); border-top: 1px solid var(--branco-15); }
.rodape p { margin: 0; font-size: 14px; color: var(--branco-80); }
.rodape-topo { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.rodape-logo { width: 132px; }
.rodape-marca p + p { margin-top: 8px; }
.rodape .rodape-frase { font: 800 18px/1 var(--fonte-titulo); text-transform: uppercase; color: var(--branco); }
.rodape .rodape-insta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.4); font-weight: 700; font-size: 15px; color: var(--branco); text-decoration: none; transition: border-color .2s; }
.rodape-insta svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.rodape-insta svg .cheio { fill: currentColor; stroke: none; }
@media (hover: hover) { .rodape .rodape-insta:hover { border-color: var(--vermelho); } }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--branco-15); }
.rodape-base p { font-size: 12px; }
.rodape-base a { color: var(--branco-80); }

/* politica de privacidade (janela) */
.politica-aberta { overflow: hidden; }
.politica { width: 100%; max-width: 720px; max-height: 100dvh; height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--preto); color: var(--branco); overflow-y: auto; overscroll-behavior: contain; }
.politica::backdrop { background: rgba(0,0,0,.72); }
.politica-corpo { position: relative; padding: 72px var(--margem-dir, 20px) 56px var(--margem, 20px); }
.politica .titulo-secao { margin-top: 10px; }
.politica-data { margin: 12px 0 0; font-size: 13px; color: var(--branco-80); }
.politica h3 { margin: 32px 0 0; font: 700 18px/1.3 var(--fonte-texto); }
.politica p, .politica li { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: var(--branco-80); }
.politica ul { margin: 10px 0 0; padding-left: 20px; }
.politica a { color: var(--branco); text-decoration: underline; }
.politica-fechar { position: absolute; top: 16px; right: 12px; width: 48px; height: 48px; border: 0; background: none; color: var(--branco); font: 400 36px/1 var(--fonte-texto); cursor: pointer; }
.politica-ok { margin-top: 40px; width: 100%; }



/* =========================================================
   ENTRADA: listras
   ========================================================= */
.intro {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 2.6vw;
  background: var(--preto); animation: fundo-sai .4s ease .6s forwards;
  transform: skewX(-12deg) scaleX(1.4);
}
.intro span {
  position: relative; display: block;
  background: linear-gradient(180deg, var(--azul) 0 50%, var(--vermelho) 50% 100%);
  transform-origin: 50% 100%;
  animation: listra-sai .7s var(--curva) forwards;
}
.intro span:nth-child(even) { background: linear-gradient(180deg, var(--azul) 0 58%, var(--vermelho) 58% 100%); transform-origin: 50% 0; }
.intro span:nth-child(1)  { animation-delay: .05s; }
.intro span:nth-child(2)  { animation-delay: .08s; }
.intro span:nth-child(3)  { animation-delay: .11s; }
.intro span:nth-child(4)  { animation-delay: .14s; }
.intro span:nth-child(5)  { animation-delay: .17s; }
.intro span:nth-child(6)  { animation-delay: .20s; }
.intro span:nth-child(7)  { animation-delay: .23s; }
.intro span:nth-child(8)  { animation-delay: .26s; }
.intro span:nth-child(9)  { animation-delay: .29s; }
.intro span:nth-child(10) { animation-delay: .32s; }
.intro span:nth-child(11) { animation-delay: .35s; }
.intro span:nth-child(12) { animation-delay: .38s; }
@keyframes listra-sai { to { transform: scaleY(0); } }
@keyframes fundo-sai { to { background: transparent; } }

.titulo .linha > span { animation: sobe .9s var(--sai) both; }
.titulo .linha:nth-child(1) > span { animation-delay: .55s; }
.titulo .linha:nth-child(2) > span { animation-delay: .62s; }
.titulo .linha:nth-child(3) > span { animation-delay: .69s; }
.hero .flag, .lide, .acoes, .nota, .hero-form { animation: aparece .6s var(--sai) both; animation-delay: .85s; }
.hero-bloco { animation: bloco .8s var(--curva) both; animation-delay: .45s; }
@keyframes sobe { from { transform: translateY(105%); } }
@keyframes aparece { from { opacity: 0; transform: translateY(12px); } }
@keyframes bloco { from { transform: translateY(100%); } }

/* CADASTRO com video conceito rodando no fundo */
.cadastro { position: relative; isolation: isolate; background: var(--preto); color: var(--branco); }
.cadastro-fundo { position: absolute; inset: 0; z-index: -1; overflow: clip; background: var(--preto); }
.cadastro-fundo video {
  position: sticky; top: 0; display: block; width: 100%; height: 100vh; height: 100svh; max-width: none;
  object-fit: cover; object-position: 50% 30%;
}
.cadastro-fundo::after { /* veu preto para o formulario ficar legivel */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.62) 30%, rgba(0,0,0,.72) 100%);
}
.cadastro .texto { color: var(--branco); text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.cadastro .texto + .texto { margin-top: 10px; }
.convite { min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; }
.convite-cta { display: flex; width: 100%; margin-top: var(--respiro); }
.cadastro .titulo-secao { text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero-form .campo label, .cadastro .campo label { color: var(--branco); }
.hero-form .aceite span, .cadastro .aceite span { color: var(--branco); }
.hero-form .aceite input, .cadastro .aceite input { border-color: var(--branco); }
.hero-form .aceite-politica a, .cadastro .aceite-politica a { color: var(--branco); }
.hero-form .erro, .cadastro .erro { display: block; color: var(--branco); background: var(--vermelho); padding: 6px 10px; justify-self: start; }
.hero-form .erro:empty, .cadastro .erro:empty { display: none; }
.hero-form .sucesso, .cadastro .sucesso { border-top-color: var(--branco); }
.hero-form .sucesso-dica, .cadastro .sucesso-dica { color: var(--branco-80); }
.hero-form .btn-contorno, .cadastro .btn-contorno { color: var(--branco); box-shadow: inset 0 0 0 2px var(--branco); }
.cadastro-form { position: relative; }

/* so aparece no desktop (fica escondido no mobile, sem mudar o layout) */
.so-desktop { display: none; }

/* =========================================================
   DESKTOP (a partir de 1024px). O mobile acima fica intacto.
   ========================================================= */
@media (min-width: 1024px) {
  :root { --lado: max(64px, calc((100vw - 1280px) / 2)); --respiro: 140px; }
  .so-mobile { display: none; }
  .so-desktop { display: inline; }

  .miolo { padding-left: var(--lado); padding-right: var(--lado); max-width: none; }
  .titulo-secao { font-size: clamp(40px, 3.9vw, 64px); }
  .texto { font-size: 19px; max-width: 38ch; }
  .rotulo { font-size: 14px; }

  /* topo: logo + botao */
  .topo { padding: 22px var(--lado); }
  .topo.rolou { padding-top: 14px; padding-bottom: 14px; }
  .marca img { width: 156px; }
  .topo-cta { min-height: 48px; padding: 0 24px; font-size: 14px; letter-spacing: .04em; }


  /* 1. abertura: filme horizontal em tela cheia */
  .hero-video, .hero::before { height: 100%; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 22%), linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 45%); }
  .hero-video video { object-position: 50% 50%; }
  .hero-bloco { top: auto; bottom: 0; height: 72%; right: 38%; clip-path: polygon(0 24%, 52% 0, 100% 22%, 100% 100%, 0 100%); }
  .hero-conteudo {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 460px); column-gap: 64px; align-items: end;
    padding: 132px var(--lado) 72px;
  }
  .hero-form { margin-top: 0; padding: 32px; background: rgba(0,0,0,.62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .titulo { font-size: clamp(42px, 4.3vw, 88px); }
  .hero .flag { margin-top: 26px; width: 140px; }
  .lide { font-size: 20px; max-width: 36ch; margin-top: 22px; }
  .nota { margin-top: 12px; font-size: 14px; }

  /* 2. manifesto: texto e foto lado a lado */
  .manifesto {
    display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: 80px; align-items: center;
    padding: var(--respiro) var(--lado);
  }
  .manifesto .miolo { padding: 0; }
  .manifesto-foto { margin: 0; }
  .manifesto-foto img { max-height: 760px; }
  .manifesto .titulo-secao { font-size: clamp(56px, 5.6vw, 92px); }
  .marca-sobretom { width: 420px; right: auto; left: calc(var(--lado) + 30%); top: 64px; }

  /* 3. linhas: indice das linhas a esquerda, looks a direita */
  .linhas {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; column-gap: 96px;
    padding: 0 var(--lado) var(--respiro);
  }
  .linhas .miolo { padding: 0; grid-column: 1; grid-row: 1; }
  .selo-tnc img { width: min(100%, 460px); }
  .linhas .miolo { grid-row: 1 / span 2; align-self: center; }
  .lista-lanc { display: block; list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); max-width: 560px; }
  .lista-lanc li { border-bottom: 1px solid rgba(255,255,255,.18); }
  .lista-lanc button { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: baseline; gap: 12px; width: 100%; padding: 16px 0; background: none; border: 0; color: rgba(255,255,255,.55); font: 500 18px/1.3 var(--fonte-texto); text-align: left; cursor: pointer; transition: color .2s, padding .2s; }
  .lista-lanc button:hover, .lista-lanc button:focus-visible { color: var(--branco); }
  .lista-lanc .lanc-num { font: 700 13px/1 var(--fonte-texto); letter-spacing: .08em; }
  .lista-lanc .lanc-linha { font: 700 11px/1 var(--fonte-texto); letter-spacing: .12em; text-transform: uppercase; }
  .lista-lanc li.ativo button { color: var(--branco); padding-left: 14px; box-shadow: inset 3px 0 0 var(--vermelho); }
  .lista-lanc li.ativo .lanc-num { color: var(--vermelho); }
  .linhas-cta { display: inline-flex; margin-top: 36px; }
  .lookbook { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; width: min(560px, 40vw); max-height: none; }
  .look-progresso, .look-legenda { --margem: 24px; --margem-dir: 24px; }
  .look-peca { left: 24px; }
  .look-selo { left: 24px; }
  .look-linha { font-size: clamp(36px, 3.8vw, 62px); }
  .look-pausa { right: 12px; }

  /* 3b. colecoes em tres colunas */
  .lista-colecoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 12px; margin-top: 40px; overflow: visible; }

  /* 4. motivos: titulo, 7 cartoes em 3 colunas e a foto fechando a grade */
  .motivos { padding: 0 0 72px; }
  .motivos .miolo { padding: 0 var(--lado); }
  .blocos-motivos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
  .blocos-motivos li { padding: 32px 30px 34px; }
  .motivos-foto { height: min(72vh, 640px); }
  .motivos-foto img { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 40%; }
  .motivos-foto .titulo-secao { left: var(--lado); right: var(--lado); bottom: 16px; }
  .blocos-motivos h3 { font-size: 21px; margin-top: 26px; }
  .blocos-motivos p { font-size: 16px; }
  .icone { width: 40px; height: 40px; }

  /* 5. our flag: foto a direita, titulo gigante invadindo a foto */
  .flag-secao {
    --foto-alt: 100%;
    display: grid; grid-template-columns: minmax(0, 45fr) minmax(0, 55fr); align-items: end;
    min-height: min(100svh, 980px); padding: 0;
  }
  .flag-foto { position: relative; inset: auto; grid-column: 2; grid-row: 1; height: 100%; object-position: 50% 30%; z-index: -2; }
  .flag-secao::before {
    inset: 0 auto 0 45%; width: 30%; height: auto;
    background: linear-gradient(90deg, var(--preto) 0%, rgba(0,0,0,0) 100%);
  }
  .flag-secao::after {
    content: ""; position: absolute; inset: auto 0 0 45%; height: 40%; z-index: -1;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 100%);
  }
  .flag-conteudo { grid-column: 1; grid-row: 1; padding: 0 0 112px var(--lado); }
  .titulo-grande { font-size: clamp(96px, 9.4vw, 168px); white-space: nowrap; }

  /* 6. passos: tres quadrados alinhados */
  .quadros-passos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
  .quadros-passos li { aspect-ratio: 1; grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; padding: 36px; }
  .passo-num { grid-row: auto; font-size: clamp(72px, 7vw, 112px); }
  .quadros-passos h3 { font-size: clamp(22px, 2vw, 30px); }
  .quadros-passos p { font-size: 17px; margin-top: 12px; max-width: 30ch; }
  .passos-cta { display: inline-flex; width: auto; padding: 0 40px; margin-top: 40px; }

  /* 7. cadastro: formulario a esquerda, filme a direita */
  .cadastro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 0; }
  .cadastro-fundo { position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1; }
  .cadastro-fundo video { height: 100svh; }
  .cadastro-fundo::after { background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 40%); }
  .cadastro-form { grid-column: 1; grid-row: 1; padding: var(--respiro) 80px var(--respiro) var(--lado); max-width: none; }
  .convite { min-height: min(100svh, 900px); align-items: stretch; }
  .convite .cadastro-form { align-self: end; }
  .convite-cta { display: inline-flex; width: auto; padding: 0 40px; }
  .cadastro .titulo-secao, .cadastro .texto { text-shadow: none; }

  /* 8. duvidas: titulo a esquerda, perguntas a direita */
  .duvidas .miolo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 96px; align-items: start; }
  .duvidas-cabeca { grid-column: 1; grid-row: 1 / span 8; }
  .duvidas .titulo-secao { margin-bottom: 0; }
  .duvidas details { grid-column: 2; }
  .duvidas summary { font-size: 19px; min-height: 76px; }
  .duvidas details p { font-size: 17px; max-width: 52ch; }
  @media (hover: hover) { .duvidas summary:hover { color: var(--branco-80); } }

  /* 9. rodape: marca e instagram numa linha, base com copyright e politica */
  .rodape { padding: 72px 0 32px; }
  .rodape-topo { display: grid; grid-template-columns: auto 1fr auto; align-items: end; column-gap: 56px; }
  .rodape-marca p { line-height: 1; }
  .rodape-marca p + p { margin-top: 12px; }
  .rodape-logo { width: 160px; }
  .rodape .rodape-frase { font-size: 22px; }
  .rodape-base { margin-top: 56px; }
  .politica-corpo { padding: 88px 56px 64px; }
  .politica-ok { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .titulo .linha > span, .hero .flag, .lide, .acoes, .nota, .hero-form, .hero-bloco { animation: none; }
  .js .manifesto-frase span { opacity: 1; }
  .look img, .look-peca { transition: none; }
  .look img { transform: none; }
  .lookbook.trocando .look-faixas span, .look-linha span.entra { animation: none; }
  html { scroll-behavior: auto; }
}
