:root {
  --plaster: #e8eaec;
  --plaster-deep: #dadde0;
  --ink: #0f1113;
  --graphite: #15181b;
  --graphite-2: #1e2226;
  --muted: #4b5258;
  --line: #c4c9ce;
  --glow: #5cbcf0;
  --brass: #1e9be0;
  --brass-deep: #1583c0;
  --brass-ink: #0f1113;
  --on-dark: #eef1f3;
  --on-dark-soft: #a9b0b6;
  --gutter: max(5vw, calc((100vw - 1200px) / 2));
  --serif: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --sans: "Schibsted Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font: 400 17px/1.6 var(--sans); color: var(--ink); background: var(--plaster); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ol, ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--brass-deep); outline-offset: 3px; }
.dark :focus-visible, .top :focus-visible, .hero :focus-visible { outline-color: var(--glow); }

.wrap { padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 800; text-transform: uppercase; letter-spacing: 0; line-height: 1.04; }
h1 { font-size: clamp(56px, 8.6vw, 96px); }
h2 { font-size: clamp(42px, 5.6vw, 76px); }
h1 em, h2 em { font-style: normal; background: var(--brass); color: var(--ink); padding: 0 0.14em; margin: 0 -0.04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 19px; max-width: 34em; margin-top: 24px; color: var(--muted); }
.hero .lead, .dark .lead { color: var(--on-dark-soft); }

/* Botões e links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--brass); color: var(--ink); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 999px; transition: background 0.2s, transform 0.2s; cursor: pointer; }
.btn:hover { background: var(--glow); transform: translateY(-1px); }
.btn svg { width: 22px; height: 22px; fill: currentColor; }
.btn-lg { padding: 17px 32px; font-size: 18px; }
.btn-sm { padding: 9px 20px; font-size: 15px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--brass-deep); }
.dark .link:hover, .hero .link:hover { color: var(--glow); }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--on-dark); transition: background 0.3s, box-shadow 0.3s; }
.top.solid { background: rgba(15, 17, 19, 0.94); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); backdrop-filter: blur(8px); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 34px; height: 34px; border-radius: 8px; background: var(--ink) url("assets/favicon.svg") center / cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); }
.brand b { font-family: var(--serif); font-weight: 800; text-transform: uppercase; font-size: 28px; line-height: 0.9; letter-spacing: 0.02em; }
.brand small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-soft); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--on-dark-soft); }
.nav a:not(.btn):hover { color: #fff; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--on-dark); transition: transform 0.25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(160deg, #23282d 0%, var(--graphite) 45%, #0f1113 100%); color: var(--on-dark); padding: 140px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; min-height: 560px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.proof { margin-top: 36px; font-size: 15px; color: var(--on-dark-soft); }
.proof b { color: var(--on-dark); }
.status { margin-top: 10px; font-size: 15px; color: var(--on-dark-soft); }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--on-dark-soft); margin-right: 8px; vertical-align: 1px; }
.status.open { color: var(--on-dark); }
.status.open::before { background: #5fd38a; }
.stars { color: var(--brass); letter-spacing: 2px; margin-right: 6px; }

/* Teto com rasgos de luz */
.ceiling { position: relative; height: 480px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; padding: 30px 0; perspective: 900px; }
.ceiling i { display: block; width: var(--w); height: 30px; border-radius: 3px; background: linear-gradient(#ffffff, #ecefe6); transform: rotateX(18deg) skewY(-5deg); transform-origin: right center; box-shadow: 0 0 0 7px #0f1113, 0 0 0 8px rgba(255, 255, 255, 0.08), 0 34px 50px -14px rgba(255, 255, 255, 0.16); opacity: 0.32; filter: saturate(0.5); }
.ceiling i { animation: on 1.1s var(--d) cubic-bezier(0.3, 0, 0.2, 1) forwards; }
@keyframes on { to { opacity: 1; filter: none; } }

/* Seções */
.section { padding: 120px 0; }
.head { max-width: 760px; margin-bottom: 64px; }
.dark { background: var(--graphite); color: var(--on-dark); }

/* Serviços */
.services { border-top: 1px solid var(--ink); }
.services li { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding 0.25s, background 0.25s; }
.services li:hover { padding-left: 16px; background: var(--plaster-deep); }
.services h3 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 700; }
.services p { color: var(--muted); margin-top: 8px; max-width: 40em; }
.services a { font-weight: 700; text-decoration: none; white-space: nowrap; padding: 10px 4px; cursor: pointer; }
.services a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Obra */
.obra { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.photo { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.6); }
.photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }
.steps { counter-reset: s; margin: 40px 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-weight: 800; font-size: 52px; line-height: 0.9; color: var(--glow); }
.steps b { font-size: 19px; }
.steps span { color: var(--on-dark-soft); }

/* Avaliações do Google */
.rating-sum { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin: -24px 0 40px; }
.rating-sum .big { font-family: var(--serif); font-weight: 800; font-size: 88px; line-height: 0.9; }
.rating-sum p { color: var(--muted); font-size: 16px; }
.rating-sum .rstars { font-size: 22px; }
.rating-sum .link { margin-left: auto; }
.rstars { color: var(--brass-deep); letter-spacing: 3px; line-height: 1; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.review.wide { grid-column: span 2; background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.review header { display: flex; align-items: center; gap: 14px; }
.review header b { display: block; font-size: 16px; line-height: 1.25; }
.review header small { color: var(--muted); font-size: 14px; }
.review.wide header small { color: var(--on-dark-soft); }
.review .av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.review.wide .av { background: var(--brass); color: var(--ink); }
.review.wide .rstars { color: var(--glow); }
.review p:last-child { font-size: 17px; line-height: 1.55; }

/* Contato */
.contact { background: var(--graphite-2); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.contact .btn { margin-top: 36px; }
.info { display: grid; gap: 36px; padding-top: 8px; }
.info dt { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 10px; }
.info dd { font-size: 20px; margin-bottom: 14px; }
.info .row { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); padding: 7px 0; font-size: 18px; }
.info .tel { font-family: var(--serif); font-weight: 700; font-size: 34px; letter-spacing: 0.02em; text-decoration: none; }
.info .tel:hover { color: var(--glow); }
.info .row i { font-style: normal; color: var(--on-dark-soft); }

.foot { background: #0c0e10; color: var(--on-dark-soft); font-size: 15px; padding: 32px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.foot a { color: var(--on-dark); }

/* WhatsApp flutuante */
.fab { position: fixed; right: 20px; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--brass); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); transition: transform 0.2s; }
.fab:hover { transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; fill: currentColor; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s, transform 0.7s; }
.js .reveal.in { opacity: 1; transform: none; }

/* Mobile */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: flex-start; gap: 0; background: var(--ink); padding: 8px var(--gutter) 24px; transform: translateY(-120%); visibility: hidden; transition: transform 0.3s, visibility 0.3s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav .btn { margin-top: 18px; }
  .hero { padding: 108px 0 64px; }
  .hero-grid, .obra, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 20px; }
  .ceiling { height: 260px; padding: 16px 0; }
  .ceiling i { height: 18px; }
  .section { padding: 80px 0; }
  .head { margin-bottom: 40px; }
  .services li { grid-template-columns: 1fr; gap: 14px; }
  .services li a { justify-self: start; padding: 9px 18px; border: 1px solid var(--ink); border-radius: 999px; }
  .services li:hover { padding-left: 0; background: none; }
  .photo { max-width: 420px; }
  .reviews { grid-template-columns: 1fr; }
  .review.wide { grid-column: auto; }
  .rating-sum { margin-top: 0; }
  .rating-sum .link { margin-left: 0; }
  .fab { right: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .foot { padding-bottom: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ceiling i { animation: none; opacity: 1; filter: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
