/* =========================================================
   CACAIA · nova coleção
   Paleta da marca: marfim, vinho, âmbar, sol, musgo, azul, rosa.
   Nada de preto puro, nada de fundo preto.
   ========================================================= */
:root {
  color-scheme: only light; /* o modo escuro do celular não escurece o site */
  --marfim: #F2ECE0;
  --vinho: #4A2827;
  --ambar: #F6AF1F;
  --sol: #B46A1F;
  --musgo: #5F6B45;
  --azul: #9FB6C4;
  --rosa: #C99BA0;
  --papel: #EAE2D3;

  --f-display: 'Bricolage Grotesque', 'Archivo', system-ui, sans-serif;
  --f-texto: 'Archivo', system-ui, sans-serif;
  --f-italico: 'Playfair Display', Georgia, serif;

  --curva: cubic-bezier(.7, 0, .2, 1);
  --margem: clamp(18px, 5.5vw, 96px);
  --topo-h: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--marfim);
  color: var(--vinho);
  font-family: var(--f-texto);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
em { font-style: normal; }
::selection { background: var(--ambar); color: var(--vinho); }

/* ---------- tipos ---------- */
.rotulo {
  font-family: var(--f-texto);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 22px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.rotulo span + span::before { content: ''; display: inline-block; width: 26px; height: 1.5px; background: currentColor; vertical-align: middle; margin-right: 14px; }

.titulo-grande, .titulo-medio, .hero-titulo, .final-titulo {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 78%;
  letter-spacing: -.035em;
  line-height: .86;
  margin: 0;
}
.titulo-grande { font-size: clamp(52px, 9vw, 168px); }
.titulo-medio { font-size: clamp(44px, 6vw, 104px); }
.titulo-grande em, .titulo-medio em, .hero-titulo em, .final-titulo em, .intro-frase em {
  font-family: var(--f-italico);
  font-style: italic;
  font-weight: 500;
  font-stretch: normal;
  letter-spacing: -.01em;
}
.titulo-grande em, .titulo-medio em { color: var(--sol); }

/* ---------- sol (máscara do arquivo original, sem redesenhar) ---------- */
.sol-mascara {
  display: block; width: 100%; height: 100%;
  background: currentColor;
  -webkit-mask: url(../marca/Cacaia_Sol_vetorizado.svg) center / contain no-repeat;
          mask: url(../marca/Cacaia_Sol_vetorizado.svg) center / contain no-repeat;
}

/* ---------- abertura ---------- */
.abertura { display: none; }
.js .abertura {
  display: block; position: fixed; inset: 0; z-index: 100; pointer-events: none;
}
.abertura-colunas { position: absolute; inset: 0; display: flex; }
.abertura-colunas i { flex: 1; background: var(--marfim); }
.abertura-colunas i:nth-child(2) { background: var(--papel); }
.abertura-colunas i:nth-child(4) { background: var(--papel); }
.abertura-sol {
  position: absolute; left: 50%; top: 50%;
  width: min(22vmin, 160px); aspect-ratio: 1;
  translate: -50% -50%;
  animation: girar 2.4s linear infinite;
}
/* sol texturizado em imagem: o modo escuro do celular não muda a cor dele */
.abertura-sol img { display: block; width: 100%; height: 100%; object-fit: contain; }
@keyframes girar { to { rotate: 360deg; } }

/* ---------- cabeçalho em caixas ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; gap: 6px; padding: 12px;
  pointer-events: none;
}
.caixa-topo {
  pointer-events: auto;
  height: var(--topo-h);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0 18px;
  background: var(--marfim); color: var(--vinho);
  font-family: var(--f-texto); font-size: 12.5px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: background .35s, color .35s, transform .5s var(--curva);
}
.caixa-topo:hover { background: var(--vinho); color: var(--marfim); }
.caixa-logo { padding: 0 16px; }
.caixa-logo img { height: 25px; width: auto; }
.caixa-logo:hover { background: var(--marfim); }
.topo-links { display: flex; gap: 6px; margin-left: auto; }
.caixa-zap { background: var(--ambar); }
.caixa-menu { background: var(--vinho); color: var(--marfim); }
.caixa-menu .sol-mascara { width: 20px; height: 20px; color: var(--ambar); transition: rotate .8s var(--curva); }
.caixa-menu:hover .sol-mascara { rotate: 180deg; }
.caixa-menu:hover { background: var(--sol); }

/* ---------- menu: caixas que deslizam ---------- */
.menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; transition: visibility 0s 1s; }
.menu.aberto { visibility: visible; transition: none; }
.menu-grade {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr);
}
.mcaixa {
  position: relative; overflow: hidden;
  background: var(--fundo, var(--marfim)); color: var(--vinho);
  padding: clamp(18px, 2.4vw, 36px);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  text-decoration: none; text-align: left;
  transform: translateX(105%);
  transition: transform .75s var(--curva) calc((8 - var(--i)) * 35ms);
}
.menu.aberto .mcaixa { transform: none; transition-delay: calc(var(--i) * 55ms); }
.mcaixa.claro { color: var(--marfim); }
.mcaixa small { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.mcaixa b {
  font-family: var(--f-display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(30px, 4.2vw, 74px); line-height: .9; letter-spacing: -.03em;
  transition: transform .6s var(--curva);
}
.mcaixa:hover b { transform: translateX(14px); }
.mcaixa::after { content: ''; position: absolute; inset: 0; background: var(--vinho); opacity: 0; transition: opacity .4s; pointer-events: none; }
.mcaixa:hover::after { opacity: .08; }
.mcaixa-foto { --fundo: var(--ambar); padding: 0; justify-content: flex-end; color: var(--vinho); }
.mcaixa-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 50%; transition: opacity .4s; }
.mcaixa-foto:hover img { opacity: .88; }
.mcaixa-foto b { position: relative; padding: clamp(18px, 2.4vw, 36px); font-size: clamp(22px, 2.4vw, 40px); }
.mcaixa-fechar { justify-content: center; align-items: center; font-family: var(--f-texto); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* ---------- 1. banner ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--marfim); overflow: hidden; }
.hero-midia { position: absolute; inset: 0; overflow: hidden; background: var(--vinho); will-change: clip-path; }
.hero-video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; } /* a sobra sai só de cima: a bolsa no chão fica inteira */
.hero-veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(74,40,39,.28) 0%, rgba(74,40,39,0) 30%, rgba(74,40,39,0) 48%, rgba(74,40,39,.62) 100%); }
.hero-texto {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--margem) clamp(22px, 4vh, 44px);
}
.hero-rotulo { position: absolute; top: calc(var(--topo-h) + 44px); left: var(--margem); }
.hero-titulo { font-size: clamp(60px, 11.6vw, 230px); }
.hero-titulo .linha { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-titulo .linha > span { display: inline-block; }
.hero-titulo em { color: var(--ambar); }
.hero-rodape {
  margin: clamp(16px, 2.6vh, 30px) 0 0;
  display: flex; justify-content: space-between; gap: 20px; align-items: flex-end;
  font-size: 15px; max-width: 100%;
}
.hero-rodape .role { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }

/* ---------- pontos de WhatsApp em cima da bolsa ---------- */
.moldura { position: absolute; inset: 0; will-change: transform; }
.moldura > img { width: 100%; height: 100%; object-fit: cover; }
.ponto {
  position: absolute; z-index: 3; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; text-decoration: none;
}
.ponto::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  -webkit-backdrop-filter: brightness(0) invert(1); backdrop-filter: brightness(0) invert(1);
  animation: pulso-ponto 2.4s ease-out infinite;
}
/* O branco vem de um filtro sobre a foto, não de uma cor: o modo escuro do celular (Samsung)
   troca cores, mas não mexe em filtro. Assim o ponto fica branco em qualquer celular. */
.ponto span {
  position: relative; width: 24px; height: 24px; border-radius: 50%;
  -webkit-backdrop-filter: brightness(0) invert(1); backdrop-filter: brightness(0) invert(1);
  opacity: .82;
  box-shadow: 0 2px 12px rgba(74, 40, 39, .35);
  transition: scale .4s var(--curva), opacity .3s;
}
.ponto b {
  position: absolute; left: 40px; top: 50%; translate: 0 -50%;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: var(--marfim); text-shadow: 0 1px 14px rgba(74, 40, 39, .9), 0 0 3px rgba(74, 40, 39, .6);
  opacity: 0; transition: opacity .3s;
}
.ponto:hover span, .ponto:focus-visible span { scale: 1.3; opacity: 1; }
.ponto.esq b { left: auto; right: 40px; }
.ponto:hover b, .ponto:focus-visible b { opacity: 1; }
/* o ponto só aparece depois de posicionado (com a foto carregada) */
.ponto { visibility: hidden; }
.ponto.posto { visibility: visible; }
.ponto.posto.fora { visibility: hidden; }
@keyframes pulso { 0% { scale: .55; opacity: 1; } 100% { scale: 2.2; opacity: 0; } }
@keyframes pulso-ponto { 0% { scale: .7; opacity: .5; } 100% { scale: 2; opacity: 0; } }
/* navegador sem filtro de fundo: volta ao branco por cor */
@supports not ((backdrop-filter: invert(1)) or (-webkit-backdrop-filter: invert(1))) {
  .ponto::before { background: rgba(255, 255, 255, .3); }
  .ponto span { background: #fff; }
}

/* ---------- 2. manifesto ---------- */
.intro {
  position: relative;
  display: grid; grid-template-columns: 27vw 1fr 27vw; gap: 0 clamp(20px, 3vw, 56px);
  padding: 12vh var(--margem) 12vh;
}
.intro-col { display: flex; flex-direction: column; gap: 14vh; }
.intro-col-b { padding-top: 26vh; }
.ifoto { position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden; background: var(--papel); }
.ifoto.arco { border-radius: 999px 999px 0 0; }
.intro-centro {
  position: sticky; top: 0; align-self: start;
  height: 100vh; height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
}
.intro-frase {
  font-family: var(--f-display); font-weight: 700; font-stretch: 85%;
  font-size: clamp(36px, 4.3vw, 80px); line-height: .98; letter-spacing: -.03em;
  margin: 0; max-width: 12ch;
}
.intro-frase em { color: var(--sol); }
.palavra { display: inline-block; opacity: .14; }
.intro-dica { margin: 5vh 0 0; display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ponto-mostra { position: relative; width: 24px; height: 24px; display: grid; place-items: center; }
.ponto-mostra::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(180, 106, 31, .12); box-shadow: 0 0 0 1px rgba(180, 106, 31, .7); animation: pulso 2.4s ease-out infinite; }
.ponto-mostra span { width: 18px; height: 18px; border-radius: 50%; background: rgba(180, 106, 31, .18); box-shadow: inset 0 0 0 1px rgba(180, 106, 31, .75); }

/* ---------- 3. faixa + tira ---------- */
.faixas { background: var(--vinho); overflow: hidden; padding-bottom: clamp(18px, 3vw, 44px); }
.faixa { color: var(--ambar); overflow: hidden; padding: clamp(16px, 2.4vw, 30px) 0; }
.faixa-trilho { display: flex; width: max-content; will-change: transform; }
.faixa-item {
  display: inline-flex; align-items: center; gap: .4em; padding-right: .4em;
  font-family: var(--f-display); font-weight: 700; font-stretch: 80%;
  font-size: clamp(38px, 6vw, 104px); line-height: 1; letter-spacing: -.02em; white-space: nowrap;
}
.faixa-item:nth-child(even) { font-family: var(--f-italico); font-style: italic; font-weight: 400; font-stretch: normal; color: var(--rosa); }
.faixa-item .faixa-sol { width: .62em; height: .62em; object-fit: contain; flex: none; }
.tira { overflow: hidden; }
.tira-trilho { display: flex; gap: clamp(8px, 1vw, 16px); width: max-content; padding-right: clamp(8px, 1vw, 16px); will-change: transform; }
.tira-item { position: relative; flex: none; margin: 0; height: 52vh; height: 52svh; overflow: hidden; background: var(--sol); }
.tira-video { aspect-ratio: 9/16; }
.tira-video video { width: 100%; height: 100%; object-fit: cover; }
.tira-foto { aspect-ratio: 3/4; }
.tira-item:nth-child(4n+2) { border-radius: 999px 999px 0 0; }

/* ---------- 4. possibilidades ---------- */
.poss-abre { padding: 22vh var(--margem) 12vh; text-align: center; }
.poss-abre .rotulo { justify-content: center; }
.poss-abre .titulo-grande { font-size: clamp(64px, 12vw, 220px); }
.palco {
  --bg: var(--sol); --fg: var(--marfim);
  position: relative; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--bg); color: var(--fg);
}
.palco-sol {
  position: absolute; left: 50%; top: 50%;
  width: 158vmax; aspect-ratio: 1;
  translate: -50% -50%;
  opacity: .12; color: currentColor; pointer-events: none;
}
/* a cor gigante, atrás do arco */
/* o tamanho de cada palavra é ajustado no JS para ocupar ~90% da largura */
.palco-palavras { position: absolute; inset: 0; pointer-events: none; }
.palco-palavra {
  position: absolute; left: 50%; top: 52%; translate: -50% -50%; width: max-content; white-space: nowrap;
  font-family: var(--f-display); font-weight: 800; font-stretch: 92%;
  font-size: 22vw; line-height: .8; letter-spacing: -.045em;
}
.palco-palavra > span { display: block; }
.palco-obra {
  position: absolute; left: 50%; top: calc(var(--topo-h) + 4vh);
  height: min(82vh, 66vw); aspect-ratio: 3 / 4;
  translate: -50% 0;
}
.palco-arco {
  position: absolute; inset: 0;
  border-radius: 999px 999px 0 0; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(74,40,39,.45);
}
.palco-fotos { position: absolute; inset: 0; }
.palco-foto { position: absolute; inset: 0; margin: 0; overflow: hidden; }
/* o look: foto inteira num cartão que entra por cima do canto do arco */
.palco-cartoes { position: absolute; right: -24%; bottom: -6%; width: 42%; aspect-ratio: 3 / 4; pointer-events: none; }
.palco-cartao {
  position: absolute; inset: 0; margin: 0; overflow: hidden;
  box-shadow: 0 28px 50px -18px rgba(74,40,39,.55);
  will-change: transform, clip-path;
}
.palco-cartao img { width: 100%; height: 100%; object-fit: cover; }
.palco-textos {
  position: absolute; left: var(--margem); bottom: 7vh; width: min(23vw, 340px);
  display: grid;
}
.palco-texto { grid-area: 1 / 1; }
.palco-texto h3 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(32px, 3vw, 56px); line-height: .9; letter-spacing: -.03em;
  margin: 0;
}
.palco-acoes { display: flex; align-items: center; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.botao-quero {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--fg); color: var(--bg); text-decoration: none;
  padding: 14px 20px;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; letter-spacing: -.01em;
  transition: background .3s, color .3s;
}
.botao-quero span { transition: transform .5s var(--curva); }
.botao-quero:hover { background: var(--ambar); color: var(--vinho); }
.botao-quero:hover span { transform: translateX(6px); }
.botao-detalhe { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.palco-cores {
  position: absolute; right: 3.2vw; top: 50%; translate: 0 -50%;
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.palco-cores li { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px currentColor; transition: scale .5s var(--curva); }
.palco-cores li.ativa { scale: 1.75; }
.palco-contador { position: absolute; right: var(--margem); bottom: 7vh; margin: 0; font-size: 12.5px; letter-spacing: .14em; font-weight: 600; }

/* ---------- 5. a rua é a passarela ---------- */
.ruas { position: relative; overflow: hidden; background: var(--papel); }
.ruas-trilho {
  display: flex; align-items: center; gap: clamp(28px, 4vw, 72px);
  height: 100vh; height: 100svh; width: max-content;
  padding: 0 var(--margem);
  will-change: transform;
}
.ruas-abre { flex: none; width: min(40vw, 620px); }
.ruas-abre p:last-child { font-size: 17px; max-width: 30ch; margin: 30px 0 0; }
.rua { flex: none; display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.rua-titulo {
  writing-mode: vertical-rl; rotate: 180deg;
  font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(44px, 6vw, 108px); line-height: .9; letter-spacing: -.03em;
  margin: 0; white-space: nowrap; color: var(--vinho);
}
.rua-titulo small { font-family: var(--f-texto); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-left: 14px; }
.rua-foto { flex: none; margin: 0; height: 62vh; aspect-ratio: 3/4; overflow: hidden; position: relative; }
.rua-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rua-foto:nth-child(3n+2) { height: 74vh; translate: 0 4vh; }
.rua-foto:nth-child(3n) { height: 48vh; translate: 0 -12vh; }
.rua-foto.arco { border-radius: 999px 999px 0 0; }
.ruas-fim { flex: none; width: 30vw; font-family: var(--f-italico); font-style: italic; font-size: clamp(28px, 3vw, 52px); line-height: 1.1; color: var(--sol); }

/* ---------- 6. como usar ---------- */
.usar { padding: 20vh var(--margem) 22vh; position: relative; }
.usar-abre { margin-bottom: 9vh; }
.usar-lista { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--vinho); }
.uso {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: 1.5px solid var(--vinho);
  padding: clamp(10px, 1.6vh, 20px) 0;
  cursor: default;
}
.uso-jeito {
  font-family: var(--f-display); font-weight: 800; font-stretch: 78%;
  font-size: clamp(42px, 7.4vw, 132px); line-height: .95; letter-spacing: -.035em;
  transition: transform .6s var(--curva), color .3s;
}
.uso-n { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; }
.uso:hover .uso-jeito { transform: translateX(2.4vw); color: var(--sol); }
.uso-img { display: none; }
.usar-previa {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(200px, 19vw, 320px); aspect-ratio: 3/4;
  border-radius: 999px 999px 0 0; overflow: hidden;
  opacity: 0; scale: .7; transition: opacity .35s, scale .5s var(--curva);
}
.usar-previa.visivel { opacity: 1; scale: 1; }
.usar-previa img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 7. mostruário ---------- */
.mostruario { padding: 18vh var(--margem) 20vh; background: var(--marfim); }
.most-abre p:last-child { font-size: 17px; margin: 28px 0 0; max-width: 34ch; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin: 7vh 0 5vh; }
.filtro {
  border: 1.5px solid var(--vinho); padding: 11px 17px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.filtro:hover { background: var(--papel); }
.filtro.ativo { background: var(--vinho); color: var(--marfim); }
.grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5.5vh clamp(14px, 2vw, 32px); }
.card { text-align: left; display: block; width: 100%; }
.card.oculto { display: none; }
.card-fig {
  position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden;
  background: var(--cor, var(--papel));
  transform-origin: 50% 0;
}
.card-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s, scale 1.2s var(--curva); }
.card-fig img + img { opacity: 0; }
.card:hover .card-fig img + img { opacity: 1; }
.card:hover .card-fig { animation: balanco 1.6s cubic-bezier(.3, .1, .3, 1); }
@keyframes balanco {
  0% { rotate: 0deg; } 18% { rotate: 1.8deg; } 40% { rotate: -1.3deg; } 62% { rotate: .7deg; } 82% { rotate: -.3deg; } 100% { rotate: 0deg; }
}
.card-cor { position: absolute; left: 12px; top: 12px; width: 14px; height: 14px; border-radius: 50%; background: var(--cor); box-shadow: 0 0 0 2px var(--marfim); z-index: 2; }
.card-info { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 12px; }
.card-nome { font-family: var(--f-display); font-weight: 700; font-stretch: 88%; font-size: clamp(17px, 1.4vw, 22px); line-height: 1.1; letter-spacing: -.01em; }
.card-forma { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: .75; }
.card-mais { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; }

/* ---------- 8. texto oficial ---------- */
.feita { position: relative; min-height: 120vh; display: grid; place-items: center; padding: 22vh var(--margem); color: var(--marfim); overflow: hidden; }
.feita-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feita-veu { position: absolute; inset: 0; background: rgba(74, 40, 39, .74); }
.feita-texto {
  position: relative; margin: 0; max-width: 30ch;
  font-family: var(--f-italico); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.3vw, 56px); line-height: 1.2; text-align: center;
}
.feita-texto .palavra { opacity: .22; }

/* ---------- 9. quem faz ---------- */
.quem { padding: 20vh var(--margem) 20vh; background: var(--papel); }
.geracoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 70px); margin-top: 10vh; }
.geracao-sol { width: min(70%, 260px); aspect-ratio: 1; margin-bottom: 26px; }
.geracao-sol img { width: 100%; height: 100%; object-fit: contain; }
/* o sol creme original, tingido de âmbar (a textura é a do arquivo, só muda a cor) */
.geracao-sol .sol-ouro { filter: sepia(1) saturate(2.3) hue-rotate(-14deg) brightness(.95); }
.geracao h3 { font-family: var(--f-italico); font-style: italic; font-weight: 500; font-size: clamp(30px, 2.8vw, 46px); line-height: 1; margin: 0 0 14px; }
.geracao p { margin: 0; max-width: 30ch; font-size: 16.5px; }
.geracao a { font-weight: 600; }
.quem-oficial {
  margin: 14vh 0 0 auto; max-width: 24ch;
  font-family: var(--f-display); font-weight: 700; font-stretch: 88%;
  font-size: clamp(28px, 3.4vw, 58px); line-height: 1.02; letter-spacing: -.02em;
}

/* ---------- 10. feira ---------- */
.feira { padding: 18vh var(--margem) 22vh; background: var(--azul); overflow: hidden; }
.feira-topo { display: grid; grid-template-columns: 1.45fr 1fr; gap: clamp(28px, 5vw, 90px); align-items: center; }
.feira-mosaico { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.6vw, 26px); margin-top: 14vh; align-items: start; }
.fm-col { display: flex; flex-direction: column; gap: clamp(10px, 1.6vw, 26px); }
.fm-col:nth-child(2) { padding-top: 18vh; }
.fm-col:nth-child(3) { padding-top: 6vh; }
.fm { position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden; background: var(--vinho); }
.fm.arco { border-radius: 999px 999px 0 0; }
.fm video { width: 100%; height: 100%; object-fit: cover; }
.feira-quadro { aspect-ratio: 16/9; overflow: hidden; }
.feira-video { width: 100%; height: 100%; object-fit: cover; }
.feira-texto p:last-child { font-size: 17px; max-width: 34ch; margin: 28px 0 0; }
.feira .titulo-medio em { color: var(--vinho); }

/* ---------- 11. chamada final ---------- */
.final {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 18vh var(--margem); background: var(--vinho); color: var(--marfim);
}
.final-sol { position: absolute; left: 50%; top: 50%; width: 96vmin; aspect-ratio: 1; translate: -50% -50%; color: var(--ambar); opacity: .24; pointer-events: none; }
.final-titulo { position: relative; font-size: clamp(88px, 17vw, 300px); line-height: .8; font-stretch: 74%; text-shadow: 0 0 70px rgba(74, 40, 39, .7), 0 0 24px rgba(74, 40, 39, .45); }
.final-titulo em { color: var(--ambar); }
.final-sub { position: relative; max-width: 30ch; font-size: 18px; margin: 40px 0 34px; }
.botao-zap {
  position: relative;
  display: inline-flex; align-items: center; gap: 22px;
  background: var(--ambar); color: var(--vinho); text-decoration: none;
  padding: 22px 30px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -.01em;
  transition: background .3s;
}
.botao-zap span:last-child { transition: transform .5s var(--curva); }
.botao-zap:hover { background: var(--marfim); }
.botao-zap:hover span:last-child { transform: translateX(8px); }
.final-insta { position: relative; margin-top: 22px; font-size: 14px; letter-spacing: .1em; }

/* ---------- rodapé ---------- */
.rodape { background: var(--vinho); color: var(--marfim); padding: 9vh var(--margem) 4vh; border-top: 1px solid rgba(242, 236, 224, .14); text-align: center; }
.rodape-logo { width: clamp(170px, 18vw, 260px); height: auto; margin: 0 auto; }
.rodape-assina { font-family: var(--f-italico); font-style: italic; font-size: 26px; margin: 26px 0 7vh; }
.rodape-pe { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; font-size: 13px; letter-spacing: .06em; margin: 0; opacity: .85; }
.rodape-pe a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- WhatsApp flutuante ---------- */
.zap-flutua {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ambar); color: var(--vinho);
  box-shadow: 0 12px 30px -8px rgba(74, 40, 39, .5);
  scale: 0; transition: scale .5s var(--curva), background .3s;
}
.zap-flutua.visivel { scale: 1; }
.zap-flutua:hover { background: var(--marfim); }
.zap-flutua svg { width: 28px; height: 28px; }

/* ---------- detalhes: caixas que deslizam ---------- */
.detalhe { position: fixed; inset: 0; z-index: 70; visibility: hidden; transition: visibility 0s 1.1s; }
.detalhe.aberta { visibility: visible; transition: none; }
.detalhe-fundo { position: absolute; inset: 0; background: rgba(74, 40, 39, .5); opacity: 0; transition: opacity .6s; }
.detalhe.aberta .detalhe-fundo { opacity: 1; }
.detalhe-grade {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(960px, 100vw);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto 1fr 1fr 26vh auto;
  grid-template-areas:
    "nome nome fechar"
    "foto foto preco"
    "foto foto cor"
    "m1 m2 info"
    "zap zap zap";
  overflow: hidden;
}
.dcaixa {
  position: relative; overflow: hidden;
  transform: translateX(110%);
  transition: transform .8s var(--curva) calc((8 - var(--i)) * 30ms);
}
.detalhe.aberta .dcaixa { transform: none; transition-delay: calc(var(--i) * 60ms); }
.dcaixa small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.d-nome { grid-area: nome; background: var(--marfim); padding: 26px 28px; }
.d-titulo { font-family: var(--f-display); font-weight: 800; font-stretch: 80%; font-size: clamp(32px, 3.6vw, 58px); line-height: .9; letter-spacing: -.03em; margin: 8px 0 0; }
.d-fechar { grid-area: fechar; background: var(--vinho); color: var(--marfim); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.d-fechar:hover { background: var(--sol); }
.d-foto { grid-area: foto; background: var(--papel); }
.d-foto img, .d-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.d-preco { grid-area: preco; background: var(--ambar); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.d-preco b, .d-cor b { font-family: var(--f-display); font-weight: 700; font-size: clamp(22px, 2vw, 32px); line-height: 1; letter-spacing: -.01em; }
.d-cor { grid-area: cor; background: var(--cor-peca, var(--rosa)); color: var(--cor-texto, var(--vinho)); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.d-mini:nth-child(6) { grid-area: m1; }
.d-mini:nth-child(7) { grid-area: m2; }
.d-mini { background: var(--papel); }
.d-mini img { transition: scale .8s var(--curva), opacity .3s; }
.d-mini:hover img { opacity: .85; }
.d-mini[hidden] { display: block; visibility: hidden; }
.d-info { grid-area: info; background: var(--marfim); padding: 22px 24px; font-size: 15px; line-height: 1.45; }
.d-info p { margin: 0; }
.d-tags { margin-top: 12px !important; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.d-zap {
  grid-area: zap; background: var(--vinho); color: var(--marfim); text-decoration: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 28px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.01em;
}
.d-zap span:last-child { font-family: var(--f-texto); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.d-zap:hover { background: var(--sol); }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (pointer: fine) {
  .cursor {
    display: grid; place-items: center;
    position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
    width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
    background: var(--vinho);
    transition: width .45s var(--curva), height .45s var(--curva), margin .45s var(--curva), background .3s;
  }
  .cursor.grande { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--ambar); }
  .cursor-rotulo { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--vinho); opacity: 0; transition: opacity .2s; }
  .cursor.grande .cursor-rotulo { opacity: 1; }
}

/* ---------- grão de papel ---------- */
.grao {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grao 1s steps(4) infinite;
}
@keyframes grao { 0% { translate: 0 0; } 25% { translate: -4% 3%; } 50% { translate: 3% -5%; } 75% { translate: -2% 4%; } }

/* =========================================================
   celular e tablet
   ========================================================= */
@media (max-width: 1100px) {
  .grade { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  :root { --topo-h: 44px; }
  .topo { padding: 10px; gap: 5px; }
  .topo-links { display: none; }
  .caixa-topo { padding: 0 13px; font-size: 11.5px; }
  .caixa-logo { padding: 0 12px; }
  .caixa-logo img { height: 21px; }
  .caixa-zap { margin-left: auto; }
  .menu-rotulo { display: none; }

  .menu-grade { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, 1fr); }
  .mcaixa-fechar { grid-column: 1 / -1; }
  .mcaixa b { font-size: clamp(26px, 7.4vw, 44px); }
  .mcaixa-foto img { display: none; } /* caixa pequena: o @ fica sozinho, sem foto pela metade */

  /* banner: vídeo dentro de um arco, texto embaixo */
  .hero { height: auto; min-height: 0; color: var(--vinho); background: var(--marfim); padding-top: calc(var(--topo-h) + 26px); }
  .hero-midia { position: relative; inset: auto; margin: 0 10px; aspect-ratio: 4/5; border-radius: 999px 999px 0 0; }
  .hero-veu { display: none; }
  .hero-texto { position: relative; inset: auto; padding: 22px 16px 34px; }
  .hero-rotulo { position: static; margin-bottom: 16px; }
  .hero-titulo { font-size: clamp(54px, 16.5vw, 120px); }
  .hero-titulo em { color: var(--sol); }
  .hero-rodape { font-size: 14.5px; }

  /* manifesto: a frase em cima, depois duas colunas escalonadas */
  .intro { grid-template-columns: 1fr 1fr; gap: 0 10px; padding: 14vh 12px 16vh; }
  .intro-centro { grid-column: 1 / -1; order: -1; position: static; height: auto; padding: 0 6px 9vh; }
  .intro-frase { font-size: clamp(38px, 11.2vw, 72px); }
  .intro-dica { font-size: 11px; }
  .intro-col { gap: 10px; }
  .intro-col-b { padding-top: 22vw; }

  .tira-item { height: 46svh; }

  .poss-abre { padding: 16vh 18px 9vh; }
  .poss-abre .titulo-grande { font-size: clamp(60px, 19vw, 120px); }
  .palco-sol { top: 40%; width: 200vw; }
  .palco-obra { top: calc(var(--topo-h) + 22px); height: min(56svh, 112vw); left: calc(50% - 4.5vw); } /* o cartão do look cabe inteiro na tela */
  .palco-cartoes { right: -12%; bottom: -6%; width: 40%; }
  .palco-palavras { top: auto; bottom: 19svh; height: 26vw; }
  .palco-textos { left: 18px; right: 18px; width: auto; bottom: 7svh; }
  .palco-texto h3 { font-size: clamp(26px, 7.4vw, 40px); }
  .palco-acoes { margin-top: 12px; gap: 16px; }
  .botao-quero { padding: 11px 16px; font-size: 16px; }
  .palco-cores { right: auto; left: 78px; top: auto; bottom: calc(2.4svh + 3px); translate: none; flex-direction: row; gap: 10px; }
  .palco-cores li { width: 9px; height: 9px; }
  .palco-contador { left: 18px; right: auto; bottom: 2.4svh; font-size: 11px; }

  .ruas-abre { width: 78vw; }
  .rua-foto { height: 52svh; }
  .rua-foto:nth-child(3n+2) { height: 60svh; translate: 0 3svh; }
  .rua-foto:nth-child(3n) { height: 40svh; translate: 0 -8svh; }
  .ruas-fim { width: 70vw; }

  .usar { padding: 14vh 18px 16vh; }
  .uso { padding: 14px 0; }
  .uso-jeito { font-size: clamp(38px, 11vw, 70px); }
  .uso-n { display: none; }
  .uso-img {
    display: block; flex: none; width: 22vw; aspect-ratio: 3/4; border-radius: 999px 999px 0 0; overflow: hidden;
    opacity: .0; scale: .7; transition: opacity .4s, scale .6s var(--curva);
  }
  .uso-img img { width: 100%; height: 100%; object-fit: cover; }
  .uso.ativo .uso-img { opacity: 1; scale: 1; }
  .uso.ativo .uso-jeito { color: var(--sol); }
  .usar-previa { display: none; }

  .mostruario { padding: 14vh 14px 16vh; }
  .filtros { margin: 5vh 0 4vh; gap: 6px; }
  .filtro { padding: 9px 12px; font-size: 11px; }
  .grade { grid-template-columns: 1fr 1fr; gap: 4vh 10px; }
  .card-info { flex-direction: column; gap: 4px; }

  .feita { min-height: 0; padding: 18vh 22px; }
  .feita-texto { font-size: clamp(24px, 6.6vw, 36px); }

  .quem { padding: 16vh 18px; }
  .geracoes { grid-template-columns: 1fr; gap: 9vh; margin-top: 8vh; }
  .geracao { display: grid; grid-template-columns: 34vw 1fr; gap: 0 20px; align-items: center; }
  .geracao-sol { width: 100%; margin: 0; grid-row: span 2; }
  .geracao h3 { align-self: end; }
  .geracao p { align-self: start; font-size: 15.5px; }
  .quem-oficial { margin-top: 12vh; font-size: clamp(28px, 8vw, 44px); }

  .feira { padding: 14vh 18px 16vh; }
  .feira-topo { grid-template-columns: 1fr; }
  .feira-mosaico { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 9vh; }
  .fm-col { gap: 8px; }
  .fm-col:nth-child(2) { padding-top: 16vw; }
  .fm-col:nth-child(3) { grid-column: 1 / -1; flex-direction: row; padding-top: 0; }
  .fm-col:nth-child(3) .fm { flex: 1; }

  .final-sub { font-size: 16.5px; }
  .botao-zap { padding: 20px 24px; }

  .detalhe-grade {
    width: 100vw; overflow-y: auto; overscroll-behavior: contain;
    grid-template-columns: 1fr 1fr;
    /* max-content: as caixas têm overflow:hidden e linhas "auto" espremiam o nome e o texto */
    grid-template-rows: max-content 62svh max-content 46vw max-content max-content;
    grid-template-areas:
      "nome fechar"
      "foto foto"
      "preco cor"
      "m1 m2"
      "info info"
      "zap zap";
  }
  .d-nome { padding: 20px 18px; }
  .d-fechar { min-height: 70px; }
  .d-preco, .d-cor { padding: 18px; min-height: 120px; gap: 14px; }
  .d-zap { padding: 24px 18px; position: sticky; bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .grao, .abertura-sol, .ponto::before, .ponto-mostra::before { animation: none; }
  .card:hover .card-fig { animation: none; }
}

/* foto em pé (9:16) numa moldura 3:4: a janela desce até as borlas, a bolsa fica inteira */
img[src*="/0944.webp"] { object-position: 50% 90%; }
