/* Fonte: Archivo (licença OFL), variável em peso e largura.
   Títulos usam a versão larga, que conversa com a logo; o texto usa a largura normal. */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Paleta e medidas: ajuste tudo por aqui. Cores tiradas da logo. */
:root {
  --ocre: #d4991a;          /* "M" da logo: botões, faixa e destaques */
  --ocre-claro: #e2aa33;    /* hover dos botões */
  --ocre-escuro: #8a5e00;   /* links e detalhes em ocre sobre fundo claro */
  --preto: #000;            /* "N" e lança da logo: títulos e texto */
  --branco: #fff;
  --asfalto: #e4e6e7;       /* fundo das seções alternadas */
  --texto-2: #4a4e53;       /* texto secundário */
  --linha: #c5c9cc;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --largo: 125%;            /* largura dos títulos */
  --raio: 4px;              /* só nos botões; fotos e blocos ficam retos */
  --max: 76rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--preto);
  background: var(--branco);
  -webkit-text-size-adjust: 100%;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ocre-escuro); text-underline-offset: .15em; }
a:hover { color: var(--preto); }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0 0 .6em; font-stretch: var(--largo); line-height: 1.12; }
::selection { background: var(--ocre); color: var(--preto); }
:focus-visible { outline: 3px solid var(--preto); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 48rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--preto); color: var(--branco); padding: .5rem 1rem; }
.skip:focus { left: 0; z-index: 30; }

/* Escala tipográfica (14 · 18 · 21 · 36 · 48) */
h1 { font-size: clamp(2rem, 1.6vw + 1.2rem, 2.875rem); font-weight: 760; }
h2 { font-size: clamp(1.6rem, 2.4vw + .6rem, 2.25rem); font-weight: 740; }
h3 { font-size: 1.3125rem; font-weight: 700; font-stretch: 110%; }
.lead { font-size: 1.3125rem; line-height: 1.5; color: var(--texto-2); max-width: 34rem; margin: 0 0 1.75rem; }
.section-lead { color: var(--texto-2); max-width: 40rem; margin-bottom: 2.25rem; }

/* Botões */
.btn {
  display: inline-block; cursor: pointer; font: inherit; font-weight: 700; font-stretch: 108%;
  background: var(--ocre); color: var(--preto);
  border: 2px solid var(--ocre); border-radius: var(--raio);
  padding: .8rem 1.35rem; text-decoration: none; text-align: center; line-height: 1.3;
}
.btn:hover { background: var(--ocre-claro); border-color: var(--ocre-claro); color: var(--preto); }
.btn-ghost, .btn-outline-dark { background: transparent; border-color: var(--preto); }
.btn-ghost:hover, .btn-outline-dark:hover { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.btn-sm { padding: .5rem 1rem; font-size: 1rem; }
.btn-dark { background: var(--preto); border-color: var(--preto); color: var(--branco); }
.btn-dark:hover { background: #2b2b2b; border-color: #2b2b2b; color: var(--branco); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions.center { justify-content: center; }

/* Cabeçalho */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--branco); border-bottom: 1px solid var(--linha); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--preto); text-decoration: none; }
.brand-logo { height: 2.6rem; width: auto; }
/* Mesmo desenho do nome na logo: largo, em caixa alta e espaçado */
.brand-name { font-size: .95rem; font-weight: 600; font-stretch: var(--largo); text-transform: uppercase; letter-spacing: .14em; }
.brand-name strong { font-weight: 600; }

.menu { display: flex; align-items: center; gap: 1.5rem; }
.menu a:not(.btn) { color: var(--preto); text-decoration: none; font-weight: 500; font-size: 1rem; }
.menu a:not(.btn):hover { text-decoration: underline; text-decoration-color: var(--ocre); text-decoration-thickness: 2px; }
.menu-btn {
  display: none; font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
  background: transparent; border: 2px solid var(--preto); border-radius: var(--raio); padding: .35rem .9rem; color: var(--preto);
}

/* Hero: a foto sangra até a borda esquerda e assenta sobre a faixa zebrada */
.hero { background: var(--branco); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(19rem, 1fr);
  grid-template-areas: "art copy";
  column-gap: clamp(2rem, 4vw, 3.5rem);
}
/* A foto ocupa toda a altura da coluna de texto, com no mínimo a proporção 4:3 */
.hero-art {
  grid-area: art; position: relative;
  margin-left: calc(-1 * (max(0px, (100vw - var(--max)) / 2) + var(--gutter)));
}
.hero-art::before { content: ""; display: block; padding-top: min(75%, 44rem); }
.hero-art img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 55%;
}
.hero-copy { grid-area: copy; align-self: center; padding: clamp(2.5rem, 5vw, 4rem) 0; }
.hero-note { margin: 1.1rem 0 0; font-size: 1rem; color: var(--texto-2); }
.hero-note a { color: var(--preto); font-weight: 700; }
.breadcrumb { font-size: .875rem; color: var(--texto-2); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--texto-2); }

/* Faixa de sinalização: o único elemento decorativo do site */
.hazard { height: .75rem; background: repeating-linear-gradient(-45deg, var(--ocre) 0 14px, var(--preto) 14px 28px); }

/* Seções */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--asfalto); }

/* Serviços: lista em linhas, como um cardápio de serviços */
.services { list-style: none; padding: 0; margin: 0; border-top: 3px solid var(--preto); }
.services li {
  display: grid; gap: .35rem 2.5rem; align-items: baseline;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) auto;
  padding: 1.35rem 0; border-bottom: 1px solid var(--linha);
}
.services h3 { margin: 0; }
.services h3 a { color: var(--preto); text-decoration-color: var(--ocre); text-decoration-thickness: 2px; }
.services h3 a:hover { text-decoration-color: var(--preto); }
.services p { margin: 0; color: var(--texto-2); }
.services .wa { font-weight: 700; white-space: nowrap; }

/* Trabalhos */
.gallery { column-count: 3; column-gap: 1rem; }
.gallery figure { margin: 0 0 1.25rem; break-inside: avoid; }
.gallery img { width: 100%; height: auto; background: var(--linha); }
.gallery figcaption, .photo-pair figcaption { margin-top: .45rem; color: var(--texto-2); font-size: 1rem; }
.reviews { margin: 1.5rem 0 0; }

/* Como funciona: é uma sequência de verdade, por isso numerada */
.steps { list-style: none; counter-reset: passo; padding: 0; margin: 0; display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(4, 1fr); }
.steps li { counter-increment: passo; border-top: 3px solid var(--preto); padding-top: .9rem; }
.steps li::before {
  content: counter(passo); display: block; margin-bottom: .6rem;
  font-size: 2.25rem; font-weight: 760; font-stretch: var(--largo); line-height: 1;
}
.steps h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.steps p { color: var(--texto-2); margin: 0; }

/* Desenho da lança: perto levanta mais, longe levanta menos */
.reach {
  display: grid; gap: 1.5rem; align-items: start;
  grid-template-columns: minmax(15rem, 1fr) minmax(0, 1.25fr) minmax(0, 1.25fr);
  margin-top: clamp(3rem, 7vw, 5rem);
}
.reach-text p { color: var(--texto-2); }
.reach figure { margin: 0; background: var(--asfalto); padding: 1.25rem 1.25rem 1rem; }
.reach svg { width: 100%; height: auto; }
.reach figcaption { margin-top: .75rem; font-size: 1rem; font-weight: 600; }
.reach .ground { stroke: var(--preto); stroke-width: 2; }
.reach .boom { stroke: var(--ocre); stroke-width: 9; stroke-linecap: round; }
.reach .cable { stroke: var(--preto); stroke-width: 1.5; }
.reach .load { fill: var(--branco); stroke: var(--preto); stroke-width: 2.5; }
.reach .dim { fill: none; stroke: var(--texto-2); stroke-width: 1.25; }
.reach .dim-text { fill: var(--texto-2); font-size: 13px; font-family: var(--font); }

/* Dúvidas */
details { border-top: 1px solid var(--linha); }
details:last-of-type { border-bottom: 1px solid var(--linha); }
summary { cursor: pointer; font-weight: 650; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; line-height: 1; font-weight: 500; }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 0 1.25rem; margin: 0; color: var(--texto-2); max-width: 42rem; }

/* CTA final */
.cta-final { background: var(--ocre); padding: clamp(3.5rem, 8vw, 5.5rem) 0; text-align: center; }
.cta-final h2 { margin-bottom: .5rem; }
.cta-final p { font-size: 1.3125rem; margin-bottom: 1.25rem; }
.cta-phone { font-weight: 700; }
.cta-phone a { color: var(--preto); }
.cta-final :focus-visible { outline-color: var(--preto); }

/* Rodapé */
.footer { background: var(--preto); color: #c9cdd1; padding: 3.5rem 0 6rem; font-size: 1rem; }
.footer a { color: var(--branco); }
.footer a:hover { color: var(--ocre); }
.footer :focus-visible { outline-color: var(--ocre); }
.footer h3 { color: var(--branco); font-size: 1rem; font-stretch: 110%; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.footer address { font-style: normal; margin-top: .75rem; }
.footer-brand { color: var(--branco); font-size: 1rem; font-weight: 600; font-stretch: var(--largo); text-transform: uppercase; letter-spacing: .14em; margin-bottom: .5rem; }
.footer-brand strong { font-weight: 600; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #333; font-size: .875rem; }

/* Páginas de serviço */
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.75rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .45rem; }
/* Passos dentro do texto das páginas de serviço: coluna estreita, então 2 por linha */
.prose .steps { grid-template-columns: 1fr 1fr; padding-left: 0; margin: 1.75rem 0 1rem; }
.prose .steps li { margin-bottom: 0; }
.prose .steps h3 { margin-top: 0; }
.photo-pair { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin: 2.25rem 0; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; height: auto; background: var(--linha); }
.related { list-style: none; padding: 0; margin: 0; display: grid; column-gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); border-top: 3px solid var(--preto); }
.related a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--linha); font-weight: 700; font-stretch: 110%; color: var(--preto); text-decoration-color: var(--ocre); text-decoration-thickness: 2px; }
.related a:hover { text-decoration-color: var(--preto); }

/* Barra fixa no celular */
.sticky-cta { display: none; }

@media (max-width: 64rem) {
  .reach { grid-template-columns: 1fr 1fr; }
  .reach-text { grid-column: 1 / -1; max-width: 40rem; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "art" "copy"; }
  .hero-art { margin: 0 calc(-1 * var(--gutter)); }
  .hero-art::before { padding-top: min(75%, 55svh); }
  .hero-copy { padding: 1.75rem 0 2.75rem; }

  .services li { grid-template-columns: 1fr; }
  .services .wa { margin-top: .35rem; }
  .gallery { column-count: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .menu-btn { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--branco); border-bottom: 1px solid var(--linha); padding: .5rem var(--gutter) 1rem;
  }
  .menu.open { display: flex; }
  .menu a:not(.btn) { padding: .75rem 0; border-bottom: 1px solid var(--linha); }
  .menu .btn { margin-top: .75rem; }

  .sticky-cta {
    display: block; position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 25;
    background: var(--preto); color: var(--branco); text-align: center; font-weight: 700; text-decoration: none;
    padding: .9rem 1rem; border-radius: var(--raio); border: 2px solid var(--ocre);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .3);
  }
}

@media (max-width: 34rem) {
  .steps, .prose .steps, .reach, .footer-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 1; }
  .actions .btn { width: 100%; }
  .brand-name { font-size: .8rem; letter-spacing: .1em; }
}
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
