:root {
  --black: #0e0d0c;
  --coal: #171513;
  --coal-2: #221f1b;
  --gold: #c9a45c;
  --gold-light: #e8d3a3;
  --gold-deep: #7c5d1f;
  --steel: #aab1b6;
  --ivory: #efe9dc;
  --ivory-soft: #b9b2a3;
  --plaster: #e8e9e7;
  --plaster-deep: #d8dad8;
  --ink: #17140f;
  --muted: #54564f;
  --line: #c9cbc9;
  --gutter: max(5vw, calc((100vw - 1200px) / 2));
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Albert Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { 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; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.top :focus-visible, .hero :focus-visible, .works :focus-visible, .contact :focus-visible, .foot :focus-visible { outline-color: var(--gold-light); }
html { scrollbar-color: var(--gold-deep) var(--black); }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.2vw, 84px); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -0.01em; max-width: 16em; }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
h1 em, h2 em { font-style: normal; font-weight: 800; color: var(--gold); }
.services h2::after { content: ""; display: block; width: 168px; height: 8px; margin-top: 28px; border-top: 2px solid var(--steel); border-bottom: 2px solid var(--steel); }
.services h2 em, .reviews h2 em { color: var(--gold-deep); }
.lead { font-size: 19px; max-width: 34em; margin-top: 22px; color: var(--muted); text-wrap: pretty; }
.hero .lead, .contact .lead { color: var(--ivory-soft); }

/* Botões e links */
.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--gold); color: var(--black); font-weight: 700; text-decoration: none; padding: 13px 26px; border-radius: 4px; transition: background 0.2s, transform 0.2s; cursor: pointer; }
.btn:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn svg, .fab svg { width: 22px; height: 22px; fill: currentColor; }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn-sm { padding: 12px 18px; font-size: 15px; }
.link { display: inline-block; padding: 11px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.link:hover { color: var(--gold-deep); }
.hero .link:hover, .contact .link:hover { color: var(--gold-light); }

/* Cabeçalho */
.top { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--ivory); background: var(--black); transition: box-shadow 0.3s; }
.top.solid { box-shadow: 0 1px 0 rgba(201, 164, 92, 0.25); }
.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: 52px; height: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(201, 164, 92, 0.3); }
.brand b { display: block; font-family: var(--serif); font-weight: 700; font-size: 28px; line-height: 1; color: var(--gold); }
.brand small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-soft); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { padding: 10px 2px; text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ivory-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(--ivory); 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: a sanca de luz corre pelo teto da página */
.hero { position: relative; background: var(--black); color: var(--ivory); padding: 150px var(--gutter) 100px; overflow: hidden; }
.cove { position: absolute; top: 68px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-light) 18%, var(--gold-light) 82%, transparent); box-shadow: 0 10px 38px 6px rgba(201, 164, 92, 0.28); transform-origin: center; animation: cove 1.6s var(--ease) both; }
@keyframes cove { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
.hero::after { content: ""; position: absolute; inset: 70px 0 auto; height: 220px; background: linear-gradient(rgba(201, 164, 92, 0.1), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.proof { margin-top: 34px; font-size: 15px; color: var(--ivory-soft); }
.proof b { color: var(--ivory); }
.stars { color: var(--gold); letter-spacing: 2px; margin-right: 8px; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 40%; border-radius: 3px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.hero-photo figcaption { font-size: 15px; color: var(--ivory-soft); margin-top: 12px; }

/* Serviços: lista editorial */
.services { padding: 120px 0; }
.svc { margin-top: 64px; border-top: 1px solid var(--steel); }
.svc li { display: grid; grid-template-columns: 220px 1fr auto; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--steel); transition: background 0.25s, padding 0.3s var(--ease); }
.svc li:hover { background: var(--plaster-deep); padding-inline: 20px; }
.svc img { width: 220px; height: 150px; object-fit: cover; border-radius: 3px; }
.svc p { color: var(--muted); max-width: 36em; margin-top: 8px; }
.svc .link { color: var(--ink); white-space: nowrap; padding: 11px 10px; min-width: 44px; text-align: center; }

/* Obras */
.works { background: var(--coal); color: var(--ivory); padding: 120px var(--gutter); }
.work { margin-top: 56px; }
.work img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 62%; border-radius: 3px; }
.work figcaption { font-size: 15px; color: var(--ivory-soft); margin-top: 14px; max-width: 46em; }

/* Avaliações */
.reviews { padding: 120px 0; }
.score { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; color: var(--muted); }
.score b { font-family: var(--serif); font-size: 36px; color: var(--ink); line-height: 1; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 56px; }
.quotes blockquote { padding: 28px 0; border-top: 1px solid var(--steel); }
.quotes p { font-family: var(--serif); font-size: 21px; line-height: 1.45; text-wrap: pretty; }
.quotes footer { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--muted); }
.quotes .big { grid-column: 1 / -1; padding-bottom: 36px; }
.quotes .big p { font-size: clamp(26px, 3.2vw, 42px); max-width: 28em; }
.quotes blockquote:last-child { grid-column: 3; }

/* Contato */
.contact { background: var(--black); color: var(--ivory); padding: 120px var(--gutter); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.facts { display: grid; gap: 22px; }
.facts div { padding-bottom: 20px; border-bottom: 1px solid rgba(201, 164, 92, 0.3); }
.facts div:last-child { border: 0; }
.facts dt { font-size: 14px; font-weight: 600; color: var(--gold); margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--ivory); }
.facts a { display: inline-block; padding: 10px 0; text-decoration: none; }

.foot { background: var(--black); color: var(--ivory-soft); padding: 0 0 48px; }
.foot-bar { display: flex; align-items: center; gap: 24px; padding-top: 32px; border-top: 1px solid rgba(201, 164, 92, 0.2); font-size: 15px; }
.foot img { width: 64px; height: auto; border-radius: 3px; }

.fab { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--black); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
.fab { transition: transform 0.2s, opacity 0.25s; }
.fab.hide { opacity: 0; pointer-events: none; transform: translateY(12px); }
.fab:hover { transform: translateY(-2px); background: var(--gold-light); }
.fab svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  body { font-size: 16px; }
  .hero { padding: 120px var(--gutter) 72px; }
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo img { aspect-ratio: 4 / 3; }
  .services, .reviews { padding: 80px 0; }
  .works, .contact { padding: 80px var(--gutter); }
  .svc li { grid-template-columns: 1fr; gap: 16px; }
  .svc img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .svc li:hover { padding-inline: 0; background: none; }
  .svc .link { justify-self: start; padding-left: 0; text-align: left; }
  .work img { aspect-ratio: 4 / 3; }
  .quotes { grid-template-columns: 1fr; }
  .quotes blockquote:last-child { grid-column: auto; }
  .burger { display: block; }
  .nav { position: fixed; inset: 68px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); padding: 8px 5vw 24px; border-bottom: 1px solid rgba(201, 164, 92, 0.3); transform: translateY(-120%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0.35s; }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav .btn { justify-content: center; margin-top: 16px; padding: 14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cove { animation: none; }
  * { transition-duration: 0.01ms !important; }
}


.hero .wrap, .works .wrap, .contact .wrap { padding-left: 0; padding-right: 0; }
.foot a { display: inline-block; padding: 12px 0; }
