/* ==========================================================================
   Magic Clean — folha de estilo principal
   Paleta e tipografia reproduzidas do site original
   ========================================================================== */

:root {
  --vermelho: #ff0505;
  --vermelho-escuro: #d40404;
  --azul: #001837;
  --texto: #565656;
  --cinza-claro: #f6f6f6;
  --borda: #e8e8e8;
  --verde: #00c129;
  --container: 1170px;
  --fonte-titulo: 'Poppins', sans-serif;
  --fonte-corpo: 'Open Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--fonte-corpo);
  font-size: 16px;
  line-height: 1.7;
  color: var(--texto);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--fonte-titulo);
  color: var(--azul);
  margin: 0 0 20px;
}

h1 { font-size: 40px; line-height: 55px; font-weight: 300; }
h1 strong, h1 b { font-weight: 700; }
h1 em { font-style: italic; font-weight: 300; }
h2 { font-size: 36px; line-height: 48px; font-weight: 600; }
h3 { font-size: 24px; line-height: 34px; font-weight: 600; }
h4 { font-size: 20px; line-height: 30px; font-weight: 600; }

/* Nas páginas internas o título principal virou h1 (antes era h2) para o
   Google encontrar um h1 por página. O desenho continua o mesmo: estes
   h1 herdam o tamanho de h2, só a marcação mudou. */
.conteudo-servico h1,
.sobre__texto h1,
.conteudo-legal h1,
.centralizado h1 { font-size: 36px; line-height: 48px; font-weight: 600; }

p { margin: 0 0 18px; }
a { color: var(--vermelho); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--vermelho-escuro); }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------------------------------------------- Botões */
.btn {
  display: inline-block;
  font-family: var(--fonte-corpo);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  line-height: 21px;
  padding: 14px 31.5px;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}
.btn--vermelho { background: var(--vermelho); color: #fff; }
.btn--vermelho:hover { background: var(--vermelho-escuro); color: #fff; transform: translateY(-2px); }
.btn--seta::after { content: '\2192'; margin-left: 12px; font-weight: 400; }
.btn--maiusculo { text-transform: uppercase; }

/* ------------------------------------------------------------ Barra topo */
.topbar {
  background: var(--cinza-claro);
  border-bottom: 1px solid var(--borda);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 20px;
}
.topbar__contatos { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--vermelho); font-size: 13px; }
.topbar__item span { color: var(--texto); }
.topbar__item:hover span { color: var(--vermelho); }
.topbar__redes { display: flex; align-items: center; gap: 16px; }
.topbar__redes a { color: var(--vermelho); display: inline-flex; font-size: 14px; }
.topbar__redes a:hover { color: var(--azul); }

/* --------------------------------------------------------------- Cabeçalho */
.cabecalho { background: #fff; position: relative; z-index: 60; }
.cabecalho__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 24px;
}
.cabecalho__logo img { width: 203px; height: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
/* Peças que existem só no painel mobile */
.nav__fechar, .nav__rodape, .nav__seta, .nav-fundo { display: none; }
.nav__lista { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__item > a {
  font-size: 14px;
  font-weight: 600;
  color: var(--azul);
  position: relative;
  padding: 38px 0;
  display: inline-block;
}
.nav__item > a:hover, .nav__item.ativo > a { color: var(--vermelho); }
.nav__item.ativo > a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 32px;
  height: 2px;
  background: var(--vermelho);
}

.submenu {
  position: absolute;
  top: 100%;
  left: -24px;
  min-width: 270px;
  background: #fff;
  border-top: 3px solid var(--vermelho);
  box-shadow: 0 12px 34px rgba(0, 24, 55, .13);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.nav__item:hover > .submenu,
.nav__item:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 400;
  color: var(--azul);
}
.submenu a:hover { color: var(--vermelho); background: var(--cinza-claro); }

.cabecalho__acao .btn { white-space: nowrap; }

/* Menu mobile */
.menu-toggle {
  display: none;
  width: 46px; height: 42px;
  background: transparent;
  border: 1px solid var(--borda);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 4px auto;
  background: var(--azul);
  transition: transform .3s ease, opacity .3s ease;
}
.menu-toggle.aberto span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.aberto span:nth-child(2) { opacity: 0; }
.menu-toggle.aberto span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------------- Seções */
.secao { padding: 90px 0; }
.secao--cinza { background: var(--cinza-claro); }
.secao--compacta { padding: 60px 0; }

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--texto);
  margin-bottom: 14px;
}
.rotulo::before { content: ''; width: 44px; height: 1px; background: var(--vermelho); }
.rotulo--centro { justify-content: center; }
.rotulo--centro::after { content: ''; width: 44px; height: 1px; background: var(--vermelho); }
.rotulo--claro { color: #fff; }

.centralizado { text-align: center; }

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  background: #eee center/cover no-repeat;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 100px 0 160px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(146deg, rgba(255,255,255,.88) 35%, rgba(255,255,255,.01) 70%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero__conteudo { max-width: 620px; }
.hero h1 { margin-bottom: 22px; }
/* Subtitulo que carrega a geolocalizacao. O h1 segue igual ao original;
   a regiao entra aqui para o SEO local sem descaracterizar o hero. */
.hero__sub {
  font-size: 18px;
  line-height: 30px;
  color: var(--texto);
  max-width: 520px;
  margin: 0 0 32px;
}
.hero__sub strong { color: var(--azul); font-weight: 600; }

.onda {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  line-height: 0;
  z-index: 2;
}
.onda svg { width: 100%; height: auto; display: block; }

/* -------------------------------------------------------- Cards serviços */
.servicos__topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.servicos__topo h2 { margin: 0; max-width: 420px; font-size: 26px; line-height: 38px; text-transform: uppercase; }
.servicos__topo p { margin: 0; flex: 1 1 260px; }

.grade-servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.card-servico {
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease, transform .3s ease;
}
.card-servico:hover { box-shadow: 0 18px 40px rgba(0, 24, 55, .12); transform: translateY(-4px); }
.card-servico__img {
  aspect-ratio: 4 / 3;
  background: #ececec center/cover no-repeat;
}
.card-servico__corpo {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card-servico__titulo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.card-servico__titulo h3 { font-size: 17px; line-height: 26px; margin: 0; font-weight: 600; }
.card-servico__seta {
  width: 34px; height: 34px;
  border: 1px solid var(--vermelho);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vermelho);
  flex-shrink: 0;
  font-size: 13px;
  transition: background-color .25s ease, color .25s ease;
}
.card-servico:hover .card-servico__seta { background: var(--vermelho); color: #fff; }
.card-servico__corpo p { margin: 0; font-size: 14px; line-height: 24px; color: var(--texto); }

/* ----------------------------------------------------------------- Sobre */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sobre__texto p:first-of-type { font-size: 17px; line-height: 30px; }
.sobre__img { border-radius: 4px; overflow: hidden; }

/* ------------------------------------------------------------ Passo a passo */
.passos {
  position: relative;
  background: #333 center/cover no-repeat;
  padding: 100px 0;
  color: #fff;
}
.passos::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .74); }
.passos .container { position: relative; z-index: 2; }
.passos h2 { color: #fff; margin-bottom: 60px; }
.grade-passos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  position: relative;
}
.passo__icone {
  width: 76px; height: 76px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--vermelho);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.passo__icone svg { width: 34px; height: 34px; fill: currentColor; }
.passo h3 { color: #fff; margin-bottom: 10px; font-size: 18px; }
.passo p { font-size: 14px; line-height: 24px; color: rgba(255, 255, 255, .8); margin: 0; }
.passo__ligacao {
  position: absolute;
  top: 26px;
  width: 90px;
  opacity: .45;
  pointer-events: none;
}
.passo__ligacao--1 { left: 31%; }
.passo__ligacao--2 { left: 64%; }

/* ------------------------------------------------------- Carrossel galeria */
.carrossel { position: relative; }
.carrossel__trilho {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
.carrossel__item {
  flex: 0 0 calc((100% - 60px) / 3);
  scroll-snap-align: start;
  border-radius: 4px;
  overflow: hidden;
}
.carrossel__item img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.carrossel__pontos {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.carrossel__ponto {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d5d5d5;
  cursor: pointer;
  transition: background-color .25s ease;
}
.carrossel__ponto.ativo { background: var(--vermelho); }

/* ------------------------------------------------------------- CTA final */
/* A foto de fundo é escura no arquivo original; o véu branco em degradê
   reproduz o clareamento que o site antigo aplicava por cima dela. */
.cta {
  position: relative;
  background: #dfe3e8 center/cover no-repeat;
  padding: 130px 0;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(146deg, rgba(255,255,255,.93) 28%, rgba(255,255,255,.55) 78%);
}
.cta__conteudo { max-width: 470px; position: relative; z-index: 2; }
.cta__conteudo h2 { font-size: 34px; line-height: 46px; margin-bottom: 30px; }
.cta__conteudo > p:first-child { font-weight: 600; color: var(--azul); margin-bottom: 8px; }

/* ---------------------------------------------------------------- Rodapé */
.rodape { background: #fff; padding: 70px 0 50px; text-align: center; border-top: 1px solid var(--borda); }
.rodape__logo { width: 250px; margin: 0 auto 22px; }
.rodape p { margin: 0 0 6px; font-size: 14px; }
.rodape__contato { margin-top: 20px; font-size: 14px; line-height: 24px; }
.rodape__contato a { color: var(--texto); }
.rodape__contato a:hover { color: var(--vermelho); }
.rodape__endereco {
  margin-top: 18px;
  font-style: normal;
  font-size: 14px;
  line-height: 24px;
}
.rodape__area { margin-top: 14px; font-size: 13px; color: #8a8a8a; }
.rodape__legal {
  margin-top: 22px;
  font-size: 13px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.rodape__legal a { color: #8a8a8a; }
.rodape__legal a:hover { color: var(--vermelho); }
.rodape__legal span { color: #c8c8c8; }
.rodape__creditos { margin-top: 30px; font-size: 12px; color: #9a9a9a; }

/* --------------------------------------------------------- Páginas legais
   Coluna estreita e entrelinha maior: são textos longos, feitos para ler. */
.conteudo-legal .container { max-width: 820px; }
.conteudo-legal h1 { margin-bottom: 6px; }
.conteudo-legal h2 {
  font-size: 21px;
  line-height: 31px;
  margin: 44px 0 14px;
}
.conteudo-legal p { line-height: 29px; }
.conteudo-legal .lista-checks { margin: 18px 0 24px; }
.conteudo-legal__data {
  font-size: 13px;
  color: #9a9a9a;
  margin-bottom: 36px;
}
.conteudo-legal__rodape {
  margin-top: 50px;
  padding-top: 26px;
  border-top: 1px solid var(--borda);
  font-size: 15px;
}

/* --------------------------------------------------- Botão WhatsApp fixo */
.whatsapp-flutuante {
  position: fixed;
  left: 20px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--verde);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  padding: 10px 18px;
  border-radius: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
  transition: transform .25s ease;
}
.whatsapp-flutuante:hover { color: #fff; transform: translateY(-3px); }
.whatsapp-flutuante svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

/* --------------------------------------------------------- Páginas internas */
.conteudo-servico h1 { margin-bottom: 26px; }
.servico-midia {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin: 60px 0;
}
.servico-midia img { border-radius: 4px; width: 100%; }
/* Este título virou h2 para não pular nível depois do h1 da página;
   o tamanho segue o de h3, que é como ele sempre apareceu. */
.servico-midia h2 { font-size: 24px; line-height: 34px; }

.lista-checks { list-style: none; margin: 0; padding: 0; }
.lista-checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 26px;
}
.lista-checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 17px; height: 17px;
  border: 1px solid var(--vermelho);
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff0505' stroke-width='3.4'%3E%3Cpath d='M4 12.5l5.5 5.5L20 6.5'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* Cards missão / visão / valores */
.grade-valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card-valor {
  background: var(--cinza-claro);
  padding: 44px 34px 40px;
  border-bottom: 4px solid var(--vermelho);
}
.card-valor img { width: 54px; margin-bottom: 26px; }
.card-valor h2 { margin-bottom: 14px; font-size: 20px; line-height: 30px; }
.card-valor p { font-size: 14px; line-height: 25px; margin: 0; }

/* Galeria */
.grade-galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grade-galeria a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cinza-claro);
}
.grade-galeria img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .4s ease;
}
.grade-galeria a { position: relative; cursor: zoom-in; }
.grade-galeria a:hover img { transform: scale(1.05); }
/* Lupa no hover, para deixar claro que a foto amplia */
.grade-galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 55, .35) center no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.grade-galeria__item:hover::after,
.grade-galeria__item:focus-visible::after { opacity: 1; }

/* ------------------------------------------------------------- Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: rgba(0, 12, 28, .93);
  animation: lightbox-entra .22s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lightbox-entra { from { opacity: 0; } to { opacity: 1; } }

.lightbox__palco {
  margin: 0;
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lightbox__palco img {
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  border-radius: 4px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.lightbox__legenda {
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  letter-spacing: 1px;
}

.lightbox__fechar,
.lightbox__nav {
  background: rgba(255, 255, 255, .12);
  border: 0;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .25s ease;
  flex-shrink: 0;
  font-family: var(--fonte-corpo);
}
.lightbox__fechar:hover,
.lightbox__nav:hover { background: var(--vermelho); }

.lightbox__fechar {
  position: absolute;
  top: 18px; right: 18px;
  width: 46px; height: 46px;
  font-size: 30px;
  line-height: 1;
}
.lightbox__nav { width: 52px; height: 52px; font-size: 34px; line-height: 1; }

body.lightbox-aberto { overflow: hidden; }

/* Contato */
.contato {
  position: relative;
  background: #444 center/cover no-repeat;
  padding: 100px 0 170px;
  color: #fff;
}
.contato::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .62); }
.contato .container { position: relative; z-index: 2; }
.contato__grade { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.contato__info { text-align: center; }
.contato__info h1 { color: #fff; font-weight: 700; font-size: 38px; line-height: 50px; }
.contato__rotulo { font-weight: 600; color: #fff; margin-bottom: 10px; }
.contato__info p { color: rgba(255, 255, 255, .85); font-size: 14px; line-height: 24px; }
.contato__telefone-icone {
  width: 70px; height: 70px;
  margin: 40px auto 20px;
  border-radius: 50%;
  background: var(--vermelho);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.contato__telefone-icone svg { width: 30px; height: 30px; fill: currentColor; }
.contato__telefone { font-family: var(--fonte-titulo); font-size: 30px; font-weight: 600; color: #fff; }
.contato__telefone:hover { color: #fff; }
.onda-vermelha { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.onda-vermelha svg { width: 100%; height: auto; display: block; }

/* Formulário */
.formulario label {
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  margin-bottom: 8px;
}
.formulario__campo { margin-bottom: 18px; }
.formulario input, .formulario textarea {
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-radius: 2px;
  background: #f4f4f4;
  font-family: var(--fonte-corpo);
  font-size: 15px;
  color: var(--azul);
}
.formulario input:focus, .formulario textarea:focus { outline: 2px solid var(--vermelho); }
.formulario textarea { min-height: 150px; resize: vertical; }
.formulario__envio { margin-top: 6px; }
.formulario__aviso { margin-top: 14px; font-size: 14px; min-height: 22px; }
.formulario__aviso.ok { color: #9dffb0; }
.formulario__aviso.erro { color: #ffc4c4; }
.formulario__mel { position: absolute; left: -9999px; opacity: 0; }

/* -------------------------------------------------------------- Responsivo */
@media (max-width: 991px) {
  h1 { font-size: 32px; line-height: 44px; }
  h2 { font-size: 28px; line-height: 40px; }
  .conteudo-servico h1,
  .sobre__texto h1,
  .conteudo-legal h1,
  .centralizado h1 { font-size: 28px; line-height: 40px; }
  .secao { padding: 60px 0; }
  .grade-servicos, .grade-passos, .grade-valores, .grade-galeria { grid-template-columns: repeat(2, 1fr); }
  .sobre, .servico-midia, .contato__grade { grid-template-columns: 1fr; gap: 40px; }
  .passo__ligacao { display: none; }
  .carrossel__item { flex-basis: calc((100% - 30px) / 2); }
  .cta { padding: 90px 0; }
}

@media (max-width: 767px) {
  /* No celular a barra de contatos sai do topo: telefone, email e redes
     passam a viver dentro do painel do menu, como no site original. */
  .topbar { display: none; }
  .menu-toggle { display: block; }
  .cabecalho__inner { min-height: 78px; }
  .cabecalho__logo img { width: 158px; }
  .cabecalho__acao { display: none; }

  /* ------------------------------------------- Painel deslizante do menu */
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86%, 380px);
    z-index: 120;
    display: block;
    background: #fff;
    padding: 64px 30px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -14px 0 40px rgba(0, 24, 55, .18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility .34s;
  }
  .nav.aberto { transform: translateX(0); visibility: visible; }

  .nav__fechar {
    display: flex;
    position: absolute;
    top: 14px; right: 18px;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    font-size: 30px;
    line-height: 1;
    color: #8b8b8b;
    cursor: pointer;
    font-family: var(--fonte-corpo);
  }
  .nav__fechar:hover { color: var(--vermelho); }

  .nav__lista { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item > a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 0;
    font-size: 16px;
  }
  .nav__item.ativo > a::after { content: none; }
  .nav__seta { display: inline-flex; transition: transform .3s ease; color: #9a9a9a; }
  .nav__item.expandido .nav__seta { transform: rotate(180deg); }

  /* O submenu abre em altura, sem sumir de repente */
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-top: 0;
    border-left: 2px solid var(--vermelho);
    padding: 0;
    margin: 0 0 6px 4px;
    min-width: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height .34s ease;
  }
  .nav__item.expandido > .submenu { max-height: 420px; }
  .submenu a { padding: 10px 16px; font-size: 15px; }

  .nav__rodape { display: block; margin-top: 26px; }
  .nav__rodape .btn { display: block; text-align: center; padding: 16px 20px; }
  .nav__contatos { display: flex; flex-direction: column; gap: 12px; margin-top: 34px; }
  .nav__contatos .topbar__item { font-size: 14px; }
  .nav__redes { display: flex; gap: 20px; margin-top: 22px; }
  .nav__redes a { color: #9a9a9a; font-size: 16px; display: inline-flex; }
  .nav__redes a:hover { color: var(--vermelho); }

  /* Véu sobre a página enquanto o painel está aberto */
  .nav-fundo {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(0, 24, 55, .3);
    animation: fundo-entra .34s ease;
  }
  .nav-fundo[hidden] { display: none; }
  @keyframes fundo-entra { from { opacity: 0; } to { opacity: 1; } }

  body.menu-aberto { overflow: hidden; }
  /* O cabeçalho tem contexto de empilhamento próprio (z-index 60), então o
     painel dentro dele não consegue passar do véu sozinho: é o cabeçalho
     que precisa subir enquanto o menu está aberto. */
  body.menu-aberto .cabecalho { z-index: 130; }

  /* Quem pediu menos movimento recebe o painel sem deslizar */
  @media (prefers-reduced-motion: reduce) {
    .nav { transition: none; }
    .nav-fundo { animation: none; }
    .submenu { transition: none; }
  }
  .grade-servicos, .grade-passos, .grade-valores, .grade-galeria { grid-template-columns: 1fr; }
  .carrossel__item { flex-basis: 100%; }
  .hero { min-height: 0; padding: 70px 0 120px; }
  .hero::before { background: rgba(255, 255, 255, .85); }
  .hero h1 { font-size: 28px; line-height: 40px; }
  .hero__sub { font-size: 15px; line-height: 26px; margin-bottom: 26px; }
  .hero .btn { padding: 13px 20px; font-size: 13px; letter-spacing: .8px; }
  .hero .btn--seta::after { margin-left: 8px; }
  .servicos__topo h2 { font-size: 22px; line-height: 32px; }
  .contato__info h1 { font-size: 30px; line-height: 42px; }
  .whatsapp-flutuante { left: 14px; bottom: 16px; font-size: 13px; padding: 9px 15px; }
  .rodape__logo { width: 200px; }
  .lightbox { padding: 14px; gap: 4px; }
  .lightbox__nav { width: 40px; height: 40px; font-size: 26px; }
  .lightbox__fechar { top: 10px; right: 10px; width: 40px; height: 40px; font-size: 26px; }
  .lightbox__palco img { max-height: calc(100vh - 150px); }
  /* No toque não existe hover, então a lupa fixa só cobriria a foto */
  .grade-galeria__item::after { content: none; }
}
