/* ===== Translight - estilos customizados (home e seções reconstruídas) ===== */

html, body {
  background-color: #686868 !important;
  background-image: url(/assets/fundo.jpg) !important;
  background-repeat: repeat !important;
  min-height: 100%;
}

/* .boxed-main-layout tem um fundo cinza sólido próprio (#ddd) no CSS
   original do tema, cobrindo a tela inteira por cima do body — por isso
   o fundo.jpg nunca aparecia. Removendo essa camada. */
.boxed-main-layout {
  background: none !important;
  background-color: transparent !important;
}
#outer-wrap {
  background: none !important;
  background-color: transparent !important;
}

/* Menu mobile "sidr" do tema antigo depende de um plugin jQuery que não
   existe mais nesta reconstrução, e sem ele o painel fica visível e
   empurra o conteúdo, criando uma faixa cinza vazia à esquerda. */
#sidr-main {
  display: none !important;
}

/* Em telas bem estreitas o layout boxed do tema pode ainda estourar a
   largura; trava só nesse caso extremo, sem cortar a margem onde o
   fundo (fundo.jpg) aparece nas telas normais/tablet. */
@media screen and (max-width: 480px) {
  #outer-wrap #wrap {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.tl-hero {
  position: relative;
  min-height: 460px;
  background-color: #17130f;
  overflow: hidden;
}
.tl-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #17130f;
  background-image: repeating-linear-gradient(135deg, #1c1712 0px, #1c1712 18px, #211915 18px, #211915 36px);
  transition: opacity 1.2s ease;
}
.tl-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.15) 100%);
}
.tl-hero-content {
  position: relative;
  max-width: 1130px;
  margin: 0 auto;
  height: 100%;
  min-height: 460px;
  display: flex;
  align-items: flex-start;
  padding: 66px 20px 0;
}
.tl-hero-content h1 {
  font-size: clamp(17px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 800;
  text-transform: uppercase;
  max-width: 38%;
  margin: 0;
}
.tl-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
}
.tl-hero-arrow:hover { background: rgba(0,0,0,0.55); }
.tl-hero-arrow-prev { left: 12px; }
.tl-hero-arrow-next { right: 12px; }
.tl-hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.tl-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.tl-hero-dot.is-active { background: #fff212; border-color: #fff212; }

.tl-services {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px 20px;
  justify-content: center;
}
.tl-service { flex: 1 1 260px; max-width: 320px; text-align: center; }
.tl-service-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f3f0;
  border-radius: 6px;
  color: #211915;
}
.tl-service-photo {
  width: 100%;
  height: 170px;
  border-radius: 6px;
  overflow: hidden;
  margin: 0 0 16px;
}
.tl-service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl-service h2 { font-size: 20px; color: #211915; margin: 0 0 10px; font-weight: 600; }
.tl-service-divider { width: 100%; height: 1px; background: #ddd; margin: 0 0 14px; }
.tl-service p { font-size: 14px; color: #444; line-height: 1.6; margin: 0; }

.tl-services-cta { text-align: center; padding: 10px 0 40px; }
.tl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #211915;
  color: #fff;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.tl-btn:hover { background: #3f2f25; color: #fff; }

.tl-welcome {
  background: #fff212;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #e9e9e9;
  padding: 40px 45px;
}
.tl-welcome-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
}
.tl-welcome-left { flex: 1 1 240px; text-align: center; }
.tl-welcome-left h2 { font-size: 28px; color: #000; margin: 0 0 18px; font-weight: 600; }
.tl-welcome-left p { font-size: 14px; color: #000; margin: 0 0 16px; line-height: 1.6; }
.tl-welcome-right { flex: 3 1 480px; }
.tl-welcome-right h2 { font-size: 18px; color: #000; font-weight: 600; margin: 8px 0 4px; }
.tl-welcome-divider { height: 1px; background: #0a0a0a; margin: 4px 0 16px; }

.tl-partners { max-width: 1100px; margin: 0 auto; padding: 40px 20px; text-align: center; }
.tl-partners h2 { font-size: 22px; color: #211915; font-weight: 700; margin: 0 0 26px; }
.tl-partners-marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.tl-partners-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: tl-partners-scroll 26s linear infinite;
}
.tl-partners-track:hover { animation-play-state: paused; }
.tl-partner-logo { flex: 0 0 auto; height: 85px; display: flex; align-items: center; justify-content: center; }
.tl-partner-logo img { max-height: 85px; max-width: 235px; width: auto; height: auto; object-fit: contain; }
@keyframes tl-partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tl-quick-form { display: flex; flex-wrap: wrap; gap: 10px; }
.tl-quick-form .tl-field-half { flex: 1 1 45%; min-width: 140px; }
.tl-quick-form input,
.tl-quick-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px;
  border: 1px solid #444;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
}
.tl-quick-form textarea { flex: 1 1 100%; min-height: 100px; resize: vertical; }
.tl-quick-form-submit { flex: 1 1 100%; min-width: 120px; }
.tl-quick-form-submit button {
  width: 100%;
  height: 100%;
  padding: 12px;
  background: #fff212;
  color: #211915;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}
.tl-quick-form-submit button:hover { background: #ffe600; }

@media screen and (max-width: 680px) {
  .tl-hero-content h1 { font-size: 24px; }
  .tl-welcome { padding: 30px 20px; }
}

.tl-about { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.tl-about-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.tl-about-text { flex: 1 1 320px; }
.tl-about-text h3 { margin: 0 0 20px; font-size: 19px; line-height: 1.6; font-weight: 700; color: #211915; }
.tl-about-text p { font-size: 15px; line-height: 1.7; color: #444; margin: 0 0 18px; }
.tl-about-text h4 { font-size: 16px; font-weight: 700; color: #211915; margin: 0 0 10px; }
.tl-about-media { flex: 1 1 280px; max-width: 380px; }
.tl-about-photo { width: 100%; height: auto; border: 1px solid #ddd; display: block; }
.tl-about-logo { display: block; width: 170px; height: auto; margin: 40px auto 0; }

.tl-services-page { max-width: 1100px; margin: 0 auto; padding: 36px 20px 10px; }
.tl-services-page > .tl-intro { font-size: 16px; font-weight: 700; color: #211915; margin: 0 0 26px; line-height: 1.6; }
.tl-services-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 10px; }
.tl-services-col { flex: 1 1 340px; }
.tl-services-col h4 { font-size: 15px; font-weight: 700; color: #211915; margin: 0 0 6px; }
.tl-services-col p { font-size: 14.5px; color: #444; line-height: 1.7; margin: 0 0 22px; }

.tl-carousel { position: relative; margin: 10px 0 30px; }
.tl-carousel-viewport { overflow: hidden; }
.tl-carousel-track { display: flex; transition: transform 0.5s ease; }
.tl-carousel-item { padding: 0 8px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.tl-carousel-item img { width: 100%; height: 190px; object-fit: cover; display: block; }
.tl-carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.tl-carousel-dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid #999; background: transparent; padding: 0; cursor: pointer; }
.tl-carousel-dot.is-active { background: #fff212; border-color: #d8d800; }

.tl-frota-page { max-width: 1130px; margin: 0 auto; padding: 36px 20px; }
.tl-frota-intro { text-align: center; font-size: 15px; color: #444; line-height: 1.8; margin: 0 0 16px; }
.tl-frota-lead { text-align: center; font-weight: 700; color: #211915; font-size: 15px; margin: 0 0 34px; }
.tl-frota-top { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 46px; }
.tl-frota-top-item { flex: 1 1 280px; text-align: center; }
.tl-frota-top-item img { width: 100%; height: 210px; object-fit: contain; display: block; margin-bottom: 16px; }
.tl-frota-top-item p { font-size: 14px; color: #444; line-height: 1.6; margin: 0; }
.tl-frota-divider { border: none; border-top: 1px solid #ddd; margin: 0 0 30px; }
.tl-frota-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.tl-frota-thumb { display: block; width: 100%; height: 100%; padding: 0; border: none; background: none; cursor: pointer; }
.tl-frota-gallery img { width: 100%; height: 220px; object-fit: cover; display: block; transition: opacity .2s ease; }
.tl-frota-thumb:hover img { opacity: .85; }

.tl-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 30px; }
.tl-lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.tl-lightbox-close { position: absolute; top: 18px; right: 22px; background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.tl-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.15); border: none; color: #fff; font-size: 30px; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.tl-lightbox-nav:hover { background: rgba(255,255,255,.3); }
.tl-lightbox-prev { left: 18px; }
.tl-lightbox-next { right: 18px; }

.tl-contact-page { max-width: 1100px; margin: 0 auto; padding: 36px 20px; }
.tl-contact-heading { text-align: center; font-size: 21px; color: #333; margin: 0 0 34px; }
.tl-contact-grid { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 44px; }
.tl-contact-info { flex: 1 1 260px; font-size: 14.5px; color: #444; line-height: 1.7; }
.tl-contact-info p { margin: 0 0 20px; }
.tl-contact-info i { margin-right: 8px; color: #999; }
.tl-contact-form-col { flex: 2 1 480px; }
.tl-contact-form { display: flex; flex-wrap: wrap; gap: 14px; }
.tl-contact-form .tl-field-half { flex: 1 1 45%; min-width: 160px; }
.tl-contact-form input, .tl-contact-form textarea { width: 100%; box-sizing: border-box; padding: 13px; border: 1px solid #ccc; font-family: inherit; font-size: 14px; }
.tl-contact-form textarea { flex: 1 1 100%; min-height: 130px; resize: vertical; }
.tl-contact-form-submit button { padding: 14px 34px; background: #211915; color: #fff; border: none; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; cursor: pointer; }
.tl-contact-form-submit button:hover { background: #3f2f25; }
.tl-contact-map-heading { font-size: 18px; color: #333; font-weight: 600; margin: 0 0 10px; }
.tl-contact-map-divider { border: none; border-top: 1px solid #ddd; margin: 0 0 20px; }
.tl-contact-map iframe { width: 100%; height: 400px; border: 0; display: block; }

.tl-quality-page { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }
.tl-quality-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.tl-quality-text { flex: 1 1 320px; }
.tl-quality-text p { font-size: 15px; line-height: 1.7; color: #444; margin: 0 0 18px; }
.tl-quality-media { flex: 1 1 280px; max-width: 400px; }
.tl-quality-media img { width: 100%; height: auto; border: 1px solid #ddd; display: block; }
@media screen and (max-width: 900px) { .tl-frota-gallery { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 480px) { .tl-frota-gallery { grid-template-columns: 1fr; } }
