/* ===========================================================
   UpScale — Landing page (layout inspirado no LUMIX Realty)
   Dark premium minimalista + dourado · Sora / Montserrat / Inter
   =========================================================== */

:root {
  --preto: #0D0D0D;
  --preto-2: #121212;
  --preto-3: #171717;
  --card: #161616;
  --dourado: #D4AF37;
  --dourado-claro: #F2C94C;
  --prata: #BFC3C9;
  --cinza-claro: #E6E6E6;
  --branco: #FFFFFF;

  --f-display: 'Sora', 'Montserrat', sans-serif;
  --f-titulo: 'Montserrat', sans-serif;
  --f-corpo: 'Inter', sans-serif;

  --max: 1200px;
  --gutter: 24px;
  --chamfer: 12px;

  --linha: rgba(255, 255, 255, 0.08);
  --linha-ouro: rgba(212, 175, 55, 0.30);
  --glow-ouro: rgba(212, 175, 55, 0.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Bloqueio de seleção/cópia de texto e arraste */
* {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img { -webkit-user-drag: none; -khtml-user-drag: none; -moz-user-drag: none; user-drag: none; pointer-events: none; }

body {
  font-family: var(--f-corpo);
  background: var(--preto);
  color: var(--cinza-claro);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--f-display); color: var(--branco); line-height: 1.12; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 600; }
.gold { color: var(--dourado); }

.eyebrow {
  display: inline-block; font-family: var(--f-titulo); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dourado); margin-bottom: 18px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--dourado); vertical-align: middle; margin-right: 10px; opacity: 0.7; }

/* ---------- Botões ---------- */
.btn {
  --pad-y: 14px; --pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-titulo); font-weight: 600; font-size: 0.95rem;
  padding: var(--pad-y) var(--pad-x); cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  clip-path: polygon(var(--chamfer) 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%, 0 var(--chamfer));
}
.btn-sm { --pad-y: 10px; --pad-x: 20px; font-size: 0.85rem; }
.btn-lg { --pad-y: 16px; --pad-x: 36px; font-size: 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--dourado-claro), var(--dourado)); color: #1a1400; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px var(--glow-ouro); }
.btn-ghost { background: transparent; color: var(--branco); box-shadow: inset 0 0 0 1px var(--linha-ouro); }
.btn-ghost:hover { color: var(--dourado); box-shadow: inset 0 0 0 1px var(--dourado); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-header.scrolled { background: rgba(13, 13, 13, 0.85); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--linha-ouro); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.brand-logo { height: 34px; width: auto; }
.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { font-family: var(--f-titulo); font-weight: 500; font-size: 0.92rem; color: var(--cinza-claro); position: relative; padding: 4px 0; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--dourado); transition: width .25s ease; }
.nav a:hover { color: var(--branco); }
.nav a:hover::after { width: 100%; }
.header-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto; }
.nav-toggle span { width: 24px; height: 2px; background: var(--branco); transition: .3s ease; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 78px; overflow: hidden;
  background-color: #0d0d0d;
  background-image: url("assets/headersite.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/* Véu escuro sobre a imagem: mais forte à esquerda (onde fica o texto) e fade pro preto embaixo */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(13,13,13,0.90) 0%, rgba(13,13,13,0.72) 42%, rgba(13,13,13,0.45) 70%, rgba(13,13,13,0.30) 100%),
    linear-gradient(to bottom, rgba(13,13,13,0.30) 0%, rgba(13,13,13,0) 28%, rgba(13,13,13,0) 70%, var(--preto) 100%);
}
.hero-grid { display: none; }
.hero-orb { display: none; }
.hero-inner { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 800px; padding-block: 60px; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 800; margin-bottom: 26px; letter-spacing: -0.03em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--prata); max-width: 600px; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* barra flutuante estilo LUMIX */
.hero-bar {
  position: relative; z-index: 1;
  display: flex; align-items: stretch; gap: 8px;
  background: rgba(22, 22, 22, 0.75); backdrop-filter: blur(14px);
  border: 1px solid var(--linha-ouro);
  border-radius: 16px;
  padding: 10px; margin-bottom: 40px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.hero-bar-item { display: flex; align-items: center; gap: 14px; flex: 1; padding: 14px 18px; border-radius: 10px; transition: background .25s ease; }
.hero-bar-item:hover { background: rgba(212,175,55,0.07); }
.hero-bar-item strong { display: block; font-family: var(--f-titulo); font-weight: 600; color: var(--branco); font-size: 0.98rem; }
.hero-bar-item small { display: block; color: var(--prata); font-size: 0.82rem; }
.hero-bar-div { width: 1px; background: var(--linha); margin-block: 8px; }

/* ---------- Seções ---------- */
.section { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--preto-2); border-block: 1px solid var(--linha); }
.section-head { max-width: 660px; margin-bottom: 56px; }
.section-lead { color: var(--prata); font-size: 1.06rem; margin-top: 14px; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.intro-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
.intro-text p { color: var(--prata); font-size: 1.08rem; margin-bottom: 22px; }
.intro-points { list-style: none; display: grid; gap: 12px; }
.intro-points li { position: relative; padding-left: 26px; color: var(--cinza-claro); }
.intro-points li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 9px; height: 9px; background: var(--dourado); transform: rotate(45deg); }

/* ---------- Showcase (cards com "media") ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
/* cards normais (não o destaque): altura igual e link alinhado embaixo pra centralizar tudo */
.showcase .show-card:not(.show-card--feature) { display: flex; flex-direction: column; }
.showcase .show-card:not(.show-card--feature) .show-body { flex: 1; display: flex; flex-direction: column; }
.showcase .show-card:not(.show-card--feature) .show-link { margin-top: auto; }
.show-card { background: var(--card); border: 1px solid var(--linha); border-radius: 18px; overflow: hidden; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.show-card:hover { transform: translateY(-6px); border-color: var(--linha-ouro); box-shadow: 0 22px 44px rgba(0,0,0,0.4); }
.show-media { position: relative; height: 170px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.show-media::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 26px 26px; opacity: 0.6; }
.show-media--1 { background: radial-gradient(circle at 30% 30%, rgba(212,175,55,0.35), transparent 60%), linear-gradient(135deg, #1c1a12, #0d0d0d); }
.show-media--2 { background: radial-gradient(circle at 70% 30%, rgba(212,175,55,0.30), transparent 60%), linear-gradient(135deg, #17170f, #0d0d0d); }
.show-media--3 { background: radial-gradient(circle at 40% 70%, rgba(212,175,55,0.30), transparent 60%), linear-gradient(135deg, #1a180f, #0d0d0d); }
.show-media--4 { background: radial-gradient(circle at 65% 60%, rgba(212,175,55,0.28), transparent 60%), linear-gradient(135deg, #16150f, #0d0d0d); }
.show-media .dot { z-index: 1; }
.show-body { padding: 24px 24px 26px; }
.show-tag { display: inline-block; font-family: var(--f-titulo); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dourado); padding: 5px 12px; border: 1px solid var(--linha-ouro); border-radius: 100px; margin-bottom: 14px; }
.show-body h3 { margin-bottom: 8px; }
.show-body p { color: var(--prata); font-size: 0.95rem; margin-bottom: 16px; }
.show-link { font-family: var(--f-titulo); font-weight: 600; font-size: 0.9rem; color: var(--dourado); transition: gap .2s ease, opacity .2s ease; }
.show-link:hover { opacity: 0.8; }

/* Card 1 em destaque (largura total) com imagem de fundo — texto à esquerda, rosto livre à direita */
.show-card--feature {
  grid-column: 1 / -1;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #0d0d0d;
  background-image: url("assets/card-1.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
.show-card--feature::before {
  content: "";
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg,
    rgba(13,13,13,0.97) 0%,
    rgba(13,13,13,0.88) 28%,
    rgba(13,13,13,0.45) 50%,
    rgba(13,13,13,0.08) 70%,
    rgba(13,13,13,0) 82%);
}
.show-card--feature .show-body { position: relative; z-index: 1; max-width: 480px; padding: 44px 48px; }
.show-card--feature h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 12px; }
.show-card--feature .show-body p { font-size: 1.02rem; max-width: 380px; }

@media (max-width: 640px) {
  .show-card--feature { min-height: 360px; }
  .show-card--feature::before {
    background: linear-gradient(90deg,
      rgba(13,13,13,0.97) 0%,
      rgba(13,13,13,0.9) 46%,
      rgba(13,13,13,0.55) 66%,
      rgba(13,13,13,0.1) 86%,
      rgba(13,13,13,0) 96%);
  }
  .show-card--feature .show-body { max-width: 74%; padding: 28px 24px; }
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.step { padding: 34px 28px; background: var(--card); border: 1px solid var(--linha); border-radius: 16px; position: relative; transition: border-color .3s ease, transform .3s ease; }
.step:hover { border-color: var(--linha-ouro); transform: translateY(-4px); }
.step-num { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: transparent; -webkit-text-stroke: 1px var(--dourado); display: block; margin-bottom: 14px; opacity: 0.9; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--prata); font-size: 0.96rem; }

/* Fundo da seção "Como funciona" com a imagem comofunciona.png */
#como {
  background-color: #0d0d0d;
  background-image: url("assets/comofunciona.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  overflow: hidden;
}
#como::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.74) 45%, rgba(13,13,13,0.5) 78%, rgba(13,13,13,0.42) 100%),
    linear-gradient(to bottom, var(--preto) 0%, rgba(13,13,13,0) 24%, rgba(13,13,13,0) 68%, var(--preto) 100%);
}
#como > .container { position: relative; z-index: 1; }

/* Fundo da seção "Segmentos" com a imagem segmentos.png */
#segmentos {
  background-color: #0d0d0d;
  background-image: url("assets/segmentos.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  overflow: hidden;
}
#segmentos::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(13,13,13,0.92) 0%, rgba(13,13,13,0.74) 45%, rgba(13,13,13,0.5) 78%, rgba(13,13,13,0.42) 100%),
    linear-gradient(to bottom, var(--preto) 0%, rgba(13,13,13,0) 24%, rgba(13,13,13,0) 68%, var(--preto) 100%);
}
#segmentos > .container { position: relative; z-index: 1; }

/* ---------- Tiles qualitativos ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.tile { padding: 30px 26px; border-left: 2px solid var(--linha-ouro); }
.tile strong { display: block; font-family: var(--f-display); font-weight: 700; font-size: 1.25rem; color: var(--branco); margin-bottom: 8px; }
.tile span { color: var(--prata); font-size: 0.96rem; }

/* ---------- Chips ---------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; }
.chips li { font-family: var(--f-titulo); font-weight: 500; font-size: 0.98rem; color: var(--cinza-claro); padding: 12px 24px; background: var(--card); border: 1px solid var(--linha-ouro); border-radius: 100px; transition: color .25s ease, border-color .25s ease, transform .25s ease; }
.chips li:hover { color: var(--dourado); border-color: var(--dourado); transform: translateY(-3px); }

/* ---------- Compromisso (quote) ---------- */
.quote-section { text-align: center; }
.quote { max-width: 860px; margin-inline: auto; }
.quote blockquote { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 2.3rem); line-height: 1.35; color: var(--branco); letter-spacing: -0.01em; }
.quote figcaption { margin-top: 26px; font-family: var(--f-titulo); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; color: var(--dourado); }

/* ---------- CTA final ---------- */
.cta-final {
  position: relative; padding: clamp(80px, 11vw, 130px) 0; text-align: center; overflow: hidden;
  border-top: 1px solid var(--linha-ouro);
  background-color: #0d0d0d;
  background-image: url("assets/vamosconversar.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
/* véu escuro pra legibilidade do texto centralizado + fade pro preto em cima/embaixo */
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 75% 85% at center, rgba(13,13,13,0.50), rgba(13,13,13,0.82) 92%),
    linear-gradient(to bottom, var(--preto) 0%, rgba(13,13,13,0) 30%, rgba(13,13,13,0) 70%, var(--preto) 100%);
}
.cta-glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse at center, var(--glow-ouro), transparent 62%); pointer-events: none; }
.cta-inner { position: relative; z-index: 1; max-width: 660px; }

/* "Mancha" dourada de destaque nas seções que ficaram sem imagem */
#sobre, #solucoes, #diferenciais, #compromisso { overflow: hidden; }
#sobre::before, #solucoes::before, #diferenciais::before, #compromisso::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--glow-ouro), transparent 62%);
}
#sobre > .container,
#solucoes > .container,
#diferenciais > .container,
#compromisso > .container { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: 16px; }
.cta-final p { color: var(--prata); font-size: 1.12rem; margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--preto-2); border-top: 1px solid var(--linha); padding-top: 58px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding-bottom: 44px; }
.footer-logo { height: 32px; margin-bottom: 14px; }
.footer-brand p { color: var(--prata); font-size: 0.95rem; max-width: 260px; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { font-family: var(--f-titulo); font-size: 0.92rem; color: var(--cinza-claro); transition: color .2s ease; }
.footer-nav a:hover { color: var(--dourado); }
.footer-contato { display: flex; flex-direction: column; gap: 10px; }
.footer-contato-titulo { font-family: var(--f-titulo); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dourado); margin-bottom: 2px; }
.footer-contato a { font-size: 0.92rem; color: var(--cinza-claro); transition: color .2s ease; }
.footer-contato a:hover { color: var(--dourado); }
.footer-bottom { padding: 22px 0 30px; border-top: 1px solid var(--linha); font-size: 0.85rem; color: #7c7c7c; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--dourado-claro), var(--dourado)); color: #1a1400; box-shadow: 0 10px 26px rgba(0,0,0,0.4), 0 0 0 6px rgba(212,175,55,0.12); transition: transform .25s ease, box-shadow .25s ease; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px var(--glow-ouro), 0 0 0 8px rgba(212,175,55,0.18); }

/* ---------- Bolinha pulsante (na cor da marca) ---------- */
.dot {
  position: relative; flex: 0 0 auto;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--dourado);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.85);
}
.dot::before, .dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--dourado);
  animation: dot-pulse 2.4s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
}
.dot::after { animation-delay: 1.2s; }
.dot--lg { width: 20px; height: 20px; box-shadow: 0 0 22px rgba(212, 175, 55, 0.9); }
@keyframes dot-pulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(3.6); opacity: 0; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .intro-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 860px) {
  .nav { position: fixed; inset: 78px 0 auto 0; flex-direction: column; gap: 0; background: rgba(13,13,13,0.98); backdrop-filter: blur(12px); padding: 10px var(--gutter) 22px; margin: 0; border-bottom: 1px solid var(--linha-ouro); transform: translateY(-140%); transition: transform .35s ease; z-index: 99; }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--linha); }
  .nav a::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-bar { flex-direction: column; gap: 4px; }
  .hero-bar-div { display: none; }
}
@media (max-width: 720px) {
  .showcase { grid-template-columns: 1fr; }
}

/* ---------- Ajustes de celular ---------- */
@media (max-width: 600px) {
  :root { --gutter: 18px; }

  h2 { font-size: clamp(1.55rem, 7vw, 2rem); }

  /* seções mais compactas (menos rolagem) */
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .section-lead { font-size: 1rem; }

  /* Hero: não força tela cheia (evita cortar conteúdo atrás do topo) */
  .hero { min-height: auto; justify-content: flex-start; padding-top: 100px; padding-bottom: 46px; }
  .hero-inner { flex: none; }
  .hero-copy { padding-block: 8px 26px; }
  .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .hero-sub { font-size: 1rem; margin-bottom: 30px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-bar { margin-bottom: 6px; }

  /* card destaque um pouco menor */
  .show-card--feature { min-height: 300px; }

  /* imagens de fundo: centraliza no mobile pra não cortar demais */
  #como, #segmentos { background-position: center center; }

  /* CTA e botões grandes ocupam a largura toda (mais fácil de tocar) */
  .cta-final .btn { width: 100%; }
  .cta-final p { font-size: 1.02rem; }

  /* respiro no rodapé e nos grids empilhados */
  .footer-inner { gap: 28px; }
  .steps, .tiles { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot::before, .dot::after { animation: none; opacity: 0; }
}
