/* ============================================================
   Oficina do Ar e Refrigeração — Home
   Depende de base.css (tokens e componentes).
   ============================================================ */

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--header-bg);
  color: #b9cde6;
  font-size: var(--fs-xs);
  border-bottom: 1px solid rgba(125, 211, 252, .14);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 44px;
  flex-wrap: wrap;
}
.topbar__contacts { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }
.topbar__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b9cde6;
  font-weight: 600;
}
.topbar__contacts a:hover { color: #fff; }
.topbar__contacts svg { width: 15px; height: 15px; opacity: .8; }
.topbar__contacts b { color: #fff; font-weight: 700; }

.topbar__social { display: flex; align-items: center; gap: var(--sp-2); }
.topbar__social a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, .22);
  color: #b9cde6;
  transition: background-color 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), transform 260ms var(--ease);
}
.topbar__social a:hover { background: var(--brand-cyan); border-color: var(--brand-cyan); color: #fff; transform: translateY(-2px); }
.topbar__social svg { width: 15px; height: 15px; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  transition: box-shadow 320ms var(--ease), background-color 320ms var(--ease);
}
.header.is-stuck { box-shadow: 0 8px 30px rgba(0, 15, 46, .34); background: var(--header-bg-stuck); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  min-height: 82px;
}
.header__logo img { width: auto; height: clamp(49px, 8vw, 79px); }

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--header-fg);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ice-300), #ffffff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ice-200); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link:focus-visible { outline-color: #ffffff; }

.nav__item { position: relative; }
.nav__item > .nav__link svg { width: 13px; height: 13px; transition: transform 320ms var(--ease); }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 272px;
  padding: var(--sp-3);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand-cyan);
  border-radius: var(--r-md);
  box-shadow: 0 18px 44px rgba(0, 15, 46, .30);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease), visibility 280ms;
}
.nav__item:hover .submenu,
.nav__item:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease);
}
.submenu a:hover { background: var(--surface-2); color: var(--navy-900); transform: translateX(5px); }

.header__cta { display: flex; align-items: center; gap: var(--sp-3); }

.burger {
  display: none;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .10);
  cursor: pointer;
  transition: background-color 260ms var(--ease);
}
.burger:hover { background: rgba(255, 255, 255, .2); }
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: #ffffff;
  transition: transform 320ms var(--ease), opacity 240ms var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark-surface);
  color: var(--dark-text);
  padding-block: clamp(45px, 4vw, 83px) clamp(49px, 4vw, 83px);
}

.hero h1{font-size: 60px;}

/* Vídeo de background: cobre a seção inteira, atrás de tudo.
   O filtro escurece e dessatura para o material integrar à paleta navy
   e o texto branco continuar legível. */
.hero__video {
  position: absolute;
  inset: 0 0 0 auto;            /* ancorado na direita */
  z-index: 0;
  width: var(--hero-video-w, 62%);
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: saturate(.86) brightness(.72) contrast(1.06);
  /* A borda esquerda dissolve no azul, sem corte reto */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}



/* Sem vídeo (mobile ou economia de dados): o poster assume o fundo */
.hero--poster {
  background:
    var(--dark-surface) url("../images/hero-poster.webp") center / cover no-repeat;
}

/* Véu que garante a leitura do texto sobre o vídeo.
   Mais denso à esquerda (onde fica a copy) e transparente à direita,
   para o vídeo ficar visível naquele lado. */
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 18, 51, .88) 0%, rgba(0, 18, 51, .78) 40%, rgba(0, 18, 51, .42) 62%, rgba(0, 18, 51, .20) 100%),
    radial-gradient(50% 46% at 78% 18%, rgba(0, 149, 217, .28), transparent 62%),
    radial-gradient(42% 40% at 12% 6%, rgba(29, 65, 153, .42), transparent 66%);
  pointer-events: none;
}

/* Correntes de ar: assinatura visual do site */
.hero__flow {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: .45;
}
.hero__flow path {
  fill: none;
  stroke: url(#flowGradient);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-dasharray: 220 900;
  animation: flow-run 9s linear infinite;
}
.hero__flow path:nth-child(2) { animation-duration: 11s; animation-delay: -2s; }
.hero__flow path:nth-child(3) { animation-duration: 13s; animation-delay: -5s; }
.hero__flow path:nth-child(4) { animation-duration: 10s; animation-delay: -7s; }
@keyframes flow-run { to { stroke-dashoffset: -1120; } }

.hero__inner {
  --hero-gap: clamp(32px, 5vw, 72px);
  position: relative;
  z-index: 3;
  display: grid;
  /* Coluna do texto com 100px a mais que a metade; o restante fica
     para o espaço do vídeo. */
  grid-template-columns: minmax(0, calc((100% - var(--hero-gap)) / 2 + 100px)) minmax(0, 1fr);
  gap: var(--hero-gap);
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 16px 8px 10px;
  margin-bottom: var(--sp-5);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .05);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: #dceaf7;
}
.hero__badge i {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand-cyan), var(--turquoise));
  color: #00203f;
  font-style: normal;
}
.hero__badge i svg { width: 13px; height: 13px; }

.hero h1 { color: #fff; margin-bottom: var(--sp-5); }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--ice-300), var(--brand-cyan) 55%, var(--turquoise));
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 58ch;
  font-size: 19px;
  color: #b9cde6;
  margin-bottom: var(--sp-7);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-8); }

.hero__seals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--dark-line);
}
.hero__seal strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-lg);
  color: #fff;
}
.hero__seal span { font-size: var(--fs-xs); color: #9db8d6; line-height: 1.45; display: block; }

/* Coluna direita: espaço livre reservado ao vídeo de background.
   Sem imagem, apenas a reserva de altura e o selo de apoio. */
.hero__figure {
  position: relative;
  align-self: stretch;
  min-height: clamp(360px, 42vw, 560px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* Selo de apoio, ancorado no canto do espaço */
.hero__quote {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 14px 20px;
  border-radius: var(--r-md);
  background: rgba(0, 18, 51, .82);
  border: 1px solid var(--dark-line);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
  animation: float-y 6s ease-in-out infinite;
}
.hero__quote i {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(0, 149, 217, .18);
  color: var(--ice-300);
}
.hero__quote strong { display: block; color: #fff; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-base); }
.hero__quote span { font-size: var(--fs-xs); color: #9db8d6; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Serviços ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(372px, 1fr));
  gap: var(--sp-5);
}
.service {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* Desfasa o brilho de cada card para não pulsarem em uníssono */
.services__grid .service:nth-child(2)::before { animation-delay: -2.3s; }
.services__grid .service:nth-child(3)::before { animation-delay: -4.6s; }
.services__grid .service:nth-child(4)::before { animation-delay: -7s; }
.services__grid .service:nth-child(5)::before { animation-delay: -9.3s; }
.services__grid .service:nth-child(6)::before { animation-delay: -11.6s; }
.service__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-3); }
.service__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease);
}
.service:hover .service__media img { transform: scale(1.07); }
.service__num {
  position: absolute;
  left: 0; bottom: 0;
  padding: 8px 16px 8px 18px;
  border-radius: 0 var(--r-md) 0 0;
  background: var(--navy-900);
  color: var(--ice-300);
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: .1em;
}
.service__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-6); }
.service__body h3 { margin-bottom: var(--sp-3); }
.service__body p { font-size: var(--fs-sm); margin-bottom: var(--sp-5); }
.service__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--navy-900);
}
.service__link svg { width: 16px; height: 16px; transition: transform 320ms var(--ease); }
.service:hover .service__link { color: var(--brand-cyan); }
.service:hover .service__link svg { transform: translateX(5px); }

/* ---------- Sobre ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.about h2 {font-size: 40px; margin-bottom: 20px;}
.about__media { position: relative; }
.about__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  aspect-ratio: 3 / 3;
  object-fit: cover;
}
.about__media::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 62%;
  height: 62%;
  border: 1px solid rgba(0, 149, 217, .35);
  border-radius: var(--r-lg);
  z-index: -1;
}
.about__stamp {
  position: absolute;
  left: -18px;
  bottom: 28px;
  padding: 18px 22px;
  border-radius: var(--r-md);
  background: var(--navy-900);
  color: #fff;
  box-shadow: var(--sh-3);
}
.about__stamp strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-xl);
  color: #fff;
  line-height: 1;
}
.about__stamp span { font-size: var(--fs-xs); color: var(--ice-300); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.about__list { margin: var(--sp-7) 0; }
.about__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Faixa de equipamentos ----------
   Rolagem contínua da direita para a esquerda. A segunda lista é uma
   cópia marcada como aria-hidden, para o laço não abrir vão. */
.ticker {
  position: relative;
  overflow: hidden;
  padding-block: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(100deg, var(--navy-950) 0%, var(--header-bg) 52%, var(--brand-cyan) 140%);
  border-block: 1px solid rgba(125, 211, 252, .20);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-run 42s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes ticker-run { to { transform: translateX(-50%); } }

.ticker__list { display: flex; align-items: center; }
.ticker__list li {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
  padding-inline: clamp(12px, 1.6vw, 22px);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.6rem);
  font-weight: 400;
  letter-spacing: .01em;
  color: #ffffff;
  white-space: nowrap;
}
/* Floco de neve separando os itens */
.ticker__list li::after {
  content: "";
  width: clamp(14px, 1.4vw, 19px);
  height: clamp(14px, 1.4vw, 19px);
  flex: 0 0 auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M12 2v20M2 12h20M4.9 4.9l14.2 14.2M19.1 4.9 4.9 19.1'/%3E%3Cpath d='M12 6.4 9.6 4M12 6.4 14.4 4M12 17.6 9.6 20M12 17.6l2.4 2.4M6.4 12 4 9.6M6.4 12 4 14.4M17.6 12 20 9.6M17.6 12l2.4 2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Diferenciais ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: var(--sp-5);
}
.perk { padding: var(--sp-7); text-align: left; }
.perk__icon {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  margin-bottom: var(--sp-5);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(0, 149, 217, .14), rgba(29, 65, 153, .10));
  border: 1px solid rgba(0, 149, 217, .22);
}
.perk__icon img { width: 32px; height: 32px; object-fit: contain; }
.perk h3 { margin-bottom: var(--sp-3); }
.perk p { font-size: var(--fs-sm); }

/* ---------- Avaliações (slider) ----------
   Mostra 3 cartões no desktop, 2 no tablet e 1 no celular. Quem manda na
   quantidade é --rev-per, que o JS lê e reescreve no resize; assim a largura
   do slide e a conta do deslocamento nunca saem de sincronia.
   O laço é feito com clones dos primeiros cartões no fim da trilha. */
.reviews { margin-top: var(--sp-11); }

.reviews__head { text-align: center; margin-bottom: var(--sp-7); }
.reviews__head h3 { font-size: var(--fs-xl); }

/* O padding vertical evita que o overflow corte a sombra dos cartões */
.reviews__viewport { overflow: hidden; padding: 8px 0; }

.reviews__track {
  --rev-per: 3;
  --rev-gap: var(--sp-5);
  display: flex;
  align-items: stretch;
  gap: var(--rev-gap);
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 620ms var(--ease);
}
.reviews__slide {
  flex: 0 0 calc((100% - (var(--rev-per) - 1) * var(--rev-gap)) / var(--rev-per));
  display: flex;
}

.review {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  width: 100%;
  margin: 0;
  padding: var(--sp-6);
}
.review:hover { transform: none; }

.review__text {
  position: relative;
  flex: 1 0 auto;
  margin: 0;
  padding-top: var(--sp-7);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.review__text::before {
  content: "\201C";
  position: absolute;
  top: 4px; left: 0;
  font-family: var(--font-display);
  font-size: 52px;
  line-height: .8;
  color: rgba(0, 149, 217, .32);
}

.review__who {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.review__avatar {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-sm);
}
.review__id { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.review__name { color: var(--ink); font-size: var(--fs-sm); font-weight: 800; }
.review__when { color: var(--ink-3); font-size: var(--fs-xs); }

/* ---- Controles ---- */
.reviews__ui {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
.reviews__arrow {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--navy-900);
  cursor: pointer;
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), transform 260ms var(--ease);
}
.reviews__arrow:hover {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
}

.reviews__dots { display: flex; align-items: center; gap: var(--sp-2); }
.reviews__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line-strong);
  cursor: pointer;
  transition: background-color 260ms var(--ease), width 260ms var(--ease);
}
.reviews__dot:hover { background: var(--ink-3); }
.reviews__dot.is-active { width: 26px; border-radius: var(--r-pill); background: var(--brand-cyan); }

/* ---------- Faixa de chamada ---------- */
.callout {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px);
  border-radius: var(--r-xl);
  background:
    linear-gradient(115deg, rgba(0, 18, 51, .93) 0%, rgba(0, 30, 87, .86) 46%, rgba(0, 149, 217, .72) 100%),
    url("../images/banner-manutencao-de-ar-condicionado.webp") center / cover no-repeat;
  color: #dbe8f6;
}
/* Técnico recortado, encostado na base da faixa */
.callout__person {
  position: absolute;
  right: clamp(16px, 5vw, 72px);
  bottom: 0;
  z-index: 1;
  width: auto;
  height: clamp(230px, 30vw, 400px);
  object-fit: contain;
  object-position: bottom;
  pointer-events: none;
  filter: drop-shadow(0 20px 40px rgba(0, 12, 32, .45));
}

.callout__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-7);
  flex-wrap: wrap;
  /* Reserva o canto direito para a foto */
  padding-right: clamp(0px, 26vw, 380px);
}
.callout h2 { color: #fff; max-width: 20ch; }
.callout p { margin-top: var(--sp-4); max-width: 52ch; }
.callout__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- Regiões (a lista usa .hoods, do base.css) ---------- */
.regions__note {
  margin-top: var(--sp-7);
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-md);
  border: 1px dashed var(--dark-line);
  font-size: var(--fs-sm);
  text-align: center;
}

/* ---------- Galeria ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--sp-4);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  aspect-ratio: 4 / 3;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: var(--surface-3);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(0, 18, 51, .72));
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item span {
  position: absolute;
  left: 16px; bottom: 14px;
  z-index: 2;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.gallery__item:hover span { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  background: rgba(0, 12, 32, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms var(--ease), visibility 320ms;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1080px, 92vw); max-height: 84vh; border-radius: var(--r-md); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__close {
  position: absolute;
  top: 24px; right: 24px;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 240ms var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }

/* ---------- Modificadores de seção ---------- */
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec-head--compact { margin-bottom: var(--sp-8); }
.h2--sm { font-size: var(--fs-xl); }

/* ---------- Marcas ---------- */
.brands { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.brands__track { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; animation: brands-slide 42s linear infinite; }
.brands:hover .brands__track { animation-play-state: paused; }

/* Caixa de tamanho fixo: normaliza logos de proporções diferentes */
.brands__item {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: clamp(150px, 15vw, 184px);
  height: clamp(96px, 9.5vw, 116px);
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-1);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.brands__item:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 149, 217, .45);
  box-shadow: var(--sh-2);
}
/* Cores originais, sem filtro */
.brands img {
  max-width: 66%;
  max-height: 92%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes brands-slide { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */
/* Duas colunas independentes: abrir uma pergunta não desloca a outra coluna */
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5);
  align-items: start;
  max-width: 1120px;
  margin-inline: auto;
}
.faq__col { display: grid; gap: var(--sp-3); align-content: start; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.faq__item[open] { border-color: rgba(0, 149, 217, .5); box-shadow: var(--sh-2); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001e57' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
  transition: transform 340ms var(--ease), background-color 340ms var(--ease);
}
.faq__item[open] summary::after { transform: rotate(135deg); background-color: rgba(0, 149, 217, .16); }
.faq__answer { padding: 0 var(--sp-6) var(--sp-6); font-size: var(--fs-sm); }
.faq__answer ul { display: grid; gap: 6px; margin-top: var(--sp-3); }
.faq__answer ul + p { margin-top: var(--sp-3); }
.faq__answer li { position: relative; padding-left: 18px; }
.faq__answer li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-cyan); }

/* ---------- Chamada final ---------- */
/* Fundo em vinheta invertida: navy no centro-alto, abrindo para o azul
   da marca nas bordas. Mesma mecânica do snippet radial, na nossa paleta. */
.final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: radial-gradient(125% 125% at 50% 10%, var(--dark-surface) 40%, var(--header-bg) 100%);
}
/* Brilho ciano de apoio, agora na base, para não brigar com o gradiente */
.final__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 46% at 50% 104%, rgba(0, 149, 217, .30), transparent 68%);
  pointer-events: none;
}
.final .wrap { position: relative; z-index: 2; }
.final h2 { max-width: 22ch; margin-inline: auto; color: #fff;}
.final p { max-width: 60ch; margin-inline: auto; margin-top: var(--sp-5); font-size: var(--fs-md); color: #fff; }
.final__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-8); }
.final__phones {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-9);
  justify-content: center;
  margin-top: var(--sp-9);
  padding-top: var(--sp-7);
  border-top: 1px solid var(--dark-line);
}
.final__phone { text-align: left; }
.final__phone span { display: block; font-size: var(--fs-xs); color: #9db8d6; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.final__phone a { font-family: var(--font-display); font-size: var(--fs-lg); color: #fff; font-weight: 400; }
.final__phone a:hover { color: var(--ice-300); }

/* ---------- Rodapé ---------- */
.footer { background: #062057; color: #a9c2de; padding-top: var(--section-y); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: var(--sp-10);
}
.footer__logo { height: 73px; width: auto; margin-bottom: var(--sp-5); }
.footer p { font-size: var(--fs-sm); }
.footer h4 { color: #fff; margin-bottom: var(--sp-5); font-size: var(--fs-base); letter-spacing: 0; }
.footer__links { display: grid; gap: 10px; }
/* O deslocamento é feito por transform, não por padding: assim a largura
   disponível não muda e o texto não quebra em duas linhas no hover. */
.footer__links a {
  font-size: var(--fs-sm);
  color: #a9c2de;
  transition: color 240ms var(--ease), transform 240ms var(--ease);
}
.footer__links a:hover { color: var(--ice-300); transform: translateX(6px); }

.footer__info { display: grid; gap: var(--sp-4); }
.footer__info li { display: flex; gap: var(--sp-3); font-size: var(--fs-sm); }
.footer__info svg { flex: 0 0 auto; width: 18px; height: 18px; color: var(--brand-cyan); margin-top: 3px; }
.footer__info a { color: #a9c2de; }
.footer__info a:hover { color: #fff; }

.footer__social { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, .2);
  color: #a9c2de;
  transition: background-color 260ms var(--ease), color 260ms var(--ease), transform 260ms var(--ease);
}
.footer__social a:hover { background: var(--brand-cyan); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; }

/* Padrão WebFormas: copyright centralizado e o selo da agência
   logo abaixo, também centralizado. */
.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--sp-4);
  padding-block: var(--sp-6);
  border-top: 1px solid rgba(125, 211, 252, .14);
  font-size: var(--fs-xs);
}
.footer__bottom img { height: 53px; width: auto; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px 13px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #128c7e, #25d366);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(18, 140, 126, .42);
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); color: #fff; box-shadow: 0 20px 44px rgba(37, 211, 102, .5); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  70% { transform: scale(1.16); opacity: 0; }
  100% { opacity: 0; }
}

/* Voltar ao topo */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: calc(clamp(16px, 3vw, 28px) + 68px);
  z-index: 119;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  color: var(--navy-900);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--sh-2);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease), visibility 320ms;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 150;
  width: min(100% - 32px, 720px);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: var(--sp-5) var(--sp-6);
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-3);
  transform: translate(-50%, 140%);
  transition: transform 560ms var(--ease);
}
.cookie.is-show { transform: translate(-50%, 0); }
.cookie p { font-size: var(--fs-xs); flex: 1 1 320px; margin: 0; }
.cookie__actions { display: flex; gap: var(--sp-2); }
.cookie .btn { padding: 10px 20px; font-size: var(--fs-xs); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* Empilhado: o vídeo volta a cobrir a seção inteira */
  .hero__video {
    inset: 0;
    width: 100%;
    -webkit-mask-image: none;
            mask-image: none;
  }
  /* Empilhado: o véu escurece por igual, senão o texto perde contraste */
  .hero__aurora {
    background:
      linear-gradient(180deg, rgba(0, 18, 51, .92) 0%, rgba(0, 18, 51, .80) 55%, rgba(0, 18, 51, .58) 100%),
      radial-gradient(60% 40% at 50% 8%, rgba(29, 65, 153, .40), transparent 70%);
  }
  .hero__figure { min-height: clamp(240px, 46vw, 380px); justify-content: flex-start; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 620px; }
}

@media (max-width: 980px) {
  .nav, .header__cta .btn-shiny-wa { display: none; }

  /* O painel e o burger vivem dentro do header, então o z-index deles vale
     só no contexto de empilhamento que o header cria — o header todo pinta
     na camada 90. Sem isto o .nav-backdrop (95) fica por cima e aplica o
     blur no próprio menu. Nada ocupa a faixa 96–118, então subir é seguro. */
  .header { z-index: 100; }

  /* A foto encolhe e o texto recupera parte da largura */
  .callout__person { height: clamp(180px, 26vw, 250px); right: clamp(8px, 2vw, 24px); }
  .callout__inner { padding-right: clamp(0px, 22vw, 230px); }

  /* Fica acima do painel para continuar clicável, e escurece
     porque com o menu aberto o fundo atrás dele é branco */
  .burger { display: block; position: relative; z-index: 101; }
  .burger[aria-expanded="true"] { background: transparent; border-color: var(--line-strong); }
  .burger[aria-expanded="true"] span { background: var(--navy-900); }

  .nav.is-open {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    width: min(88vw, 380px);
    padding: 96px var(--sp-6) var(--sp-8);
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 30, 87, .22);
    animation: nav-in 380ms var(--ease);
  }
  @keyframes nav-in { from { transform: translateX(100%); } to { transform: none; } }

  /* O painel lateral é claro, então os links voltam a ser escuros */
  .nav.is-open .nav__link {
    padding: 14px 12px;
    font-size: var(--fs-md);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--ink);
  }
  .nav.is-open .nav__link:hover,
  .nav.is-open .nav__link[aria-current="page"] { color: var(--header-bg); }
  .nav.is-open .nav__link:focus-visible { outline-color: var(--brand-cyan); }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__item { width: 100%; }
  .nav.is-open .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    margin: 6px 0 6px 12px;
    padding: 0 0 0 6px;
    display: none;
  }
  .nav.is-open .nav__item.is-open .submenu { display: block; }
  .nav.is-open .nav__item > .nav__link svg { margin-left: auto; }
  .nav.is-open .nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
  .nav.is-open .nav__mobile-cta { margin-top: var(--sp-6); }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 95;
    background: rgba(0, 18, 51, .5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms var(--ease), visibility 320ms;
  }
  .nav-backdrop.is-show { opacity: 1; visibility: visible; }
}

@media (min-width: 981px) {
  .nav__mobile-cta { display: none; }
}

/* O JS reescreve --rev-per para casar com estes valores. Se mexer aqui,
   mexer também na função porSlide() do oficinadoar.js. */
@media (max-width: 980px) {
  .reviews__track { --rev-per: 2; }
}
@media (max-width: 640px) {
  .reviews__track { --rev-per: 1; --rev-gap: var(--sp-4); }
  .reviews { margin-top: var(--sp-9); }
}

@media (max-width: 760px) {
  .topbar__inner { justify-content: center; row-gap: 6px; padding-block: 8px; }
  .topbar__contacts { justify-content: center; gap: var(--sp-4); font-size: 12px; }
  .topbar__social { display: none; }
  .hero h1 { font-size: 36px; }
  .hero__seals { grid-template-columns: 1fr; gap: var(--sp-3); }
  .hero__seal { display: flex; align-items: baseline; gap: 10px; }
  .hero__seal strong { font-size: var(--fs-md); }
  .faq { grid-template-columns: 1fr; gap: var(--sp-3); }
  .callout__inner { flex-direction: column; align-items: flex-start; padding-right: 0; }
  /* Sem espaço lateral para a foto no celular */
  .callout__person { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .final__phones { gap: var(--sp-5); }
  .about__stamp { left: 12px; bottom: 12px; padding: 14px 18px; }
  .cookie { gap: var(--sp-4); }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
}

@media (max-width: 460px) {
  .hero__quote { animation: none; }
  .hero__actions .btn, .hero__actions .btn-shiny-wa { width: 100%; }
  .hero__figure { min-height: clamp(93px, 24vw, 107px); }
}
