/* ==========================================================================
   Máquinas SA - SFS-C89-1.2 Steel Framing Landing Page Custom Stylesheet
   Color Palette: BRANCO, LARANJA (#FF6F00) e CINZA ESCURO (#1E2229, #11141A)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@500;700;800;900&display=swap');

:root {
  --primary: #FF6600; /* Vibrant Orange */
  --primary-hover: #E05300;
  --primary-rgb: 255, 102, 0;
  --dark: #1E2229; /* Dark Gray Slate */
  --dark-darker: #11141A; /* Inner Background */
  --light: #F8F9FA; /* Off-White Light */
  --white: #FFFFFF;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--dark-darker);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

body {
  font-family: var(--font-body);
  color: #DDD;
  background-color: var(--dark-darker);
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--white);
  font-weight: 700;
}

/* Common Text Utilities */
.text-orange {
  color: var(--primary) !important;
}
.bg-orange {
  background-color: var(--primary) !important;
}
.bg-dark-slate {
  background-color: var(--dark) !important;
}

p {
  line-height: 1.7;
}

/* Easy In-Out Loading Animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.custom-navbar {
  background-color: rgba(17, 20, 26, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
  padding: 16px 0;
}

.custom-navbar.scrolled {
  padding: 10px 0;
  background-color: #11141A;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 102, 0, 0.15);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.navbar-brand .brand-sa {
  background-color: var(--primary);
  color: var(--white);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 900;
  margin-left: 5px;
}

.nav-link {
  color: #BBE1FA !important;
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover {
  color: var(--primary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 16px;
  background-color: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 32px);
}

.nav-link.active {
  color: var(--primary) !important;
}

.btn-nav-highlight {
  border: 1px solid var(--primary);
  color: var(--primary) !important;
  border-radius: 5px;
  font-weight: 700;
  padding: 8px 20px !important;
  background: transparent;
}

.btn-nav-highlight:hover {
  background-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.35);
}

.navbar-toggler {
  border: none;
  padding: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  display: block;
  margin: 5px 0;
  transition: var(--transition-smooth);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO / FULL BANNER SECTION
   ========================================================================== */
.hero-slider-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--dark-darker);
  overflow: hidden;
}

.carousel-hero-item {
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
}

/* Hero Background Layer Overlay */
.carousel-hero-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 40%, rgba(30, 34, 41, 0.4) 0%, rgba(17, 20, 26, 0.92) 80%);
  z-index: 2;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6) contrast(1.1);
}

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

.hero-sub {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
}

@media(max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: #B0B5BC;
  margin-bottom: 35px;
  max-w-xl: 650px;
}

/* Call To Action Custom Buttons */
.btn-cta-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 36px;
  border-radius: 5px;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
  text-decoration: none;
}

.btn-cta-orange:hover {
  background-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 102, 0, 0.6);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 34px;
  border-radius: 5px;
  background: transparent;
  transition: var(--transition-smooth);
  text-decoration: none;
  margin-left: 15px;
}

.btn-cta-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 102, 0, 0.05);
}

/* ==========================================================================
   APRESENTAÇÃO SECTION (DIV 6 / 6)
   ========================================================================== */
.presentation-section {
  padding: 100px 0;
  background-color: var(--dark-darker);
  position: relative;
}

.img-presentation-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.img-presentation-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(17, 20, 26, 0.65), transparent);
  pointer-events: none;
}

.img-presentation {
  width: 100%;
  transition: var(--transition-smooth);
}

.img-presentation-wrapper:hover .img-presentation {
  transform: scale(1.05);
}

.badge-tech {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.section-label {
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.presentation-desc {
  font-size: 1rem;
  color: #A2A8B3;
  margin-bottom: 30px;
}

/* ==========================================================================
   TECHNICAL ADVANTAGES (CARDS)
   ========================================================================== */
.advantages-section {
  padding: 100px 0;
  background-color: var(--dark);
  position: relative;
}

/* ==========================================================================
   DESTAQUES TÉCNICOS COM FOTO RECORTADA AUTOMATICAMENTE
   ========================================================================== */

.machine-highlights {
  margin: 75px 0 85px;
}

/* Cada destaque ocupa duas colunas reais: texto + imagem */
.machine-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 410px;
  gap: 0;
}

.machine-highlight + .machine-highlight {
  margin-top: 85px;
}

/* Área de conteúdo */
.machine-highlight-content {
  position: relative;
  z-index: 2;
}

.machine-highlight-right .machine-highlight-content {
  padding-right: 70px;
}

.machine-highlight-left .machine-highlight-content {
  padding-left: 70px;
}

.machine-highlight-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}

.machine-highlight-content p {
  color: #A2A8B3;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 500px;
}

.machine-highlight-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.machine-highlight-link:hover {
  color: var(--white);
  transform: translateX(5px);
}

/* FRAME DA FOTO:
   Esta div sempre reserva espaço para a imagem.
   Troque a foto normalmente no HTML.
   O object-fit: cover corta automaticamente o que sobrar. */
.machine-highlight-media {
  width: 100%;
  height: 410px;
  overflow: hidden;
  position: relative;
  background-color: #0d0f13;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
}

.machine-highlight-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.machine-highlight:hover .machine-highlight-media img {
  transform: scale(1.05);
}

/* Primeiro destaque:
   texto esquerda / foto direita com início diagonal */
.machine-highlight-right .machine-highlight-media {
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

/* Segundo destaque:
   foto esquerda / texto direita */
.machine-highlight-left {
  grid-template-columns: 1fr 1fr;
}

.machine-highlight-left .machine-highlight-content {
  grid-column: 2;
  grid-row: 1;
}

.machine-highlight-left .machine-highlight-media {
  grid-column: 1;
  grid-row: 1;
  clip-path: polygon(0 0, 78% 0, 100% 100%, 0 100%);
}

/* Ajuste tablet */
@media (max-width: 991px) {
  .machine-highlight {
    min-height: 340px;
  }

  .machine-highlight-media {
    height: 340px;
  }

  .machine-highlight-right .machine-highlight-content {
    padding-right: 40px;
  }

  .machine-highlight-left .machine-highlight-content {
    padding-left: 40px;
  }

  .machine-highlight-title {
    font-size: 1.6rem;
  }
}

/* Celular:
   as imagens ficam inteiras, sem corte diagonal apertado */
@media (max-width: 767px) {
  .machine-highlights {
    margin: 50px 0 60px;
  }

  .machine-highlight,
  .machine-highlight-left {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .machine-highlight + .machine-highlight {
    margin-top: 60px;
  }

  .machine-highlight-content,
  .machine-highlight-right .machine-highlight-content,
  .machine-highlight-left .machine-highlight-content {
    width: 100%;
    padding: 0;
  }

  .machine-highlight-media,
  .machine-highlight-right .machine-highlight-media,
  .machine-highlight-left .machine-highlight-media {
    width: 100%;
    height: 270px;
    margin-top: 28px;
    clip-path: none;
  }

  .machine-highlight-left .machine-highlight-content {
    order: 1;
  }

  .machine-highlight-left .machine-highlight-media {
    order: 2;
  }

  .machine-highlight-title {
    font-size: 1.5rem;
  }
}


/* ==========================================================================
   GALERIA TÉCNICA DA MÁQUINA
   ========================================================================== */

.machine-photo-gallery {
  margin: 95px 0 0;
  padding-top: 85px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.machine-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.machine-photo-card {
  background-color: var(--dark-darker);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  text-align: left;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
  transition: var(--transition-smooth);
}

.machine-photo-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 102, 0, 0.28);
  box-shadow: 0 20px 45px rgba(255, 102, 0, 0.14);
}

.machine-photo-img-wrapper {
  width: 100%;
  height: 245px;
  overflow: hidden;
  position: relative;
  background-color: #0d0f13;
}

.machine-photo-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 20, 26, 0.45),
    rgba(17, 20, 26, 0.04)
  );
  pointer-events: none;
}

.machine-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.machine-photo-card:hover .machine-photo-img {
  transform: scale(1.06);
}

.machine-photo-caption {
  padding: 28px 26px 30px;
}

.machine-photo-caption span {
  display: block;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 10px;
}

.machine-photo-caption h4 {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}

.machine-photo-caption p {
  color: #9FA5B0;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .machine-photo-gallery {
    margin-top: 75px;
    padding-top: 70px;
  }

  .machine-photo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .machine-photo-img-wrapper {
    height: 235px;
  }
}

/* Celular */
@media (max-width: 767px) {
  .machine-photo-gallery {
    margin-top: 60px;
    padding-top: 55px;
  }

  .machine-photo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .machine-photo-img-wrapper {
    height: 250px;
  }

  .machine-photo-caption {
    padding: 24px 22px 26px;
  }
}



.adv-card {
  background-color: var(--dark-darker);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 30px 24px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.adv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0;
  transition: var(--transition-smooth);
}

.adv-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 102, 0, 0.25);
  box-shadow: 0 15px 35px rgba(255, 102, 0, 0.15);
}

.adv-card:hover::before {
  opacity: 1;
}

.adv-icon-wrapper {
  margin-bottom: 20px;
  display: inline-block;
  transition: var(--transition-smooth);
}

.adv-icon {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
  transition: var(--transition-smooth);
}

.adv-card:hover .adv-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 8px rgba(255,102,0,0.5));
}

.adv-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--white);
  transition: var(--transition-smooth);
}

.adv-card:hover .adv-title {
  color: var(--primary);
}

.adv-desc {
  font-size: 0.88rem;
  color: #9AA0AA;
  line-height: 1.6;
}



/* ==========================================================================
   LIGHT FEATURE SECTION - IMAGEM QUADRADA + TEXTO
   ========================================================================== */

.light-feature-section {
  padding: 105px 0;
  background-color: #F2F3F5;
  position: relative;
  overflow: hidden;
}

.light-feature-section::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  background-color: rgba(255, 102, 0, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.light-feature-section::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 420px;
  height: 420px;
  background-color: rgba(17, 20, 26, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.light-feature-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background-color: #D9DDE3;
  box-shadow: 0 22px 45px rgba(17, 20, 26, 0.18);
}

.light-feature-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 20, 26, 0.05),
    rgba(17, 20, 26, 0.22)
  );
  pointer-events: none;
}

.light-feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.light-feature-image-wrapper:hover .light-feature-image {
  transform: scale(1.05);
}

.light-feature-content {
  position: relative;
  z-index: 2;
  padding-left: 35px;
}

.light-feature-title {
  color: var(--dark-darker);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.light-feature-subtitle {
  color: #343A43;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.light-feature-content p {
  color: #5E6673;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 580px;
}

.light-feature-content .btn-cta-orange {
  margin-top: 16px;
}

/* Tablet */
@media (max-width: 991px) {
  .light-feature-section {
    padding: 85px 0;
  }

  .light-feature-content {
    padding-left: 0;
  }

  .light-feature-title {
    font-size: 2rem;
  }

  .light-feature-subtitle {
    font-size: 1rem;
  }
}

/* Celular */
@media (max-width: 767px) {
  .light-feature-section {
    padding: 70px 0;
  }

  .light-feature-image-wrapper {
    border-radius: 10px;
  }

  .light-feature-title {
    font-size: 1.65rem;
  }

  .light-feature-content p {
    font-size: 0.95rem;
  }

  .light-feature-content .btn-cta-orange {
    width: 100%;
    text-align: center;
  }
}



/* ==========================================================================
   OTHER MACHINES CAROUSEL
   ========================================================================== */
.carousel-section {
  padding: 100px 0;
  background-color: var(--dark-darker);
  position: relative;
}

/* owl carousel customizations */
.carousel-full-width {
  padding: 0 40px;
}

.machine-carousel-card {
  background-color: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  margin: 15px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.machine-carousel-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,102,0,0.2);
  box-shadow: 0 15px 35px rgba(255, 102, 0, 0.25);
}

.machine-img-wrapper {
  position: relative;
  aspect-ratio: 1; /* Force perfect square as requested */
  overflow: hidden;
}

.machine-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.machine-carousel-card:hover .machine-img {
  transform: scale(1.06);
}

.machine-body {
  padding: 24px;
}

.machine-sub {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.machine-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.machine-desc {
  font-size: 0.85rem;
  color: #9FA5B0;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Owl Carousel Custom Buttons */
.owl-nav button.owl-prev,
.owl-nav button.owl-next {
  width: 48px;
  height: 48px;
  background-color: var(--dark) !important;
  color: var(--white) !important;
  border-radius: 50% !important;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-smooth) !important;
  font-size: 1.3rem !important;
  border: 1px solid rgba(255,255,255,0.05) !important;
}

.owl-nav button.owl-prev {
  left: -20px;
}

.owl-nav button.owl-next {
  right: -20px;
}

.owl-nav button.owl-prev:hover,
.owl-nav button.owl-next:hover {
  background-color: var(--primary) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 15px var(--primary);
}

.owl-dots {
  text-align: center;
  margin-top: 35px;
}

.owl-dots .owl-dot span {
  width: 10px;
  height: 10px;
  margin: 5px 6px;
  background: rgba(255, 255, 255, 0.25) !important;
  display: block;
  border-radius: 30px;
  transition: var(--transition-smooth);
}

.owl-dots .owl-dot.active span {
  background: var(--primary) !important;
  width: 24px;
}

/* ==========================================================================
   VIDEO & SKILLS SECTION
   ========================================================================== */
.video-section {
  padding: 100px 0;
  background-color: var(--dark);
  position: relative;
}

.video-container {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.skills-card {
  background-color: var(--dark-darker);
  border-radius: 12px;
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.skill-bar-wrapper {
  margin-bottom: 25px;
}

.skill-bar-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.skill-name {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-title);
  color: var(--white);
}

.skill-percent {
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-title);
  color: var(--primary);
}

.skill-bar-bg {
  height: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background-color: var(--primary);
  width: 0%; /* Populated dynamically or animated */
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
}



/* ==========================================================================
   DRYWALL VIDEO SECTION - FUNDO BRANCO / TEXTO + VÍDEO
   ========================================================================== */

.drywall-video-section {
  padding: 105px 0;
  background-color: #F2F3F5;
  position: relative;
  overflow: hidden;
}

.drywall-video-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 380px;
  height: 380px;
  background-color: rgba(255, 102, 0, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.drywall-video-section::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -180px;
  width: 430px;
  height: 430px;
  background-color: rgba(17, 20, 26, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.drywall-video-content {
  position: relative;
  z-index: 2;
  padding-right: 35px;
}

.drywall-video-title {
  color: var(--dark-darker);
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.8px;
}

.drywall-video-subtitle {
  color: #343A43;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
}

.drywall-video-content p {
  color: #5E6673;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 18px;
  max-width: 560px;
}

.drywall-video-content .btn-cta-orange {
  margin-top: 16px;
}

.drywall-video-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 14px;
  background-color: #11141A;
  border: 1px solid rgba(17, 20, 26, 0.08);
  box-shadow: 0 24px 55px rgba(17, 20, 26, 0.22);
}

.drywall-video-wrapper iframe {
  border: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .drywall-video-section {
    padding: 85px 0;
  }

  .drywall-video-content {
    padding-right: 0;
  }

  .drywall-video-title {
    font-size: 2rem;
  }

  .drywall-video-subtitle {
    font-size: 1rem;
  }
}

/* Celular */
@media (max-width: 767px) {
  .drywall-video-section {
    padding: 70px 0;
  }

  .drywall-video-title {
    font-size: 1.65rem;
  }

  .drywall-video-content p {
    font-size: 0.95rem;
  }

  .drywall-video-content .btn-cta-orange {
    width: 100%;
    text-align: center;
  }

  .drywall-video-wrapper {
    border-radius: 10px;
  }
}




/* ==========================================================================
   LEAD FORM / BRAND INFO
   ========================================================================== */
.lead-form-section {
  padding: 100px 0;
  background-color: var(--dark-darker);
  position: relative;
}

.contact-info-block {
  background-color: var(--dark);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 102, 0, 0.1);
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.form-card {
  background-color: var(--dark);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.custom-input {
  background-color: var(--dark-darker);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.92rem;
  transition: var(--transition-smooth);
}

.custom-input:focus {
  background-color: var(--dark-darker);
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(255, 102, 0, 0.25);
  outline: none;
}

.custom-input::placeholder {
  color: #6C727D;
}

label.form-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: #B0B5BC;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.btn-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px;
  border-radius: 6px;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.btn-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.5);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 30px;
}

.info-icon-wrapper {
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex: 0 0 48px;

  background-color: rgba(255, 102, 0, 0.1);
  border-radius: 8px;
  margin-right: 20px;
  color: var(--primary);

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  font-size: 18px;
  line-height: 1;
  color: var(--primary);
}

.info-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 5px;
  color: var(--white);
}

.info-details p, .info-details a {
  font-size: 0.95rem;
  color: #A2A8B3;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.info-details a:hover {
  color: var(--primary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: var(--dark-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px 0;
  color: #7D838D;
  font-size: 0.85rem;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 10px;
}

/* For form verification visual response */
.form-success-banner {
  display: none;
  background-color: rgba(46, 117, 89, 0.1);
  border: 1px solid #2e7559;
  border-radius: 8px;
  color: #4ade80;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}


/* ==========================================================================
   FIX RESPONSIVO - REMOVE ROLAGEM HORIZONTAL
   ========================================================================== */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
iframe {
  max-width: 100%;
}

/* Evita que animações laterais criem largura extra no mobile */
@media (max-width: 767px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(40px);
  }

  .reveal-left.active,
  .reveal-right.active {
    transform: translateY(0);
  }
}

/* Corrige carousel que estava somando padding à largura */
.carousel-full-width {
  box-sizing: border-box;
  max-width: 100%;
}

/* Mobile: reduz respiro lateral do carousel e tira setas laterais */
@media (max-width: 767px) {
  .carousel-full-width {
    padding-left: 12px;
    padding-right: 12px;
  }

  .owl-nav button.owl-prev,
  .owl-nav button.owl-next {
    display: none !important;
  }
}

/* Segurança extra para grids/seções novas */
.machine-highlights,
.machine-highlight,
.machine-photo-gallery,
.machine-photo-grid,
.light-feature-section,
.carousel-section,
.video-section,
.lead-form-section {
  max-width: 100%;
}


/* ==========================================================================
   HERO MOBILE - AJUSTE DE TÍTULOS E BOTÕES
   ========================================================================== */

@media (max-width: 767px) {
  .carousel-hero-item {
    min-height: 620px;
    padding-top: 95px;
    align-items: center;
  }

  .hero-content {
    max-width: 100%;
    padding-right: 8px;
  }

  .hero-sub {
    font-size: 0.72rem;
    letter-spacing: 1.8px;
    margin-bottom: 10px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.08;
    letter-spacing: -0.8px;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-title span {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-content h3,
  .hero-content .h5 {
    font-size: 1rem;
    line-height: 1.45;
    max-width: 320px;
    margin-bottom: 22px !important;
  }

  .hero-content .mt-4 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px !important;
  }

  .hero-content .btn-cta-orange,
  .hero-content .btn-cta-outline {
    width: auto;
    min-width: 178px;
    max-width: 230px;

    padding: 13px 24px;
    font-size: 0.82rem;
    line-height: 1.1;
    letter-spacing: 0.7px;

    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .hero-content .btn-cta-outline {
    padding: 12px 22px;
  }

  .carousel-indicators {
    bottom: 18px;
  }
}

/* ==========================================================================
   FIX GALERIA - REMOVE CHANFRO/BORDA PADRÃO DO BUTTON
   ========================================================================== */

.machine-photo-card {
  border-radius: 14px;
  overflow: hidden;
}

.machine-photo-img-wrapper,
.gallery-zoom-trigger {
  display: block;
  width: 100%;
  height: 245px;

  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;

  appearance: none;
  -webkit-appearance: none;

  background: transparent;
  border-radius: 0;

  line-height: 0;
  cursor: zoom-in;
}

.machine-photo-img-wrapper:focus,
.gallery-zoom-trigger:focus {
  outline: none;
  box-shadow: none;
}

.machine-photo-img-wrapper:focus-visible,
.gallery-zoom-trigger:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
}

.machine-photo-img {
  display: block;
  width: 100%;
  height: 100%;

  border: 0;
  outline: 0;
  border-radius: 0;

  object-fit: cover;
  object-position: center;
}