:root {
  color-scheme: light;
  --ink: #06223c;
  --paper: #f8f7f3;
  --muted: #555750;
  --surface: #eeece4;
  --accent: #edbb59;
  --line: #d7d4ca;
  font-family: "Instrument Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #286e9e; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; transform: translateY(-150%); z-index: 2; padding: 12px; background: white; }
.skip:focus { transform: none; }
.header, .hero, .footer { background: var(--ink); color: var(--paper); }
.header { border-bottom: 1px solid #ffffff30; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 20px; }
.brand { display: inline-block; text-decoration: none; font-weight: 850; font-size: 28px; letter-spacing: .025em; line-height: 1; }
.brand small { display: block; margin-top: 5px; font-size: 10px; letter-spacing: .18em; }
.brand img { width: clamp(176px, 19vw, 218px); height: auto; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1.15fr 0.75fr; gap: 24px 42px; padding-block: 30px 24px; }
.footer-grid h2 { font-size: 1rem; letter-spacing: 0; color: var(--accent); }
.footer-grid p { max-width: 37ch; margin: 8px 0 0; }
.footer-grid ul { list-style: none; margin: 10px 0 0; padding: 0; }
.footer-grid li + li { margin-top: 5px; }
.footer .footer-nav { display: block; }
.footer-grid a { text-decoration: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 20px; padding-block: 12px; border-top: 1px solid #ffffff30; }
#footer-email { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer .footer-nav a { padding: 0; }
}
nav, .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
nav a { text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.button, #menu-button { min-height: 46px; display: inline-flex; gap: 12px; align-items: center; justify-content: center; border: 1px solid transparent; padding: 10px 17px; font-weight: 700; text-decoration: none; border-radius: 3px; cursor: pointer; }
.primary { background: var(--accent); color: #211a0f; }
.primary:hover { background: #f8ce7b; }
.outline, #menu-button { background: transparent; color: inherit; border-color: #ffffff65; }
.outline:hover, #menu-button:hover { background: #ffffff16; }
.dark { background: var(--ink); color: white; }
button:disabled { background: #e4e1d8; color: #59584f; cursor: default; }
.hero { overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(28px, 4vw, 55px); padding-block: 40px; }
.eyebrow { margin: 0 0 12px; color: #705019; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 800; }
.hero .eyebrow { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.25rem, 4.35vw, 4rem); letter-spacing: -.055em; max-width: 20ch; }
h2 { font-size: clamp(2rem, 4vw, 3.45rem); letter-spacing: -.045em; }
h3 { font-size: 1.35rem; letter-spacing: -.02em; }
.lead { color: #dfddd5; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 44ch; margin: 16px 0 22px; }
.hero-art { position: relative; overflow: hidden; min-height: 270px; background: repeating-linear-gradient(0deg, transparent 0 39px, #ffffff16 40px 41px), repeating-linear-gradient(90deg, transparent 0 39px, #ffffff16 40px 41px), #252827; border: 1px solid #ffffff30; }
.hero-art span { position: absolute; width: 55%; height: 60%; border: 1px solid #edbb59b3; background: #edbb5914; transform: skewY(-27deg); }
.hero-art span:nth-child(1) { left: 9%; top: 25%; }
.hero-art span:nth-child(2) { left: 21%; top: 17%; }
.hero-art span:nth-child(3) { left: 33%; top: 9%; }
.hero-photo { margin: 0; }
.hero-photo img { width: 100%; aspect-ratio: 16/9; object-fit: cover; object-position: center 42%; }
.hero.with-photo { position: relative; isolation: isolate; }
.with-photo .hero-grid { grid-template-columns: 1fr; padding-block: clamp(40px, 5vw, 68px) 54px; }
.with-photo .hero-photo { position: absolute; inset: 0; z-index: -1; }
.with-photo .hero-photo img { height: 100%; aspect-ratio: auto; object-position: center 45%; }
.with-photo .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #06223c 4%, #06223cf2 38%, #06223c66 100%); }
.with-photo figcaption { position: absolute; z-index: 1; bottom: 10px; right: max(20px, calc((100% - 1160px) / 2)); left: 20px; text-align: right; color: #fff; }
figcaption { margin-top: 8px; font-size: .88rem; }
.section { padding-block: clamp(34px, 4.2vw, 60px); }
#contratar, .region { padding-block: clamp(28px, 3.4vw, 46px); }
#servicos .cards { margin-top: 20px; }
#servicos .cards article { padding: clamp(14px, 1.5vw, 20px); }
#servicos .cards figure { margin-bottom: 12px; }
#servicos .cards p { margin-top: 10px; }
#gestao h2 { max-width: 25ch; }
.management-intro { max-width: 75ch; color: var(--muted); }
.gep-demo { max-width: 640px; margin: 20px 0 0; }
.gep-demo a { display: block; }
.gep-demo img { width: 100%; border: 1px solid var(--line); }
#experiencia .cards article { padding: 0; overflow: hidden; }
#experiencia .cards figure { margin: 0; }
#experiencia .cards figcaption { margin: 0; padding: 12px 14px; }
#experiencia .cards img { aspect-ratio: 16/10; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.cards article { padding: 25px; border: 1px solid var(--line); border-top: 4px solid #ac7627; background: #fffdf8; }
.cards p, .steps p { margin-bottom: 0; color: var(--muted); }
.cards figure { margin: 0 0 16px; }
.cards img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cards .service-photo img { aspect-ratio: 16/9; }
.service-photo figcaption { color: var(--muted); }
.service-photo img[src="imagens/estrutura.jpg"] { object-position: center 73%; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; aspect-ratio: 16/9; }
.cards .photo-pair img { height: 100%; min-height: 0; aspect-ratio: auto; }
.photo-pair img[src="imagens/reboco-externo.jpg"] { object-position: center 28%; }
.note { color: var(--muted); font-size: .93rem; }
.pale, .form { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { border-top: 1px solid #a19c8e; padding-top: 18px; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: #705019; font-weight: 800; display: block; margin-bottom: 12px; }
.region { background: #dfd8c7; }
.region .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 20px 36px; }
.region h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
.region p:not(.eyebrow) { margin-bottom: 0; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(25px, 6vw, 82px); align-items: start; }
.cities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.cities li { border: 1px solid #928972; padding: 8px 14px; font-weight: 650; }
.supplier { margin-top: 35px; border-top: 1px solid var(--line); padding-top: 22px; }
.form { padding: clamp(16px, 3vw, 32px); border: 1px solid var(--line); }
.form > p:first-child { margin-top: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.full { grid-column: 1 / -1; }
label { display: grid; align-content: start; gap: 5px; font-weight: 650; }
input, select, textarea { width: 100%; min-height: 44px; border: 1px solid #969185; border-radius: 3px; background: #fffdf9; color: var(--ink); padding: 8px; font-weight: 400; }
textarea { resize: vertical; }
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .header-row { flex-wrap: wrap; }
  nav { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 32px; }
  .hero-art { min-height: 160px; }
  .split { grid-template-columns: 1fr; }
  .region .split { grid-template-columns: 1fr; }
  .with-photo .hero-photo::after { background: linear-gradient(115deg, #06223cf5, #06223ca8); }
  .with-photo .hero-grid { padding-bottom: 64px; }
}
@media (max-width: 620px) {
  .cards, .steps, .fields { grid-template-columns: 1fr; }
  nav { flex-direction: column; align-items: stretch; gap: 4px; }
  nav a { padding: 9px 0; }
}
