:root {
  color-scheme: light;
  --black: #111111;
  --paper: #f6f5f2;
  --white: #ffffff;
  --red: #c51b29;
  --deep-red: #a80d20;
  --silver: #a7adb4;
  --ink-muted: #50545a;
  --line: #dcdad6;
  --gutter: clamp(1.25rem, 4.8vw, 5.25rem);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  color: var(--black);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #337df4; outline-offset: 4px; }
html { scroll-padding-top: 6rem; }
.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: 1rem; background: white; padding: .75rem; z-index: 20; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { background: #101010; color: white; border-bottom: 1px solid #363636; position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 1.25rem; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: 102px; height: 60px; object-fit: cover; object-position: center 47%; border-radius: 4px; }
.header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.35vw, 2.4rem); font-size: .94rem; font-weight: 600; }
.header nav > a:not(.button) { text-decoration: none; }
.header nav > a:not(.button):hover { text-decoration: underline; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 48px;
  padding: .7rem 1.2rem; border: 1px solid transparent; border-radius: 4px;
  font-weight: 700; font-size: .9375rem; line-height: 1.3; text-align: center; text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.primary { background: var(--red); color: white; }
.primary:hover { background: var(--deep-red); }
.outline { color: white; background: #10101073; border-color: #ffffff75; }
.outline:hover { background: #3b3b3b; }
.dark { background: #181818; color: white; }
.dark:hover { background: #393939; }
.menu-toggle { display: none; }
.hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: clamp(540px, 46vw, 710px); background: #161616; color: white; }
.hero-visual { position: absolute; inset: 0; z-index: -1; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 65% top; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #101010 1%, #101010f5 20%, #101010ca 37%, #10101032 67%, transparent 90%); }
.hero-credit, .service figcaption { position: absolute; z-index: 1; right: .8rem; bottom: .75rem; color: white; background: #171717; padding: .23rem .48rem; font-size: .75rem; border-radius: 2px; }
.hero-credit { right: var(--gutter); bottom: 1.05rem; }
.hero-copy { padding-block: 4rem; }
.eyebrow { color: #ffa4a9; font-size: .8125rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.eyebrow.red { color: var(--deep-red); }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.045em; font-weight: 800; }
h1 { font-size: clamp(3.6rem, 7.5vw, 7.5rem); }
h1 span { color: #ee4550; }
h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
.hero-description { max-width: 32ch; color: #ebebeb; font-size: clamp(1.05rem, 1.55vw, 1.28rem); margin-top: 1.35rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.proof { color: white; background: #222222; border-block: 1px solid #383838; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { padding: 1.2rem 1.5rem; border-left: 1px solid #414141; }
.proof-grid > div:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong, .proof-grid span { display: block; }
.proof-grid strong { font-size: clamp(1.25rem, 2.5vw, 1.875rem); letter-spacing: -.04em; }
.proof-grid span { color: #c9cbd0; font-size: .875rem; }
.proof-grid span span { display: inline; }
.section { padding-block: clamp(3.75rem, 7.4vw, 7.5rem); }
.intro { max-width: 60ch; color: var(--ink-muted); margin-top: .85rem; }
.catalog { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.service { display: flex; flex-direction: column; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 6px; overflow: clip; }
.service figure { position: relative; background: #272727; }
.service img { aspect-ratio: 8 / 5; width: 100%; object-fit: cover; }
.service-body { flex: 1; display: flex; flex-direction: column; gap: .7rem; align-items: flex-start; padding: clamp(1rem, 1.75vw, 1.4rem); }
.service-body p { color: var(--ink-muted); }
.service-body .benefit { font-weight: 600; color: #2a2b2d; margin-bottom: .4rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--deep-red); font-weight: 750; text-underline-offset: .25em; }
.text-link:hover { color: #75000f; }
.service .text-link { margin-top: auto; }
.service.compact { border-top: 3px solid #a7adb4; }
.about { background: #191919; color: white; }
.about-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.about figure { position: relative; border-radius: 6px; overflow: clip; background: #252525; }
.about img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: center 9%; }
.about figcaption { padding: .5rem .9rem; color: #e0e0e0; font-size: .875rem; }
.about p:not(.eyebrow), .quote-copy p:not(.eyebrow) { margin-top: 1rem; color: #d5d5d5; max-width: 49ch; }
.about .button { margin-top: 1.4rem; }
.gallery { display: grid; grid-template-columns: 1.55fr 1fr 1fr; grid-auto-rows: clamp(144px, 16vw, 245px); gap: .8rem; margin-top: 1.85rem; }
.photo { position: relative; display: block; padding: 0; border: 0; border-radius: 5px; overflow: clip; background: #222; color: white; }
.photo:first-child { grid-row: span 2; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.photo:hover img { transform: scale(1.035); }
.photo span { position: absolute; left: .7rem; bottom: .65rem; right: auto; max-width: calc(100% - 1.4rem); border-radius: 2px; padding: .27rem .52rem; background: #171717; font-size: .8125rem; text-align: left; }
.reviews { background: #eae8e4; padding-block: clamp(2rem, 4.5vw, 4rem); border-block: 1px solid var(--line); }
.review-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: center; }
.reviews strong { font-size: 1.35rem; }
.reviews p:not(.eyebrow) { color: var(--ink-muted); }
.quote { background: #161616; color: white; }
.quote-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(2rem, 6vw, 6.75rem); }
.quote-copy .privacy { font-size: .875rem; border-left: 3px solid var(--red); padding-left: .85rem; }
.form-card { background: var(--paper); color: var(--black); padding: clamp(1.15rem, 3vw, 2.5rem); border-radius: 6px; }
.test-mode { display: flex; align-items: center; gap: .55rem; width: fit-content; cursor: pointer; min-height: 44px; }
.test-mode input { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--deep-red); }
.hint { color: var(--ink-muted); font-size: .875rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; margin-block: 1.2rem; }
.fields .full { grid-column: 1 / -1; }
label { font-weight: 700; font-size: .9375rem; }
.fields input, .fields select, .fields textarea { display: block; width: 100%; min-height: 46px; padding: .5rem .65rem; margin-top: .3rem; border: 1px solid #777b7f; border-radius: 4px; background-color: white; color: #171717; }
.fields select { appearance: none; padding-right: 2rem; background-image: linear-gradient(45deg, transparent 50%, #333 50%), linear-gradient(135deg, #333 50%, transparent 50%); background-position: calc(100% - 16px) center, calc(100% - 11px) center; background-size: 5px 5px; background-repeat: no-repeat; }
.fields textarea { resize: vertical; }
.fields [aria-invalid="true"] { border: 2px solid var(--deep-red); }
.error { color: var(--deep-red); font-weight: 650; font-size: .875rem; margin-top: .2rem; }
.preview { margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
#texto-mensagem { white-space: pre-wrap; overflow-wrap: anywhere; background: #e9e8e4; padding: .85rem; border-radius: 4px; margin-block: .8rem; }
.preview .hint, .form-status:not(:empty) { margin-top: .65rem; }
.contact { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.6rem; align-items: start; }
.contact-list { display: grid; gap: .85rem; overflow-wrap: anywhere; }
.contact-list dt { font-size: .875rem; color: var(--ink-muted); }
.contact-list dd { font-weight: 650; }
.contact .hint { margin-top: .6rem; max-width: 24ch; }
.footer { background: #101010; color: #efefef; padding-block: 2.2rem 5rem; }
.footer-grid { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 1.2rem; align-items: start; }
.footer-grid nav, .footer-grid div { display: flex; flex-wrap: wrap; gap: .55rem 1rem; }
.footer a { text-underline-offset: .2em; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1rem; justify-content: space-between; border-top: 1px solid #444; margin-top: 1.5rem; padding-top: 1rem; color: #c4c7cc; font-size: .875rem; }
.floating { position: fixed; z-index: 4; bottom: max(.9rem, env(safe-area-inset-bottom)); right: max(.9rem, env(safe-area-inset-right)); color: white; background: #146642; border: 1px solid #89c6ac; border-radius: 100px; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem .95rem; font-size: .875rem; font-weight: 750; text-decoration: none; box-shadow: 0 3px 14px #0004; }
.floating:hover { background: #0b5132; }
body:has(#form-orcamento :is(input, textarea, select):focus) .floating { visibility: hidden; }
.lightbox { background: transparent; color: white; border: 0; padding: 1rem; max-width: min(95vw, 950px); max-height: 95dvh; overflow: auto; }
.lightbox::backdrop { background: #0a0a0aeb; }
.lightbox-inner { background: #161616; border: 1px solid #565656; border-radius: 6px; padding: .6rem; }
.lightbox img { width: 100%; height: auto; max-height: 69dvh; object-fit: contain; }
.lightbox button { min-width: 44px; min-height: 44px; color: white; background: #303030; border: 1px solid #727272; border-radius: 4px; font-size: 1.3rem; }
.lightbox .close { display: block; margin: 0 0 .55rem auto; }
.lightbox-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .65rem; padding-top: .6rem; text-align: center; }
.noscript { background: #fff3c2; color: #111; padding: 1rem; }
@media (max-width: 1050px) {
  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 840px) {
  .header-inner { min-height: 66px; flex-wrap: wrap; gap: 0 1rem; }
  .brand img { width: 88px; height: 52px; }
  .menu-toggle { display: flex; gap: .5rem; align-items: center; min-height: 44px; border: 1px solid #777; border-radius: 4px; padding: .4rem .7rem; color: white; background: #242424; }
  .header nav { width: 100%; display: grid; gap: 0; padding-bottom: .9rem; }
  .header nav > a:not(.button) { min-height: 44px; display: flex; align-items: center; border-top: 1px solid #373737; }
  .header nav .button { margin-top: .35rem; justify-self: start; }
  .quote-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 5rem; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-visual { position: relative; inset: auto; order: 2; }
  .hero-visual img { aspect-ratio: 1.59; object-position: right center; }
  .hero-visual::after { display: none; }
  .hero-copy { padding-block: 2.15rem 1.55rem; }
  .hero-credit { right: .6rem; bottom: .55rem; }
  h1 { font-size: clamp(3rem, 12vw, 4.4rem); }
  .hero-description { margin-top: .9rem; }
  .actions { margin-top: 1rem; }
  .actions .button { flex: 1 1 100%; }
  .proof-grid { grid-template-columns: 1fr; padding-block: .28rem; }
  .proof-grid > div, .proof-grid > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: .12rem .65rem; border-left: 0; padding: .55rem 0; }
  .proof-grid > div + div { border-top: 1px solid #414141; }
  .about-layout, .review-layout, .contact { grid-template-columns: 1fr; }
  .about-layout figure { order: 2; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(135px, 36vw); }
  .photo:first-child { grid-column: span 2; grid-row: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .floating { width: 50px; padding: 0; bottom: max(.55rem, env(safe-area-inset-bottom)); right: max(.45rem, env(safe-area-inset-right)); }
  .floating span { display: none; }
}
@media (max-width: 480px) {
  .catalog { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
