/* ===========================
   LocShow   Pages CSS
   Complementa main.css + topo.css
   =========================== */

/* ---- NAV DROPDOWN ---- */
.header .nav-dropdown {
  position: relative;
  display: inline-block;
}

.header .nav-dropdown .dropdown-trigger {
  cursor: pointer;
}

.header .dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 100, 0.13);
  padding: 10px 6px;
  min-width: 220px;
  z-index: 999;
}

.header .dropdown-panel a {
  display: block;
  padding: 8px 16px;
  color: #343434;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  transition: background .15s;
}

.header .dropdown-panel a:hover {
  background: #E5E5FF;
  color: #000097;
}

.header .nav-dropdown:hover .dropdown-panel {
  display: block;
}

.header .chevron {
  font-size: 11px;
}

.header nav a.active-nav {
  color: #000097 !important;
}

/* Mobile sub-services */
.mobile-sub-services {
  padding-left: 20px;
}

.mobile-sub-services a {
  font-size: 14px !important;
  margin: 12px 0 !important;
  color: #000097 !important;
}

/* ---- PAGE HERO (non-video) ---- */
.page-hero {
  background: linear-gradient(135deg, #000060 0%, #000097 50%, #2020cc 100%);
  color: #fff;
  padding: 8rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(80, 80, 255, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .breadcrumb-nav {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.page-hero .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.page-hero .breadcrumb-nav span {
  margin: 0 6px;
}

.page-hero .label {
  font-weight: 700;
  background-image: linear-gradient(90deg, #F88A1A, #FBE347);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 14px;
  margin-bottom: 8px;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 16px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
}

.page-hero .hero-img {
  position: absolute;
  right: -20px;
  bottom: 0;
  height: 100%;
  max-height: 480px;
  object-fit: contain;
  opacity: 0.92;
  pointer-events: none;
}

.page-hero .col-align {
  align-self: center;
}

.page-hero.pagSobre {
  background-image: url("../img/banner-sobre.png");
  background-color: #0000aa;
  background-position: right;
  background-repeat: no-repeat;
  background-size: contain;
}

/* ---- EQUIPMENT INTRO ---- */
.equip-intro {
  padding: 5rem 0;
  background: #fff;
}

.equip-intro h2 {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  background-image: linear-gradient(90deg, #000097, #5050FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.equip-intro p {
  font-size: 15px;
  line-height: 24px;
  color: #343434;
  margin-bottom: 1rem;
}

.equip-intro img {
  width: 100%;
  border-radius: 14px;
}

.equip-intro .col-md-6 {
  align-self: center;
}

/* ---- FEATURES GRID ---- */
.features-section {
  padding: 5rem 0;
  background: #E5E5FF;
}

.features-section h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: #000097;
  text-align: center;
  margin-bottom: 0.5rem;
}

.features-section .section-sub {
  text-align: center;
  color: #555;
  font-size: 15px;
  margin-bottom: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 150, 0.10);
  transform: translateY(-3px);
}

.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #E5E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.feature-card .icon svg {
  width: 24px;
  height: 24px;
  fill: #000097;
}

.feature-card h5 {
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  line-height: 22px;
  color: #555;
  margin: 0;
}

/* ---- USE CASES ---- */
.use-cases {
  padding: 5rem 0;
  background: #fff;
}

.use-cases h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  background-image: linear-gradient(90deg, #000097, #5050FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.use-cases .section-sub {
  color: #555;
  font-size: 15px;
  margin-bottom: 3rem;
}

.use-case-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E5E5FF;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #000097;
  margin: 5px;
}

/* ---- CONTACT FORM SECTION ---- */
.contact-form-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #000060, #000097);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(80, 80, 255, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.contact-form-section h2 {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 0.5rem;
}

.contact-form-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 2rem;
}

.contact-form-section .form-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
}

.contact-form-section .form-box h3 {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 20px;
}

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

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: #343434;
  outline: none;
  transition: border .2s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #000097;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.btn-form {
  display: block;
  width: 100%;
  background: #000097;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: .2s;
  position: relative;
  overflow: hidden;
}

.btn-form:hover {
  transform: scale(1.02);
}

/* ---- SOBRE PAGE ---- */
.sobre-story {
  padding: 5rem 0;
  background: #fff;
}

.sobre-story h2 {
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  background-image: linear-gradient(90deg, #000097, #5050FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.sobre-story p {
  font-size: 15px;
  line-height: 26px;
  margin-bottom: 1rem;
  color: #343434;
}

.sobre-story img {
  width: 100%;
  border-radius: 14px;
}

.sobre-story .col-md-6 {
  align-self: center;
}

.timeline {
  padding: 5rem 0;
  background: #E5E5FF;
}

.timeline h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: #000097;
  text-align: center;
  margin-bottom: 3.5rem;
}

/* ---- Centered alternating timeline ---- */
.timeline-track {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 10px 0 20px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0, 0, 151, 0.12);
  transform: translateX(-50%);
}

.timeline-progress-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, #000097, #5050FF);
  transform: translateX(-50%);
  z-index: 1;
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 0 18px;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.timeline-dot {
  grid-column: 2;
  grid-row: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000097, #5050FF);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-style: italic;
  font-size: 13px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 18px rgba(0, 0, 151, 0.28);
  flex-shrink: 0;
}

.timeline-item.left .timeline-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline-item.right .timeline-content {
  grid-column: 3;
  grid-row: 1;
}

.timeline-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 2px 18px rgba(0, 0, 100, 0.07);
}

.timeline-content h5 {
  font-size: 16px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 14px;
  line-height: 22px;
  color: #555;
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 0 14px;
  }

  .timeline-dot {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    font-size: 11px;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .timeline-track::before,
  .timeline-progress-line {
    left: 24px;
    transform: none;
  }
}

/* ---- GALERIA DE MÍDIA (páginas de equipamento) ---- */
.equip-gallery {
  padding: 5rem 0;
  background: #E5E5FF;
}

.equip-gallery h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: #000097;
  text-align: center;
  margin-bottom: 0.5rem;
}

.equip-gallery .section-sub {
  text-align: center;
  color: #555;
  font-size: 15px;
  margin-bottom: 2.5rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 12px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}

.gallery-item.is-video {
  grid-row: span 2;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #08082a 0%, #000080 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  cursor: default;
}

.gallery-placeholder:hover {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.35);
  background: linear-gradient(135deg, #0d0d40 0%, #0000aa 100%);
}

.gallery-ph-icon svg {
  width: 32px;
  height: 32px;
  display: block;
}

.gallery-item.is-video .gallery-ph-icon svg {
  width: 48px;
  height: 48px;
}

.gallery-placeholder span {
  font-size: 12px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-item.is-video {
    grid-row: span 1;
    grid-column: span 2;
    min-height: 200px;
  }

  .gallery-item:not(.is-video) {
    min-height: 140px;
  }
}

/* Video player inside gallery */
.gallery-video-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.gallery-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 20, 0.35);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.gallery-play-btn:hover {
  background: rgba(0, 0, 60, 0.52);
}

.gallery-play-btn svg {
  width: 56px;
  height: 56px;
  fill: #000097;
  filter: drop-shadow(0 0 18px rgba(80, 80, 255, 0.65)) drop-shadow(0 0 5px rgba(255, 255, 255, 0.4));
}

.gallery-play-btn.is-playing {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- PORTFÓLIO PAGE ---- */
.portfolio-hero {
  /* uses page-hero */
}

.portfolio-grid-section {
  padding: 5rem 0;
  background: #E5E5FF;
}

.portfolio-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  background: #fff;
  border: 1.5px solid #ddd;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  transition: .2s;
  color: #343434;
}

.filter-btn:hover,
.filter-btn.active {
  background: #000097;
  color: #fff;
  border-color: #000097;
}

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

.portfolio-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1/1;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 150, 0.8), transparent);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

/* ---- CONTATO PAGE ---- */
.contato-section {
  padding: 5rem 0;
  background: #fff;
}

.contato-info h3 {
  font-size: 28px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 1.5rem;
}

.contato-info .info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contato-info .info-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #E5E5FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contato-info .info-icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.contato-info .info-text strong {
  display: block;
  font-size: 13px;
  color: #999;
  font-weight: 600;
  margin-bottom: 2px;
}

.contato-info .info-text span,
.contato-info .info-text a {
  font-size: 15px;
  color: #343434;
  font-weight: 600;
  text-decoration: none;
}

.contato-form-box {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 20px;
  padding: 36px 32px;
}

.contato-form-box h3 {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 20px;
}

.contato-map {
  margin-top: 4rem;
}

.contato-map h3 {
  font-size: 22px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 16px;
}

.contato-map iframe {
  width: 100%;
  height: 320px;
  border-radius: 14px;
  border: 0;
}

/* ---- POSTOS DE SERVIÇO ---- */
.postos-como {
  padding: 5rem 0;
  background: #fff;
}

.postos-como h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  background-image: linear-gradient(90deg, #000097, #5050FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.postos-como p {
  font-size: 15px;
  line-height: 26px;
  color: #343434;
}

.postos-benefit-card {
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 14px;
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}

.postos-benefit-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 150, 0.10);
  transform: translateY(-3px);
}

.postos-benefit-card .num {
  font-size: 40px;
  font-weight: 900;
  font-style: italic;
  background-image: linear-gradient(90deg, #000097, #5050FF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.postos-benefit-card h5 {
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 8px;
}

.postos-benefit-card p {
  font-size: 14px;
  line-height: 22px;
  color: #555;
  margin: 0;
}

.postos-steps {
  padding: 5rem 0;
  background: #E5E5FF;
}

.postos-steps h2 {
  font-size: 34px;
  font-weight: 900;
  font-style: italic;
  color: #000097;
  text-align: center;
  margin-bottom: 3rem;
}

.step-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  height: 100%;
  position: relative;
}

.step-card .step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #000097, #5050FF);
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-card h5 {
  font-size: 17px;
  font-weight: 800;
  font-style: italic;
  color: #000097;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  line-height: 22px;
  color: #555;
  margin: 0;
}

/* ---- SHARED RESPONSIVE ---- */
@media (max-width: 750px) {
  .page-hero h1 {
    font-size: 30px;
  }

  .page-hero .hero-img {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .equip-intro h2 {
    font-size: 26px;
  }

  .contact-form-section .form-box {
    padding: 24px 18px;
  }

  .contato-form-box {
    padding: 24px 18px;
  }

  .page-hero {
    padding: 7rem 0 4rem;
  }

  .page-hero.pagSobre {
    padding: 8rem 1rem 12rem !important;
    background-image: url("../img/banner-sobre-mob.png") !important;
    background-color: #0000aa;
    background-position: bottom !important;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .sobre-story .row {
    flex-direction: column-reverse;
    gap: 20px;
  }
}