/* =========================
   Segmento Válido - style.css
   ========================= */

:root {
  --bg: #050a30;
  --bg-soft: #0b1240;
  --bg-card: #10184a;
  --bg-card-2: #0f163f;
  --text: #fdfdfc;
  --text-soft: rgba(253, 253, 252, 0.82);
  --text-muted: rgba(253, 253, 252, 0.64);
  --primary: #049ef8;
  --primary-hover: #2bb1ff;
  --accent-yellow: #f8dc30;
  --accent-pink: #f91c48;
  --border: rgba(253, 253, 252, 0.1);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(4, 158, 248, 0.12), transparent 25%),
    radial-gradient(circle at left center, rgba(249, 28, 72, 0.08), transparent 20%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

section {
  position: relative;
  padding: 96px 0;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--accent-yellow);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

p {
  margin: 0;
  color: var(--text-soft);
}

.btn,
.text-link,
.clickable-card {
  transition: var(--transition);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #3dc1ff);
  color: #03102a;
  box-shadow: 0 12px 30px rgba(4, 158, 248, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-hover), #66cbff);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: rgba(253, 253, 252, 0.18);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
}

.text-link::after {
  content: "→";
  font-size: 0.95rem;
}

.text-link:hover {
  color: var(--accent-yellow);
}

/* =========================
   Cards clicáveis
   ========================= */

.clickable-card {
  display: block;
  color: inherit;
}

.clickable-card:hover {
  transform: translateY(-4px);
  border-color: rgba(4, 158, 248, 0.28);
}

.clickable-card .text-link {
  pointer-events: none;
}

/* =========================
   Header
   ========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(5, 10, 48, 0.82);
  border-bottom: 1px solid rgba(253, 253, 252, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.logo img,
.footer-logo img {
  height: auto;
  width: 180px;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list a {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-list a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--text);
}

/* =========================
   Hero
   ========================= */

.hero-section {
  padding-top: 72px;
  padding-bottom: 70px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 680px;
  margin-top: 22px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-highlights li a,
.hero-highlights li {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(253, 253, 252, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-highlights li a:hover {
  color: var(--primary);
  border-color: rgba(4, 158, 248, 0.28);
}

.hero-visual {
  position: relative;
  min-height: 500px;
}

.hero-graphic {
  position: absolute;
  inset: 0;
  border-radius: 38px;
  background:
    radial-gradient(circle at 20% 20%, rgba(4, 158, 248, 0.28), transparent 22%),
    radial-gradient(circle at 72% 25%, rgba(248, 220, 48, 0.18), transparent 18%),
    radial-gradient(circle at 78% 72%, rgba(249, 28, 72, 0.16), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(135deg, #091247, #070d35 60%, #0d1548);
  border: 1px solid rgba(253, 253, 252, 0.08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-graphic::before,
.hero-graphic::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-graphic::before {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(4, 158, 248, 0.13) 10% 11%, transparent 11% 22%, rgba(248, 220, 48, 0.1) 22% 23%, transparent 23% 34%, rgba(249, 28, 72, 0.1) 34% 35%, transparent 35%),
    linear-gradient(transparent 0 20%, rgba(253, 253, 252, 0.05) 20% 20.4%, transparent 20.4% 40%, rgba(253, 253, 252, 0.04) 40% 40.3%, transparent 40.3%);
  opacity: 0.7;
}

.hero-graphic::after {
  width: 64%;
  height: 64%;
  top: 18%;
  left: 18%;
  border-radius: 50%;
  border: 1px solid rgba(4, 158, 248, 0.2);
  box-shadow:
    0 0 0 18px rgba(4, 158, 248, 0.05),
    0 0 0 44px rgba(248, 220, 48, 0.04),
    0 0 0 72px rgba(249, 28, 72, 0.03);
}

/* =========================
   Intro
   ========================= */

.intro-section {
  padding-top: 30px;
  padding-bottom: 20px;
}

/* =========================
   Trust bar
   ========================= */

.trust-bar-section {
  padding-top: 20px;
  padding-bottom: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.trust-card,
.segment-card,
.service-card,
.process-step,
.credibility-item {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.trust-card {
  padding: 26px 22px;
}

.trust-card h2 {
  font-size: 1.08rem;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.95rem;
}

/* =========================
   Segmentos
   ========================= */

.segments-section {
  background: linear-gradient(180deg, rgba(11, 18, 64, 0.68), rgba(11, 18, 64, 0.3));
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.segment-card {
  padding: 30px 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    var(--bg-soft);
}

.segment-card h3 {
  position: relative;
  padding-top: 18px;
}

.segment-card h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent-yellow));
}

.segment-card p {
  margin-bottom: 18px;
}

/* =========================
   Serviços
   ========================= */

.services-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 34px;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 110px;
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    var(--bg-card-2);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-yellow), var(--accent-pink));
}

.services-media .media-card,
.project-media,
.works-media {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.services-media img,
.project-media img,
.works-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-media .media-card {
  min-height: 560px;
}

.services-media img {
  min-height: 560px;
}

/* =========================
   Manutenção
   ========================= */

.maintenance-section {
  background:
    radial-gradient(circle at left center, rgba(4, 158, 248, 0.12), transparent 26%),
    linear-gradient(180deg, rgba(11, 18, 64, 0.36), rgba(11, 18, 64, 0.12));
}

.maintenance-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 44px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 30px;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-soft);
  font-weight: 600;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-yellow));
  box-shadow: 0 0 0 5px rgba(4, 158, 248, 0.12);
}

.maintenance-visual {
  min-height: 420px;
}

.maintenance-graphic {
  height: 100%;
  min-height: 420px;
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 25% 28%, rgba(4, 158, 248, 0.28), transparent 12%),
    radial-gradient(circle at 65% 38%, rgba(248, 220, 48, 0.14), transparent 10%),
    radial-gradient(circle at 72% 74%, rgba(249, 28, 72, 0.14), transparent 10%),
    linear-gradient(135deg, #08113e, #0c154a);
  position: relative;
  overflow: hidden;
}

.maintenance-graphic::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  border-radius: 24px;
  border: 1px solid rgba(253, 253, 252, 0.08);
  background:
    linear-gradient(90deg, rgba(253,253,252,0.04) 1px, transparent 1px),
    linear-gradient(rgba(253,253,252,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.maintenance-graphic::after {
  content: "";
  position: absolute;
  width: 68%;
  height: 4px;
  left: 16%;
  top: 50%;
  background: linear-gradient(90deg, var(--primary), var(--accent-yellow), var(--accent-pink));
  box-shadow:
    0 -76px 0 rgba(4, 158, 248, 0.36),
    0 76px 0 rgba(249, 28, 72, 0.28);
}

/* =========================
   Projeto / works
   ========================= */

.project-grid,
.works-grid,
.contact-grid,
.footer-grid {
  display: grid;
  gap: 36px;
}

.project-grid,
.works-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.project-content,
.works-content {
  max-width: 560px;
}

.project-media,
.works-media {
  min-height: 460px;
}

.project-media img,
.works-media img {
  min-height: 460px;
}

.works-section {
  background: linear-gradient(180deg, rgba(11, 18, 64, 0.42), rgba(11, 18, 64, 0.18));
}

/* =========================
   Processo
   ========================= */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  padding: 28px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015)),
    var(--bg-soft);
}

/* =========================
   Credibilidade
   ========================= */

.credibility-section {
  background:
    radial-gradient(circle at center, rgba(4, 158, 248, 0.08), transparent 30%);
}

.credibility-content {
  max-width: 980px;
}

.credibility-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.credibility-item {
  padding: 24px 20px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    var(--bg-card);
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent-yellow);
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
}

/* =========================
   CTA final
   ========================= */

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px;
  border-radius: 30px;
  border: 1px solid rgba(4, 158, 248, 0.2);
  background:
    radial-gradient(circle at top right, rgba(4, 158, 248, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    var(--bg-soft);
  box-shadow: var(--shadow);
}

.final-cta-content {
  max-width: 700px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   Formulário
   ========================= */

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 28px;
}

.contact-intro {
  max-width: 420px;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.015)),
    var(--bg-card);
  box-shadow: var(--shadow);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(253, 253, 252, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

select {
  background-color: #1a235a;
  color: #fdfdfc;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5.5 7.5l4.5 4.5 4.5-4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
}

select option {
  background: #ffffff;
  color: #111111;
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(4, 158, 248, 0.56);
  box-shadow: 0 0 0 4px rgba(4, 158, 248, 0.12);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  display: none;
  margin-bottom: 24px;
  padding: 20px 22px;
  border-radius: 18px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.22), rgba(40, 167, 69, 0.12));
  color: #e8fff0;
  border-color: rgba(40, 167, 69, 0.45);
  box-shadow: 0 0 0 1px rgba(40, 167, 69, 0.18), 0 14px 34px rgba(40, 167, 69, 0.14);
}

.form-status.is-error {
  background: linear-gradient(135deg, rgba(249, 28, 72, 0.22), rgba(249, 28, 72, 0.12));
  color: #ffe3ea;
  border-color: rgba(249, 28, 72, 0.45);
  box-shadow: 0 0 0 1px rgba(249, 28, 72, 0.18), 0 14px 34px rgba(249, 28, 72, 0.14);
}

/* =========================
   Footer
   ========================= */

.site-footer {
  padding: 40px 0 24px;
  border-top: 1px solid rgba(253, 253, 252, 0.08);
  background: rgba(3, 6, 26, 0.35);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr 0.8fr;
  align-items: start;
}

.footer-brand p,
.footer-contact li,
.footer-links li,
.footer-social li {
  color: var(--text-soft);
}

.footer-links h2,
.footer-contact h2,
.footer-social h2 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul,
.footer-social ul {
  display: grid;
  gap: 12px;
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(253, 253, 252, 0.08);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* =========================
   WhatsApp flutuante
   ========================= */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #1ebe5d);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.26);
}

.whatsapp-float:hover {
  transform: translateY(-2px);
}

/* =========================
   Responsivo
   ========================= */

@media (max-width: 1120px) {
  .hero-grid,
  .services-layout,
  .maintenance-grid,
  .project-grid,
  .works-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .services-media .media-card,
  .services-media img,
  .project-media,
  .project-media img,
  .works-media,
  .works-media img {
    min-height: auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    display: none;
    justify-content: flex-start;
    background: rgba(11, 18, 64, 0.98);
    border: 1px solid rgba(253, 253, 252, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 18px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .header-actions {
    display: none;
  }

  .trust-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .segments-grid,
  .credibility-points {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  section {
    padding: 74px 0;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .logo img,
  .footer-logo img {
    width: 150px;
  }

  h1 {
    max-width: 100%;
  }

  .hero-actions,
  .final-cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .final-cta-actions .btn {
    width: 100%;
  }

  .trust-grid,
  .services-grid,
  .process-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .trust-card,
  .segment-card,
  .service-card,
  .process-step,
  .credibility-item {
    padding: 22px 18px;
  }

  .final-cta-card {
    padding: 26px 20px;
  }

  .hero-visual {
    min-height: 320px;
  }

  .hero-graphic,
  .maintenance-graphic {
    border-radius: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    min-height: 52px;
    padding: 0 16px;
    font-size: 0.92rem;
  }
}