﻿:root {
  --blue-900: #004E89;
  --blue-800: #07345b;
  --blue-700: #1A659D;
  --blue-500: #2e7bb5;
  --orange-500: #FF6B35;
  --orange-400: #ff8a5a;
  --white: #ffffff;
  --gray-100: #f4f7fb;
  --gray-200: #e4ebf4;
  --gray-700: #3f4f62;
  --dark-900: #061626;
  --dark-800: #0b2237;
  --dark-700: #12314d;
  --shadow-lg: 0 30px 60px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.25);
  --shadow-sm: 0 12px 20px rgba(0, 0, 0, 0.2);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Heebo', sans-serif;
  background: var(--dark-900);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

section[id] {
  scroll-margin-top: 160px;
}

.section.light {
  background: var(--gray-100);
  color: var(--dark-900);
}

.section.dark {
  background: #050c14;
  color: var(--white);
}

.section-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.section.light + .section-divider,
.section.light .section-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.section-header {
  margin-bottom: 40px;
}

.section-header h2,
.section-header h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-header p {
  max-width: 720px;
  color: inherit;
  opacity: 0.85;
}

.eyebrow {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.eyebrow.orange {
  background: rgba(255, 107, 53, 0.15);
  color: var(--orange-500);
}

.rounded {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.circle {
  border-radius: 50%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 15, 25, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-line {
  height: 4px;
  background: var(--orange-500);
}

.top-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
}

.top-actions {
  display: flex;
  justify-content: center;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.nav-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 15, 25, 0.85);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand img {
  width: 180px;
}

.nav {
  display: flex;
  justify-content: center;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a {
  position: relative;
  padding-bottom: 6px;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus::after {
  width: 100%;
}

.header-cta {
  display: flex;
  gap: 12px;
}

.social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.15);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
}

.status-indicator strong {
  display: block;
  font-size: 0.85rem;
}

.status-indicator small {
  display: block;
  opacity: 0.7;
}

.status-icon {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #20c96f;
  box-shadow: 0 0 10px rgba(32, 201, 111, 0.8);
}

.status-indicator.plantao .status-icon {
  background: var(--orange-500);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.8);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.offset-btn {
  margin-top: 14px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
  transition: transform 0.3s ease;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(255, 107, 53, 0.35);
}

.btn.outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.section.light .btn.outline {
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--dark-900);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: url('../images/manutencao_spo_1.png') center/cover no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 22, 38, 0.95), rgba(6, 22, 38, 0.7) 55%, rgba(6, 22, 38, 0.25));
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, transparent 40%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 120px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-content .lead {
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.hero-content .supporting {
  opacity: 0.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.badge {
  background: rgba(8, 28, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.badge-title {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.7rem;
  color: var(--orange-400);
}

.badge-text {
  display: block;
  font-weight: 600;
  margin-top: 6px;
}

.hero-panel {
  display: grid;
  gap: 18px;
}

.panel-card {
  background: rgba(9, 32, 52, 0.85);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-card.compact {
  padding: 18px 20px;
}

.panel-line {
  height: 3px;
  width: 80px;
  background: var(--orange-500);
  margin: 16px 0;
}

.panel-highlight {
  font-weight: 600;
  color: var(--orange-400);
}

.panel-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.panel-brand img {
  width: 50px;
}

.panel-brand span {
  font-size: 0.85rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.panel-grid strong {
  font-size: 1.2rem;
  display: block;
}

.blueprint {
  background: var(--blue-900);
  color: var(--white);
}

.blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.blueprint > .container {
  position: relative;
  z-index: 1;
}

.split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.icon-panel {
  background: rgba(6, 22, 38, 0.55);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.2);
  display: grid;
  place-items: center;
  font-size: 2rem;
  margin-bottom: 16px;
}

.icon-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.highlight-card {
  background: var(--white);
  color: var(--dark-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.highlight-card h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.highlight-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 107, 53, 0.4);
  background: rgba(255, 107, 53, 0.08);
}

.content h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
}

.feature-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange-500);
  font-weight: 700;
}

.cta-strip {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: rgba(0, 78, 137, 0.08);
  border-radius: var(--radius-md);
  padding: 16px;
}

.service-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.service-visual {
  position: relative;
}

.service-visual img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-card {
  background: rgba(6, 22, 38, 0.6);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}

.service-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.service-list strong {
  color: var(--orange-400);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.mini-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: var(--shadow-sm);
}

.support-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 107, 53, 0.35), transparent 45%),
    linear-gradient(120deg, rgba(5, 10, 15, 0.92), rgba(5, 10, 15, 0.65));
  pointer-events: none;
  z-index: 0;
}

.section.dark > .container {
  position: relative;
  z-index: 1;
}

.support-image {
  position: relative;
}

.support-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.9);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.project-card {
  background: rgba(6, 22, 38, 0.6);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 16px;
}

.project-card h3 {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  color: var(--dark-900);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-card {
  background: var(--white);
  color: var(--dark-900);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.contact-card.highlight {
  background: var(--dark-900);
  color: var(--white);
}

.contact-card form {
  display: grid;
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: inherit;
}

.contact-card.highlight .btn.outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.form-status {
  font-size: 0.85rem;
  color: var(--orange-500);
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.footer {
  background: var(--dark-900);
  padding: 50px 0 20px;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-brand img {
  width: 120px;
  margin-bottom: 12px;
}

.footer-link {
  display: inline-block;
  margin-top: 6px;
  color: var(--orange-400);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-400);
}

.footer-mail svg {
  width: 16px;
  height: 16px;
}

.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 900;
  background: #1dbf73;
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}

.floating-whatsapp img {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.footer-cta {
  margin-top: 10px;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--orange-500);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .top-header {
    grid-template-columns: auto 1fr;
  }

  .top-actions {
    justify-content: flex-end;
  }

  .top-right {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .header-cta .btn {
    padding: 8px 14px;
    font-size: 0.68rem;
  }
}

@media (max-width: 900px) {
  .nav-bar {
    position: relative;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 15, 25, 0.98);
    padding: 26px 0 28px;
    display: none;
  }

  .nav.open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 720px) {
  .top-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .top-actions,
  .top-right {
    display: none;
  }

  .brand {
    justify-content: center;
  }

  .top-right {
    flex-direction: column;
  }

  .header-cta {
    justify-content: center;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-block.reverse {
    direction: ltr;
  }
}

@media (max-width: 540px) {
  .hero-panel {
    display: none;
  }

  .floating-whatsapp {
    left: 12px;
    bottom: 12px;
    width: 52px;
    height: 52px;
  }

  .scroll-top {
    right: 12px;
    bottom: 12px;
  }
}
