.modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .modal-content {
      background: #fff;
      padding: 30px;
      border-radius: 15px;
      text-align: center;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      transform: scale(0.7);
      transition: transform 0.3s ease;
      max-width: 400px;
      width: 90%;
    }

    .modal-overlay.show {
      display: flex;
      opacity: 1;
    }

    .modal-overlay.show .modal-content {
      transform: scale(1);
    }

    .modal-overlay.fade-out {
      opacity: 0;
    }

    .modal-overlay.fade-out .modal-content {
      transform: scale(0.7);
    }

    .modal-btn {
      margin-top: 20px;
      padding: 10px 25px;
      background: #036;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 16px;
      transition: background 0.2s;
    }

    .modal-btn:hover {
      background: #004d99;
    }


    /* Carrossel de clientes e parceiros */
    .app-highlight-lantec {
      display: grid;
      grid-template-columns: auto auto;
      align-items: center;
      column-gap: 10px;
    }

    .app-highlight-lantec strong,
    .app-highlight-lantec span:last-child {
      grid-column: 2;
    }

    .app-highlight-lantec strong {
      grid-row: 1;
    }

    .app-highlight-lantec span:last-child {
      grid-row: 2;
    }

    .app-icon-lantec {
      grid-column: 1;
      grid-row: 1 / span 2;
      align-self: start;
      display: inline-flex;
      align-items: flex-start;
      justify-content: center;
      width: 34px;
      height: 40px;
      margin-top: 1px;
      color: #1ba7a7;
    }

    .app-icon-lantec svg {
      width: 30px;
      height: 38px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.7;
    }

    .hero-lantec,
    .section-lantec#empresa {
      background: transparent !important;
      background-image: none !important;
    }

    .hero-lantec::before,
    .section-lantec#empresa::before,
    .hero-lantec::after,
    .section-lantec#empresa::after {
      content: none !important;
      display: none !important;
      background: none !important;
    }

    .hero-grid-lantec {
      background-image: url(https://ln.tec.br/imagens/ln_background_top.png) !important;
      background-repeat: no-repeat;
      background-size: 1250px;
      background-position-x: 360px;
    }
    
    .hero-visual-lantec::before,
    .hero-visual-lantec::after,
    .visual-card-lantec.main-visual-lantec::before,
    .visual-card-lantec.main-visual-lantec::after,
    .about-image-lantec::before,
    .about-image-lantec::after {
      content: none !important;
      display: none !important;
      background: none !important;
    }

    .about-image-lantec {
      display: flex;
      align-items: stretch;
      justify-content: stretch;
    }

    @media (max-width: 800px) {
      .visual-card-lantec.main-visual-lantec {
        min-height: 280px;
      }

      .about-image-lantec {
        min-height: 220px;
      }
    }

    @media (max-width: 520px) {
      .visual-card-lantec.main-visual-lantec {
        min-height: 220px;
      }

      .about-image-lantec {
        min-height: 180px;
      }
    }

    .carousel_ln {
      overflow: hidden;
      background: #f7faff;
    }

    .carousel-header_ln {
      display: flex;
      align-items: end;
      justify-content: space-between;
      gap: 24px;
      margin-bottom: 28px;
    }

    .carousel-controls_ln {
      display: flex;
      gap: 10px;
      flex-shrink: 0;
    }

    .carousel-arrow_ln {
      width: 42px;
      height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(0, 51, 102, .18);
      border-radius: 50%;
      background: #fff;
      color: #036;
      cursor: pointer;
      font-size: 27px;
      line-height: 1;
      transition: background .2s ease, color .2s ease, transform .2s ease;
    }

    .carousel-arrow_ln:hover,
    .carousel-arrow_ln:focus-visible {
      background: #036;
      color: #fff;
      outline: none;
      transform: translateY(-2px);
    }

    .carousel-arrow_ln:disabled {
      cursor: not-allowed;
      opacity: .45;
      transform: none;
    }

    .carousel-viewport_ln {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      margin: 0;
      padding: 8px 0 14px;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      touch-action: pan-x pan-y;
      overscroll-behavior-x: contain;
    }

    .carousel-viewport_ln::-webkit-scrollbar { display: none; }

    .carousel-track_ln {
      display: flex;
      gap: 16px;
      width: 100%;
      will-change: scroll-position;
      transition: none;
    }

    .carousel-slide_ln {
      flex: 0 0 calc((100% - 48px) / 4);
      min-width: 0;
      padding: 0;
      box-sizing: border-box;
      scroll-snap-align: start;
    }

    .client-logo_ln {
      min-height: 120px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      padding: 16px;
      border: 1px solid rgba(0, 51, 102, .1);
      border-radius: 14px;
      background: #fff;
      color: #036;
      box-shadow: 0 8px 22px rgba(0, 51, 102, .06);
      text-align: center;
      letter-spacing: .12em;
      font-size: 12px;
      font-weight: 700;
      box-sizing: border-box;
    }

    .client-logo_ln img {
      display: block;
      max-width: 100%;
      max-height: 88px;
      width: auto;
      height: auto;
      object-fit: contain;
      object-position: center;
      filter: none;
      opacity: 1;
      transition: transform .15s ease;
    }

    .client-logo_ln:hover img,
    .client-logo_ln:focus-within img { transform: scale(1.04); }

    @media (max-width: 900px) {
      .carousel-slide_ln { flex-basis: calc((100% - 16px) / 2); }
      .carousel-header_ln { align-items: start; }
    }

    @media (max-width: 560px) {
      .carousel-header_ln { display: block; }
      .carousel-controls_ln { margin-top: 18px; }
      .carousel-slide_ln { flex-basis: 85%; }
      .client-logo_ln { min-height: 112px; }
    }

    @media (prefers-reduced-motion: reduce) {
      .carousel-viewport_ln { scroll-behavior: auto; }
      .carousel-arrow_ln, .client-logo_ln img { transition: none; }
    }

/* Estilos anteriormente aplicados diretamente no HTML */
.logo-image-lantec { width: 70px; margin: 5px 0 5px 50px; }
.success-message-lantec { color: #333; font-size: 18px; }
.error-message-lantec { color: red; text-align: center; background-color: #fff; padding: 8px; border-radius: 10px; }
.contact-form-lantec { margin-top: 25px; }
.honeypot-lantec { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }


.form-message-lantec.is-error {
  display: block;
  margin: 12px 0;
  padding: 10px 12px;
  border: 1px solid #dc2626;
  border-radius: 8px;
  background: #fef2f2;
  color: #991b1b;
}

.form-lantec button[type="submit"]:disabled {
  cursor: wait;
  opacity: .7;
}

/* Paleta unificada dos botões */
button,
.btn-lantec,
.modal-btn,
.carousel-arrow_ln {
  background-color: #adff2f !important;
  color: #1e293b !important;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

button:hover,
button:focus-visible,
.btn-lantec:hover,
.btn-lantec:focus-visible,
.modal-btn:hover,
.modal-btn:focus-visible,
.carousel-arrow_ln:hover,
.carousel-arrow_ln:focus-visible {
  background-color: #f59e0b !important;
  color: #fff !important;
}

button:focus-visible,
.btn-lantec:focus-visible,
.modal-btn:focus-visible,
.carousel-arrow_ln:focus-visible {
  outline: 3px solid rgba(245, 158, 11, .35);
  outline-offset: 2px;
}
