:root {
  --laranja: #ED7023;
  --laranja-esc: #c95a14;
  --grafite: #343433;
  --grafite-esc: #222221;
  --texto: #3f3f3e;
  --cinza: #f4f3f1;
  --linha: #e4e2de;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(0, 0, 0, .08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--texto);
  line-height: 1.6;
  font-size: 17px;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--laranja-esc); }
h1, h2, h3 { color: var(--grafite); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .78rem;
  font-weight: 700; color: var(--laranja); margin: 0 0 .6em;
}
.btn {
  display: inline-block; background: var(--laranja); color: #fff; text-decoration: none;
  font-weight: 700; padding: .85em 1.5em; border-radius: 999px; border: 2px solid var(--laranja);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--laranja-esc); border-color: var(--laranja-esc); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: #fff; color: var(--grafite); border-color: #fff; }
.btn-small { padding: .5em 1.1em; font-size: .95rem; }

/* Cabeçalho */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--linha); transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.07); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.brand img { width: auto; height: 68px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--laranja); text-decoration: none; font-weight: 600; transition: color .2s; }
.nav a:not(.btn):hover, .nav a:not(.btn):focus-visible { color: var(--grafite); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--grafite); margin: 5px 0; border-radius: 2px; }

/* Banner */
.hero {
  background: radial-gradient(1200px 500px at 85% 20%, #3e3e3d 0%, var(--grafite-esc) 60%);
  color: #e9e9e7; overflow: hidden; position: relative;
}
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -260px; width: 620px; height: 620px;
  border-radius: 50%; border: 46px solid rgba(237,112,35,.14); pointer-events: none;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding: 72px 0; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.12rem; max-width: 34em; color: #cfcfcc; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-media { min-width: 0; }

/* Carrossel de destaques (banner) */
.carrossel { position: relative; border-radius: var(--raio); overflow: hidden; box-shadow: 0 25px 60px rgba(0,0,0,.45); background: #2a2a29; }
.carrossel-pista { list-style: none; margin: 0; padding: 0; display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; }
.slide figure { margin: 0; position: relative; }
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 18px; bottom: 18px; background: var(--laranja); color: #fff;
  font-weight: 600; font-size: .95rem; padding: .45em 1em; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.carrossel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(52,52,51,.72); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.carrossel-btn:hover, .carrossel-btn:focus-visible { background: var(--laranja); }
.carrossel-ant { left: 12px; }
.carrossel-seg { right: 12px; }
.carrossel-pontos { position: absolute; right: 18px; bottom: 24px; display: flex; gap: 8px; }
.carrossel-pontos button {
  width: 11px; height: 11px; padding: 0; border-radius: 999px; border: 2px solid #fff; background: transparent;
  cursor: pointer; transition: width .3s, background .3s;
}
.carrossel-pontos button[aria-current="true"] { background: var(--laranja); border-color: var(--laranja); width: 28px; }

/* Secções */
.section { padding: 88px 0; }
.section-alt { background: var(--cinza); }
.section-head { max-width: 760px; margin-bottom: 44px; }

.gamas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.gama { background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); border: 1px solid var(--linha); }
.gama img { width: 100%; aspect-ratio: 450 / 220; object-fit: cover; }
.gama-body { padding: 20px 22px 24px; border-top: 4px solid var(--laranja); }
.gama-body p { margin: 0; }

.servicos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.servicos li {
  display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; align-items: start;
  padding: 20px; border: 1px solid var(--linha); border-radius: var(--raio); background: #fff;
}
.servicos svg {
  grid-row: span 2; width: 44px; height: 44px; padding: 9px; border-radius: 12px;
  background: rgba(237,112,35,.12); fill: none; stroke: var(--laranja); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.servicos li:first-child { grid-column: 1 / -1; } /* 7 serviços: destaque a toda a largura + 2 filas completas */
.servicos h3 { margin: 0 0 .15em; font-size: 1.02rem; }
.servicos p { margin: 0; font-size: .95rem; color: #6b6b69; }

/* Marcas */
.marcas-titulo { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: #7a7a78; margin: 0 0 14px; }
.marcas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.marcas li {
  background: #fff; border-radius: 12px; border: 1px solid var(--linha);
  display: flex; align-items: center; justify-content: center; padding: 18px 14px;
  transition: transform .2s, box-shadow .2s;
  flex: 0 0 calc((100% - 6 * 14px) / 7); /* 14 marcas: 2 filas de 7 */
}
.marcas li:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.marcas img { width: 100%; max-width: 180px; }

/* Contactos */
.contactos { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: stretch; }
.contactos dl { margin: 8px 0 28px; }
.contactos dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--linha); }
.contactos dt { font-weight: 700; color: var(--grafite); }
.contactos dd { margin: 0; }
.contactos dd a { text-decoration: none; font-weight: 600; }
.contactos dd small { display: block; font-size: .78rem; color: #8a8a88; }
.contactos address { font-style: normal; }
.horario { margin: 0 0 28px; }
.horario h3 { font-size: 1.05rem; margin: 0 0 10px; }
.horario ul { list-style: none; margin: 0; padding: 0; }
.horario li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 8px 0; border-bottom: 1px dashed var(--linha); }
.horario li span:first-child { font-weight: 600; color: var(--grafite); }
.mapa { min-height: 380px; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); border: 1px solid var(--linha); }
.mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Galeria */
.galeria { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria-item { display: block; position: relative; border-radius: 12px; overflow: hidden; background: var(--cinza); cursor: zoom-in; }
.galeria-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s; }
.galeria-item::after { content: ""; position: absolute; inset: 0; background: rgba(237,112,35,0); transition: background .25s; }
.galeria-item:hover img, .galeria-item:focus-visible img { transform: scale(1.05); }
.galeria-item:hover::after, .galeria-item:focus-visible::after { background: rgba(237,112,35,.18); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,20,19,.94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-figura { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); user-select: none; -webkit-user-drag: none; }
.lb-legenda { color: #d6d6d3; font-size: .92rem; text-align: center; margin-top: 14px; max-width: 60ch; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer; width: 52px; height: 52px; border-radius: 50%; font-size: 34px; line-height: 1; display: flex; align-items: center; justify-content: center; font-family: inherit; transition: background .2s; }
.lb-btn:hover, .lb-btn:focus-visible { background: var(--laranja); }
.lb-fechar { top: 16px; right: 16px; font-size: 30px; }
.lb-ant { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-seg { right: 14px; top: 50%; transform: translateY(-50%); }
body.lb-aberta { overflow: hidden; }

/* Rodapé */
.site-footer { background: var(--grafite-esc); color: #b9b9b6; padding: 48px 0; font-size: .92rem; }
.footer-inner { display: flex; align-items: center; gap: 40px; }
.footer-logo { width: 130px; flex: none; }
.footer-text p { margin: 0 0 .6em; }
.footer-text strong { color: #fff; }
.footer-text address { font-style: normal; margin: 0 0 .6em; }
.site-footer a { color: #fff; }
.site-footer .copy a { color: #fff; text-decoration: none; font-weight: 600; transition: color .2s; }
.site-footer .copy a:hover, .site-footer .copy a:focus-visible { color: var(--laranja, #ED7023); text-decoration: underline; }
.copy { color: #8d8d8a; }

/* Responsivo */
@media (max-width: 960px) {
  .hero-inner, .contactos { grid-template-columns: 1fr; }
  .hero-inner { padding: 48px 0 56px; gap: 32px; }
  .gamas, .servicos { grid-template-columns: 1fr 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .marcas li { flex-basis: calc((100% - 4 * 14px) / 5); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--linha);
    box-shadow: 0 12px 24px rgba(0,0,0,.08); display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--linha); }
  .nav .btn { margin-top: 14px; text-align: center; }
  .brand img { height: 52px; }
  .section { padding: 64px 0; }
  .gamas, .servicos { grid-template-columns: 1fr; }
  .marcas { gap: 10px; }
  .marcas li { padding: 12px 10px; flex-basis: calc((100% - 10px) / 2); }
  .contactos dl > div { grid-template-columns: 1fr; gap: 2px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .galeria { gap: 10px; }
  .lightbox { padding: 64px 10px 24px; }
  .lb-img { max-height: calc(100vh - 170px); }
  .lb-ant, .lb-seg { top: auto; bottom: 18px; transform: none; width: 46px; height: 46px; }
  .lb-ant { left: calc(50% - 58px); }
  .lb-seg { right: calc(50% - 58px); }
  .lb-legenda { margin-bottom: 64px; font-size: .85rem; }
}
@media (max-width: 720px) {
  .slide figcaption { left: 12px; bottom: 12px; font-size: .82rem; }
  .carrossel-pontos { right: 12px; bottom: 18px; }
  .carrossel-btn { width: 38px; height: 38px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carrossel-pista { transition: none; }
  * { transition: none !important; }
}
