/* ====================== BASE / VARS / CONTAINER ====================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Trilho FLUIDO idêntico em todas as páginas */
  --site-max: clamp(1100px, 90vw, 1760px);
  --site-pad: clamp(20px, 3.5vw, 64px);

  /* Header padronizado entre páginas */
  --header-h: 90px;

  /* Paleta ÚNICA */
  --orange: #ff6200; /* laranja único */
  --blue-900: #092842; /* azul escuro único */
  --blue-800: #0b2f57;

  --ink: #0f172a; /* texto principal */
  --muted: #0f172a99; /* texto suave */

  /* Fundo padrão p/ seções azuis (use sempre esta var) */
  --blue-section-bg: radial-gradient(
      1200px 800px at 10% 10%,
      #0e3147 0%,
      var(--blue-900) 45%,
      #061622 100%
    ),
    linear-gradient(180deg, #0b2a3d, var(--blue-900));

  /* Auxiliar */
  --stroke: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  color: var(--ink);
  padding-top: var(--header-h); /* compensa header fixo em TODAS as páginas */
}

/* Trilho alinhado ao header para todo conteúdo */
.container {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--site-pad);
}
/* Variante mais larga, mantendo alinhamento ao header */
.container--wide {
  width: min(100%, calc(var(--site-max) + 240px));
  margin-inline: auto;
  padding-inline: var(--site-pad);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #b3242400;
}
::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}
::-webkit-scrollbar-thumb:hover {
  background: #ff7f33;
}

/* =========================== HEADER / NAV (PADRÃO) =================== */
/* =========================== HEADER / NAV (PADRÃO) =================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: #fff;
  box-shadow: 0 3px 10px #464646;
  z-index: 1000;
}
/* A barra navega no mesmo trilho do conteúdo */
.nav-bar {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: min(100%, var(--site-max));
  padding-inline: var(--site-pad);
  margin-inline: auto;
}

/* ===== LOGO COMO IMAGEM ===== */
.logo img {
  height: 130px; /* tamanho desktop */
  width: auto;
  display: block;
  margin-left: -20px;
}

.nav-list {
  display: flex;
  align-items: center;
}
.nav-list > ul {
  display: flex;
  list-style: none;
}

.nav-item {
  margin: 0 20px;
  position: relative;
}
.nav-link {
  color: #051c2f;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
}
/* Hover do header igual ao hover dos links de serviço */
.nav-link:hover {
  color: var(--orange);
}
.login-button button {
  border: 0;
  padding: 10px 15px;
  border-radius: 5px;
  background: var(--orange);
}
.login-button button a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
}

/* Dropdown */
.dropdown-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.9rem;
  color: currentColor;
}
.nav-item.dropdown:hover > .dropdown-toggle,
.nav-item.dropdown:focus-within > .dropdown-toggle {
  color: var(--orange);
}
.nav-item.dropdown::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 12px;
}
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  display: none;
  z-index: 1100;
  list-style: none;
}
.nav-item.dropdown:hover > .dropdown-menu,
.nav-item.dropdown:focus-within > .dropdown-menu {
  display: block;
}
.dropdown-link {
  display: block;
  padding: 10px 16px;
  text-decoration: none;
  color: #000;
  font-size: 0.98rem;
  white-space: nowrap;
}
.dropdown-link:hover {
  background: #f7f7f7;
  color: var(--orange);
}

/* Mobile menu */
.mobile-menu-icon {
  display: none;
}
.mobile-menu {
  display: none;
}

@media (max-width: 811px) {
  /* === LOGO RESPONSIVA NO CELULAR === */
  .logo img {
    height: 130px; /* tamanho desktop */
    width: auto;
    display: block;
    margin-left: -20px;
  }

  .primeiro-link-menu {
    margin-top: 7px;
  }

  .nav-item,
  .login-button {
    display: none;
  }
  .mobile-menu-icon {
    display: block;
  }
  .mobile-menu-icon button {
    background: transparent;
    border: 0;
    cursor: pointer;
  }
  .mobile-menu {
    background: #fff;
    color: #000;
    display: none;
  }
  .mobile-menu ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 1rem;
    list-style: none;
  }
  .mobile-menu .nav-item {
    display: block;
    padding-top: 1.2rem;
  }
  .mobile-menu .dropdown {
    padding-top: 1.2rem;
  }
  .mobile-menu .login-button {
    display: block;
    padding: 1rem 2rem;
  }
  .mobile-menu .login-button button {
    width: 100%;
  }
  .mobile-menu .dropdown-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    display: none;
  }
  .mobile-menu .dropdown.open > .dropdown-menu {
    display: block;
  }
  .mobile-menu.open {
    display: block;
  }
}

/* ============================== HERO VÍDEO (Home) ==================== */
.video-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center; /* centro por padrão */
}
.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
  z-index: 0;
}
.video-hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.video-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
}
.video-hero__stack {
  max-width: clamp(560px, 52vw, 1100px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  margin-left: 0;
}
.kicker {
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: clamp(12px, 1.4vw, 18px);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.video-hero h1 {
  font-size: clamp(28px, 5.6vw, 50px);
  line-height: 1.08;
  margin: 0;
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 3vh, 22px);
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  outline: none;
  animation: pulse 1.8s ease-in-out infinite;
}
.scroll-hint:hover {
  background: rgba(0, 0, 0, 0.45);
}
.chevron {
  width: 18px;
  height: 18px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.22);
    opacity: 0.95;
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 255, 255, 0);
    opacity: 0.75;
  }
}
@keyframes bounce {
  0%,
  100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

/* ====== MOBILE (≤640px): centraliza o texto vertical e horizontal ====== */
@media (max-width: 640px) {
  .video-hero {
    min-height: 100vh;
    align-items: center; /* antes estava "end": agora centraliza */
    padding-inline: 16px; /* respiro lateral */
  }
  .video-hero__content {
    text-align: center; /* centraliza texto */
  }
  .video-hero__stack {
    max-width: 100%;
    margin: 0 auto; /* centraliza horizontalmente */
  }
  .kicker {
    font-size: clamp(11px, 3.2vw, 13px);
    margin-bottom: 6px;
  }
  .video-hero h1 {
    font-size: clamp(22px, 7.2vw, 26px);
    line-height: 1.12;
  }
  .scroll-hint {
    display: none;
  }
}

/* ============================== HERO (Serviços / Quem somos) ========= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-h));
  background: url("assets/img/heroquemsomos.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center; /* já centraliza verticalmente */
  text-align: center;
  color: #fff;
}
.hero-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  max-width: 1100px;
  margin: 0 auto; /* garante centralização horizontal */
  text-align: center; /* garante centralização do texto */
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 10px;
}
.hero-content p {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}

/* ====== MOBILE (≤640px): reforça centralização do hero de imagem ====== */
@media (max-width: 640px) {
  .hero-section {
    min-height: calc(100vh - var(--header-h));
    padding-inline: 16px;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
}

/* ============================== SERVIÇOS (comuns) ==================== */
.sec-servicos {
  background: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--ink);
  overflow-x: clip;
  scroll-margin-top: var(--header-h);
}
.linha {
  display: grid;
  grid-template-columns: minmax(420px, 50%) 1fr;
  gap: clamp(24px, 3.6vw, 64px);
  align-items: stretch;
  justify-items: start;
}
.col-img,
.col-text {
  display: flex;
  align-items: center;
  min-width: 0;
}
.servicos-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 12px;
}
.servicos-texto {
  display: grid;
  align-content: center;
  gap: clamp(14px, 1.8vw, 22px);
  line-height: 1.6;
  min-width: 0;
  text-wrap: pretty;
}
.eyebrow {
  justify-self: start;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-900);
  padding-bottom: 0.35rem;
  background: linear-gradient(90deg, var(--orange) 0 12ch, transparent 12ch)
    bottom/100% 2px no-repeat;
}
#titulo-servicos,
.titulo-servicos {
  color: var(--blue-900);
  font-size: clamp(1.3rem, 2.4vw, 2.2rem);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.intro {
  color: var(--muted);
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
}
.kpis {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  flex-wrap: nowrap;
  margin-top: 0.2rem;
}
.kpi {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  white-space: nowrap;
}
.valor {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  color: var(--orange);
  line-height: 1;
}
.legenda {
  color: var(--blue-900);
  font-weight: 600;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
}
.kpi-sep {
  width: 1px;
  height: 28px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 98, 0, 0.55),
    transparent
  );
  display: inline-block;
}

/* Lista de serviços — com ícone e background igual às páginas de serviços */
.lista-servicos {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}
.lista-servicos li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.55rem;
  border-radius: 8px;
  background: linear-gradient(
      120deg,
      rgba(255, 98, 0, 0.08),
      rgba(255, 98, 0, 0)
    )
    border-box;
}
.lista-servicos li::before {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #ff6200, #ff9350);
  box-shadow: 0 0 0 2px rgba(255, 98, 0, 0.18);
}

/* Títulos e descrições dos itens */
.nome {
  display: block;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.desc {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0.15rem;
}

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .linha {
    grid-template-columns: minmax(360px, 48%) 1fr;
  }
}
@media (max-width: 980px) {
  .sec-servicos {
    margin-bottom: 50px;
    margin-top: 30px;
  }
  .linha {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .col-img,
  .col-text {
    justify-content: center;
    align-items: flex-start;
  }
  .servicos-img {
    height: auto;
    max-width: min(820px, 100%);
    margin-inline: auto;
  }
  .titulo-servicos,
  #titulo-servicos {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .intro {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
  }
  .kpis {
    flex-wrap: wrap;
    gap: 12px 24px;
    justify-content: center;
    margin-bottom: clamp(20px, 6vh, 48px);
  }
  .kpi {
    display: grid;
    grid-auto-flow: row;
    justify-items: center;
    gap: 0.25rem;
  }
  .kpi .valor {
    text-align: center;
    display: block;
  }
  .kpi .legenda {
    text-align: center;
  }
  .kpi-sep {
    display: none;
  }
}

/* Mantém proporção quando a imagem está à direita em serviços alternados */
@media (min-width: 981px) {
  .sec-servicos--reversa .linha {
    grid-template-columns: 1fr minmax(420px, 50%);
  }
}

/* ===================== OBRAS (GRADE AZUL PADRÃO) — HOME ===================== */
.obra {
  --gap: 20px;
  --altura-card: 300px;
  --hover-blue: rgba(120, 195, 255, 0.24);
  --radius: 16px;
  --txt: #eef6ff;
  --txt-dim: #c6d6e6;

  background: var(--blue-section-bg);
  min-height: 100vh;

  /* Alinhamento vertical */
  display: flex;
  align-items: center;

  /* Respiro vertical */
  padding-block: clamp(44px, 6vh, 72px);
}

/* ====== OPÇÃO 1: usando .container dentro da seção ====== */
.obra > .container {
  /* trilho do header */
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--site-pad);
}
/* Quando há .container, a grade NÃO precisa de padding próprio */
.obra > .container .grid-projetos {
  width: 100%;
  margin-inline: 0;
  padding-inline: 0;
}

/* ====== OPÇÃO 2 (fallback): sem .container, a grade assume o trilho ====== */
.grid-projetos {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--site-pad);

  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  grid-auto-rows: var(--altura-card);

  /* Centraliza verticalmente o bloco de linhas quando sobra espaço */
  align-content: center;
}

.item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #123b54;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  isolation: isolate;
}
.item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.45));
  z-index: 0;
  transition: background 0.25s ease, opacity 0.25s ease;
}
.item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
}
.item:hover::before {
  background: var(--hover-blue);
}

.conteudo {
  position: absolute;
  inset: 0;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  z-index: 1;
  color: var(--txt);
}
.conteudo h3 {
  font-size: 1.12rem;
  font-weight: 700;
}
.conteudo p {
  font-size: 0.98rem;
  color: var(--txt-dim);
}

.btn {
  align-self: flex-start;
  background: #ff6200;
  color: #0a2740;
  font-weight: 800;
  font-size: 1rem;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(255, 98, 0, 0.25);
  max-height: 0;
  padding: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(6px);
  overflow: hidden;
  pointer-events: none;
  transition: max-height 0.22s ease, padding 0.22s ease, margin 0.22s ease,
    opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease,
    filter 0.22s ease;
}
.item:hover .btn {
  max-height: 60px;
  padding: 12px 22px;
  margin-top: 12px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 18px rgba(255, 98, 0, 0.32);
}

.texto {
  background: transparent;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
}
.texto::before {
  content: none;
}
.texto:hover {
  transform: none;
  box-shadow: none;
}
.texto .conteudo {
  padding: 0;
  justify-content: center;
  align-items: flex-start;
}
.texto h2 {
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}
.texto .btn {
  display: none;
}

@media (min-width: 900px) {
  .grid-projetos {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 330px;
  }
  .texto {
    grid-column: 1;
    grid-row: 1;
  }
  .c1 {
    grid-column: 2;
    grid-row: 1;
  }
  .c2 {
    grid-column: 3;
    grid-row: 1;
  }
  .c3 {
    grid-column: 1;
    grid-row: 2;
  }
  .grande {
    grid-column: 2 / span 2;
    grid-row: 2;
  }
}

/* ============================
   Seção Clientes + Parallax
   (CSS completo e corrigido)
   ============================ */
/* ============================
   Seção Clientes + Parallax
   (CSS completo e corrigido)
   ============================ */

/* Parallax: imagem base */

.clients-parallax {
  --clients-parallax-img: url("assets/img/fotos/PARALLAX.jpg");

  /* respiro vertical do miolo (não altera o trilho lateral) */
  --miolo-pad-block: clamp(28px, 6vh, 80px);

  position: relative;
  /* deixa crescer quando o conteúdo exigir (sem corte) */
  min-height: 100vh;
  height: auto;
  /* não cortar verticalmente; só previne "vazamento" horizontal */
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

/* Mobile: seção com 45vh */
@media (max-width: 860px) {
  .clients-parallax {
    min-height: 45vh;
    height: 45vh;
  }
}

/* Faixas de parallax não somam altura ao layout */
.parallax-strip {
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(16vh, 22vh, 24vh); /* faixa mais resiliente */
  background-image: var(--clients-parallax-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}
.parallax-strip.top {
  top: 0;
}
.parallax-strip.bottom {
  bottom: 0;
}

/* Fallback iOS */
@supports (-webkit-touch-callout: none) {
  .parallax-strip {
    background-attachment: scroll;
    transform: translateZ(0);
  }
}

/* Área central (grid + carousel) ocupa o "miolo" dentro dos 100vh */
.sec-clientes-grid {
  position: relative;
  z-index: 1; /* acima das faixas */
  flex: 1 1 auto; /* cresce para preencher o miolo quando couber */
  min-height: 0;
  background: #fff;
  color: var(--ink);

  /* RESPIRO VERTICAL — contabiliza dentro da altura */
  box-sizing: border-box;
  padding-block: calc(var(--miolo-pad-block) + env(safe-area-inset-top, 0px))
    calc(var(--miolo-pad-block) + env(safe-area-inset-bottom, 0px));

  scroll-margin-top: 96px;
  overflow: visible; /* deixa o conteúdo respirar em Y */
  display: flex;
  align-items: center; /* centraliza verticalmente quando não há muitas linhas */
}

/* Mobile: ajusta padding para caber em 50vh */
@media (max-width: 860px) {
  .sec-clientes-grid {
    padding-block: clamp(16px, 2vh, 24px);
    overflow: hidden; /* previne overflow vertical */
  }
}

/* Trilho igual ao header (alinhamento lateral) */
.sec-clientes-grid .container {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--site-pad);
  display: block;
}

/* Cabeçalho */
.clientes-head {
  margin-bottom: clamp(10px, 2vw, 20px);
}
.clientes-eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-900);
  padding-bottom: 0.35rem;
  background: linear-gradient(90deg, var(--orange) 0 12ch, transparent 12ch)
    bottom / 100% 2px no-repeat;
}
.clientes-titulo {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--blue-900);
  margin: 6px 0 12px;
}

/* Mobile: ajusta cabeçalho para caber em 50vh */
@media (max-width: 860px) {
  .clientes-head {
    margin-bottom: clamp(8px, 1.5vh, 12px);
  }
  .clientes-eyebrow {
    font-size: 0.7rem;
    padding-bottom: 0.25rem;
  }
  .clientes-titulo {
    font-size: clamp(18px, 4vw, 24px);
    margin: 4px 0 8px;
    line-height: 1.15;
  }
}

/* Grid de logos */
.clientes-grid {
  /* reduz gradualmente o box dos logos antes de cair no carrossel */
  --logo-box: clamp(90px, 10vw, 160px);
  --gap-x: clamp(20px, 3vw, 44px);
  --gap-y: clamp(18px, 3vh, 40px);

  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: var(--gap-x);
  row-gap: var(--gap-y);
  justify-items: center;
  align-items: start;
  width: 100%;
  contain: layout paint;
}
.clientes-grid > li {
  min-width: 0;
  display: grid;
  place-items: stretch;
  width: 100%;
  height: 100%;
}

/* Card do brasão */
.cliente {
  display: grid;
  grid-template-rows: var(--logo-box) auto;
  justify-items: center;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 12px;
  background: #fff;
  border: 1px solid rgba(38, 132, 197, 0.25);
  border-radius: 14px;
  box-shadow: inset 0 1px 6px rgba(15, 43, 59, 0.07),
    0 2px 8px rgba(15, 43, 59, 0.06);
  transition: transform 0.2s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
  width: 100%;
  height: 100%;
  min-height: 160px;
  margin: 0;
}
.cliente:hover {
  transform: translateY(-1px);
  border-color: rgba(38, 132, 197, 0.38);
  box-shadow: inset 0 1px 8px rgba(15, 43, 59, 0.09),
    0 6px 16px rgba(15, 43, 59, 0.1);
}

/* Logos SEM p/b — sempre coloridos e responsivos */
.cliente-logo {
  width: 100%;
  max-width: var(--logo-box);
  max-height: var(--logo-box);
  height: auto;
  object-fit: contain;
  display: block;
  filter: none !important;
  opacity: 1 !important;
  margin: 0 auto;
  align-self: center;
  grid-row: 1;
}
.cliente:hover .cliente-logo {
  filter: none !important;
  opacity: 1 !important;
}

@media (hover: none) {
  .cliente,
  .cliente-logo {
    transform: none !important;
  }
}

/* Legenda (fonte padronizada) */
.cliente-nome {
  font: 600 clamp(11px, 1.4vw, 13px) / 1.35 Inter, system-ui, Arial, sans-serif;
  color: #0f2b3b;
  text-align: center;
  max-width: 19ch;
  white-space: normal;
  word-break: break-word;
  margin: 0;
  grid-row: 2;
  align-self: end;
}

/* Breakpoints do grid — diminuindo colunas e logos */
@media (max-width: 1440px) {
  .clientes-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (max-width: 1200px) {
  .clientes-grid {
    --logo-box: clamp(82px, 9.2vw, 140px);
  }
}
@media (max-width: 1100px) {
  .clientes-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 980px) {
  .clientes-grid {
    --logo-box: clamp(74px, 9vw, 128px);
  }
}
@media (max-width: 900px) {
  .clientes-grid {
    --logo-box: clamp(70px, 8.4vw, 120px);
  }
}

/* Mobile: scroll horizontal em linha única */
@media (max-width: 860px) {
  .clientes-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: var(--orange) transparent;
    gap: 24px; /* mais espaço entre as caixinhas */
    padding: 8px var(--site-pad) 18px;
    margin: 0;
    grid-template-columns: none;
    column-gap: 0;
    row-gap: 0;
    justify-items: unset;
    align-items: stretch;
    width: 100%;
    contain: none;
  }

  .clientes-grid::-webkit-scrollbar {
    height: 6px;
  }

  .clientes-grid::-webkit-scrollbar-track {
    background: transparent;
  }

  .clientes-grid::-webkit-scrollbar-thumb {
    background: var(--orange);
    border-radius: 3px;
  }

  .clientes-grid > li {
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 180px;
    width: 180px;
    height: 180px; /* todas as caixinhas com mesma altura */
    scroll-snap-align: start;
    display: flex;
    align-items: stretch;
  }

  .clientes-grid .cliente {
    width: 100%;
    height: 100%; /* ocupa toda a altura fixa do <li> */
    padding: 14px 12px;
    display: grid;
    grid-template-rows: 110px auto;
    align-items: center;
    justify-items: center;
  }

  .clientes-grid .cliente-logo {
    max-width: 110px;
    max-height: 110px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .clientes-grid .cliente-nome {
    font-size: 11px;
    line-height: 1.3;
    margin-top: 0;
    max-width: 100%;
  }
}

/* Carrossel (mobile/desktop) */
.clientes-carousel {
  position: relative;
  display: none; /* padrão: escondido em desktop */
  flex-direction: column;
  width: 100%;
}
.clientes-carousel li {
  list-style: none;
}

/* Carrossel escondido em mobile (substituído por scroll horizontal) */
@media (max-width: 860px) {
  .clientes-carousel {
    display: none !important;
  }
}

.cc-viewport {
  overflow: hidden;
  width: 100%;
  margin: 4px 0 8px;
  touch-action: pan-y;
}
.cc-track {
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}
.cc-slide {
  flex: 0 0 100%;
}

.cc-slide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px 16px;
  align-items: start;
  justify-items: center;
}
.cc-slide-grid .cliente {
  gap: 8px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(38, 132, 197, 0.25);
  box-shadow: inset 0 1px 6px rgba(15, 43, 59, 0.07),
    0 2px 8px rgba(15, 43, 59, 0.06);
}

/* Logos do carrossel também coloridos */
.cc-slide .cliente-logo {
  width: clamp(110px, 36vw, 180px);
  height: clamp(110px, 36vw, 180px);
  filter: none !important;
  opacity: 1 !important;
}
.cc-slide .cliente-nome {
  font: 600 clamp(12px, 3.2vw, 13px) / 1.25 Inter, system-ui, Arial, sans-serif;
  max-width: 20ch;
}
.cc-slide .cliente-logo.is-active {
  filter: none !important;
  opacity: 1 !important;
}

/* Setas (desktop) */
.cc-arrow {
  all: unset;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--orange);
  background: #fff;
  color: var(--orange);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 1;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
}
.cc-arrow:hover {
  background: var(--orange);
  color: #fff;
}
.cc-prev {
  left: -18px;
}
.cc-next {
  right: -18px;
}

@media (max-width: 860px) {
  .cc-arrow {
    display: none;
  }
}

/* Dots */
.cc-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-top: 22px;
}
.cc-dot {
  all: unset;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #ddd;
  border: 2px solid #ddd;
  cursor: pointer;
}
.cc-dot[aria-selected="true"] {
  background: var(--orange);
  border-color: var(--orange);
}

/* Dica gesto */
.cc-hint {
  display: none;
  padding: 5px 0;
}
@media (max-width: 860px) {
  .cc-hint {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 8px;
    user-select: none;
  }
  .cc-hint .hint-chevrons {
    animation: hintMove 1.3s ease-in-out infinite;
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 0.05em;
  }
  @keyframes hintMove {
    0%,
    100% {
      transform: translateX(0);
      opacity: 0.7;
    }
    50% {
      transform: translateX(6px);
      opacity: 1;
    }
  }
}

/* Segurança */
.sec-clientes-grid li {
  list-style: none;
}
.sec-clientes-grid li::marker {
  content: "";
}

/* Acessibilidade (menos movimento) */
@media (prefers-reduced-motion: reduce) {
  .cliente,
  .cc-track {
    transition: none !important;
  }
}

/* ============================== QUEM SOMOS (AZUL) ==================== */
.sec-about {
  background: var(--blue-section-bg);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-block: clamp(32px, 6vw, 72px);
  /* border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px; */
}

.linha-about {
  display: grid;
  /* Antes: minmax(0, 1fr) minmax(320px, 640px)  -> isso fixava a 2ª coluna */
  grid-template-columns: repeat(
    2,
    minmax(0, 1fr)
  ); /* 50% / 50% reais dentro do container */
  grid-template-areas:
    "texto imagem"
    "botao imagem";
  gap: clamp(20px, 3.5vw, 56px);
  align-items: stretch;
  justify-items: start;
}

.about-texto {
  grid-area: texto;
  display: grid;
  align-content: center;
  gap: clamp(10px, 1.2vw, 18px);
  min-width: 0;
  max-width: none; /* remove o limite para preencher os 50% da coluna */
  line-height: 1.65;
  text-wrap: pretty;
  overflow-wrap: break-word;
  word-break: break-word;
}

.eyebrow--orange {
  color: var(--orange);
  background: linear-gradient(90deg, var(--orange) 0 12ch, transparent 12ch)
    bottom/100% 2px no-repeat;
}

#titulo-quem-somos-home {
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

.hl {
  color: var(--orange);
}

.intro-about {
  color: #f1f6ff;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  margin: 0;
}

.lista-topicos {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 0 0;
  display: grid;
  gap: 0.6rem;
}
.lista-topicos li {
  position: relative;
  padding-left: 1.4rem;
}
.lista-topicos li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--orange);
}

.about-img {
  grid-area: imagem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  display: block;
}

/* Animação sutil da imagem ao entrar */
@keyframes imgEnterAbout {
  0% {
    transform: scale(0.94);
    opacity: 0.001;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.about-img.img-enter {
  animation: imgEnterAbout 520ms cubic-bezier(0.22, 0.61, 0.36, 1) 1;
}

.btn-about {
  grid-area: botao;
  justify-self: start;
  align-self: start;
  width: 100%; /* ocupa 100% da coluna (50% do container no desktop) */
  max-width: none; /* antes limitava; agora acompanha a coluna */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.16s ease, filter 0.16s ease;
  will-change: transform;
  margin-top: 0.6rem;
}
.btn-about:hover {
  transform: translateY(-2px);
}
.btn-about:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* Reveals locais */
.sec-about .reveal {
  opacity: 0;
  transform: translateY(-16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sec-about .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsivo ===== */
@media (max-width: 980px) {
  .linha-about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "texto"
      "imagem"
      "botao";
    gap: clamp(16px, 3.2vw, 28px);
    align-items: start;
    justify-items: stretch;
  }
  .about-texto {
    max-width: none;
  }
  .about-img {
    height: auto;
  }
  .btn-about {
    max-width: none;
    width: 100%;
  }
  #titulo-quem-somos-home {
    font-size: clamp(1.2rem, 6vw, 1.8rem);
  }
  .intro-about {
    font-size: clamp(0.95rem, 4.2vw, 1.05rem);
  }
}

/* ============================== QUEM SOMOS — SPLIT =================== */
.split {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  margin-block: clamp(32px, 6vw, 96px);
}
.split__item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-areas: "text media";
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
}
.split__item--reverse {
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas: "media text";
}
.split__text {
  grid-area: text;
  display: grid;
  align-content: center;
  gap: 14px;
  color: var(--ink);
}
.split__media {
  grid-area: media;
  margin: 0;
  position: relative;
  isolation: isolate;
}
.split__media img {
  width: 100%;
  height: clamp(260px, 36vw, 520px);
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.split__media::after {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  width: clamp(90px, 10vw, 150px);
  height: clamp(90px, 10vw, 150px);
  border-top-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background: radial-gradient(
      120px 120px at 100% 0,
      #0b2f5733 0 55%,
      transparent 56%
    ),
    linear-gradient(135deg, var(--blue-900), var(--blue-800));
  z-index: -1;
}
.split__item--reverse .split__media::after {
  inset: -10px auto auto -10px;
  background: radial-gradient(
      120px 120px at 0 0,
      #0b2f5733 0 55%,
      transparent 56%
    ),
    linear-gradient(225deg, var(--blue-900), var(--blue-800));
}
.eyebrow--with-line::after {
  content: "";
  display: block;
  height: 3px;
  width: 56px;
  margin-top: 10px;
  margin-left: 2px;
  border-radius: 999px;
  background: var(--orange);
}
.title {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.12;
  color: #0b2236;
  font-weight: 900;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(16px, 1.45vw, 18px);
  color: var(--ink);
}
.desc {
  font-size: clamp(15px, 1.3vw, 17px);
  color: #051c2f;
}
.details {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}
.detail {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.detail__dot {
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 50%;
  background: radial-gradient(
      circle at 30% 30%,
      #fff 0 20%,
      transparent 22% 100%
    ),
    var(--orange);
  box-shadow: 0 0 0 3px #ff620022;
  margin-top: 6px;
}
.quote {
  margin-top: 8px;
  padding: 14px 18px;
  border-left: 4px solid var(--orange);
  background: #f8fafc;
  color: #0b1220;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}
.bullets {
  list-style: none;
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 6px 0 4px;
}
.bullets li {
  display: grid;
  gap: 2px;
  padding-left: 28px;
  position: relative;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-800));
  box-shadow: 0 0 0 3px #0b2f571a;
}
.bullet__title {
  font-weight: 800;
  color: var(--blue-900);
}
.bullet__desc {
  color: var(--muted);
}
.kpis.split {
  margin-block: 0;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}
.kpi {
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9eef5;
}
.kpi__num {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--blue-900);
  line-height: 1;
}
.kpi__label {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .split__item,
  .split__item--reverse {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "media";
  }
  .split__media img {
    height: clamp(220px, 52vw, 420px);
  }
  .kpis {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 640px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================== INSTITUCIONAL (100vh) ================ */
#sentinela-topo {
  height: 1px;
}
.hs-institucional {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0a2742;
  color: #e8f1f7;
  padding-block: clamp(40px, 6vh, 80px);
  overflow: hidden;
}
.hs-inst__head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.hs-inst__kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 6px;
}
.hs-inst__title {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.2;
}
.hs-inst__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 24px);
}
@media (max-width: 980px) {
  .hs-inst__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .hs-inst__grid {
    grid-template-columns: 1fr;
  }
}

.hs-card {
  position: relative;
  color: #092842;
  background: #fff;
  border: 1px solid #0d2a45;
  border-radius: 20px;
  padding: 80px 28px 32px;
  min-height: 360px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  text-align: center;
}
.hs-card__icon {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  background: var(--orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(255, 98, 0, 0.35),
    inset 0 0 0 4px rgba(255, 255, 255, 0.12);
}
.hs-card__icon svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}
.hs-card__title {
  margin-top: 8px;
  margin-bottom: 12px;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}
.hs-card__text {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.96;
  max-width: 60ch;
  margin-inline: auto;
}

/* Aparecer suave */
[data-card] {
  opacity: 0;
  transform: translateY(12px) translateX(-24px);
  will-change: transform, opacity;
}
[data-card].is-visible {
  opacity: 1;
  transform: none;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  [data-card] {
    transform: none;
  }
  [data-card].is-visible {
    transition: none;
  }
}

/* ===================== OBRAS — CARROSSEL (página Serviços) =========== */
.sec-obras {
  --ink: #eaf4ff;
  --ink-dim: #cfe2f3;
  --ink-soft: #b7c6d5;

  background: var(--blue-section-bg);
  color: var(--ink);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-block: clamp(20px, 3vh, 36px);
  overflow-x: clip;
}
.sec-obras .container {
  width: min(100%, var(--site-max));
  margin-inline: auto;
  padding-inline: var(--site-pad);
}

/* Head */
.obras-head {
  margin-bottom: clamp(10px, 2vh, 18px);
}
.obras-eyebrow {
  display: inline-block;
  color: #fff;
  opacity: 0.95;
  font: 300 0.9rem/1 Inter, system-ui, Arial, sans-serif;
  padding-bottom: 6px;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, var(--orange) 0 60px, transparent 60px)
    bottom/100% 2px no-repeat;
}
.obras-title {
  margin: 10px 0 0;
  color: #fff;
  font: 800 clamp(22px, 5.2vw, 46px) / 1.05 Inter, system-ui, Arial, sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Carrossel */
.obras-carousel {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
  min-height: calc(100dvh - 140px);
  --card-half: 600px; /* metade do max-width (1200px) p/ setas fora */
}

/* Card com foto + painel */
.obras-card {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(12px, 2.2vw, 20px);
  background: linear-gradient(180deg, #0b2a3d 0%, #0a2231 100%);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  padding: clamp(12px, 1.6vw, 16px);

  height: auto;
  min-height: clamp(520px, 72vh, 980px);
  align-items: stretch;
}

/* Imagem */
.obras-viewport {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 56vh, 760px);
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #071a27;
}
.obras-viewport::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: radial-gradient(
      800px 400px at 10% 10%,
      rgba(255, 136, 0, 0.075),
      transparent 55%
    ),
    linear-gradient(180deg, rgba(255, 136, 0, 0.06), rgba(255, 136, 0, 0));
  pointer-events: none;
  mix-blend-mode: screen;
}
.obras-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.obras-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.obras-figure,
.obras-figure img {
  width: 100%;
  height: 100%;
  display: block;
}
.obras-figure img {
  object-fit: cover;
  transform: scale(1.01);
}

/* Painel texto */
.obras-side {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  box-shadow: inset 0 2px 0 rgba(255, 128, 0, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  align-self: stretch;
}
.obras-side > * {
  padding: 20px;
}
.obras-side-title {
  margin: 0;
  color: #fff;
  font: 800 clamp(18px, 2.4vw, 26px) / 1.2 Inter, system-ui, Arial, sans-serif;
}

.obras-location {
  margin: clamp(12px, 1.5vh, 18px) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-dim);
  font-weight: 600;
  text-transform: capitalize;
}
.obras-location svg {
  color: var(--orange);
  width: 18px;
  height: 18px;
}

.obras-text {
  margin: 0;
  color: var(--ink-dim);
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
}
.obras-text .hl {
  color: #fff;
  font-weight: 800;
}

/* Métricas */
.obras-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: end;
}
.metric {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-align: center;
  min-height: clamp(110px, 19vh, 170px);
  padding-block: clamp(24px, 4.2vh, 40px);
  padding-inline: clamp(16px, 2.4vw, 24px);
  display: grid;
  align-content: center;
  gap: 10px;
}
.metric__value {
  font: 900 clamp(28px, 5.2vw, 48px) / 1 Inter, system-ui, Arial, sans-serif;
  color: var(--orange);
  letter-spacing: 0.3px;
}
.metric__label {
  font: 700 clamp(13px, 1.9vw, 18px) / 1.25 Inter, system-ui, Arial, sans-serif;
  color: #fff;
  opacity: 0.98;
}

/* Setas */
.obras-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 34, 49, 0.6);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s,
    border-color 0.2s;
  backdrop-filter: blur(3px);
  z-index: 5;
}
.obras-arrow.prev {
  left: calc(50% - var(--card-half) - 40px);
}
.obras-arrow.next {
  right: calc(50% - var(--card-half) - 40px);
}
.obras-arrow:hover {
  background: rgba(255, 136, 0, 0.28);
  border-color: rgba(255, 136, 0, 0.5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%) scale(1.05);
}

/* Dots + dica */
.obras-dots {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.obras-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: var(--ink-soft);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.12s, background 0.2s, box-shadow 0.2s;
}
.obras-dots button:hover {
  transform: scale(1.1);
  opacity: 0.85;
}
.obras-dots button.is-active {
  background: var(--orange);
  opacity: 1;
  box-shadow: 0 0 0 6px rgba(255, 136, 0, 0.16);
}

.obras-hint {
  display: none;
  font-size: 14px;
  color: var(--ink-dim);
  opacity: 0.9;
  user-select: none;
  align-items: center;
  gap: 6px;
}
.obras-hint .chev {
  color: var(--orange);
  letter-spacing: 1px;
}

@media (max-width: 1100px) {
  .obras-card {
    grid-template-columns: 1fr 360px;
  }
  .obras-carousel {
    --card-half: 560px;
  }
}
@media (max-width: 980px) {
  .obras-card {
    grid-template-columns: 1fr;
  }
  .obras-viewport {
    min-height: clamp(360px, 50vh, 620px);
  }
  .obras-arrow {
    display: none;
  } /* mobile usa gesto */
  .obras-hint {
    display: inline-flex;
  }
}

/* =============== Seção com imagem antes do rodapé (Serviços) ========= */
.sec-hero-bg {
  position: relative;
  width: 100%;
  height: 80vh;
  background: url("https://yellot.com.br/wp-content/uploads/2022/05/paineis-solares-2048x1211.jpg")
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.sec-hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}
.sec-hero-bg .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.sec-hero-bg .hero-content h1 {
  font-size: clamp(24px, 5vw, 50px);
  margin-bottom: 10px;
}
.sec-hero-bg .hero-content p {
  font-size: clamp(14px, 2vw, 20px);
  opacity: 0.9;
}

/* =============================== FOOTER =============================== */
.site-footer {
  --bg: #fff;
  --ink: #0e2a47;
  --muted: #536477;
  --accent: var(--orange);
  --line: #e9eef3;
  background: var(--bg);
  color: var(--ink);
  padding: 40px 0 20px;
  font-family: Inter, system-ui, sans-serif;
  margin-top: 4%;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start;
}
.footer-col {
  display: grid;
  gap: 10px;
}
.footer-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 10px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer-links a {
  text-decoration: none;
  color: var(--ink);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--accent);
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: grid;
  gap: 6px;
}
.footer-contact a {
  text-decoration: none;
  color: var(--ink);
}
.footer-contact a:hover {
  color: var(--accent);
}
.ico {
  color: var(--accent);
  margin-right: 6px;
}
.footer-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-decoration: none;
}
.logo-mark {
  font-weight: 700;
  color: var(--ink);
  font-size: 22px;
}
.logo-dot {
  color: var(--accent);
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--accent);
  background: #fff;
  transition: 0.2s;
}
.footer-social a:hover {
  background: #fff4ec;
  border-color: var(--accent);
}
.footer-map iframe {
  border-radius: 8px;
  width: 100%;
  height: 200px;
}
.footer-sep {
  border: none;
  height: 1px;
  background: var(--line);
  margin: 30px 0 20px;
}
.footer-copy {
  text-align: center;
  color: #7a8a9a;
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
