/* ============================================================
   ADC Comercial — estilos principais
   ============================================================ */

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-600);
  text-decoration: none;
}

ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

/* ---------- Texto de corpo justificado ----------
   Títulos seguem alinhados; só o texto corrido é justificado.
   hyphens:auto (com lang="pt-BR" no <html>) evita os vãos entre
   palavras que a justificação criaria em colunas estreitas. */
.hero-subtitle,
.section-subtitle,
.service-card p,
.timeline-item p,
.download-callout p,
.warranty-content p,
.contact-info-card p,
.product-showcase-info p,
.footer-desc,
.page-content p,
.entry-content p,
.entry-content li,
.principle-card > p,
.principle-values li {
  text-align: justify;
  hyphens: auto;
}

/* Em telas estreitas a justificação abre buracos feios: volta ao normal. */
@media (max-width: 560px) {
  .hero-subtitle,
  .section-subtitle,
  .service-card p,
  .timeline-item p,
  .download-callout p,
  .warranty-content p,
  .contact-info-card p,
  .product-showcase-info p,
  .footer-desc,
  .page-content p,
  .entry-content p,
  .entry-content li,
  .principle-card > p,
  .principle-values li {
    text-align: left;
  }
}

/* ---------- Acessibilidade: foco visível ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text-heading);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding-y) 0;
}

.section-alt {
  background: var(--bg-secondary);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* Sem isto o SVG assume o tamanho intrínseco e estoura a pílula. */
.section-eyebrow svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
}

/* Precisa vir depois de .section-title: mesma especificidade, vence a ordem. */
.section-title--lg {
  font-size: clamp(34px, 5vw, 52px);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-body);
  margin-top: 12px;
}

.gradient-text {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--green-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--green-700);
  color: #fff;
}

.btn-outline {
  background: var(--bg-primary);
  color: var(--blue-600);
  border-color: var(--blue-200);
}

.btn-outline:hover {
  background: var(--blue-50);
  color: var(--blue-600);
}

.btn-dark {
  background: var(--text-heading);
  color: #fff;
}

.btn-dark:hover {
  background: #1e293b;
  color: #fff;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 84px;
}

.site-logo img {
  height: 64px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  color: var(--text-heading);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  color: var(--text-heading);
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 84px; /* acompanha a altura de .site-header .container */
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }

  /* No menu vertical do mobile, as pílulas ficariam pesadas: volta ao texto simples.
     display:block para a borda inferior riscar a linha toda — dentro do <li> o
     link é inline e ignoraria a largura. */
  .main-nav a {
    display: block;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--border-color);
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: transparent;
    color: var(--blue-600);
  }

  .nav-toggle {
    display: block;
  }

  .header-cta .btn span {
    display: none;
  }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary-alt);
  background-image:
    linear-gradient(rgb(248 250 252 / 0.9), rgb(248 250 252 / 0.55)),
    repeating-linear-gradient(0deg, #e2e8f0 0, #e2e8f0 1px, transparent 1px, transparent 48px),
    repeating-linear-gradient(90deg, #e2e8f0 0, #e2e8f0 1px, transparent 1px, transparent 48px);
  /* Respiro menor que o resto do site: o hero precisa caber na tela junto
     com o cabeçalho, sem obrigar a rolar para ver a foto inteira. */
  padding: clamp(24px, 2.5vw, 36px) 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  /* stretch: o carrossel acompanha a altura da coluna de texto, em vez de
     ter altura própria (por aspect-ratio) e sobrar branco de um dos lados. */
  align-items: stretch;
}

.hero-media {
  display: flex;
}

@media (max-width: 900px) {
  .hero .container {
    align-items: center;
  }
}

.hero-headline {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--blue-600);
  flex-shrink: 0;
}


@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

/* ---------- Carrossel do Hero ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #fff;
  /* No desktop a altura vem do stretch do grid (acompanha o texto). O
     min-height segura o card caso o texto encolha muito. */
  width: 100%;
  min-height: 440px;
  transition: box-shadow 0.25s ease;
}

/* Empilhado, não há coluna vizinha para acompanhar: volta ao quadrado. */
@media (max-width: 900px) {
  .carousel {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
}

.carousel:hover {
  box-shadow: var(--shadow-hover);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* O padding de baixo reserva a faixa da legenda: sem ele a foto passa
     por trás dela. 120px cobre até um título de duas linhas. */
  padding: 28px 28px 120px;
  background: #fff;
  transition: transform 0.35s ease;
}

/* O slide é um link para a página do produto. */
.carousel-slide:hover img {
  transform: scale(1.04);
}

.carousel-slide:focus-visible {
  outline: 3px solid var(--blue-600);
  outline-offset: -3px;
}

.carousel-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
  padding-right: 46px;
}

/* Seta indicando que o slide leva à página do produto. */
.carousel-caption::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--blue-600);
  transition: transform 0.25s ease;
}

.carousel-slide:hover .carousel-caption::after {
  transform: translateY(-50%) translateX(4px);
}

.carousel-slide:hover .carousel-caption strong {
  color: var(--blue-600);
}

.carousel-caption strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text-heading);
  font-size: 15px;
}

.carousel-caption span {
  font-size: 13px;
  color: var(--blue-600);
  font-weight: 600;
}

/* Em tela estreita o nome do produto quebra em duas linhas e a legenda
   flutuante voltaria a cobrir a foto. Reservar padding para o pior caso
   deixaria a imagem minúscula num carrossel de ~330px, então aqui a legenda
   entra no fluxo, abaixo da foto. Fica 'relative' (e não 'static') porque a
   seta ::after se posiciona por ela. */
@media (max-width: 900px) {
  .carousel-slide {
    display: flex;
    flex-direction: column;
  }

  .carousel-slide img {
    flex: 1;
    min-height: 0;
    padding: 20px;
  }

  .carousel-caption {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    border-radius: 0;
    border-top: 1px solid var(--border-color);
    box-shadow: none;
    backdrop-filter: none;
    background: #fff;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgb(255 255 255 / 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background-color 0.15s ease;
}

.carousel-arrow:hover {
  background: #fff;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  color: var(--text-heading);
}

.carousel-arrow--prev {
  left: 16px;
}

.carousel-arrow--next {
  right: 16px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgb(255 255 255 / 0.6);
  padding: 0;
}

.carousel-dots button.is-active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
}

/* ============================================================
   Catálogo em abas
   ============================================================ */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.tabs-nav button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-body);
  transition: all 0.15s ease;
}

.tabs-nav button:hover {
  border-color: var(--blue-200);
  color: var(--blue-600);
}

.tabs-nav button.is-active {
  background: var(--text-heading);
  border-color: var(--text-heading);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

/* A vitrine "Conheça toda a linha" logo abaixo já abre com o padding cheio de
   .section (e com fundo próprio); somado ao padding de baixo daqui, sobravam
   ~100px de branco entre o card da descrição e a faixa da vitrine. */
.product-main-section {
  padding-bottom: 40px;
}

/* Descrição completa, abaixo do bloco de foto + specs. */
.product-description {
  margin-top: 32px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.product-description h2 {
  font-size: 22px;
  margin-bottom: 20px;
}

/* Duas colunas: ocupa a largura do card sem esticar a linha. Numa coluna só,
   a medida confortável (~78ch) deixaria metade do card vazia. */
.product-description .entry-content {
  columns: 2;
  column-gap: 56px;
}

.product-description .entry-content p {
  margin-bottom: 1em;
  break-inside: avoid; /* não parte um parágrafo no meio entre as colunas */
}

.product-description .entry-content p:last-child {
  margin-bottom: 0;
}

/* Abaixo de 900px não há largura para duas colunas. */
@media (max-width: 900px) {
  .product-description .entry-content {
    columns: 1;
  }
}

@media (max-width: 640px) {
  .product-description {
    padding: 28px 24px;
  }
}

.product-showcase-media {
  position: relative;
}

/* ---------- Galeria da página do produto (frente + conector) ---------- */
.product-gallery-main {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: #fff;
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  display: block;
  transition: transform 0.3s ease;
}

/* Lupa: escala forte para o cliente conferir os detalhes da peça. O ponto
   ampliado acompanha o cursor via product-zoom.js (transform-origin). */
.product-gallery-main {
  cursor: zoom-in;
}

.product-gallery-main:hover img {
  transform: scale(2.2);
}

/* O zoom é decorativo: quem pediu menos movimento no sistema não recebe. */
@media (prefers-reduced-motion: reduce) {
  .product-card img,
  .product-gallery-main img {
    transition: none;
  }

  .product-card:hover img,
  .product-gallery-main:hover img {
    transform: none;
  }
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-color);
  background: #fff;
  padding: 4px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb:hover {
  border-color: var(--blue-200);
}

.gallery-thumb.is-active {
  border-color: var(--blue-600);
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  border: 1px solid var(--blue-200);
}

.badge svg {
  width: 14px;
  height: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
}

.spec-table tr {
  border-bottom: 1px solid var(--border-color);
}

.spec-table tr:last-child {
  border-bottom: none;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 0;
  font-size: 15px;
}

.spec-table th {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 600;
  width: 40%;
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

/* ============================================================
   Serviços
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--blue-600);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

/* Logo do parceiro no card da home. */
.partner-logo {
  width: 88px;
  height: 88px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partners-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Página dedicada de parceiros ---------- */
.partner-rows {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.partner-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.partner-row-logo {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.partner-row-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-row-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}

.partner-row-body h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.partner-row-body p {
  color: var(--text-body);
  text-align: justify;
  hyphens: auto;
  margin-bottom: 14px;
}

.partner-row-body .btn {
  margin-top: 6px;
}

.partner-row-extra {
  margin: 8px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.partner-row-extra h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.partner-row-extra ul {
  margin: 0 0 14px;
}

.partner-row-extra li {
  color: var(--text-body);
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .partner-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
    justify-items: center;
    text-align: center;
  }

  .partner-row-body p {
    text-align: left;
  }
}

/* Link "Conhecer a ..." no card de parceiro. */
.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--blue-600);
}

.partner-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.15s ease;
}

.partner-link:hover svg {
  transform: translate(2px, -2px);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 3px solid var(--blue-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-600);
  border: 3px solid var(--blue-50);
  box-shadow: 0 0 0 3px var(--blue-200);
}

.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue-600);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

/* ============================================================
   Nossa História — intro + princípios
   ============================================================ */
/* A cronologia logo abaixo já abre com o padding cheio de .section; somado ao
   padding de baixo daqui, sobrava um vão de quase 220px entre os dois blocos. */
.about-intro-section {
  padding-bottom: 0;
}

.about-intro {
  max-width: 760px;
  margin: 0 auto;
}

.about-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  text-align: justify;
  hyphens: auto;
  margin-bottom: 1.2em;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

/* align-items padrão (stretch): os três cards terminam na mesma linha de base
   mesmo com Missão/Visão/Valores tendo textos de comprimentos bem diferentes. */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.principle-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.principle-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Missão, Visão e Valores compartilham o mesmo corpo de texto: antes cada
   card vinha num tamanho diferente (14,5px / 14px) e a leitura ficava torta. */
.principle-card > p,
.principle-values li {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.principle-values {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.principle-values strong {
  color: var(--text-heading);
}

@media (max-width: 860px) {
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .about-intro p {
    text-align: left;
  }
}

/* ============================================================
   Callout de download
   ============================================================ */
.download-callout {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.download-callout h3 {
  font-size: 24px;
  margin-bottom: 4px;
}

.download-callout p {
  margin: 0;
  max-width: 62ch;
}

.download-callout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--text-heading);
  color: #cbd5e1;
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}

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

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 34ch;
}

.footer-heading {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  color: #cbd5e1;
}

.footer-contact-list a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.footer-social a:hover {
  background: #1e293b;
}

.footer-social svg {
  width: 16px;
  height: 16px;
  color: #cbd5e1;
}

/* ---------- Formulário de contato (rodapé) ---------- */
/* ============================================================
   Formulários de contato
   Base comum (.adc-form) + dois temas: .footer-form (rodapé escuro)
   e .contact-form (card claro da página de contato).
   ============================================================ */
/* :not([type=submit]) em todos os seletores de campo — o CF7 renderiza o
   botão como <input type="submit">, e sem isto ele herda o fundo dos campos
   e some o verde do .btn-primary. */
.adc-form input:not([type="submit"]),
.adc-form textarea {
  width: 100%;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.adc-form textarea {
  min-height: 110px;
  resize: vertical;
}

.adc-form input:not([type="submit"]):focus,
.adc-form textarea:focus {
  border-color: var(--blue-600);
  outline: none;
}

/* O Contact Form 7 envolve cada campo em <p> e <span>; sem isto o
   espaçamento sai dobrado e o span quebra a largura dos inputs. */
.adc-form .wpcf7-form p {
  margin: 0;
}

.adc-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 14px;
}

.adc-form .wpcf7-submit {
  width: 100%;
  margin-top: 4px;
  cursor: pointer;
}

.adc-form .wpcf7-not-valid-tip {
  display: block;
  margin: -8px 0 12px;
  font-size: 12px;
  font-weight: 600;
  color: #f87171;
}

.adc-form .wpcf7-response-output {
  margin: 14px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.adc-form form.sent .wpcf7-response-output {
  color: var(--green-600);
}

.adc-form form.invalid .wpcf7-response-output,
.adc-form form.failed .wpcf7-response-output {
  color: #dc2626;
}

.adc-form .wpcf7-spinner {
  margin: 8px auto 0;
  display: block;
}

/* ---------- Skin do rodapé (fundo escuro) ---------- */
.footer-form input:not([type="submit"]),
.footer-form textarea {
  background: #0f1e33;
  border: 1px solid #334155;
  color: #fff;
}

.footer-form input:not([type="submit"])::placeholder,
.footer-form textarea::placeholder {
  color: #64748b;
}

.footer-form form.sent .wpcf7-response-output {
  color: #4ade80;
}

.footer-form form.invalid .wpcf7-response-output,
.footer-form form.failed .wpcf7-response-output {
  color: #f87171;
}

/* ---------- Skin do card de contato (fundo claro) ----------
   Antes esta página reusava .footer-form e ficava com campos
   azul-marinho escuro dentro de um card branco. */
.contact-form input:not([type="submit"]),
.contact-form textarea {
  background: var(--bg-primary-alt);
  border: 1px solid var(--border-color);
  color: var(--text-heading);
}

.contact-form input:not([type="submit"])::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form textarea {
  min-height: 140px;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   WhatsApp flutuante
   ============================================================ */
/* Pilha de botões flutuantes (orçamento + WhatsApp). */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.whatsapp-float:hover {
  background: var(--green-700);
  transform: scale(1.06);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

/* Botão flutuante do orçamento (aparece quando há itens na lista). */
.quote-float {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-600);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.quote-float[hidden] {
  display: none;
}

.quote-float:hover {
  background: #0369a1;
  color: #fff;
  transform: translateY(-1px);
}

.quote-float svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

.quote-float-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 700;
}

/* ---------- Botão "Adicionar ao orçamento" e link de datasheet ---------- */
.btn.is-added {
  background: var(--green-700);
}

.product-datasheet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--blue-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}

.product-datasheet-link svg {
  width: 18px;
  height: 18px;
}

/* ---------- Página do orçamento ---------- */
.quote-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.quote-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote-row {
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.quote-row-media {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-row-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.quote-row-noimg {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
}

.quote-row-name a {
  color: var(--text-heading);
  font-weight: 600;
}

.quote-row-desc {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.45;
}

/* ---------- Seletor de quantidade na página do produto ---------- */
.product-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}

.product-add-btn {
  flex: 1;
  min-width: 220px;
}

.qty-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.qty-stepper button {
  width: 42px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-heading);
  font-size: 20px;
  line-height: 1;
}

.qty-stepper button:hover {
  background: var(--border-color);
}

.qty-stepper input {
  width: 52px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-heading);
  -moz-appearance: textfield;
}

.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-single-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--blue-600);
}

.product-single-wa svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 480px) {
  .quote-row {
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    row-gap: 10px;
  }
  .quote-row-media { width: 52px; height: 52px; }
  .quote-row .quote-remove {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
  }
  .quote-row .quote-stepper {
    grid-column: 2 / 4;
  }
}

.quote-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.quote-stepper button {
  width: 34px;
  height: 36px;
  border: none;
  background: var(--bg-secondary);
  color: var(--text-heading);
  font-size: 18px;
  line-height: 1;
}

.quote-stepper input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  font-family: var(--font-body);
  font-size: 14px;
  -moz-appearance: textfield;
}

.quote-stepper input::-webkit-outer-spin-button,
.quote-stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quote-remove {
  border: none;
  background: none;
  color: var(--text-body);
  font-size: 22px;
  line-height: 1;
  padding: 4px 8px;
}

.quote-remove:hover {
  color: #dc2626;
}

.quote-empty {
  text-align: center;
  padding: 48px 24px;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-lg);
  color: var(--text-body);
}

.quote-empty p {
  margin-bottom: 16px;
}

.quote-form-col {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 104px;
}

.quote-form-col h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.quote-field {
  display: block;
  margin-bottom: 14px;
}

.quote-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.quote-field em {
  color: var(--text-body);
  font-style: normal;
  font-weight: 400;
}

.quote-field input,
.quote-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--bg-primary-alt);
  color: var(--text-heading);
}

.quote-field input:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--blue-600);
}

.quote-erro {
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}

.quote-send {
  width: 100%;
}

.quote-note {
  font-size: 12px;
  color: var(--text-body);
  margin-top: 12px;
  text-align: center;
}

@media (max-width: 860px) {
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .quote-form-col {
    position: static;
  }
}

/* ============================================================
   Utilitários de página (catálogo, sobre, garantia, contato)
   ============================================================ */
.page-header {
  background: var(--bg-primary-alt);
  border-bottom: 1px solid var(--border-color);
  padding: 32px 0;
  text-align: center;
}

/* A seção logo abaixo do cabeçalho não precisa do respiro cheio: o
   próprio page-header já separa. */
.page-header + .section,
.page-header + .container.section {
  padding-top: 40px;
}

.page-header .section-subtitle {
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* vence a justificação: é uma linha curta e centrada */
}

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

.product-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.product-card img {
  aspect-ratio: 4/3;
  object-fit: contain;
  width: 100%;
  background: #fff;
  padding: 16px;
  transition: transform 0.3s ease;
}

/* Zoom na foto ao passar o mouse. O overflow:hidden do card recorta o excedente.
   Aqui a escala é contida: o card é uma vitrine de navegação, e a inspeção de
   detalhe acontece na lupa da página do produto. */
.product-card:hover img {
  transform: scale(1.18);
}

.product-card-body {
  padding: 20px;
}

/* Sem a descrição embaixo, o título fecha o card: zera a margem para o respiro
   abaixo dele ficar igual ao padding dos outros lados. */
.product-card-body h3 {
  font-size: 17px;
  margin-bottom: 0;
}

.product-card-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.category-filter a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  color: var(--text-body);
  background: #fff;
}

.category-filter a.is-active,
.category-filter a:hover {
  background: var(--text-heading);
  border-color: var(--text-heading);
  color: #fff;
}

/* ---------- Vitrine em carrossel de arrastar (single) ---------- */
.product-carousel {
  border-top: 1px solid var(--border-color);
}

.related-title {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 24px;
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.carousel-heading .related-title {
  margin-bottom: 0;
}

.scroller-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.scroller-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  transition: border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.scroller-arrow:hover:not(:disabled) {
  border-color: var(--blue-600);
  color: var(--blue-600);
}

.scroller-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.scroller-arrow svg {
  width: 20px;
  height: 20px;
}

.product-scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 14px;
  scrollbar-width: none; /* Firefox — as setas guiam a navegação */
  cursor: grab;
}

.product-scroller::-webkit-scrollbar {
  display: none;
}

.product-scroller.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.scroller-item {
  flex: 0 0 clamp(230px, 24vw, 270px);
  scroll-snap-align: start;
}

@media (max-width: 520px) {
  .scroller-nav {
    display: none; /* no celular, arrastar é o gesto natural */
  }
}

.warranty-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
}

.warranty-content h2 {
  margin-top: 40px;
}

/* ---------- FAQ (acordeão) ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-group + .faq-group {
  margin-top: 40px;
}

.faq-group-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-600);
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-heading);
  list-style: none; /* remove o triângulo padrão */
}

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

.faq-item summary svg {
  width: 20px;
  height: 20px;
  color: var(--blue-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Seta aponta para baixo quando aberto. */
.faq-item[open] summary svg {
  transform: rotate(90deg);
}

.faq-item summary:hover {
  color: var(--blue-600);
}

.faq-answer {
  padding: 0 4px 22px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-body);
  text-align: justify;
  hyphens: auto;
}

.faq-cta {
  margin-top: 56px;
  padding: 32px;
  text-align: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-xl);
}

.faq-cta p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-heading);
}

@media (max-width: 560px) {
  .faq-answer p {
    text-align: left;
  }
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-page-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .download-callout {
    flex-direction: column;
    align-items: flex-start;
  }
}
