/* Venda Bem Representações: landing page estática, versão 3 (27/11/2026).
   Cores medidas na própria logo. Fotos e vídeo do Pexels (licença gratuita), guardados na pasta assets/midia.
   Sem fontes, scripts ou arquivos de fora. */
:root {
  --vermelho: #e93d43;
  --vermelho-escuro: #b8262c;
  --vinho: #6e1418;
  --dourado: #e6a139;
  --dourado-claro: #f2c879;
  --preto: #0b0b0b;
  --carvao: #141212;
  --papel: #fbf7f0;
  --creme: #f3eadb;
  --texto: #1d1a17;
  --texto-suave: #5f5850;
  --serifa: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --raio: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--texto); background: var(--papel); -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 700; line-height: 1.05; margin: 0 0 .45em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--dourado); outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- Rascunho: campos a preencher ficam escondidos do visitante ---------- */
.pendente, .aviso-rascunho { display: none !important; }
#rascunho:target ~ .aviso-rascunho {
  display: block !important; position: fixed; z-index: 50; left: 50%; top: 12px; transform: translateX(-50%);
  margin: 0; padding: 6px 14px; border-radius: 999px; background: #fff3cd; color: #6b4e00; font-size: .85rem; font-weight: 600;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
#rascunho:target ~ * .pendente {
  display: revert !important;
  outline: 2px dashed #d4a72c; outline-offset: 4px; background: rgba(255,243,205,.92); color: #6b4e00 !important; border-radius: 6px;
}
#rascunho:target ~ * .pendente * { color: #6b4e00 !important; }

/* ---------- Grão (textura feita em código) ---------- */
.grao { position: relative; isolation: isolate; }
.grao::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid var(--vermelho);
  background: var(--vermelho); color: #fff; font-weight: 700; letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 10px 30px rgba(233,61,67,.3);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.botao:hover { background: var(--vermelho-escuro); border-color: var(--vermelho-escuro); transform: translateY(-2px); }
.botao--vazado { background: rgba(0,0,0,.25); border-color: rgba(242,200,121,.75); color: var(--dourado-claro); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.botao--vazado:hover { background: rgba(230,161,57,.16); border-color: var(--dourado); }
.botao--pequeno { padding: 10px 20px; font-size: .92rem; box-shadow: none; }
.botao--grande { padding: 18px 34px; font-size: 1.08rem; }

/* ---------- Topo ---------- */
.topo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: linear-gradient(rgba(11,11,11,.85), rgba(11,11,11,.6)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230,161,57,.3);
}
.topo__linha { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.topo__marca img { height: 68px; width: auto; }
.topo__menu { display: flex; gap: 30px; margin-left: auto; }
.topo__menu a { color: #efe8dc; text-decoration: none; font-size: .95rem; font-weight: 500; letter-spacing: .02em; position: relative; }
.topo__menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--dourado); transition: right .25s ease; }
.topo__menu a:hover::after { right: 0; }

/* ---------- Destaque com vídeo ---------- */
.hero { position: relative; min-height: max(100svh, 640px); display: flex; flex-direction: column; color: #fff; overflow: hidden; background: var(--preto); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__veu {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,7,7,.92) 0%, rgba(8,7,7,.72) 38%, rgba(8,7,7,.25) 70%, rgba(8,7,7,.45) 100%),
    linear-gradient(0deg, rgba(8,7,7,.9) 0%, transparent 35%);
}
.hero__conteudo { position: relative; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 140px 0 60px; }
.filete { display: flex; align-items: center; gap: 14px; color: var(--dourado); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.filete::before { content: ""; width: 42px; height: 1px; background: var(--dourado); }
.hero h1 { font-size: clamp(3.1rem, 8vw, 7rem); margin-bottom: .3em; max-width: 9em; text-shadow: 0 4px 30px rgba(0,0,0,.4); }
.hero h1 em { font-style: italic; color: var(--vermelho); }
.hero__sub { font-size: clamp(1.06rem, 1.6vw, 1.28rem); color: #ddd5c9; max-width: 32em; margin-bottom: 34px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__rolar { position: absolute; right: max(24px, calc((100% - 1200px) / 2)); bottom: 96px; width: 28px; height: 46px; border: 2px solid rgba(242,200,121,.6); border-radius: 20px; }
.hero__rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--dourado); animation: rolar 1.8s ease-in-out infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero__faixa { position: relative; border-top: 1px solid rgba(230,161,57,.3); background: rgba(0,0,0,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero__faixa .wrap { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 4vw, 48px); padding: 18px 0; }
.hero__faixa span { font-family: var(--serifa); font-size: clamp(1.05rem, 2vw, 1.4rem); letter-spacing: .3em; text-transform: uppercase; color: #efe6d6; }
.hero__faixa i { color: var(--dourado); font-style: normal; font-size: .8rem; }

/* ---------- Números ---------- */
.numeros { background: linear-gradient(100deg, var(--vinho), var(--vermelho-escuro)); color: #fff; }
.numeros__grade { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.numero { padding: 34px 28px; border-left: 1px solid rgba(255,255,255,.16); }
.numero:first-child { border-left: 0; }
.numero strong { display: block; font-family: var(--serifa); font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; color: var(--dourado-claro); margin-bottom: 8px; }
.numero span { display: block; color: #f6dcdc; font-size: .98rem; max-width: 20em; }

/* ---------- Seções ---------- */
.secao { padding: clamp(72px, 10vw, 130px) 0; }
.secao--papel { background: var(--papel); }
.secao--escura { background: var(--carvao); color: #f2ece2; }
.sobretitulo { color: var(--vermelho); font-size: .8rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 14px; }
.secao--escura .sobretitulo, .contato .sobretitulo, .estrada .sobretitulo { color: var(--dourado); }
.cabeca { max-width: 640px; margin-bottom: 56px; }
.cabeca__texto { color: var(--texto-suave); font-size: 1.12rem; }

/* ---------- Linhas com foto ---------- */
.linhas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.linha {
  position: relative; aspect-ratio: 3 / 4.2; border-radius: var(--raio); overflow: hidden; background: var(--preto); color: #fff;
  box-shadow: 0 30px 60px rgba(0,0,0,.18); isolation: isolate;
}
.linha__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.linha::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,7,7,.05) 0%, rgba(8,7,7,.25) 40%, rgba(8,7,7,.92) 100%); }
.linha::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--vermelho), var(--dourado)); }
.linha:hover .linha__foto { transform: scale(1.06); }
.linha__texto { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 30px 32px; }
.linha__icone { width: 56px; height: 56px; margin-bottom: 14px; fill: none; stroke: var(--dourado-claro); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.linha__icone .cheio { fill: var(--dourado-claro); stroke: none; }
.linha__num { display: none; } /* com foto, o número 01/02/03 sobra */
.linha h3 { font-size: 2.2rem; margin-bottom: .2em; }
.linha p { color: #ddd5c9; margin-bottom: 6px; }
.nota { margin-top: 30px; }

/* ---------- Quem somos ---------- */
.quem { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.quem__foto { position: relative; max-width: 440px; }
.quem__foto::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 2px solid var(--dourado); border-radius: var(--raio); z-index: 0; }
.quem__foto img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--raio); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.quem__frase {
  margin: 0 0 34px; font-family: var(--serifa); font-style: italic; font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.18; color: #fff;
  padding-left: 26px; border-left: 3px solid var(--vermelho);
}
.quem__frase span { color: var(--dourado); font-size: 1.4em; line-height: 0; vertical-align: -.32em; margin-right: 4px; }
.quem__texto h2 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.quem__texto p { color: #cbc3b6; font-size: 1.08rem; }

/* ---------- Para quem ---------- */
.publico-grade { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.cabeca--linha { margin-bottom: 30px; }
.publico { list-style: none; margin: 0; padding: 0; border-top: 1px solid #d9cdb8; }
.publico li {
  display: flex; align-items: baseline; gap: 28px; padding: 24px 6px; border-bottom: 1px solid #d9cdb8;
  font-family: var(--serifa); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.1;
  transition: padding-left .3s ease, color .3s ease;
}
.publico li span { font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .18em; color: var(--dourado); min-width: 2.5em; }
.publico li:hover { padding-left: 18px; color: var(--vermelho-escuro); }
.publico__foto { max-width: 400px; justify-self: end; }
.publico__foto img { width: 100%; height: auto; aspect-ratio: 4 / 4.8; object-fit: cover; object-position: 40% 100%; border-radius: 999px 999px var(--raio) var(--raio); box-shadow: 0 40px 80px rgba(0,0,0,.2); }

/* ---------- Como funciona, sobre a estrada ---------- */
.estrada { position: relative; overflow: hidden; color: #fff; padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; }
.estrada__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; z-index: -2; }
.estrada__veu { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,7,7,.94) 0%, rgba(8,7,7,.8) 50%, rgba(8,7,7,.55) 100%); }
.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.passos::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--dourado) 0 10px, transparent 10px 18px); }
.passos li { position: relative; padding: 0 20px 10px; text-align: center; }
.passos__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--preto); color: var(--dourado-claro); font-family: var(--serifa); font-size: 1.6rem; font-weight: 700;
  border: 2px solid var(--dourado); box-shadow: 0 0 0 8px rgba(8,7,7,.85);
}
.passos p { color: #d6cec2; max-width: 22em; margin-inline: auto; }

/* ---------- Contato ---------- */
.contato {
  overflow: hidden; color: #fff; padding: clamp(80px, 11vw, 140px) 0;
  background: radial-gradient(70% 90% at 0% 0%, rgba(233,61,67,.25), transparent 60%), var(--preto);
}
.contato__marca { position: absolute; right: -60px; bottom: -40px; width: min(620px, 70vw); height: auto; opacity: .07; z-index: -1; pointer-events: none; }
.contato__grade { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.contato h2 { font-size: clamp(2.2rem, 5vw, 4rem); max-width: 12em; }
.contato__sub { color: #cfc8bd; font-size: 1.12rem; margin-bottom: 30px; }
.contato__dados { margin: 0; border-left: 1px solid rgba(230,161,57,.4); padding-left: 32px; }
.contato__dados div { padding: 12px 0; }
.contato__dados dt { color: var(--dourado); font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.contato__dados dd { margin: 4px 0 0; font-family: var(--serifa); font-size: 1.35rem; }

/* ---------- Rodapé ---------- */
.rodape { background: #050505; color: #9c958b; padding: 30px 0; font-size: .9rem; border-top: 1px solid rgba(230,161,57,.25); }
.rodape__linha { display: flex; align-items: center; gap: 18px; }
.rodape__linha img { height: 44px; width: auto; }
.rodape p { margin: 0; }
.rodape__credito { margin-left: auto !important; font-size: .8rem; color: #6f6a62; }

/* ---------- Botão fixo ---------- */
.flutuante {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 14px 16px; border-radius: 999px;
  background: var(--vermelho); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 14px 34px rgba(0,0,0,.35); transition: transform .2s ease, background .2s ease;
}
.flutuante:hover { transform: translateY(-3px); background: var(--vermelho-escuro); }
.flutuante svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Entrada suave ao rolar (só em navegadores que suportam) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .revela { animation: sobe linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes sobe { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  }
}

/* ---------- Tablet: some só o menu ---------- */
@media (max-width: 980px) {
  .topo__menu { display: none; }
  .topo__linha .botao--pequeno { margin-left: auto; }
  .linhas { gap: 16px; }
  .linha__texto { padding: 24px 22px 26px; }
  .linha h3 { font-size: 1.8rem; }
  .passos li { padding-inline: 8px; }
}

/* ---------- Tela estreita: uma coluna ---------- */
@media (max-width: 760px) {
  .hero__veu { background: linear-gradient(0deg, rgba(8,7,7,.95) 0%, rgba(8,7,7,.75) 55%, rgba(8,7,7,.45) 100%); }
  .hero__rolar { display: none; }
  .numeros__grade { grid-template-columns: 1fr; }
  .linhas, .passos { grid-template-columns: 1fr; }
  .linha { aspect-ratio: 4 / 3.4; }
  .passos::before { top: 0; bottom: 0; left: 31px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--dourado) 0 10px, transparent 10px 18px); }
  .passos li { text-align: left; padding: 0 0 8px 92px; min-height: 80px; }
  .passos__num { position: absolute; left: 0; top: 0; margin: 0; }
  .passos p { margin-inline: 0; }
  .quem, .contato__grade, .publico-grade { grid-template-columns: 1fr; }
  .quem__foto { max-width: 420px; margin-right: 22px; }
  .publico__foto { max-width: 360px; }
  .numero { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .numero:first-child { border-top: 0; }
  .estrada__veu { background: rgba(8,7,7,.84); }
  .rodape__linha { flex-wrap: wrap; }
  .rodape__credito { margin-left: 0 !important; width: 100%; }
}

/* ---------- Celular ---------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .topo__linha { min-height: 70px; }
  .topo__marca img { height: 56px; }
  .topo__linha .botao--pequeno { display: none; }
  .hero__conteudo { padding: 110px 0 40px; justify-content: flex-end; }
  .hero__acoes .botao { width: 100%; }
  .hero__faixa .wrap { gap: 12px; }
  .hero__faixa span { letter-spacing: .12em; font-size: .98rem; }
  .numero { padding: 24px 4px; }
  .linha { aspect-ratio: 4 / 4.4; }
  .publico li { gap: 18px; padding: 20px 2px; }
  .contato__dados { padding-left: 20px; }
  .botao--grande { width: 100%; }
  .flutuante { right: 16px; bottom: 16px; padding: 14px; }
  .flutuante span { display: none; }
  .rodape__linha { flex-direction: column; text-align: center; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hero__video { display: none; }
  .hero { background: var(--preto) url("assets/midia/video-corte-capa.jpg") center / cover no-repeat; }
}

/* Links de contato (WhatsApp e e-mail) */
.contato__dados a, .rodape a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(230,161,57,.55); transition: color .2s ease, border-color .2s ease; }
.contato__dados a:hover, .rodape a:hover { color: var(--dourado-claro); border-color: var(--dourado-claro); }

/* Descrição curta de cada público */
.publico li div { display: flex; flex-direction: column; gap: 6px; }
.publico li small { font-family: var(--sans); font-size: .95rem; line-height: 1.4; color: var(--texto-suave); letter-spacing: 0; }
.publico li:hover small { color: var(--texto-suave); }

/* Celular: título quebra sozinho e a faixa de linhas cabe inteira */
@media (max-width: 560px) {
  .hero h1 br { display: none; }
  .hero__faixa .wrap { gap: 10px; }
  .hero__faixa span { letter-spacing: .08em; font-size: .92rem; }
  .hero__faixa i { font-size: .65rem; }
}
