/* SAADI Engenharia, v2 (modelo inspirado na estrutura de um site de engenharia de referência).
   Cores da marca: azul-marinho #1d2d42 e laranja #e9962a. Para mudar uma cor, troque só aqui em :root. */
:root {
  --navy: #1d2d42;
  --navy-2: #24384f;
  --navy-deep: #131f2e;
  --orange: #e9962a;          /* laranja da marca: em fundo azul e em botões */
  --orange-text: #9a5408;     /* laranja escurecido para texto pequeno em fundo claro (contraste) */
  --paper: #ffffff;
  --sand: #f4f1ea;            /* fundo claro quente */
  --stone: #e7e3da;
  --ink: #1d2d42;
  --ink-soft: #4d5a69;
  --on-navy: #f4f1ea;
  --on-navy-soft: #c3c9d1;
  --line-dark: rgba(244, 241, 234, .18);
  --line-light: rgba(29, 45, 66, .14);
  --display: "Oswald", "Arial Narrow", sans-serif;
  --text: "Figtree", system-ui, sans-serif;
  --gut: clamp(20px, 4.2vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body { font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
:is(.on-navy, .hero, .header, .menu, .faixa) :focus-visible { outline-color: var(--orange); }
.novidade:last-child:focus-visible { outline-color: var(--navy); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--orange); color: #111; text-decoration: none; font-weight: 500; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- espaços reservados (o que o cliente vai preencher) ---------- */
/* Texto a preencher: aparece com fundo amarelado e borda tracejada. Basta trocar o texto e apagar a classe "ph". */
.ph { background: rgba(233, 150, 42, .16); outline: 1px dashed var(--orange); outline-offset: 2px; border-radius: 2px; }
.on-navy .ph, .ph--dark { background: rgba(233, 150, 42, .22); }
/* Foto a preencher: um bloco listrado com o rótulo. Quando o arquivo indicado em --foto existir na pasta fotos/,
   ele aparece por cima sozinho, sem mexer em mais nada. */
.foto { position: relative; overflow: hidden; background:
  repeating-linear-gradient(135deg, #d9d4c9 0 14px, #e2ddd3 14px 28px); color: #3d4a59; }
.foto::after { content: ""; position: absolute; inset: 0; background: var(--foto, none) center / cover no-repeat; transition: transform .7s var(--ease), filter .4s ease; }
.foto__rotulo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: max-content; max-width: 86%;
  padding: 8px 12px; border: 1px dashed rgba(29, 45, 66, .55); background: rgba(244, 241, 234, .9); font: 500 13px/1.35 var(--text);
  text-align: center; letter-spacing: .02em; z-index: 0; }
.foto--dark { background: repeating-linear-gradient(135deg, #22364d 0 14px, #2a3f58 14px 28px); color: var(--on-navy); }
.foto--dark .foto__rotulo { background: rgba(19, 31, 46, .85); border-color: rgba(244, 241, 234, .5); color: var(--on-navy); }

/* ---------- rótulos, links com círculo, botões ---------- */
.eyebrow { font: 500 14px/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.on-navy .eyebrow { color: var(--on-navy-soft); }
.link-circle { display: inline-flex; align-items: center; gap: 14px; font: 500 14px/1 var(--text); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--orange-text); }
.on-navy .link-circle { color: var(--orange); }
.link-circle__dot { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid currentColor; border-radius: 50%;
  transition: background-color .3s ease, color .3s ease, transform .3s var(--ease); }
.link-circle__dot svg { width: 12px; height: 12px; }
.link-circle:hover .link-circle__dot { background: var(--orange); border-color: var(--orange); color: #111; transform: translateX(3px); }
.link-circle--ink { color: var(--ink); }
.btn-pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px;
  background: var(--sand); color: var(--navy); font: 500 15px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .15s ease; }
.btn-pill:hover { background: var(--orange); color: #111; }
.btn-pill:active { transform: scale(.98); }
.btn-pill--orange { background: var(--orange); color: #111; }
.btn-pill--orange:hover { background: var(--sand); color: var(--navy); }

/* ---------- cabeçalho: links à esquerda, logo no centro, ações à direita ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header); color: var(--on-navy);
  border-bottom: 1px solid var(--line-dark); transition: background-color .35s ease, height .35s ease; }
.header.is-solid { background: var(--navy); }
.header__bar { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.header__links { display: flex; gap: 32px; }
.header__links a, .header__right a.header__word { font: 500 15px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 14px 0;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size .3s var(--ease); }
.header__links a:hover, .header__right a.header__word:hover { background-size: 100% 1px; }
.header__logo { display: block; }
.header__logo img { height: 58px; width: auto; }
.header__right { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.header__cta { min-height: 44px; padding: 0 22px; font-size: 14px; }
.header__menu { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; padding: 0; }
.header__menu svg { width: 26px; height: 26px; }
/* menu aberto (tela inteira) */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--navy-deep); color: var(--on-navy); display: flex; flex-direction: column;
  padding: 24px var(--gut) 40px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
.menu__top { display: flex; justify-content: space-between; align-items: center; height: 56px; }
.menu__top img { height: 52px; width: auto; }
.menu__close { width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; }
.menu__close svg { width: 24px; height: 24px; }
.menu__nav { margin-top: auto; margin-bottom: auto; display: grid; gap: 4px; }
.menu__nav a { font: 300 clamp(36px, 6vw, 72px)/1.15 var(--display); text-transform: uppercase; text-decoration: none; color: var(--on-navy); }
.menu__nav a:hover { color: var(--orange); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 32px; color: var(--on-navy-soft); font-size: 15px; }
.menu__foot a { text-decoration: none; }

/* ---------- 1. topo: carrossel de projetos em tela cheia ---------- */
.hero { position: relative; min-height: 100svh; background: var(--navy); color: var(--on-navy); overflow: hidden; display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; display: grid; align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.hero__slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.hero__slide .foto { position: absolute; inset: 0; z-index: 0; }
.hero__slide .foto::after { z-index: 0; }
/* camada animada: energia passando pelas linhas (SVG por cima da imagem, mesmo enquadramento) */
.foto__fx { position: absolute; inset: 0; z-index: 1; background: center / cover no-repeat; pointer-events: none; }
.hero__slide.is-on .foto__fx { animation: heroZoom 9s ease-out both; }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-on .foto__fx { animation: none; } }
.hero__slide .foto__rotulo { top: auto; bottom: 22%; }
.hero__slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 48% 34% at 50% 50%, rgba(10, 18, 29, .78), rgba(10, 18, 29, .35) 55%, rgba(10, 18, 29, 0) 85%), linear-gradient(180deg, rgba(12, 21, 34, .35), rgba(12, 21, 34, 0) 22%, rgba(12, 21, 34, 0) 75%, rgba(12, 21, 34, .45)); }
/* zoom lento de cinema no slide ativo */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.hero__slide.is-on .foto::after { animation: heroZoom 9s ease-out both; }
.hero__title { text-shadow: 0 2px 30px rgba(8, 14, 24, .7); }
.hero__title::after { content: ""; display: block; width: 72px; height: 3px; margin: 28px auto 0; background: var(--orange); border-radius: 2px; }
.hero__kicker { font: 500 14px/1 var(--text); letter-spacing: .28em; color: var(--orange); margin-bottom: 22px; text-shadow: 0 2px 16px rgba(8, 14, 24, .8); }
.hero__kicker span { color: rgba(244, 241, 234, .6); }
@media (prefers-reduced-motion: reduce) { .hero__slide.is-on .foto::after { animation: none; } }
.hero__ring-removed { position: absolute; z-index: 1; left: 50%; top: 52%; width: min(62vh, 560px); aspect-ratio: 1; transform: translate(-50%, -50%);
  border: 1px solid rgba(244, 241, 234, .35); border-radius: 50%; pointer-events: none; }
.hero__text { position: relative; z-index: 2; text-align: center; padding: calc(var(--header) + 40px) var(--gut) 200px; }
.hero__place { display: inline-flex; align-items: center; gap: 10px; font: 400 17px/1.3 var(--text); margin-bottom: 22px; }
.hero__place svg { width: 18px; height: 18px; color: var(--orange); }
.hero__title { font: 200 clamp(44px, 7.6vw, 112px)/1.06 var(--display); text-transform: uppercase; letter-spacing: .01em; max-width: 14ch; margin-inline: auto; }
.hero__title .ph { outline-color: rgba(244, 241, 234, .7); }
.hero__arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 72px; height: 48px; border: 0; background: none; color: var(--on-navy); cursor: pointer; }
.hero__arrow svg { width: 72px; height: 20px; transition: transform .3s var(--ease); }
.hero__arrow--prev { left: var(--gut); }
.hero__arrow--next { right: var(--gut); }
.hero__arrow--prev:hover svg { transform: translateX(-6px); }
.hero__arrow--next:hover svg { transform: translateX(6px); }
.hero__stats-removed { position: absolute; z-index: 3; left: 0; right: 0; bottom: 72px; display: flex; justify-content: center; gap: clamp(40px, 10vw, 160px); text-align: center; }
.hero__stats dt { font: 400 14px/1.3 var(--text); color: var(--on-navy-soft); }
.hero__stats dd { margin: 8px 0 0; font: 200 clamp(36px, 4vw, 56px)/1 var(--display); }
.hero__dots { position: absolute; z-index: 3; left: 50%; bottom: 32px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(244, 241, 234, .45); transition: background-color .3s ease, transform .3s ease; }
.hero__dots button[aria-current="true"]::before { background: var(--orange); transform: scale(1.25); }
/* entrada do título quando o slide muda */
.hero__slide.is-on .hero__place, .hero__slide.is-on .hero__title { animation: subir .9s var(--ease) both; }
.hero__slide.is-on .hero__title { animation-delay: .08s; }
@keyframes subir { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 2. apresentação (fundo azul) ---------- */
.intro { background: var(--navy); color: var(--on-navy); padding: clamp(96px, 12vw, 168px) 0; position: relative; overflow: hidden; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.intro__text { font: 500 clamp(24px, 2.4vw, 36px)/1.4 var(--text); max-width: 26em; }
.intro__text + .intro__text { margin-top: 24px; font-weight: 400; font-size: clamp(18px, 1.6vw, 22px); color: var(--on-navy-soft); }
.intro .link-circle { margin-top: 40px; }
.intro__mark { justify-self: end; width: min(340px, 70%); position: relative; aspect-ratio: 400 / 560; }
.intro__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.intro__s { position: absolute; left: 50%; top: 50%; width: 66%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 40px rgba(233, 150, 42, .28)); animation: sFloat 6s ease-in-out infinite; }
@keyframes sFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 10px)); } }
.intro__sub { margin-top: 22px; max-width: 52ch; font: 400 clamp(17px, 1.3vw, 19px)/1.6 var(--text); color: var(--on-navy-soft); }
.ifr__flow { stroke: #ffcf7a; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 10 90; animation: iflow 3.2s linear infinite; filter: drop-shadow(0 0 6px #e9962a); }
.ifr__flow--2 { animation-delay: -1.6s; }
@keyframes iflow { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.ifr__orbit { transform-origin: 200px 280px; animation: iorbit 60s linear infinite; }
@keyframes iorbit { to { transform: rotate(360deg); } }
.ifr__dot { animation: idot 2.4s ease-in-out infinite; } .ifr__dot--2 { animation-delay: -1.2s; }
@keyframes idot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .intro__s, .ifr__flow, .ifr__orbit, .ifr__dot { animation: none; } .ifr__flow { display: none; } }
.intro__line { position: absolute; left: -10%; right: -10%; bottom: 22%; height: 1px; background: var(--line-dark); transform: rotate(-6deg); pointer-events: none; }

/* ---------- 3. serviços em colunas ---------- */
.servicos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--stone); }
.servico { position: relative; min-height: 600px; display: flex; flex-direction: column; padding: 48px 28px 40px; color: var(--ink); text-decoration: none;
  border-right: 1px solid var(--line-light); overflow: hidden; isolation: isolate; }
.servico:nth-child(4n) { border-right: 0; }
.servico:nth-child(-n+4) { border-bottom: 1px solid var(--line-light); }
.servico .foto { position: relative; inset: auto; z-index: 0; order: 2; flex: 1 1 auto; min-height: 270px; margin: 26px 0 22px; background: transparent; }
.servico .foto::after { inset: 0 6%; }
.servico .foto__fx { inset: 0 6%; }
.servico .foto::after { background-size: contain; background-position: center; }
.servico .foto__fx { position: absolute; z-index: 1; background: center / contain no-repeat; transition: transform .7s var(--ease); pointer-events: none; }
.servico h3 { order: 0; } .servico p { order: 1; } .servico__seta { order: 3; }
.servico .foto::after { filter: none; opacity: 1; }
.servico .foto__rotulo { top: auto; bottom: 120px; transform: translateX(-50%); font-size: 12px; }
.servico::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(29, 45, 66, .92), rgba(29, 45, 66, .55)); opacity: 0; transition: opacity .4s ease; }
.servico h3 { font: 400 clamp(30px, 2.4vw, 40px)/1.15 var(--display); color: var(--ink); }
.servico p { margin-top: 14px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 34ch; }
.servico__seta { margin-top: 0; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid currentColor; border-radius: 50%;
  transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s var(--ease); }
.servico__seta svg { width: 18px; height: 18px; }
.servico:hover, .servico:focus-visible { color: var(--ink); }
.servico:hover::before, .servico:focus-visible::before { opacity: 0; }
.servico:hover .foto::after, .servico:focus-visible .foto::after, .servico:hover .foto__fx, .servico:focus-visible .foto__fx { transform: scale(1.05); }
.servico h3 { transition: color .3s ease; }
.servico:hover h3, .servico:focus-visible h3 { color: #9a5408; }
.servico:hover .servico__seta, .servico:focus-visible .servico__seta { background: var(--orange); border-color: var(--orange); color: #111; transform: translateX(4px); }

/* ---------- 4. projetos (carrossel lateral) ---------- */
.projetos { padding: clamp(80px, 9vw, 128px) 0 0; }
.projetos__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; }
.titulo { font: 300 clamp(44px, 5.4vw, 80px)/1.05 var(--display); }
.projetos__track { display: grid; grid-auto-flow: column; grid-auto-columns: max(340px, 30vw); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.projetos__track::-webkit-scrollbar { display: none; }
.projeto { position: relative; scroll-snap-align: start; min-height: 580px; color: var(--on-navy); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 32px 28px; overflow: hidden; isolation: isolate; border-right: 1px solid rgba(255, 255, 255, .25); }
.projeto .foto { position: absolute; inset: 0; z-index: -2; }
.projeto .foto::after { background-position: var(--pos, center); }
.projeto .foto__rotulo { top: auto; bottom: 32px; transform: translateX(-50%); }
.projeto::before { content: ""; position: absolute; inset: 0 0 50% 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 24, 37, .78), rgba(14, 24, 37, .35) 55%, rgba(14, 24, 37, 0)); }
.projeto__local { font: 600 13px/1.4 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.projeto h3 { margin-top: 12px; font: 400 clamp(26px, 2.2vw, 34px)/1.15 var(--display); text-shadow: 0 2px 14px rgba(0, 0, 0, .5); }
.projeto:hover .foto::after { transform: scale(1.04); }
.projetos__controls { position: relative; }
.carousel-btn { position: absolute; top: 50%; z-index: 4; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15); cursor: pointer; display: grid; place-items: center; transition: background-color .3s ease, color .3s ease; }
.carousel-btn svg { width: 16px; height: 16px; }
.carousel-btn:hover { background: var(--orange); color: #111; }
.carousel-btn--prev { left: var(--gut); }
.carousel-btn--next { right: var(--gut); }

/* ---------- 5. onde atendemos (fundo azul) ---------- */
.regiao { background: var(--navy); color: var(--on-navy); padding: clamp(80px, 9vw, 128px) 0; }
.regiao__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: end; }
.regiao__head p:not(.eyebrow) { color: var(--on-navy-soft); max-width: 34em; }
.regiao .titulo { margin-top: 0; }
.mapa { margin-top: 72px; position: relative; }
.mapa svg { width: 100%; height: auto; display: block; overflow: visible; }
.mapa .costa { fill: none; stroke: rgba(244, 241, 234, .35); stroke-width: 1.5; stroke-dasharray: 6 8; }
.mapa .ponto { fill: var(--orange); }
.mapa .halo { fill: rgba(233, 150, 42, .25); transform-box: fill-box; transform-origin: center; animation: pulsar 3s ease-in-out infinite; }
.mapa text { fill: var(--on-navy); font: 500 17px var(--text); }
.mapa .costa-luz { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 90 910; animation: costaLuz 5s linear infinite; filter: drop-shadow(0 0 6px rgba(233, 150, 42, .9)); }
@keyframes costaLuz { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.mapa .cidade .halo { animation-delay: var(--d); }
@media (prefers-reduced-motion: reduce) { .mapa .costa-luz { display: none; } }
.mapa__lista { display: none; }
@keyframes pulsar { 0%, 100% { transform: scale(.8); opacity: .9; } 50% { transform: scale(1.35); opacity: .35; } }
.regiao__foot { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 40px; align-items: end; }
.regiao__foot h3 { font: 400 22px/1.3 var(--text); padding-top: 16px; border-top: 1px solid var(--line-dark); }
.regiao__foot p { margin-top: 10px; color: var(--on-navy-soft); font-size: 15px; }
.regiao__foot .btn-pill { justify-self: end; }

/* ---------- 6. faixa com imagem ---------- */
.faixa { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; color: var(--on-navy); overflow: hidden; isolation: isolate; }
.faixa .foto { position: absolute; inset: 0; z-index: -2; }
.faixa .foto::after { background-position: center 40%; animation: faixaZoom 24s ease-in-out infinite alternate; }
@keyframes faixaZoom { from { transform: scale(1); } to { transform: scale(1.08) translateX(-1.5%); } }
@media (prefers-reduced-motion: reduce) { .faixa .foto::after { animation: none; } }
.faixa .foto__rotulo { top: 28%; }
.faixa::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 24, 37, .86) 0%, rgba(14, 24, 37, .55) 38%, rgba(14, 24, 37, 0) 70%), linear-gradient(0deg, rgba(14, 24, 37, .55), rgba(14, 24, 37, 0) 45%); }
.faixa__in { padding-bottom: clamp(56px, 8vw, 110px); }
.faixa__kicker { font: 600 13px/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--orange); display: flex; align-items: center; gap: 14px; }
.faixa__kicker::before { content: ""; width: 40px; height: 2px; background: var(--orange); }
.faixa__titulo { margin-top: 20px; font: 300 clamp(40px, 5.2vw, 80px)/1.06 var(--display); max-width: 14ch; text-shadow: 0 2px 30px rgba(8, 14, 24, .5); }
.faixa .btn-pill { margin-top: 36px; }

/* ---------- 7. logos de clientes/parceiros ---------- */
.logos { padding: 56px 0; border-bottom: 1px solid var(--line-light); }
.logos ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.logos .foto { height: 72px; border-radius: 4px; }
.logos .foto__rotulo { font-size: 12px; padding: 4px 8px; }

/* ---------- 8. engenheiro (frase central) ---------- */
.engenheiro { background: var(--sand); padding: clamp(96px, 11vw, 160px) 0; position: relative; overflow: hidden; }
.engenheiro__in { max-width: 900px; margin-inline: auto; text-align: center; }
.engenheiro .eyebrow { color: var(--ink-soft); }
.engenheiro .eyebrow { margin: 0; }
.engenheiro__frase { margin-top: 28px; font: 500 clamp(24px, 2.6vw, 38px)/1.4 var(--text); }
.engenheiro__fatos { margin: 40px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; color: var(--ink-soft); font-size: 16px; }
.engenheiro__fatos b { color: var(--ink); font-weight: 500; }
.engenheiro .link-circle { margin-top: 40px; }
.engenheiro__marca { position: absolute; left: 0; bottom: 0; width: clamp(64px, 7vw, 110px); opacity: .9; }
.engenheiro__marca img { width: 100%; height: auto; }

/* ---------- 9. novidades (três colunas) ---------- */
.novidades { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); background: var(--navy-deep); color: var(--on-navy); }
.novidade-destaque { background: var(--navy); padding: 56px clamp(24px, 3vw, 48px); display: flex; flex-direction: column; }
.novidade-destaque h3 { margin-top: 28px; font: 300 clamp(30px, 2.8vw, 44px)/1.15 var(--display); }
.novidade-destaque p { margin-top: 20px; color: var(--on-navy-soft); font-size: 16px; }
.novidade-destaque .link-circle { margin-top: auto; padding-top: 40px; color: var(--on-navy); }
.novidades > .foto { min-height: 640px; }
.novidades__lista { display: grid; grid-template-rows: 1fr 1fr; }
.novidade { padding: 48px clamp(24px, 3vw, 48px); display: flex; flex-direction: column; text-decoration: none; color: var(--on-navy); border-bottom: 1px solid var(--line-dark); }
.novidade:last-child { border-bottom: 0; background: var(--paper); color: var(--ink); }
.novidade time, .novidade .data { font: 500 13px/1.3 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-soft); }
.novidade:last-child .data { color: var(--ink-soft); }
.novidade h3 { margin-top: 20px; font: 300 clamp(24px, 2vw, 30px)/1.2 var(--display); }
.novidade__seta { margin-top: auto; padding-top: 28px; }
.novidade__seta svg { width: 40px; height: 14px; transition: transform .3s var(--ease); }
.novidade:hover .novidade__seta svg { transform: translateX(8px); }

/* ---------- 10. orçamento (formulário que abre o WhatsApp) ---------- */
.orcamento { padding: clamp(80px, 9vw, 128px) 0; background: var(--paper); }
.orcamento__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.orcamento__intro p { margin-top: 20px; color: var(--ink-soft); max-width: 30em; }
.contatos { margin-top: 36px; border-top: 1px solid var(--line-light); }
.contatos li { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--line-light); font-size: 16px; }
.contatos span:first-child { color: var(--ink-soft); }
.contatos a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .2s ease; }
.contatos a:hover { color: var(--orange-text); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-content: start; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 14px/1.3 var(--text); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(29, 45, 66, .35); border-radius: 4px; background: var(--paper);
  font: 400 16px/1.4 var(--text); color: var(--ink); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border: 2px solid #b3261e; }
.field__erro { font: 500 14px/1.4 var(--text); color: #b3261e; }
.field__erro[hidden] { display: none; }
.form__acoes { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }
.form__nota { grid-column: 1 / -1; font-size: 14px; color: var(--ink-soft); }
.form__status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; min-height: 1em; }
.btn-enviar { min-height: 52px; padding: 0 32px; border: 0; border-radius: 999px; background: var(--orange); color: #111; font: 500 15px/1 var(--text); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, transform .15s ease; }
.btn-enviar:hover { background: var(--navy); color: var(--on-navy); }
.btn-enviar:active { transform: scale(.98); }

/* ---------- rodapé ---------- */
.rodape { background: #0f1824; color: var(--on-navy); padding: 72px 0 32px; }
.rodape__grid { display: grid; grid-template-columns: minmax(0, 3fr) repeat(3, minmax(0, 2fr)); gap: 0; border-bottom: 1px solid var(--line-dark); padding-bottom: 48px; }
.rodape__marca { padding-right: 32px; }
.rodape__marca img { height: 96px; width: auto; }
.rodape__redes { margin-top: 24px; display: flex; gap: 12px; }
.rodape__redes a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-dark); border-radius: 4px; transition: border-color .3s ease, color .3s ease; }
.rodape__redes a:hover { border-color: var(--orange); color: var(--orange); }
.rodape__redes svg { width: 20px; height: 20px; }
.rodape__col { padding: 0 28px; border-left: 1px solid var(--line-dark); }
.rodape__col h3 { font: 500 15px/1.3 var(--text); color: var(--on-navy-soft); margin-bottom: 18px; }
.rodape__col li { font-size: 15px; line-height: 1.5; padding: 2px 0; }
.rodape__col a { text-decoration: none; display: inline-block; padding: 10px 0; }
.rodape__col a:hover { color: var(--orange); }
.rodape__legal { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--on-navy-soft); }

/* ---------- telas médias ---------- */
@media (max-width: 1180px) {
  .header__links { display: none; }
  .header__bar { grid-template-columns: auto 1fr auto; }
  .header__logo { grid-column: 1; }
  .header__right { grid-column: 3; }
  .servicos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .servico { min-height: 480px; border-bottom: 1px solid var(--line-light); }
  .servico:nth-child(4n) { border-right: 1px solid var(--line-light); }
  .servico:nth-child(2n) { border-right: 0; }
  .projetos__track { grid-auto-columns: clamp(320px, 58vw, 520px); }
  .rodape__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .rodape__marca { grid-column: 1 / -1; }
  .rodape__col:nth-child(2) { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .intro__grid, .regiao__head, .orcamento__grid { grid-template-columns: 1fr; }
  .intro__mark { justify-self: start; width: 200px; }
  .regiao__foot { grid-template-columns: 1fr; }
  .regiao__foot .btn-pill { grid-column: 1 / -1; justify-self: start; }
  .novidades { grid-template-columns: 1fr; }
  .novidades > .foto { min-height: 360px; }
  .logos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__arrow { top: auto; bottom: 150px; transform: none; }
}
/* ---------- celular ---------- */
@media (max-width: 640px) {
  :root { --header: 72px; }
  body { font-size: 16px; }
  .header__logo img { height: 48px; }
  .header__cta { display: none; }
  .hero__text { padding-bottom: 240px; }
  .hero__title { font-size: clamp(40px, 11vw, 56px); }
  .hero__ring-removed { width: 86vw; }
  .hero__stats-removed { bottom: 56px; gap: 28px; }
  .hero__arrow { bottom: 172px; width: 56px; }
  .hero__arrow svg { width: 56px; }
  .servicos { grid-template-columns: 1fr; }
  .servico { min-height: 0; padding: 40px 24px; border-right: 0; }
  .servico .foto { min-height: 260px; margin: 18px 0 14px; }
  .servico__seta { margin-top: 28px; }
  .servico .foto__rotulo { display: none; }
  .projetos__head { flex-direction: column; align-items: flex-start; }
  .projetos__track { grid-auto-columns: 86%; }
  .projeto { min-height: 440px; }
  .mapa { margin-top: 40px; }
  .mapa svg { display: none; }
  .mapa__lista { display: flex; flex-wrap: wrap; gap: 10px; }
  .mapa__lista li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line-dark); border-radius: 999px; font-size: 15px; }
  .mapa__lista li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
  .intro__mark { width: 150px; }
  .regiao__foot { grid-template-columns: 1fr; }
  .logos ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form { grid-template-columns: 1fr; }
  .rodape__grid { grid-template-columns: 1fr; }
  .rodape__col, .rodape__col:nth-child(2) { border-left: 0; padding: 0; }
  .engenheiro__marca { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}


/* ---------- A empresa: símbolo centralizado + marca d'água ---------- */
.engenheiro__marca { display: none; }
.engenheiro__simbolo { display: block; width: 46px; height: auto; margin: 0 auto 22px; }
.engenheiro__fundo { position: absolute; right: -4%; top: 50%; width: clamp(260px, 30vw, 460px); transform: translateY(-50%); opacity: .07; pointer-events: none; z-index: 0; }
.engenheiro__fundo img { width: 100%; height: auto; }
.engenheiro__in { position: relative; z-index: 1; }

/* ---------- rodapé: revela por baixo do conteúdo no fim da página ---------- */
main#conteudo { position: relative; z-index: 1; background: var(--sand, #f4f1ea); box-shadow: 0 30px 60px rgba(8, 14, 24, .35); }
.rodape { position: sticky; bottom: 0; z-index: 0; overflow: hidden; background: #0f1824; padding: 64px 0 0; }
.rodape__cta { display: flex; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.rodape__kicker { font: 600 13px/1 var(--text); letter-spacing: .24em; text-transform: uppercase; color: var(--orange); }
.rodape__frase { margin-top: 18px; font: 300 clamp(32px, 3.6vw, 56px)/1.1 var(--display); max-width: 20ch; }
.rodape__btn { flex: none; }
.rodape__sobre { margin-top: 20px; max-width: 30ch; font-size: 15px; line-height: 1.6; color: var(--on-navy-soft); }
.rodape__grid { border-bottom: 0; padding-bottom: 32px; }
.rodape__duas { columns: 2; column-gap: 24px; }
.rodape__duas li { break-inside: avoid; }
.rodape__legal { margin-top: 0; padding: 24px 0 28px; border-top: 1px solid var(--line-dark); }
.rodape__topo { color: var(--on-navy); text-decoration: none; }
.rodape__topo:hover { color: var(--orange); }
.rodape__assinatura { font: 600 clamp(90px, 15vw, 230px)/.78 var(--display); letter-spacing: -.02em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(233, 150, 42, .28); margin: 8px 0 -0.08em; user-select: none; }
@media (max-width: 900px) {
  .rodape__cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px), (max-height: 700px) {
  .rodape { position: relative; }
  main#conteudo { box-shadow: none; }
  .rodape__duas { columns: 1; }
}

/* ---------- separação Projetos e obras / Serviços ---------- */
.projetos { border-bottom: 6px solid var(--navy); }
.servicos-sec { background: var(--sand); padding-top: clamp(72px, 8vw, 112px); border-top: 1px solid var(--line-light); }
.servicos__head { margin-bottom: 48px; }
.projeto h3 { text-transform: uppercase; letter-spacing: .04em; }

/* ---------- títulos alinhados com o texto dos cartões + menos espaço entre as seções ---------- */
.projetos__head, .servicos__head { width: auto; max-width: none; margin-inline: 0; padding-inline: 28px; }
.projetos__head { margin-bottom: 32px; }
.servicos-sec { padding-top: clamp(36px, 4vw, 56px); }
.servicos__head { margin-bottom: 28px; }
@media (max-width: 640px) { .projetos__head, .servicos__head { padding-inline: 24px; } }

/* ---------- faixas menores + títulos centralizados em maiúsculas ---------- */
.projetos { padding-top: clamp(32px, 3.5vw, 48px); }
.servicos-sec { padding-top: clamp(28px, 3vw, 40px); }
.projetos__head, .servicos__head { flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; margin-bottom: 24px; }
.projetos__head .titulo, .servicos__head .titulo { font: 400 clamp(28px, 2.8vw, 42px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 640px) { .projetos__head, .servicos__head { align-items: center; } }
