/*
 * ═══════════════════════════════════════════════════════════
 *  MEGAHPROJ — ESTILOS DE PÁGINAS INTERNAS
 *  Páginas: Quem Somos, Soluções, Downloads, Contato
 *  Bloco 2.10 — pages.css
 * ═══════════════════════════════════════════════════════════
 */

/* ─────────────────────────────────────────────
   SEÇÃO HISTÓRIA & TIMELINE (Quem Somos)
   ───────────────────────────────────────────── */
.about-history {
  background-color: var(--megah-white);
  position: relative;
  overflow: hidden;
}

.history-intro {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.history-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
}

/* Timeline Container */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0 auto;
  padding: 20px 0;
}

/* Linha Central */
.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--border);
  transform: translateX(-50%);
  z-index: 1;
}

/* Item da Timeline */
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
}

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

/* Marcador Circular */
.timeline-marker {
  grid-column: 2;
  width: 20px;
  height: 20px;
  border: 4px solid var(--megah-burgundy);
  background-color: var(--megah-white);
  border-radius: 50%;
  justify-self: center;
  position: relative;
  z-index: 2;
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease), box-shadow var(--ease);
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.35);
  border-color: var(--megah-yellow-alt);
  background-color: var(--megah-burgundy);
  box-shadow: 0 0 0 6px rgba(153, 0, 0, 0.15);
}

/* Informações / Ano */
.timeline-info {
  position: relative;
  z-index: 2;
}

.timeline-year {
  font-family: var(--font);
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--megah-gray-light);
  line-height: 1;
  transition: color var(--ease), transform var(--ease);
  display: inline-block;
}

.timeline-item:hover .timeline-year {
  color: var(--megah-burgundy);
  transform: scale(1.05);
}

/* Card de Conteúdo */
.timeline-card {
  background-color: var(--bg-light);
  padding: 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background-color var(--ease);
  border-left: 4px solid var(--border-dark);
  position: relative;
  z-index: 2;
}

.timeline-item:hover .timeline-card {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--megah-burgundy);
  background-color: var(--megah-white);
}

.timeline-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--megah-black);
  margin-bottom: 10px;
  transition: color var(--ease);
}

.timeline-item:hover .timeline-title {
  color: var(--megah-burgundy);
}

.timeline-desc {
  font-family: var(--font);
  font-weight: 400;
  /* Regular — Brand Manual */
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   ALINHAMENTO ESQUERDA / DIREITA (Alternado)
   ───────────────────────────────────────────── */

/* Ímpares: Card à Esquerda, Ano à Direita */
.timeline-item:nth-child(odd) .timeline-card {
  grid-column: 1;
  text-align: right;
  border-left: none;
  border-right: 4px solid var(--border-dark);
}

.timeline-item:nth-child(odd):hover .timeline-card {
  border-right-color: var(--megah-burgundy);
}

.timeline-item:nth-child(odd) .timeline-info {
  grid-column: 3;
  justify-self: start;
  text-align: left;
}

/* Pares: Ano à Esquerda, Card à Direita */
.timeline-item:nth-child(even) .timeline-card {
  grid-column: 3;
  text-align: left;
  border-left: 4px solid var(--border-dark);
}

.timeline-item:nth-child(even) .timeline-info {
  grid-column: 1;
  justify-self: end;
  text-align: right;
}

/* ─────────────────────────────────────────────
   RESPONSIVIDADE (Tablets e Dispositivos Móveis)
   ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .timeline {
    max-width: 100%;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    margin-bottom: 50px;
  }

  .timeline-line {
    left: 40px;
    transform: none;
  }

  .timeline-marker {
    grid-column: 1;
  }

  /* Reset de alinhamento para todos os itens no tablet/mobile */
  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2;
    text-align: left;
    border-right: none;
    border-left: 4px solid var(--border-dark);
  }

  .timeline-item:nth-child(odd):hover .timeline-card,
  .timeline-item:nth-child(even):hover .timeline-card {
    border-left-color: var(--megah-burgundy);
    border-right-color: transparent;
  }

  .timeline-item:nth-child(odd) .timeline-info,
  .timeline-item:nth-child(even) .timeline-info {
    grid-column: 2;
    justify-self: start;
    text-align: left;
    margin-bottom: 12px;
  }

  /* Ajusta a ordem para que o Ano fique acima do Card */
  .timeline-info {
    grid-row: 1;
  }

  .timeline-card {
    grid-row: 2;
  }

  .timeline-year {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 40px 1fr;
    margin-bottom: 40px;
  }

  .timeline-marker {
    width: 16px;
    height: 16px;
    border-width: 3px;
  }

  .timeline-item:nth-child(odd) .timeline-card,
  .timeline-item:nth-child(even) .timeline-card {
    padding: 20px;
  }

  .timeline-year {
    font-size: 1.6rem;
  }

  .timeline-title {
    font-size: 1.15rem;
  }
}

/* ─────────────────────────────────────────────
   SEÇÃO MISSÃO, VISÃO E VALORES (Bloco 2.11)
   ───────────────────────────────────────────── */
.about-mvv {
  background-color: var(--bg-light);
}

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.mvv-card {
  background-color: var(--bg-card);
  padding: 45px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  border-top: 4px solid var(--border-dark);
}

.mvv-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--megah-burgundy);
}

.mvv-icon {
  width: 72px;
  height: 72px;
  background-color: rgba(253, 225, 0, 0.12);
  /* Fundo amarelo suave */
  color: var(--megah-yellow-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin: 0 auto 28px auto;
  transition: transform var(--ease), background-color var(--ease), color var(--ease);
}

.mvv-card:hover .mvv-icon {
  transform: scale(1.08);
  background-color: var(--megah-yellow);
  color: var(--megah-black);
}

.mvv-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--megah-black);
  margin-bottom: 16px;
  transition: color var(--ease);
}

.mvv-card:hover .mvv-title {
  color: var(--megah-burgundy);
}

.mvv-desc {
  font-family: var(--font);
  font-weight: 400;
  /* Regular — Brand Manual */
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .mvv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mvv-card {
    padding: 35px 24px;
  }
}

/* ─────────────────────────────────────────────
   SEÇÃO O QUE NOS MOVE? (Bloco 2.12)
   Layout split: foto (esq.) + texto numerado (dir.)
   ───────────────────────────────────────────── */
.about-drive {
  background-color: var(--megah-white);
  overflow: hidden;
}

/* Container split 50/50 */
.about-drive-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 80px;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

/* ── Coluna Imagem ── */
.drive-image-col {
  position: relative;
}

.drive-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background-color: var(--border);
  max-width: 380px;
  margin: 0 auto;
}

.drive-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.drive-image-wrapper:hover .drive-image {
  transform: scale(1.03);
}

/* ── Coluna Texto ── */
.drive-text-col {
  position: relative;
  padding: 0 0 20px 0;
}

/* Watermark "M" decorativo: ícone Megahproj posicionado como bg */
.drive-watermark {
  position: absolute;
  right: -40px;
  bottom: -30px;
  width: 340px;
  height: auto;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  display: block;
}

.drive-title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  color: var(--megah-black);
  line-height: 1.15;
  margin-top: 0;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.drive-intro {
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--megah-gray);
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

/* Itens numerados */
.drive-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.drive-item:last-child {
  margin-bottom: 0;
}

.drive-number {
  font-family: var(--font);
  font-weight: 900;
  font-size: 3.6rem;
  line-height: 1;
  color: var(--megah-gray-light);
  transition: color var(--ease), transform var(--ease);
  padding-top: 4px;
}

.drive-item:hover .drive-number {
  color: var(--megah-burgundy);
  transform: scale(1.06);
}

.drive-item-text {
  font-family: var(--font);
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--megah-gray);
  padding-top: 6px;
  border-top: 2px solid var(--border);
  transition: border-color var(--ease);
}

.drive-item:hover .drive-item-text {
  border-top-color: var(--megah-burgundy);
}

.drive-item-text strong {
  font-weight: 700;
  color: var(--megah-black);
}

/* ── Responsividade ── */
@media (max-width: 1024px) {
  .about-drive-container {
    gap: 50px;
  }

  .drive-watermark {
    width: 260px;
  }
}

@media (max-width: 768px) {
  .about-drive-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .drive-image-wrapper {
    aspect-ratio: 4 / 5;
  }

  .drive-watermark {
    width: 200px;
    right: -10px;
    bottom: -10px;
  }

  .drive-title {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .drive-number {
    font-size: 2.8rem;
  }
}

@media (max-width: 480px) {
  .drive-item {
    grid-template-columns: 44px 1fr;
    gap: 14px;
  }

  .drive-number {
    font-size: 2.2rem;
  }
}


/* ─────────────────────────────────────────────
   SEÇÃO CTA CONTATO (Bloco 2.13)
   Imagem de fundo industrial com overlay escuro/bordô e parallax
   ───────────────────────────────────────────── */
.about-cta {
  position: relative;
  background-image: url('../assets/images/fundo_industria.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  padding: 100px 0;
  color: var(--megah-white);
  overflow: hidden;
}

@media (min-width: 993px) {
  .about-cta {
    background-attachment: fixed;
    /* Parallax suave para desktop */
  }
}

.about-cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 17, 17, 0.85) 0%, rgba(153, 0, 0, 0.4) 100%);
  z-index: 1;
}

.about-cta-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.about-cta-title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(1.8rem, 2.75vw, 2.6rem);
  color: var(--megah-white);
  margin-bottom: 36px;
  line-height: 1.3;
}

.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.about-cta-buttons .btn {
  box-shadow: var(--shadow-sm);
  min-width: 220px;
}

.about-cta-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 576px) {
  .about-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .about-cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ─────────────────────────────────────────────
   SEÇÃO DOWNLOADS (Bloco 2.15) - Versão Tabela
   ───────────────────────────────────────────── */
.downloads-section {
  background-color: var(--bg-light);
  padding: var(--section-y) 0;
}

/* ── Filtros: Menu Underline ── */
.download-filters-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 2px solid #d9d9d9;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.dl-tab {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 14px 28px 12px;
  border: none;
  background-color: transparent;
  color: var(--megah-gray);
  cursor: pointer;
  position: relative;
  border-radius: 0;
  transition: color var(--ease);
  /* Barra de underline via ::after */
}

.dl-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  /* alinha sobre a borda cinza do nav */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transition: background-color var(--ease);
}

/* Hover: barra bordô */
.dl-tab:hover {
  color: var(--megah-black);
}

.dl-tab:hover::after {
  background-color: var(--megah-burgundy);
}

/* Ativo: texto bordô, barra bordô persistente */
.dl-tab.active {
  color: var(--megah-burgundy);
  font-weight: 700;
}

.dl-tab.active::after {
  background-color: var(--megah-burgundy);
}

/* Tabela Container */
.download-table-container {
  width: 100%;
  background-color: var(--megah-white);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  margin-top: 20px;
}

.download-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

/* Animação fade-in nas linhas */
.download-row.fade-in {
  animation: fadeInRow 0.4s ease forwards;
}

@keyframes fadeInRow {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cabeçalho */
.download-table th {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--megah-gray);
  background-color: var(--megah-white);
  padding: 20px 24px;
  border-bottom: 2px solid #eaeaea;
  letter-spacing: 0.8px;
}

/* Linhas e Células */
.download-table td {
  padding: 22px 24px;
  border-bottom: 1px solid #eaeaea;
  font-family: var(--font);
  font-size: 0.92rem;
  vertical-align: middle;
}

.download-table tbody tr:last-child td {
  border-bottom: none;
}

/* Definição de Larguras e Alinhamento das Colunas */
.col-file {
  width: 30%;
}

.col-type {
  width: 10%;
  text-align: center;
}

.col-desc {
  width: 40%;
}

.col-size {
  width: 10%;
  text-align: left;
}

.col-action {
  width: 10%;
  text-align: left;
}

/* Ajuste específico de th centralizado */
th.col-type {
  text-align: center;
}

/* Arquivo (Nome) */
.col-file strong {
  font-weight: 700;
  color: var(--megah-black);
  font-size: 0.95rem;
  display: block;
}

/* Tipo (Badge PDF) */
.badge-type {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--megah-gray);
  background-color: #f1f3f5;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  letter-spacing: 0.5px;
}

/* Descrição */
.col-desc {
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  line-height: 1.6;
}

/* Tamanho */
.col-size {
  color: var(--megah-black);
  font-weight: 500;
  white-space: nowrap;
}

/* Link de Download (Bordô) */
.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--megah-burgundy);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform var(--ease), opacity var(--ease);
  white-space: nowrap;
}

.btn-download i {
  font-size: 1.05rem;
}

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

/* Responsividade Mobile (Transformação em blocos) */
@media (max-width: 768px) {
  .download-filters-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dl-tab {
    padding: 12px 18px 10px;
    flex: 0 0 auto;
    font-size: 0.8rem;
  }

  .download-table thead {
    display: none;
    /* Oculta cabeçalho original */
  }

  .download-table,
  .download-table tbody,
  .download-table tr,
  .download-table td {
    display: block;
    width: 100%;
  }

  .download-table tr {
    border-bottom: 2px solid var(--border);
    padding: 16px 0;
  }

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

  .download-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    border: none;
    text-align: right;
    width: 100% !important;
  }

  .download-table td::before {
    content: attr(data-label);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: left;
    margin-right: 15px;
  }

  .col-desc {
    max-width: 100%;
    justify-content: flex-end;
  }

  .col-type {
    justify-content: space-between;
  }
}

/* ─────────────────────────────────────────────
   SEÇÃO CONTATO — BLOCO 2.17
   ───────────────────────────────────────────── */
.contact-section {
  background-color: var(--bg-light);
  padding-top: 50px;
  padding-bottom: 50px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 48px;
  align-items: start;
}

/* Coluna Esquerda: Informações */
.contact-info-col {
  padding-right: 20px;
}

.contact-title {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  color: var(--megah-black);
  margin-bottom: 12px;
}

.contact-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--megah-gray);
  margin-bottom: 32px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--megah-white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--megah-burgundy);
  /* Destaque da marca */
  transition: transform var(--ease), box-shadow var(--ease);
}

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

.contact-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #fff9f9;
  border: 1px solid rgba(153, 0, 0, 0.15);
  color: var(--megah-burgundy);
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--megah-black);
  margin-bottom: 6px;
}

.contact-card-content p {
  font-size: 0.9rem;
  color: var(--megah-gray);
  line-height: 1.5;
  margin: 0;
}

.contact-card-content a {
  color: var(--megah-gray);
  transition: color var(--ease);
}

.contact-card-content a:hover {
  color: var(--megah-burgundy);
}

/* Coluna Direita: Formulário */
.contact-form-col {
  width: 100%;
}

.contact-form-container {
  background-color: var(--megah-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.form-title {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--megah-black);
  margin-bottom: 24px;
}

.contact-form .form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--megah-black);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  background-color: var(--megah-white);
  color: var(--megah-black);
  transition: border-color var(--ease), box-shadow var(--ease);
  width: 100%;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--megah-burgundy);
  box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .error-msg {
  font-size: 0.8rem;
  color: var(--megah-burgundy);
  margin-top: 5px;
  display: none;
  font-weight: 600;
}

.contact-form .form-group.has-error input,
.contact-form .form-group.has-error select,
.contact-form .form-group.has-error textarea {
  border-color: var(--megah-burgundy);
  background-color: #fffcfc;
}

.contact-form .form-group.has-error .error-msg {
  display: block;
}

/* Checkbox de Consentimento */
.contact-form .form-group--checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.contact-form .form-group--checkbox input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  margin: 0;
  cursor: pointer;
}

.contact-form .form-group--checkbox label {
  margin-bottom: 0 !important;
  text-transform: none;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--megah-gray);
  cursor: pointer;
  letter-spacing: 0;
}

/* Botão de Envio */
.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(153, 0, 0, 0.2);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Mensagem de Status */
.form-status-msg {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
  text-align: center;
  line-height: 1.5;
}

.form-status-msg.success {
  display: block;
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-status-msg.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

.form-status-msg.loading {
  display: block;
  background-color: #e2e3e5;
  color: #41464b;
  border: 1px solid #d3d6d8;
}

/* Responsividade */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-col {
    padding-right: 0;
  }

  .contact-form-container {
    padding: 30px 24px;
  }
}

@media (max-width: 576px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form .form-row .form-group {
    margin-bottom: 20px;
  }
}

/* ─────────────────────────────────────────────
   PÁGINA PRODUTOS — INTRODUÇÃO E QUALIDADE
   ───────────────────────────────────────────── */
.products-intro {
  background-color: var(--megah-white);
  padding: var(--section-y) 0;
}

.products-intro-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 60px;
}

.products-intro-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.products-intro-image {
  max-width: 100%;
  height: auto;
  opacity: 0.2;
}

.products-intro-text-wrapper {
  display: flex;
  flex-direction: column;
}

.products-intro-text-wrapper .section-title.text-left::after {
  margin: 12px 0 0 0;
}

.products-intro-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin-top: 24px;
}

@media (max-width: 992px) {
  .products-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .products-intro-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .products-intro-text-wrapper .section-title {
    text-align: center;
  }

  .products-intro-text-wrapper .section-title::after {
    margin: 12px auto 0 auto;
  }
}

/* ─────────────────────────────────────────────
   PÁGINA PRODUTOS — NOVO LAYOUT DE DUAS COLUNAS (Fase 2.21 / 2.22)
   ───────────────────────────────────────────── */
:root {
  --sidebar-w: 280px;
  --sidebar-gap: 50px;
  --sticky-offset: calc(var(--header-h) + 30px);
}

/* Container do Grid Principal */
.products-layout-grid {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: var(--sidebar-gap);
  align-items: start;
  padding: 60px 0 var(--section-y) 0;
  max-width: 100%;
}

.products-sidebar-col {
  min-width: 0;
}

/* Coluna da Sidebar */
.products-sidebar-col {
  position: sticky;
  top: var(--sticky-offset);
  z-index: 90;
}

.products-sidebar {
  background-color: var(--megah-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--megah-black);
  margin-bottom: 24px;
  text-transform: capitalize;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-link {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--megah-gray);
  padding: 8px 0 8px 16px;
  border-left: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease), padding-left var(--ease);
  display: block;
}

.sidebar-link:hover {
  color: var(--megah-burgundy);
  padding-left: 20px;
}

.sidebar-link.active {
  color: var(--megah-burgundy);
  font-weight: 700;
  border-left-color: var(--megah-burgundy);
  /* detalhe de acento ≤ 5% */
  padding-left: 18px;
}

/* Coluna de Conteúdo Principal */
.products-content-col {
  display: flex;
  flex-direction: column;
  gap: 70px;
}

/* Seções de Categorias */
.product-category-section {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.category-header {
  margin-bottom: 45px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.category-title {
  font-family: var(--font);
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--megah-black);
  text-transform: uppercase;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--megah-yellow-alt);
  /* Detalhe amarelo principal da marca */
}

.category-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin-top: 15px;
  max-width: 800px;
}

/* Grid de Produtos dentro de cada Categoria */
.products-list-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
  /* espaço generoso entre produtos */
}

/* Linha do Produto Alternada */
.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Alternância Automática */
.product-row:nth-child(even) {
  direction: rtl;
  /* Inverte a ordem visual */
}

/* Corrige alinhamento de texto que herda do rtl */
.product-row:nth-child(even) .product-text-box {
  direction: ltr;
  text-align: left;
}

.product-row:nth-child(even) .product-image-box {
  direction: ltr;
}

/* Box da Imagem (Cinza Claro) */
.product-image-box {
  background-color: #f8f9fa;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: transform var(--ease), box-shadow var(--ease);
}

.product-image-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-image-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Modificador: container de foto real (ex: Equipamentos Engenheirados)
   — mais alto, padding uniforme, imagem preenche com espaçamento igual */
.product-image-box--photo {
  aspect-ratio: 5 / 6;
  padding: 40px;
}

.product-image-box--photo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Caixa de Texto */
.product-text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Badge (tipo do produto) */
.product-badge {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--megah-burgundy);
  /* detalhe de acento ≤ 5% */
  border: 1px solid var(--megah-burgundy);
  border-radius: 50px;
  padding: 6px 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nome do Produto */
.product-name {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--megah-black);
  line-height: 1.1;
  margin: 0;
}

.product-description {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin: 0;
}

/* Lista de Diferenciais */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0;
}

.product-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--megah-black);
  font-weight: 500;
}

.product-feature-item i {
  color: var(--megah-yellow-alt);
  /* checkmark amarelo */
  font-size: 1rem;
  margin-top: 3px;
}

/* Botão Download Folheto */
.product-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--megah-black);
  border: 1.5px solid var(--megah-black);
  background-color: transparent;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.product-download-btn:hover {
  background-color: var(--megah-burgundy);
  border-color: var(--megah-burgundy);
  color: var(--megah-white);
  transform: translateY(-2px);
}

/* Botão Sólido de Contato */
.product-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--megah-white) !important;
  border: none;
  background-color: var(--megah-burgundy);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity var(--ease), transform var(--ease);
}

.product-contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  color: var(--megah-white) !important;
}

/* ─────────────────────────────────────────────
   RESPONSIVIDADE (Telas menores)
   ───────────────────────────────────────────── */
@media (max-width: 992px) {
  .products-layout-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding-top: 40px;
    max-width: 100%;
  }

  .products-sidebar-col {
    position: sticky;
    top: var(--header-h);
    z-index: 150;
    margin: 0 -20px;
    min-width: 0;
  }

  .products-sidebar {
    border-radius: 0;
    border-left: none;
    border-right: none;
    padding: 12px 20px;
    box-shadow: var(--shadow-sm);
    width: 100%;
    box-sizing: border-box;
  }

  .sidebar-title {
    display: none;
    /* Oculta o título "Produtos" no mobile/tablet */
  }

  .sidebar-menu {
    flex-direction: row;
    overflow-x: auto;
    gap: 20px;
    padding: 2px 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    box-sizing: border-box;
  }

  .sidebar-link {
    white-space: nowrap;
    padding: 6px 0;
    border-left: none;
    border-bottom: 2px solid transparent;
  }

  .sidebar-link:hover {
    padding-left: 0;
  }

  .sidebar-link.active {
    border-left-color: transparent;
    border-bottom-color: var(--megah-burgundy);
    padding-left: 0;
  }

  .product-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-row:nth-child(even) {
    direction: ltr;
    /* Desativa reversão no mobile */
  }

  .product-image-box {
    aspect-ratio: 16 / 9;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .product-image-box {
    aspect-ratio: 4 / 3;
  }

  .product-badge {
    font-size: 0.68rem;
    padding: 5px 12px;
  }

  .product-name {
    font-size: 1.6rem;
  }
}

/* ─────────────────────────────────────────────
   PÁGINA SERVIÇOS (Fase 2.25)
   ───────────────────────────────────────────── */
.services-intro {
  background-color: var(--megah-white);
  padding: var(--section-y) 0;
}

.services-intro-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 60px;
}

.services-intro-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.services-intro-image {
  max-width: 100%;
  height: auto;
}

.services-intro-text-wrapper {
  display: flex;
  flex-direction: column;
}

.services-intro-text-wrapper .section-title.text-left::after {
  margin: 12px 0 0 0;
}

.services-intro-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin-top: 24px;
}

.services-grid-section {
  background-color: var(--bg-light);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: var(--megah-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--border-dark);
  transition: background-color var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(153, 0, 0, 0.15);
}

.service-card:hover::before {
  background-color: var(--megah-burgundy);
}

.service-card-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(253, 225, 0, 0.1);
  color: var(--megah-yellow-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: transform var(--ease), background-color var(--ease), color var(--ease);
}

.service-card:hover .service-card-icon-wrapper {
  transform: scale(1.08);
  background-color: var(--megah-yellow-alt);
  color: var(--megah-black);
}

.service-card-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--megah-black);
  margin: 0;
  transition: color var(--ease);
}

.service-card:hover .service-card-title {
  color: var(--megah-burgundy);
}

.service-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin: 0;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--megah-black);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: color var(--ease);
  margin-top: 10px;
}

.service-card-link i {
  font-size: 0.95rem;
  transition: transform var(--ease);
}

.service-card-link:hover {
  color: var(--megah-burgundy);
}

.service-card-link:hover i {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .services-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .services-intro-image-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .services-intro-text-wrapper .section-title {
    text-align: center;
  }

  .services-intro-text-wrapper .section-title::after {
    margin: 12px auto 0 auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
  }

  .service-card {
    padding: 30px 24px;
  }
}

/* ─────────────────────────────────────────────
   DETALHAMENTO DOS SERVIÇOS (Fase 2.26)
   ───────────────────────────────────────────── */
.services-details-section {
  background-color: var(--megah-white);
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
}

.services-details-wrapper {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  scroll-margin-top: calc(var(--header-h) + 30px);
}

/* Alternância Visual */
.service-detail-row:nth-child(even) {
  direction: rtl;
}

.service-detail-row:nth-child(even) .service-detail-text-box {
  direction: ltr;
  text-align: left;
}

.service-detail-row:nth-child(even) .service-detail-image-box {
  direction: ltr;
}

/* Box da Imagem */
.service-detail-image-box {
  background-color: #f8f9fa;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease);
}

.service-detail-image-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-detail-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-detail-image-box:hover img {
  transform: scale(1.05);
}

/* Caixa de Texto */
.service-detail-text-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.service-detail-badge {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--megah-burgundy);
  border: 1px solid var(--megah-burgundy);
  border-radius: 50px;
  padding: 6px 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-detail-name {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: var(--megah-black);
  line-height: 1.1;
  margin: 0;
}

.service-detail-description {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--megah-gray);
  font-weight: 400;
  /* Regular — Brand Manual */
  margin: 0;
}

/* Lista de Diferenciais */
.service-detail-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0;
}

.service-detail-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--megah-black);
  font-weight: 500;
}

.service-detail-feature-item i {
  color: var(--megah-yellow-alt);
  font-size: 1rem;
  margin-top: 3px;
}

.service-detail-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--megah-white) !important;
  border: none;
  background-color: var(--megah-burgundy);
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity var(--ease), transform var(--ease);
  margin-top: 8px;
  text-decoration: none;
}

.service-detail-contact-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .services-details-wrapper {
    gap: 70px;
  }

  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail-row:nth-child(even) {
    direction: ltr;
  }

  .service-detail-image-box {
    aspect-ratio: 16 / 9;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .service-detail-image-box {
    aspect-ratio: 4 / 3;
  }

  .service-detail-badge {
    font-size: 0.68rem;
    padding: 5px 12px;
  }

  .service-detail-name {
    font-size: 1.6rem;
  }
}