:root {
  --bg-dark: #0d0d0d;
  --bg-dark-2: #181818;
  --bg-light: #f0f0f0;
  --bg-light-2: #ffffff;
  --text-dark: #1a1a1a;
  --text-light: #f5f5f5;
  --muted: #9a9a9a;
  --accent: #ff1f1f;
  --cta: #22c55e;
  --cta-hover: #16a34a;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 50px; }
body { font-family: "Inter", sans-serif; line-height: 1.6; color: var(--text-dark); background: var(--bg-light); overflow-x: hidden; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; margin: .6rem 0; }
.accent { color: var(--accent); }
.center { text-align: center; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
section { padding: 90px 0; }

/* Faixa topo */
.topbar { background: #000; color: #fff; text-align: center; padding: 10px 16px; font-weight: 600; font-size: .9rem; letter-spacing: .5px; position: sticky; top: 0; z-index: 50; }
.topbar strong { color: var(--accent); }

/* Botão */
.btn { display: inline-block; margin-top: 1.8rem; padding: 18px 40px; background: var(--cta); color: #fff; font-weight: 800; text-transform: uppercase; text-decoration: none; border-radius: 10px; box-shadow: 0 10px 30px rgba(34,197,94,.35); transition: .25s; animation: pulse 2.4s infinite; }
.btn:hover { background: var(--cta-hover); transform: translateY(-3px); }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 50% { box-shadow: 0 0 0 14px rgba(34,197,94,0); } }

/* Hero */
.hero { background: radial-gradient(circle at 75% 40%, #2a2a2a, var(--bg-dark) 60%); color: var(--text-light); padding: 60px 0 90px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.logo { font-family: "Montserrat"; font-weight: 800; margin-bottom: 1.5rem; opacity: .9; }
.lead { margin: 1.2rem 0 .8rem; color: #ddd; }
.checks { list-style: none; }
.checks li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid rgba(255,255,255,.1); color: #ccc; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 9px; color: var(--accent); font-weight: 800; }
.checks.dark-text li { color: var(--text-dark); border-color: rgba(0,0,0,.08); }
.hero__media { position: relative; min-height: 520px; }

/* Placeholders de imagem */
.photo-main, .floater, .card-ph { display: grid; place-items: center; text-align: center; font-weight: 600; border-radius: var(--radius); }
.photo-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  /* funde as bordas escuras da foto com o fundo do topo */
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 55%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 55%, transparent 72%); }
.floater { position: absolute; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); color: #fff; padding: 18px 22px; box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.f1 { top: 8%; left: -4%; }
.f2 { bottom: 12%; right: -2%; }
.f3 { bottom: 38px; left: 0; } /* abaixo do rosto, sem cobrir o texto (subiu 1cm) */
.f4 { top: -6%; right: 4%; background: var(--accent); border: none; }
.floater.big { position: relative; width: 100%; aspect-ratio: 4/5; background: linear-gradient(160deg, #d9d9d9, #bdbdbd); color: #666; border: 2px dashed #aaa; }
.dark .floater.big { background: linear-gradient(160deg, #2e2e2e, #1a1a1a); color: #888; border-color: #444; }
.media-stack { position: relative; }

/* Flutuar */
.float { animation: float 6s ease-in-out infinite; will-change: transform; }
.float.slow { animation-duration: 9s; }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }

/* Seções */
.light { background: var(--bg-light); }
.light.alt { background: var(--bg-light-2); }
.dark { background: var(--bg-dark); color: var(--text-light); }
.foto-obra { display: block; width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
/* ART em destaque: mostra o cabeçalho ampliado; toque abre o documento inteiro */
.foto-art { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.foto-art img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.f4--baixo { top: auto; bottom: -22px; right: 4%; } /* selo abaixo da ART para não cobrir o cabeçalho */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 60px; align-items: center; }
/* Quem sou eu: texto longo, foto acompanha a rolagem no computador */
.split--bio { align-items: start; }
.split--bio .media-stack { position: sticky; top: 100px; }
.bio p { margin-bottom: 1rem; line-height: 1.7; }
.bio__destaque { font-family: Montserrat, sans-serif; font-size: 1.5rem; font-weight: 800; margin-top: 1.4rem; }
.bio__assinatura { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); font-size: .9rem; color: #666; }
.list { margin: 1rem 0 0 1.2rem; }
.list li { margin: .4rem 0; }

.carousel { display: flex; gap: 16px; overflow-x: auto; padding: 20px 0; scroll-snap-type: x mandatory; }
.card-ph { flex: 0 0 240px; height: 420px; background: #ddd; color: #777; border: 2px dashed #bbb; scroll-snap-align: start; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2rem; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--bg-dark-2); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 28px; transition: .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--accent); }
.card p { color: var(--muted); }
.num { font-family: "Montserrat"; font-size: 2.4rem; font-weight: 800; color: var(--accent); }
.tag { display: inline-block; background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 12px; border-radius: 99px; margin-bottom: 1rem; }

/* Oferta */
.offer { background: #fff; max-width: 520px; margin: 1rem auto 0; padding: 40px 32px; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.1); border-top: 6px solid var(--accent); }
.anchor { list-style: none; text-align: left; }
.anchor li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #eee; }
.anchor s, .from s { color: #c00; }
.from { margin-top: 1.4rem; color: #666; }
.price { font-family: "Montserrat"; font-size: 2.6rem; font-weight: 800; color: var(--cta-hover); }
.cash { color: #666; }

/* FAQ */
details { background: #fff; border-radius: 12px; padding: 18px 22px; margin: 12px 0; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
summary { font-weight: 700; cursor: pointer; }
details p { margin-top: .8rem; color: #555; }

.footer { background: #000; color: #888; text-align: center; padding: 30px 16px; font-size: .85rem; }
.footer a { color: #aaa; }

/* Aparecer ao rolar */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s ease; }
.reveal.visible { opacity: 1; transform: none; }
/* Linhas que aparecem uma de cada vez ao rolar */
.checks--rola li { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.checks--rola li.visible { opacity: 1; transform: none; }

/* Página da Política de Privacidade */
.politica { padding: 60px 0 80px; }
.politica h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: .4rem; }
.politica h2 { font-size: 1.25rem; margin: 2.2rem 0 .8rem; }
.politica p { margin-bottom: 1rem; line-height: 1.7; }
.politica__data { color: #777; font-size: .9rem; margin-bottom: 2rem !important; }
.politica__lista { margin: 0 0 1rem 1.2rem; line-height: 1.7; }
.politica__assinatura { margin-top: 2.4rem; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,.1); color: #555; }
.politica__voltar { color: #fff; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  .float, .btn { animation: none; }
  .reveal, .checks--rola li { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .hero__grid, .split { grid-template-columns: minmax(0,1fr); }
  .split--bio .media-stack { position: static; }
  .hero__media { min-height: 420px; order: -1; }
  .cards, .cards.four { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
  .f1 { left: 0; } .f2 { right: 0; } .f3 { bottom: 0; } /* no celular fica no pé da foto para não encostar no selo do CREA */
}

/* Etapas */
.steps { margin: 1rem 0 0 1.2rem; }
.steps li { margin: .7rem 0; padding-left: .3rem; }
.steps li::marker { color: var(--accent); font-weight: 800; }

/* Formulário de orçamento → WhatsApp */
.orcamento { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; text-align: left; background: var(--bg-dark-2); padding: 32px; border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08); }
.orcamento label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: #ddd; }
.orcamento small { font-weight: 400; color: var(--muted); }
.orcamento input, .orcamento select, .orcamento textarea { font: inherit; font-weight: 400; color: #fff; background: #0f0f0f; border: 1px solid #333; border-radius: 8px; padding: 12px 14px; width: 100%; }
.orcamento textarea { resize: vertical; }
.orcamento input:focus, .orcamento select:focus, .orcamento textarea:focus { outline: none; border-color: var(--accent); }
.orcamento .invalido { border-color: var(--accent); }
.orcamento__full { grid-column: 1 / -1; }
.orcamento__armadilha { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.orcamento .btn { margin-top: .6rem; border: none; cursor: pointer; font: inherit; font-weight: 800; justify-self: center; }
.orcamento__erro { grid-column: 1 / -1; color: var(--accent); font-weight: 600; margin: 0; }
.orcamento__nota { text-align: center; font-size: .8rem; color: var(--muted); margin: 0; }
.orcamento__nota a { color: #bbb; }
@media (max-width: 600px) { .orcamento { grid-template-columns: 1fr; padding: 22px; } }
.dark p { color: #ccc; }

/* Botão flutuante WhatsApp */
.whats { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.3); z-index: 60; animation: pulse 2.4s infinite; transition: transform .2s; }
.whats:hover { transform: scale(1.08); }

/* Obras realizadas */
.obra { flex: 0 0 280px; background: var(--bg-light-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.08); scroll-snap-align: start; text-align: left; }
.obra-foto { position: relative; height: 300px; background: #ddd; display: grid; place-items: center; color: #888; font-weight: 600; }
.obra-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.obra-info { padding: 20px; }
.obra-info h3 { font-size: 1.1rem; margin: 0 0 .4rem; color: var(--text-dark); }
.obra-info p { margin: 0; color: #555; }
.obra-foto { cursor: pointer; }
.obra-foto .antes { opacity: 0; transition: opacity .4s; }
.obra-foto.mostra-antes .antes { opacity: 1; }
/* Card de vídeo nas obras: capa com botão play, abre na janela .video-modal */
.video-capa { position: relative; display: block; width: 100%; height: 300px; padding: 0; border: 0; background: #111; cursor: pointer; }
.video-capa img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-capa .play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; display: grid; place-items: center; padding-left: 5px; box-sizing: border-box; border-radius: 50%; background: var(--accent); color: #fff; font-size: 1.6rem; box-shadow: 0 0 0 10px rgba(255,31,31,.25); transition: .25s; }
.video-capa:hover .play { transform: scale(1.08); }
.video-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.9); }
.video-modal[hidden] { display: none; }
.video-modal video { max-width: 100%; max-height: 90vh; border-radius: var(--radius); background: #000; }
.video-fechar { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; cursor: pointer; }
/* Card final das obras: "+5.000 obras" com link para o Instagram */
.obra-mais { background: var(--bg-dark); color: var(--text-light); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 32px 24px; min-height: 420px; }
.obra-mais-num { font-family: Montserrat, sans-serif; font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.obra-mais h3 { margin: .3rem 0 1rem; font-size: 1.3rem; color: var(--text-light); }
.obra-mais p { margin: 0 0 1.5rem; color: var(--muted); }
.btn-insta { display: inline-block; padding: 14px 22px; border-radius: 10px; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); color: #fff; font-weight: 800; font-size: .9rem; text-decoration: none; transition: .25s; }
.btn-insta:hover { transform: translateY(-3px); filter: brightness(1.1); }
.obra-mais-user { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.selo { position: absolute; left: 10px; bottom: 10px; z-index: 2; background: rgba(0,0,0,.7); color: #fff; font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 99px; }
.depo { flex: 0 0 auto; height: 220px; width: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0,0,0,.1); scroll-snap-align: start; }
@media (max-width: 600px) { .depo { height: 170px; } }
/* Card final dos depoimentos: "+8.000 clientes" com link para o Instagram (mesma altura dos prints) */
.depo-mais { width: 240px; box-sizing: border-box; padding: 16px; background: var(--bg-dark); color: var(--text-light); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.depo-mais .obra-mais-num { font-size: 2.4rem; }
.depo-mais h3 { margin: .2rem 0 1rem; font-size: 1.1rem; color: var(--text-light); }
@media (max-width: 600px) { .depo-mais { width: 200px; } .depo-mais .obra-mais-num { font-size: 1.9rem; } .depo-mais h3 { margin-bottom: .6rem; font-size: 1rem; } .depo-mais .btn-insta { padding: 10px 14px; font-size: .75rem; } }
