/* ============================================================
   HMS Angola — Identidade visual
   Vermelho HMS #D41118 · Preto grafite #1F2529 · Branco #FFFFFF ·
   Cinza claro #EAEAEA · Formas angulares e diagonais ·
   Tipografia condensada bold itálica, uppercase ·
   Border-radius zero — nada arredondado
   ============================================================ */

:root {
  --red: #d41118;
  --red-dark: #a80d12;
  --graphite: #1f2529;
  --graphite-deep: #14181b;
  --white: #ffffff;
  --gray-bg: #f2f5f7;
  --gray-light: #eaeaea;
  --gray-mid: #646d77;
  --border-dark: rgba(255, 255, 255, 0.12);
  --border-light: rgba(31, 37, 41, 0.12);
  --font-title: "Barlow Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id],
footer[id] {
  scroll-margin-top: 76px;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--graphite);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Motions ============ */

/* Reveal ao scroll (ativado por JS; respeita prefers-reduced-motion) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visivel {
  opacity: 1;
  transform: none;
}

/* Entrada do hero ao carregar */
.tem-motions .hero-kicker,
.tem-motions .hero-title,
.tem-motions .hero-text,
.tem-motions .hero-actions {
  opacity: 0;
  transform: translateY(22px);
  animation: hero-entrada 0.7s ease forwards;
}

.tem-motions .hero-title   { animation-delay: 0.12s; }
.tem-motions .hero-text    { animation-delay: 0.24s; }
.tem-motions .hero-actions { animation-delay: 0.36s; }

@keyframes hero-entrada {
  to { opacity: 1; transform: none; }
}

/* A diagonal vermelha entra a deslizar */
.tem-motions .hero-diagonal {
  animation: diagonal-entrada 0.9s ease both;
}

@keyframes diagonal-entrada {
  from { transform: translateX(60%); opacity: 0; }
  to   { transform: none; opacity: 0.92; }
}

/* ============ Botões — blocos sólidos angulares ============ */

.btn {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 28px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  /* Corte diagonal — paralelogramo, sensação de velocidade */
  clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-solid {
  background: var(--red);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--white);
  clip-path: none;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--graphite);
}

.btn-outline-dark {
  background: transparent;
  color: var(--graphite);
  box-shadow: inset 0 0 0 2px var(--graphite);
  clip-path: none;
}

.btn-outline-dark:hover {
  background: var(--graphite);
  color: var(--white);
}

.btn-dark {
  background: var(--graphite-deep);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--graphite);
}

/* ============ Logo ============ */

.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* ============ Header — branco sólido, faixa vermelha no topo ============ */

.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: var(--white);
  border-top: 4px solid var(--red);
  box-shadow: 0 2px 14px rgba(31, 37, 41, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--graphite);
  padding: 26px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: var(--red);
}

.nav a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.caret {
  font-size: 9px;
  vertical-align: middle;
}

/* ============ Hero — grafite escuro + diagonal vermelha ============ */

/* Sem overflow:hidden — a barra de pesquisa transborda pra fora do hero.
   A diagonal vermelha fica contida pelo próprio clip-path. */
.hero {
  position: relative;
  background: var(--graphite-deep);
  padding: 110px 0 150px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--graphite-deep);
}

/* Imagem no lugar do vídeo em ecrãs pequenos */
.hero-imagem-mobile {
  display: none;
  position: absolute;
  inset: 0;
  background: var(--graphite-deep) url("../img/hero.jpg") center / cover no-repeat;
}

@media (max-width: 600px) {
  .hero-video { display: none; }
  .hero-imagem-mobile { display: block; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(20, 24, 27, 0.94) 30%, rgba(20, 24, 27, 0.55) 100%);
}

/* Forma vermelha grande diagonal — assinatura visual HMS */
.hero-diagonal {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to bottom, var(--red), var(--red-dark));
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.92;
}

.hero-diagonal::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 0;
  width: 14px;
  height: 100%;
  background: var(--white);
  transform: skewX(-14deg);
  opacity: 0.14;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-kicker {
  color: var(--gray-light);
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.24em;
  margin-bottom: 18px;
}

.hero-kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 14px;
  transform: skewX(-14deg);
}

.hero-title {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 64px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--red);
  /* Em cima da diagonal vermelha o vermelho some — garantir contraste */
  text-shadow: none;
}

.hero-text {
  color: var(--gray-light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  gap: 14px;
}

/* ============ Barra de pesquisa — cartão branco angular ============ */

.search-wrap {
  position: absolute;
  z-index: 3;
  left: 50%;
  transform: translateX(-50%);
  bottom: -58px;
}

.search-bar {
  position: relative;
  background: var(--white);
  border-radius: 0;
  border-left: 6px solid var(--red);
  padding: 24px 28px 22px;
  box-shadow: 0 18px 40px rgba(20, 24, 27, 0.28);
}

.search-title {
  font-family: var(--font-title);
  color: var(--graphite);
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.search-form {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.search-field {
  flex: 1;
}

.search-field label {
  display: block;
  color: var(--gray-mid);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
}

.select-wrap select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  background: var(--gray-bg);
  border: 1px solid var(--border-light);
  border-radius: 0;
  cursor: pointer;
}

.btn-search {
  height: 44px;
  padding: 0 34px;
}

/* Espaço abaixo do hero pra barra que transborda */
.hero + * {
  padding-top: 90px;
}

/* ============ Faixa de benefícios — fundo claro ============ */

.beneficios {
  background: var(--gray-bg);
  padding: 22px 0;
  border-bottom: 1px solid var(--border-light);
}

.hero + .beneficios {
  padding-top: 92px;
}

.beneficios-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.beneficio {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--graphite);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.beneficio svg {
  width: 20px;
  height: 20px;
  color: var(--red);
  flex-shrink: 0;
}

.beneficio-sep {
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .beneficio-sep { display: none; }
  .beneficios-inner { gap: 14px 24px; }
  .beneficio { font-size: 12px; }
}

/* ============ Promo / Countdown — barra vermelha ============ */

.promo {
  padding: 40px 0 60px;
  background: var(--white);
}

.promo-bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
  background: linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 0;
  padding: 22px 30px;
  overflow: hidden;
}

/* Detalhe diagonal branco na barra */
.promo-bar::after {
  content: "";
  position: absolute;
  right: 18%;
  top: 0;
  width: 12px;
  height: 100%;
  background: var(--white);
  transform: skewX(-14deg);
  opacity: 0.12;
  pointer-events: none;
}

.promo-discount {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-discount-label {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.promo-discount-value {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.promo-info {
  flex: 1;
}

.promo-title {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.promo-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  line-height: 1.5;
}

.promo-countdown {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 62px;
  background: var(--graphite-deep);
  border-radius: 0;
}

.countdown-value {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.countdown-label {
  color: var(--gray-light);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-top: 6px;
}

/* ============ Catálogo / Stock — fundo cinza claro ============ */

.inventory {
  background: var(--gray-bg);
  padding: 56px 0 80px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-family: var(--font-title);
  color: var(--graphite);
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 26px;
}

.section-title::before,
.section-title::after {
  content: "";
  width: 46px;
  height: 4px;
  background: var(--red);
  transform: skewX(-14deg);
}

.inventory-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 36px;
}

.inventory-tabs a {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--gray-mid);
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease;
}

.inventory-tabs a:hover {
  color: var(--red);
}

.inventory-tabs a.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.car-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(31, 37, 41, 0.08);
  border-bottom: 4px solid var(--red);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover lift — o transform do reveal já terminou quando isto interessa */
.car-card.visivel:hover,
body:not(.tem-motions) .car-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(31, 37, 41, 0.18);
}

/* Zoom suave na foto ao passar o rato */
.car-image {
  transition: transform 0.4s ease;
}

.car-card:hover .car-image {
  transform: scale(1.04);
}

.car-card[hidden] {
  display: none;
}

.inventory-empty {
  text-align: center;
  color: var(--gray-mid);
  font-size: 13px;
  padding: 40px 0 10px;
}

.inventory-empty a {
  color: var(--red);
  text-decoration: underline;
}

.inventory-ver-todas {
  text-align: center;
  margin-top: 28px;
}

.inventory-ver-todas .btn[hidden] {
  display: none;
}

.inventory-more {
  text-align: center;
  margin-top: 36px;
}

.inventory-more .btn {
  padding: 13px 46px;
}

.car-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--gray-light);
}

/* Placeholder — remover quando as fotos forem colocadas */
.car-placeholder {
  background: linear-gradient(135deg, var(--gray-light) 0%, #d7dde1 100%);
  outline: 1px dashed rgba(31, 37, 41, 0.25);
  outline-offset: -8px;
}

.placeholder-note {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.14em;
  color: rgba(31, 37, 41, 0.35);
  white-space: nowrap;
}

.car-year {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 0;
  clip-path: polygon(5px 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.car-body {
  padding: 16px 18px 18px;
}

.car-name {
  font-family: var(--font-title);
  color: var(--graphite);
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 10px;
}

.car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 12px;
}

.car-spec {
  color: var(--gray-mid);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.car-spec + .car-spec::before {
  content: "/ ";
  color: var(--red);
  font-weight: 700;
}

.car-link {
  display: inline-block;
  font-family: var(--font-title);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.1em;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.car-link:hover {
  border-bottom-color: var(--red);
}

.car-link .arrow {
  font-size: 14px;
  margin-left: 4px;
}

/* ============ Porquê a HMS — secção grafite escura ============ */

.porque {
  position: relative;
  background: var(--graphite);
  color: var(--white);
  padding: 64px 0 70px;
  overflow: hidden;
}

/* Diagonal vermelha de fundo */
.porque-diagonal {
  position: absolute;
  top: 0;
  right: -6%;
  width: 30%;
  height: 100%;
  background: var(--red);
  clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.1;
  pointer-events: none;
}

.porque .container {
  position: relative;
}

.porque-kicker {
  color: var(--gray-light);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}

.porque-kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
  transform: skewX(-14deg);
}

.porque-titulo {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 44px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.08;
  margin-bottom: 16px;
}

.porque-texto {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 40px;
}

.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.porque-cartao {
  position: relative;
  overflow: hidden;
  background: var(--graphite-deep);
  border-radius: 0;
  border-left: 4px solid var(--red);
  padding: 28px 26px;
  will-change: transform;
}

/* Varrimento diagonal vermelho no hover */
.porque-cartao::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(100deg, var(--red) 0%, var(--red-dark) 100%);
  transform: translateX(-112%) skewX(-8deg);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.3, 1);
  pointer-events: none;
}

.porque-cartao:hover::before {
  transform: translateX(0) skewX(0deg);
}

/* Conteúdo acima do varrimento */
.porque-cartao > * {
  position: relative;
  z-index: 1;
}

.porque-cartao:hover {
  box-shadow: 0 16px 38px rgba(212, 17, 24, 0.28);
}

/* O ícone inverte pra grafite e salta */
.porque-cartao .porque-icone {
  transition: background 0.3s ease, transform 0.3s ease;
}

.porque-cartao:hover .porque-icone {
  background: var(--graphite-deep);
  transform: scale(1.1) skewX(-4deg);
}

.porque-cartao .porque-cartao-texto {
  transition: color 0.3s ease;
}

.porque-cartao:hover .porque-cartao-texto {
  color: var(--white);
}

.porque-icone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--red);
  border-radius: 0;
  color: var(--white);
  margin-bottom: 20px;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.porque-icone svg {
  width: 24px;
  height: 24px;
}

.porque-cartao-titulo {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 19px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.porque-cartao-texto {
  color: var(--gray-light);
  font-size: 12px;
  line-height: 1.7;
}

/* ============ Banners (slideshow: um banner a cada 5s) ============ */

.banners {
  background: var(--white);
  padding: 48px 0;
}

.banner-slider {
  position: relative;
  aspect-ratio: 2.6 / 1;
  border-radius: 0;
  overflow: hidden;
  background: var(--graphite-deep);
}

.banner-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.banner-slide.active {
  opacity: 1;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Os banners são imagens (img/banner-*.jpg) na proporção 2.6:1 do slider */

/* ============ Marcas (scroll automático) ============ */

.brands {
  background: var(--gray-bg);
  border-top: 1px solid var(--border-light);
  padding: 44px 0 52px;
  overflow: hidden;
}

.brands-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-title);
  color: var(--graphite);
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  text-align: center;
  margin-bottom: 34px;
}

.brands-title::before,
.brands-title::after {
  content: "";
  width: 40px;
  height: 4px;
  background: var(--red);
  transform: skewX(-14deg);
}

.brands-viewport {
  overflow: hidden;
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  padding: 0 36px;
  animation: brands-scroll 24s linear infinite;
}

.brands-viewport:hover .brands-track {
  animation-play-state: paused;
}

/* O track contém o conjunto duplicado — -50% volta ao início sem salto */
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 36px)); }
}

.brand {
  font-family: var(--font-title);
  color: var(--gray-mid);
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.2em;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.brand:hover {
  color: var(--red);
}

/* Logótipos em imagem — a cinza pra manter a identidade; cor no hover */
.brands-track img.brand {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.75;
  filter: grayscale(1);
  /* Funde fundos brancos dos PNGs com o fundo claro da secção */
  mix-blend-mode: multiply;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.brands-track img.brand:hover {
  filter: none;
  opacity: 1;
}

/* ============ FAQ ============ */

.faq {
  background: var(--white);
  padding: 56px 0 64px;
}

.faq-lista {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  background: var(--gray-bg);
  border-left: 4px solid var(--red);
  margin-bottom: 10px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 44px 16px 18px;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--graphite);
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-size: 22px;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 18px 16px;
  color: var(--gray-mid);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item p strong {
  color: var(--graphite);
}

@media (max-width: 600px) {
  .faq-item summary { font-size: 15px; }
}

/* ============ Contacto + Mapa ============ */

.contacto {
  background: var(--graphite);
  color: var(--white);
  padding: 64px 0;
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contacto-kicker {
  color: var(--gray-light);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.24em;
  margin-bottom: 14px;
}

.contacto-kicker::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 12px;
  transform: skewX(-14deg);
}

.contacto-titulo {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 44px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.08;
  margin-bottom: 16px;
}

.contacto-titulo span {
  color: var(--red);
}

.contacto-texto {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
  margin-bottom: 26px;
}

.contacto-acoes {
  display: flex;
  gap: 14px;
  margin-bottom: 34px;
}

.contacto-dados {
  list-style: none;
}

.contacto-dados li {
  padding: 12px 0 12px 16px;
  border-left: 4px solid var(--red);
  margin-bottom: 14px;
  background: var(--graphite-deep);
}

.contacto-dado-label {
  display: block;
  color: var(--gray-mid);
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.contacto-dado-valor {
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}

.contacto-mapa {
  position: relative;
  min-height: 420px;
  background: var(--graphite-deep);
  border-top: 4px solid var(--red);
}

.contacto-mapa iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.4);
}

@media (max-width: 1024px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-mapa { min-height: 320px; }
}

@media (max-width: 600px) {
  .contacto-titulo { font-size: 30px; }
  .contacto-acoes { flex-direction: column; }
  .contacto-acoes .btn { width: 100%; clip-path: none; }
}

/* ============ Footer — grafite escuro ============ */

.footer {
  background: var(--graphite-deep);
  color: var(--white);
  border-top: 4px solid var(--red);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.logo-footer {
  margin-bottom: 16px;
}

/* Versão branca do logo pra fundo escuro (design-guide) */
.footer-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: var(--gray-light);
  font-size: 12px;
  line-height: 1.7;
  max-width: 230px;
  margin-bottom: 18px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-dark);
  border-radius: 0;
  color: var(--gray-light);
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.footer-social a:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.footer-social svg {
  width: 15px;
  height: 15px;
}

.footer-title {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-title::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 3px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 10px;
  transform: skewX(-14deg);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: var(--gray-light);
  font-size: 12px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-light);
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact a {
  color: var(--gray-light);
  transition: color 0.15s ease;
}

.footer-contact a:hover {
  color: var(--red);
}

.contact-icon {
  color: var(--red);
  font-size: 13px;
  line-height: 1.5;
}

.hours-group {
  font-family: var(--font-title);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 14px 0 8px;
}

.hours-group:first-child {
  margin-top: 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  color: var(--gray-light);
  font-size: 12px;
  padding: 3px 0;
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 18px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--gray-light);
  font-size: 11px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: var(--gray-light);
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: var(--red);
}

/* ============ Pop-up da promoção (só mobile) ============ */

.promo-popup {
  display: none;
}

@media (max-width: 600px) {
  .promo {
    display: none;
  }

  .promo-popup {
    display: block;
    position: fixed;
    z-index: 60;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: var(--graphite-deep);
    border-top: 4px solid var(--red);
    border-radius: 0;
    padding: 18px 16px 16px;
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.55);
    transform: translateY(130%);
    transition: transform 0.45s ease;
  }

  .promo-popup.visivel {
    transform: translateY(0);
  }

  .popup-fechar {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    color: var(--gray-light);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
  }

  .popup-topo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding-right: 20px;
  }

  .popup-desconto {
    font-family: var(--font-title);
    color: var(--red);
    font-size: 30px;
    font-weight: 900;
    font-style: italic;
    line-height: 1;
  }

  .popup-titulo {
    font-family: var(--font-title);
    color: var(--white);
    font-size: 16px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
  }

  .popup-texto {
    color: var(--gray-light);
    font-size: 11px;
    line-height: 1.5;
  }

  .popup-countdown {
    justify-content: center;
    margin-bottom: 14px;
  }

  .popup-countdown .countdown-box {
    width: 30%;
    height: 56px;
    background: var(--graphite);
  }

  .popup-btn {
    display: block;
    width: 100%;
    clip-path: none;
  }
}

/* ============ Responsivo ============ */

@media (max-width: 1024px) {
  .nav { display: none; }
  .inventory-grid { grid-template-columns: repeat(2, 1fr); }
  .inventory-tabs { flex-wrap: wrap; gap: 16px 22px; }
  .porque-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .search-form { flex-wrap: wrap; }
  .search-field { flex: 1 1 40%; }
  .btn-search { flex: 1 1 100%; }
  /* position:relative + z-index — a barra de pesquisa fica acima da diagonal */
  .search-wrap { position: relative; left: auto; bottom: auto; transform: none; z-index: 3; margin-top: 40px; }
  .hero { padding-bottom: 48px; }
  .hero + .beneficios { padding-top: 22px; }
  /* Diagonal mais estreita no tablet — não cobre o conteúdo */
  .hero-diagonal { width: 22%; clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%); }
  .promo-bar {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 20px;
  }
  .promo-discount {
    border-right: none;
    padding-right: 0;
  }
}

@media (max-width: 600px) {
  .hero { padding-top: 64px; }
  .hero-title { font-size: 42px; }
  /* No mobile a diagonal cobria o conteúdo — fica só o grafite + destaques vermelhos */
  .hero-diagonal { display: none; }
  .search-field { flex: 1 1 100%; }
  .btn-header { display: none; }
  .inventory-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 26px; }
  .porque-titulo { font-size: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}
