
:root {
  --preto: #05080e; --marinho: #0a1730; --marinho2: #0e2147; --linha: rgba(143, 180, 255, .18);
  --azul: #3f7be0; --azul2: #8fb4ff; --prata: #c9d3e3; --branco: #f4f7fc; --mute: rgba(226, 233, 246, .68);
  --metal: linear-gradient(135deg, #5b82c4 0%, #cfe0ff 46%, #6d8fcf 100%);
  --titulo: "Sora", "Segoe UI", sans-serif; --texto: "Manrope", "Segoe UI", sans-serif;
  --m: clamp(20px, 5.5vw, 84px); --sec: clamp(72px, 9vw, 128px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--preto); color: var(--branco); font-family: var(--texto); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--m); }
.sec { padding: var(--sec) 0 0; }
.sup { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--azul2); }
.sup::before { content: ""; width: 28px; height: 2px; background: var(--metal); }
.tit { font-size: clamp(2rem, 3.8vw, 3.3rem); margin-top: 14px; max-width: 20ch; }
.lead { color: var(--mute); margin-top: 16px; max-width: 34rem; }
.nota-esb { display: inline-block; border: 1px dashed rgba(143, 180, 255, .55); color: var(--azul2); font-size: .78rem; letter-spacing: .06em; padding: 4px 12px; border-radius: 999px; }

/* botões */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 28px; border-radius: 10px; font: 600 .98rem var(--texto); text-decoration: none; white-space: nowrap; transition: transform .2s, filter .2s; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--zap { background: linear-gradient(135deg, #2f6bd6, #5b95ff); color: #fff; box-shadow: 0 10px 30px rgba(47, 107, 214, .35); }
.btn--vazado { border: 1px solid rgba(201, 211, 227, .4); color: var(--branco); }
.btn--claro { background: var(--branco); color: #0a1730; }
.botoes { display: flex; flex-wrap: wrap; gap: 14px; }

/* topo */
.nav { z-index: 30; border-bottom: 1px solid var(--linha); background: rgba(5, 8, 14, .9); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav__logo img { height: 58px; width: auto; }
.nav__links { display: flex; gap: 30px; font-size: .92rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--mute); }
.nav__links a.on { color: var(--branco); }
.nav .btn { height: 46px; padding: 0 20px; font-size: .9rem; border-radius: 8px; }

/* capa */
.capa { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 80% 40%, rgba(63, 123, 224, .30), rgba(5, 8, 14, 0) 70%), var(--preto); }
.capa::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--linha) 1px, transparent 1px), linear-gradient(90deg, var(--linha) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 80% at 75% 45%, #000, transparent 75%); mask-image: radial-gradient(60% 80% at 75% 45%, #000, transparent 75%); opacity: .55; }
.capa__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); }
.capa h1 { font-size: clamp(2.4rem, 4.8vw, 4.4rem); margin: 18px 0 22px; }
.capa h1 span { background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.capa .lead { font-size: 1.12rem; }
.capa .botoes { margin-top: 32px; }
.faixa { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 36px; color: var(--mute); font-size: .92rem; }
.faixa span { display: inline-flex; align-items: center; gap: 9px; }
.faixa span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--azul); }
.vitrine { position: relative; height: 560px; }
.fx { position: absolute; border-radius: 12px; overflow: hidden; border: 1px solid rgba(201, 211, 227, .35); box-shadow: 0 30px 70px rgba(0, 0, 0, .55); background: #111; }
.fx img { width: 100%; height: 100%; object-fit: cover; }
.fx i { position: absolute; left: 12px; bottom: 12px; font-style: normal; font-size: .78rem; font-weight: 600; background: rgba(5, 8, 14, .78); border: 1px solid var(--linha); padding: 5px 12px; border-radius: 999px; }
.fx--a { width: 300px; height: 500px; right: 140px; top: 20px; z-index: 2; }
.fx--b { width: 215px; height: 330px; right: 0; top: 0; }
.fx--c { width: 215px; height: 330px; right: 20px; top: 210px; z-index: 3; }

/* serviços */
.servs { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.serv { border: 1px solid var(--linha); border-radius: 14px; padding: 30px 28px 30px; background: linear-gradient(165deg, rgba(14, 33, 71, .7), rgba(10, 23, 48, .35)); transition: border-color .2s, transform .2s; }
.serv:hover { border-color: rgba(143, 180, 255, .5); transform: translateY(-3px); }
.tambem { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; border-top: 1px solid var(--linha); padding-top: 24px; }
.tambem b { font-family: var(--titulo); font-size: 1rem; }
.tambem ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tambem li { border: 1px solid var(--linha); border-radius: 999px; padding: 7px 15px; font-size: .9rem; background: rgba(63, 123, 224, .1); }
.ico { width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--linha); display: grid; place-items: center; margin-bottom: 20px; background: rgba(63, 123, 224, .12); }
.ico svg { width: 26px; height: 26px; stroke: var(--azul2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.serv h3 { font-size: 1.28rem; }
.serv p { margin-top: 10px; color: var(--mute); font-size: .96rem; }

/* como funciona */
.etapas { margin-top: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.passos { display: grid; gap: 0; border-top: 1px solid var(--linha); }
.passo { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--linha); }
.passo b { font-family: var(--titulo); font-size: 1.8rem; font-weight: 600; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2; }
.passo h3 { font-size: 1.2rem; }
.passo p { margin-top: 6px; color: var(--mute); font-size: .96rem; }
.mestre { border: 1px dashed rgba(143, 180, 255, .55); border-radius: 16px; min-height: 380px; display: grid; place-items: center; text-align: center; padding: 28px; background: repeating-linear-gradient(135deg, rgba(63, 123, 224, .07) 0 12px, transparent 12px 24px); }
.mestre svg { width: 120px; height: 120px; stroke: var(--azul2); fill: none; stroke-width: 1.4; opacity: .8; margin: 0 auto 14px; }
.mestre b { display: block; font-family: var(--titulo); font-size: 1.3rem; }
.mestre span { display: block; margin-top: 6px; color: var(--mute); font-size: .92rem; }

/* projetos */
.proj { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.comp { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); aspect-ratio: 416 / 560; background: #111; }
.comp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.comp .depois { clip-path: inset(0 0 0 50%); }
.comp .alca { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 16px rgba(143, 180, 255, .8); }
.comp .alca::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0a1730; display: grid; place-items: center; font-weight: 700; letter-spacing: 3px; }
.comp .t { position: absolute; top: 14px; font-size: .78rem; font-weight: 600; background: rgba(5, 8, 14, .78); border: 1px solid var(--linha); padding: 5px 12px; border-radius: 999px; z-index: 2; }
.comp .t1 { left: 14px; } .comp .t2 { right: 14px; }
.projinfo { padding: 18px 4px 0; }
.projinfo h3 { font-size: 1.3rem; }
.projinfo p { color: var(--mute); margin-top: 6px; font-size: .95rem; }
.mais { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mais figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--linha); aspect-ratio: 4 / 5; }
.mais img { width: 100%; height: 100%; object-fit: cover; }
.mais figcaption { position: absolute; left: 14px; bottom: 14px; font-size: .84rem; font-weight: 600; background: rgba(5, 8, 14, .8); border: 1px solid var(--linha); padding: 6px 14px; border-radius: 999px; }

/* sobre e avaliações */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.sobre p { color: var(--mute); margin-top: 18px; max-width: 32rem; }
.sobre p + p { margin-top: 12px; }
.sobre .selos { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.sobre .selos span { border: 1px solid var(--linha); border-radius: 999px; padding: 8px 16px; font-size: .9rem; background: rgba(63, 123, 224, .1); }
.aval { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aval div { border: 1px dashed rgba(143, 180, 255, .5); border-radius: 14px; padding: 28px; min-height: 190px; display: flex; flex-direction: column; gap: 12px; background: rgba(14, 33, 71, .25); }
.aval .est { color: var(--azul2); letter-spacing: 3px; }
.aval p { color: var(--mute); font-size: .96rem; }

/* contato */
.fecha { margin-top: var(--sec); position: relative; overflow: hidden; background: radial-gradient(60% 120% at 20% 0%, rgba(63, 123, 224, .35), rgba(5, 8, 14, 0) 70%), var(--marinho); border-top: 1px solid var(--linha); padding: clamp(64px, 8vw, 110px) 0 0; }
.fecha__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.fecha h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); max-width: 14ch; }
.contato { display: grid; border-top: 1px solid var(--linha); }
.contato div { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--linha); }
.contato dt { color: var(--azul2); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.contato dd { margin: 0; color: var(--branco); }
.rodape { margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--linha); padding: 28px 0 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: rgba(226, 233, 246, .5); font-size: .85rem; }
.rodape img { height: 52px; width: auto; }

@media (max-width: 1023px) {
  .nav__links { display: none; }
  .capa__grid, .etapas, .sobre, .fecha__top { grid-template-columns: 1fr; }
  .vitrine { height: 470px; max-width: 560px; margin: 0 auto; width: 100%; }
  .fx--a { right: 33%; } .fx--b { width: 28%; height: 290px; } .fx--c { width: 28%; height: 290px; top: 180px; right: 4%; }
  .servs, .aval, .mais { grid-template-columns: 1fr 1fr; }
  .proj { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  body { font-size: 16px; }
  .nav__in { height: 68px; }
  .nav__logo img { height: 46px; }
  .nav .btn { height: 42px; padding: 0 14px; font-size: .84rem; }
  .capa .botoes .btn { width: 100%; justify-content: center; }
  .vitrine { height: 400px; }
  .fx--a { width: 52%; height: 360px; right: 40%; top: 14px; }
  .fx--b { width: 38%; height: 190px; right: 0; top: 0; }
  .fx--c { width: 38%; height: 190px; right: 2%; top: 170px; }
  .servs, .aval, .mais { grid-template-columns: 1fr; }
  .passo { grid-template-columns: 52px 1fr; }
  .contato div { grid-template-columns: 1fr; gap: 2px; }
  .rodape { flex-direction: column; align-items: flex-start; }
  .fecha .btn { width: 100%; justify-content: center; }
}

/* ---- site final ---- */
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
.nav { position: sticky; top: 0; backdrop-filter: blur(10px); background: rgba(5, 8, 14, .88); }
.nav__links a:hover { color: var(--branco); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--linha); background: transparent; color: var(--branco); cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn--vazado:hover { border-color: var(--azul2); }
.flutua { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #25a244, #3ad06a); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); }
.flutua svg { width: 30px; height: 30px; fill: #fff; }
.comp { cursor: ew-resize; touch-action: pan-y; user-select: none; }
.comp .depois { clip-path: inset(0 0 0 var(--pos, 50%)); }
.comp .alca { left: var(--pos, 50%); transform: translateX(-1px); }
.comp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.comp:focus-within { outline: 2px solid var(--azul2); outline-offset: 3px; }
.passos--2 { grid-template-columns: 1fr 1fr; column-gap: 56px; }
@media (max-width: 1023px) { .passos--2 { grid-template-columns: 1fr; } }
.sobre .mestre a { color: var(--azul2); text-decoration: none; font-weight: 600; }
.sobre .btn { margin-top: 16px; }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .rv.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .rv { opacity: 1; transform: none; transition: none; } * { transition: none !important; } }
@media (max-width: 1023px) {
  .menu-btn { display: block; }
  .nav .btn { display: none; }
  .nav__links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 10px var(--m) 18px; background: rgba(5, 8, 14, .97); border-bottom: 1px solid var(--linha); }
  .nav__links.aberto { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--linha); font-size: 1.02rem; }
}
@media (max-width: 639px) { .flutua { right: 14px; bottom: 14px; } }
/* fotos menores e capa em destaque */
.vitrine { height: 470px; }
.fx--a { width: 250px; height: 440px; right: 130px; top: 14px; border-color: rgba(143, 180, 255, .75); box-shadow: 0 0 0 4px rgba(63, 123, 224, .22), 0 30px 70px rgba(0, 0, 0, .55); }
.fx--b { width: 170px; height: 262px; right: 0; top: 0; }
.fx--c { width: 170px; height: 262px; right: 14px; top: 196px; }
.proj { max-width: 820px; margin-left: auto; margin-right: auto; gap: 22px; }
.mais-tit { margin-top: 56px; font-size: 1.5rem; }
.galeria { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.galeria figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--linha); aspect-ratio: 4 / 5; background: #111; }
.galeria figure.larga { grid-column: span 2; aspect-ratio: auto; }
.galeria img { width: 100%; height: 100%; object-fit: cover; }
.galeria figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; font-size: .74rem; font-weight: 600; line-height: 1.25; background: rgba(5, 8, 14, .82); border: 1px solid var(--linha); padding: 6px 10px; border-radius: 8px; }
@media (max-width: 1023px) {
  .vitrine { height: 400px; max-width: 520px; }
  .fx--a { width: 46%; height: 370px; right: 36%; }
  .fx--b { width: 30%; height: 220px; right: 0; }
  .fx--c { width: 30%; height: 220px; right: 4%; top: 170px; }
  .galeria { grid-template-columns: repeat(3, 1fr); }
  .proj { max-width: 560px; }
}
@media (max-width: 639px) {
  .vitrine { height: 330px; }
  .fx--a { width: 48%; height: 300px; right: 38%; }
  .fx--b { width: 32%; height: 170px; right: 0; }
  .fx--c { width: 32%; height: 170px; right: 2%; top: 140px; }
  .galeria { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .galeria figure.larga { grid-column: span 2; }
}
