:root {
  --cor-principal: #f9a602;
  --cor-escura: #231f20;
  --cor-texto: #2b3340;
  --cor-fundo-alt: #f3f4f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--cor-texto); line-height: 1.6; }
.container { width: min(1100px, 92%); margin: 0 auto; }
.container--estreito { width: min(640px, 92%); }

.topo { background: #fff; border-bottom: 3px solid var(--cor-principal); position: sticky; top: 0; z-index: 10; }
.topo__barra { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo img { height: 48px; display: block; }
.menu { display: flex; align-items: center; gap: 22px; }
.menu a { color: var(--cor-escura); font-weight: 700; text-decoration: none; }
.menu a:hover { color: #c78100; }
.menu-btn { display: none; background: none; border: 0; color: var(--cor-escura); font-size: 1.6rem; cursor: pointer; }

.btn { display: inline-block; background: var(--cor-principal); color: var(--cor-escura) !important; font-weight: 700; padding: 12px 26px; border: 0; border-radius: 4px; text-decoration: none; cursor: pointer; font-size: 1rem; }
.btn:hover { filter: brightness(1.08); }
.btn--pequeno { padding: 8px 16px; }

.hero { position: relative; color: #fff; text-align: center; min-height: 560px; display: flex; align-items: center; overflow: hidden; background: var(--cor-escura); }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; opacity: 0; transition: opacity .9s ease; }
.slide.ativo { opacity: 1; }
.hero__slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(35,31,32,.55), rgba(35,31,32,.7)); }
.hero__texto { position: relative; z-index: 2; padding: 90px 0; }
.seta { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); background: rgba(35,31,32,.55); color: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.seta:hover { background: var(--cor-principal); color: var(--cor-escura); }
.seta--ant { left: 16px; } .seta--prox { right: 16px; }
.pontos { position: absolute; z-index: 3; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.pontos button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.pontos button.ativo { background: var(--cor-principal); border-color: var(--cor-principal); }
.hero h1 { text-shadow: 0 2px 8px rgba(0,0,0,.5); font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 16px; }
.hero p { text-shadow: 0 2px 8px rgba(0,0,0,.5); font-size: 1.15rem; margin: 0 0 28px; }

.secao { padding: 70px 0; }
.secao--cinza { background: var(--cor-fundo-alt); }
.secao h2 { margin-top: 0; font-size: 2rem; border-left: 5px solid var(--cor-principal); padding-left: 12px; }
.sub { color: #6b7280; }

.grade { --colunas: 3; --espaco: 24px; display: flex; flex-wrap: wrap; gap: var(--espaco); margin-top: 24px; }
.grade > * { flex: 1 1 calc((100% - (var(--colunas) - 1) * var(--espaco)) / var(--colunas) - 1px); }
#equipamentos .grade { --colunas: 4; justify-content: center; }
#equipamentos .grade > * { flex-grow: 0; }
.cartao { background: #fff; border-radius: 6px; padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .25s ease, box-shadow .25s ease; }
.cartao:hover { transform: scale(1.04); box-shadow: 0 8px 22px rgba(0,0,0,.18); position: relative; z-index: 1; }
.icone-servico { width: 46px; height: 46px; color: var(--cor-principal); display: block; margin-bottom: 12px; }
.cartao h3 { margin-top: 0; }
.foto { overflow: hidden; background: #d9dce1; height: 200px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #6b7280; margin-bottom: 14px; }

.foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; display: block; }

.foto img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,18,19,.92); display: flex; align-items: center; justify-content: center; padding: 20px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; text-align: center; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 4px; cursor: default; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-weight: 700; }
.lightbox__fechar { position: absolute; top: 12px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }
.lightbox__fechar:hover { color: var(--cor-principal); }

form label { display: block; margin-bottom: 16px; font-weight: 700; }
form input, form select, form textarea { width: 100%; margin-top: 6px; padding: 10px; border: 1px solid #c4c8cf; border-radius: 4px; font: inherit; }
.aviso { color: #b91c1c; }

.contato { list-style: none; padding: 0; }
.contato li { margin-bottom: 10px; }
.contato a { text-decoration: none; color: inherit; }
.icone { width: 20px; height: 20px; vertical-align: -4px; margin-right: 10px; color: var(--cor-principal); }

.mapa { margin: 20px 0 16px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.mapa iframe { display: block; width: 100%; height: 380px; border: 0; }

.rodape { background: var(--cor-escura); color: #cbd0d8; padding: 24px 0; text-align: center; font-size: .9rem; }

img { max-width: 100%; }
body { overflow-x: hidden; }
.contato li { overflow-wrap: anywhere; }
section[id] { scroll-margin-top: 80px; }

/* Tablet e celular: menu recolhido */
@media (max-width: 960px) {
  .grade, #equipamentos .grade { --colunas: 2; }
  .menu-btn { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 3px solid var(--cor-principal); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; text-align: center; }
  .menu a { padding: 12px 0; }
  .menu .btn { margin: 8px auto 0; }
  .menu.aberto { display: flex; }
  .secao { padding: 56px 0; }
}

/* Celular */
@media (max-width: 600px) {
  .logo img { height: 40px; }
  .hero { min-height: 480px; }
  .hero__texto { padding: 60px 0 70px; }
  .hero p { font-size: 1rem; }
  .seta { width: 36px; height: 36px; font-size: 1.4rem; }
  .seta--ant { left: 6px; } .seta--prox { right: 6px; }
  .secao { padding: 44px 0; }
  .secao h2 { font-size: 1.6rem; }
  .grade, #equipamentos .grade { --colunas: 1; --espaco: 16px; }
  .mapa iframe { height: 300px; }
  .btn { padding: 12px 20px; }
  form input, form select, form textarea { font-size: 16px; }
  form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .cartao { transition: none; }
}
