:root {
  color-scheme: light;
  --papel: #fff;
  --tinta: #141817;
  --suave: #4b5350;
  --verde: #172f26;
  --noite: #101b16;
  --linha: #dce1de;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', Arial, sans-serif;
  --espaco-topo: 85px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--espaco-topo); }
body, h1, h2, h3, p, figure { margin: 0; }
body { background: var(--papel); color: var(--tinta); font: 1.0625rem/1.65 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a26b34; outline-offset: 4px; }
.largura { width: min(100% - 96px, 1280px); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 8px 14px; background: #fff; translate: 0 -150%; }
.skip:focus { translate: none; }

.topo { position: sticky; top: 0; z-index: 3; background: var(--papel); border-bottom: 1px solid var(--linha); }
.barra { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 73px; }
.marca { display: inline-grid; flex: none; gap: 6px; line-height: 1.1; text-decoration: none; text-transform: uppercase; }
.marca strong { font: 1.24rem/1 var(--serif); letter-spacing: .07em; }
.marca span { font-size: .73rem; letter-spacing: .2em; }
nav { display: flex; align-items: center; gap: clamp(16px, 3.3vw, 44px); }
nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.nav-contato, .menu-botao { padding: 7px 17px; border: 1px solid var(--verde); }
.nav-contato:hover, .nav-contato[aria-current] { background: var(--verde); color: #fff; text-decoration: none; }
.menu-botao { min-height: 44px; background: #fff; color: var(--verde); font-weight: 650; cursor: pointer; }

.abertura { display: grid; grid-template-columns: 1.08fr minmax(0, .92fr); align-items: center; gap: clamp(35px, 6vw, 96px); padding-block: 62px 77px; }
.rotulo { margin-bottom: 13px; color: var(--verde); font-size: .83rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(3rem, 5.6vw, 5.8rem); line-height: .99; }
h1 em { color: var(--verde); font-weight: 400; }
h2 { font-size: clamp(2.45rem, 4.5vw, 4.65rem); }
h3 { margin-bottom: 20px; font-size: clamp(1.72rem, 3.3vw, 3rem); }
.trajetoria { max-width: 35rem; margin-top: 23px; padding-top: 16px; border-top: 1px solid var(--linha); color: var(--suave); font-size: 1rem; }
.experiencia { display: flex; flex-wrap: wrap; column-gap: 10px; margin-top: 12px; }
.experiencia strong { color: var(--tinta); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 21px; margin-top: 22px; }
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 18px; background: var(--verde); color: #fff; font-size: .98rem; font-weight: 650; text-align: center; text-decoration: none; transition: background .16s ease, color .16s ease; }
.botao:hover { background: #0b1913; }
.texto-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .98rem; font-weight: 650; text-underline-offset: 4px; }
.retrato { background: #ecedeb; box-shadow: 12px 12px 0 #e9edeb; }
.retrato img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }

.portfolio { padding-block: 48px 80px; border-top: 1px solid var(--linha); }
.secao-titulo { margin-bottom: 43px; }
.secao-titulo > p:last-child { margin-top: 13px; color: var(--suave); }
.projeto + .projeto, .reels { border-top: 1px solid var(--linha); margin-top: 40px; padding-top: 34px; }
.grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.detalhes { margin-top: 18px; }
.foto { display: block; overflow: hidden; background: #eaeeeb; }
a.foto { cursor: zoom-in; }
.foto img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
a.foto:hover img { transform: scale(1.025); }
.detalhes .foto img { aspect-ratio: 16/9; }
.grade figcaption { margin-top: 8px; color: var(--suave); font-size: .92rem; }
.grade-reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 326px), 1fr)); align-items: start; gap: 18px; margin: 0; padding: 0; list-style: none; }
.reel { min-width: 0; border: 1px solid var(--linha); background: #fff; }
.reel-incorporacao { margin: 0; padding: 0; }
.reel > iframe.instagram-media { display: block; width: 100% !important; min-width: 0 !important; max-width: 100% !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; }
.reel-previa { display: grid; align-content: center; justify-items: center; gap: 12px; min-height: 200px; padding: 20px; background: var(--noite); color: #fff; text-align: center; }
.reel-previa::before { content: ''; width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid currentColor; }
.reel-previa span { font-size: .94rem; font-weight: 600; }
.reel-link { display: grid; align-content: center; gap: 4px; min-height: 72px; padding: 10px 16px; border-top: 1px solid var(--linha); color: var(--verde); font-size: .94rem; line-height: 1.35; text-decoration: none; }
.reel-link span { color: var(--suave); font-size: .88rem; }
.reel-link:hover { background: #f1f5f2; }
.reel-link:hover span { text-decoration: underline; text-underline-offset: 4px; }
.reel-link:focus-visible { outline-offset: -4px; }

.estrutura { padding-block: 65px; border-block: 1px solid var(--linha); background: #f7f8f7; }
.estrutura-conteudo { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 7vw, 110px); }
.estrutura-conteudo p + p { margin-top: 14px; }
.servicos { padding-block: 58px 66px; }
.lista-servicos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 26px 0 0; padding: 0; list-style: none; }
.lista-servicos li { padding-top: 13px; border-top: 1px solid var(--linha); font-weight: 650; }
.contato { background: var(--noite); color: #fff; }
.contato .rotulo { color: #cfdfd5; }
.contato-conteudo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); align-items: center; gap: 35px; padding-block: 66px; }
.contato-conteudo h2 + p { margin-top: 14px; color: #e0e8e3; }
.contato-acoes { display: grid; gap: 11px; }
.contato-acoes .botao { display: grid; gap: 2px; min-height: 62px; line-height: 1.25; }
.contato-acoes span { font-size: .88rem; font-weight: 500; overflow-wrap: anywhere; }
.botao-claro { background: #fff; color: var(--noite); }
.botao-claro:hover { background: #e3ece6; }
.botao-contorno { border: 1px solid #b9cdc0; background: transparent; }
.botao-contorno:hover { background: #263c30; }
.rodape { border-top: 1px solid var(--linha); color: var(--suave); }
.rodape p { font-size: .92rem; }

dialog { width: min(92vw, 1300px); max-height: 94dvh; padding: 0; border: 1px solid #556158; background: var(--noite); color: #fff; }
dialog::backdrop { background: rgba(9, 16, 12, .86); }
body:has(dialog[open]) { overflow: hidden; }
.visualizador-conteudo { display: grid; gap: 10px; padding: 10px; }
.visualizador-topo, .visualizador-acoes { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.visualizador-topo p { font-size: .93rem; padding-left: 4px; }
dialog img { justify-self: center; width: auto; max-height: 72dvh; object-fit: contain; }
dialog button { min-width: 44px; min-height: 44px; padding: 5px 12px; border: 1px solid #819087; background: transparent; color: #fff; cursor: pointer; }
dialog button:hover { background: #365243; }
dialog .fechar { padding: 0; font-size: 1.75rem; line-height: 1; }

@media (max-width: 1000px) {
  .largura { width: calc(100% - 60px); }
  .abertura { gap: 30px; }
}

@media (max-width: 780px) {
  :root { --espaco-topo: 75px; }
  .largura { width: calc(100% - 40px); }
  .barra { min-height: 63px; gap: 12px; }
  .topo .barra { flex-wrap: wrap; }
  .marca strong { font-size: 1.03rem; }
  .marca span { font-size: .68rem; }
  nav { flex-wrap: wrap; gap: 4px 16px; }
  .menu-botao:not([hidden]) + nav { flex-basis: 100%; display: grid; gap: 0; padding-bottom: 9px; }
  .menu-botao:not([hidden]) + nav a { min-height: 46px; padding-inline: 8px; border: 0; border-top: 1px solid var(--linha); }
  .abertura { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 33px; padding-block: 23px 43px; }
  .retrato { grid-row: 1; width: min(100% - 8px, 480px); box-shadow: 8px 8px 0 #e9edeb; }
  h1 { font-size: clamp(2.65rem, 8.2vw, 4.5rem); }
  .trajetoria { margin-top: 17px; padding-top: 14px; }
  .acoes { margin-top: 19px; }
  .portfolio { padding-block: 33px 47px; }
  .secao-titulo { margin-bottom: 28px; }
  .grade { gap: 12px; }
  .grade figcaption { font-size: .875rem; line-height: 1.35; }
  .foto img, .detalhes .foto img { aspect-ratio: 1; }
  .grade-reels { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
  .estrutura { padding-block: 39px; }
  .servicos { padding-block: 37px 43px; }
  .lista-servicos { grid-template-columns: 1fr; gap: 13px; margin-top: 21px; }
  .estrutura-conteudo, .contato-conteudo { grid-template-columns: 1fr; gap: 19px; }
  .contato-conteudo { padding-block: 43px; }
  .contato-acoes { width: min(100%, 340px); }
  .rodape .barra { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 18px; }
  dialog img { max-height: 64dvh; }
}

@media (max-width: 420px) {
  .acoes { flex-direction: column; align-items: stretch; }
  .acoes .texto-link { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
