:root {
  color-scheme: light;
  --orange: #ff7900;
  --ink: #262626;
  --paper: #fff;
  --black: #060606;
  --sans: Lato, Arial, sans-serif;
  --serif: Merriweather, Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #bc5200; outline-offset: .25rem; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, figure { margin-top: 0; }
h1, h2 { font-family: var(--serif); line-height: 1.2; text-wrap: balance; }
h1, h2 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { max-width: 70ch; }
.wrap { width: min(100% - 3rem, 1120px); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { top: .6rem; left: .6rem; width: auto; height: auto; clip-path: none; z-index: 5; background: #fff; padding: .5rem 1rem; }
.site-header, .site-footer { background: var(--black); color: #fff; }
.header-inner { min-height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.logo { width: 129px; }
.main-nav ul, .site-footer ul { display: flex; flex-wrap: wrap; gap: 1rem 1.9rem; padding: 0; margin: 0; list-style: none; }
.main-nav a { font-size: 1.17rem; letter-spacing: .055em; text-decoration: none; }
.main-nav a:hover, .main-nav [aria-current] { color: var(--orange); }
.menu-toggle { align-items: center; justify-content: center; background: var(--orange); color: var(--black); border: 2px solid #fff; border-radius: 3px; width: 44px; height: 44px; }
.hero {
  position: relative; isolation: isolate; display: grid; place-items: center;
  min-height: clamp(580px, calc(100svh - 150px), 820px); background: #252525 url('/assets/img/capa.webp') center / cover no-repeat;
  color: #fff; text-align: center;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / .52); z-index: -1; }
.hero-video { position: absolute; z-index: -2; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.hero-content { padding-block: 3.5rem; animation: entrance .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes entrance { from { opacity: .5; transform: translateY(16px); } }
.hero h1 { font: 300 clamp(1.85rem, 3vw, 2.45rem)/1.22 var(--sans); letter-spacing: .065em; text-transform: uppercase; margin: 3rem auto; }
.service-labels { display: flex; justify-content: center; margin: 0 auto; padding: 0; list-style: none; }
.service-labels li { max-width: 220px; flex: 1; padding-inline: 1rem; font-size: 1rem; line-height: 1.35; letter-spacing: .08em; font-weight: 900; text-transform: uppercase; }
.service-labels li + li { border-inline-start: 3px double currentColor; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.7rem; border: 2px solid var(--orange); color: #141414; background: var(--orange); text-decoration: none; text-transform: uppercase; font-size: .88rem; font-weight: 900; transition: background .2s, color .2s; }
.button:hover { background: #ffad5c; border-color: #ffad5c; }
.button-outline { border-color: currentColor; background: transparent; color: inherit; }
.button-outline:hover { background: #fff; color: var(--black); border-color: #fff; }
.video-toggle { position: absolute; bottom: .65rem; left: 1rem; padding: .4rem .7rem; border: 1px solid #fff8; color: #fff; background: #0009; font-size: .8rem; }
.about { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); }
.about h2 { text-transform: uppercase; margin-bottom: .5rem; }
.since { font-weight: 700; margin-bottom: 1.4rem; }
.about img { margin-inline: auto; max-height: 580px; object-fit: contain; }
.reading p { font-size: 1.08rem; }
.projects, .callout { text-align: center; color: #fff; background: #262626; }
.projects p { margin: 0 auto 1.5rem; }
.callout { background: #131313; }
.portfolio > h1 { text-align: center; }
.service-band { background: #262626; color: #fff; padding: 1.5rem .4rem; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin: 2rem 0; }
.filters button { padding: .5rem .85rem; min-height: 44px; background: #fff; border: 1px solid #b8b8b8; color: var(--ink); }
.filters button[aria-pressed="true"] { border-color: #131313; background: #131313; color: #fff; }
.photo-group h2 { margin: 2rem 0 1rem; font-size: 1.5rem; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; }
.photo { overflow: hidden; background: #dedbd6; }
.photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .3s ease; }
.photo:hover img { transform: scale(1.045); }
.photo-viewer { width: min(1100px, 96vw); max-width: none; max-height: 95dvh; overflow: auto; border: 0; color: #fff; background: #131313; padding: 3.3rem 3rem 1.2rem; }
.photo-viewer::backdrop { background: #000d; }
.photo-viewer figure { margin: 0; text-align: center; }
.photo-viewer img { margin: auto; max-height: 74dvh; width: 100%; object-fit: contain; }
.photo-viewer figcaption { margin-top: .7rem; }
.photo-viewer button { position: absolute; display: grid; place-items: center; min-width: 44px; min-height: 44px; color: #fff; background: #141414; border: 1px solid #fff5; }
.viewer-close { top: .35rem; right: .35rem; font-size: 1.5rem; }
.viewer-prev, .viewer-next { top: 50%; transform: translateY(-50%); }
.viewer-prev { left: .2rem; }
.viewer-next { right: .2rem; }
.photo-viewer button:disabled { opacity: .4; cursor: default; }
.contact-hero { display: grid; align-items: center; min-height: 280px; color: #fff; background: linear-gradient(#0008,#0008),#333 url('/assets/img/contato.webp') center / cover; }
.contact-hero h1 { font-size: clamp(2.6rem, 7vw, 3.75rem); margin-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 3rem; }
.contact-grid ul { list-style: none; padding: 0; }
.contact-grid li + li { margin-top: .45rem; }
.contact-map { display: block; width: 100%; height: 495px; border: 0; filter: grayscale(1); transition: filter 1.2s; }
.contact-map:is(:hover, :focus) { filter: grayscale(0); }
@media (max-width: 767px) {
  .contact-map { height: 250px; }
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 2.1rem; }
.site-footer a { font-size: .9rem; }
.site-footer a:hover { color: var(--orange); }
@media (max-width: 800px) {
  .header-inner { min-height: 130px; position: relative; flex-wrap: wrap; gap: 1rem; padding-block: 1rem; }
  .logo { width: 105px; }
  .menu-toggle:not([hidden]) { display: flex; }
  .main-nav { width: 100%; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: .6rem 0; }
  .header-inner.has-menu .main-nav { display: none; }
  .header-inner.has-menu .main-nav.open { display: block; }
  .hero { min-height: clamp(570px, 73svh, 720px); }
  .hero-content { width: min(100% - 2rem, 35rem); }
  .hero h1 { margin-block: 2rem; }
  .desktop-break { display: none; }
  .service-labels li { padding-inline: .35rem; font-size: clamp(.63rem, 2vw, .85rem); }
  .actions { flex-direction: column; align-items: center; gap: .8rem; }
  .about, .contact-grid { grid-template-columns: 1fr; }
  .about img { max-height: 360px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

.whatsapp-float {
  position: fixed;
  z-index: 3;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #087d50;
  color: #fff;
  box-shadow: 0 4px 14px rgb(0 0 0 / .28);
  transition: background .2s, transform .2s;
}
.whatsapp-float:hover { background: #066340; transform: translateY(-2px); }
.whatsapp-float:focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px #08623f; }
@media (max-width: 800px) {
  .footer-inner { padding-right: 3.5rem; }
}
