:root {
  --bg: #080b14;
  --surface: #111625;
  --surface-2: #0c1325;
  --text: #ecf1ff;
  --muted: #9fb0d4;
  --brand: #1f6bff;
  --brand-2: #ff7a00;
  --border: #273557;
  --shadow: 0 20px 42px rgba(2, 8, 23, 0.42);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 14% 18%, rgba(31, 107, 255, 0.24) 0%, rgba(31, 107, 255, 0) 38%),
    radial-gradient(circle at 86% 10%, rgba(255, 122, 0, 0.15) 0%, rgba(255, 122, 0, 0) 35%),
    var(--bg);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.15;
  z-index: -1;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(32px);
  opacity: 0.45;
}

.bg-shape-a {
  width: 290px;
  height: 290px;
  background: #1f6bff;
  top: 12%;
  left: -80px;
}

.bg-shape-b {
  width: 360px;
  height: 360px;
  background: #ff7a00;
  bottom: -110px;
  right: -95px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 15, 28, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(36, 50, 77, 0.8);
  padding: 12px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  width: 168px;
  max-width: 34vw;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 22px;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover {
  color: var(--brand);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 600;
}

.section {
  width: min(1120px, 88vw);
  margin: 0 auto;
  padding: 76px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 42px;
  min-height: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.76rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
}

h1,
h2,
h3 {
  font-family: "Sora", sans-serif;
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.hero-copy p {
  margin-top: 0;
  max-width: 60ch;
  color: var(--muted);
}

.hero-copy {
  position: relative;
}

.hero-copy::after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), transparent);
  left: 0;
  bottom: -10px;
}

.hero-media img,
.split img,
.gallery img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
}

.hero-media {
  width: 440px;
  height: 440px;
  max-width: 100%;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(17, 22, 37, 0.9), rgba(8, 11, 20, 0.9));
  padding: 18px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  padding: 0;
  border: 0;
  background: transparent;
  transition: opacity 0.45s ease;
}

.hero-media img.is-fading {
  opacity: 0.18;
}

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 26px 0;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, var(--brand), #2f8fff);
  color: #eef8ff;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(15, 26, 49, 0.75);
}

.stats {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.stats li {
  background: rgba(17, 26, 46, 0.82);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.stats strong {
  display: block;
  font-size: 1.4rem;
  color: var(--brand-2);
}

.stats span {
  color: var(--muted);
  font-size: 0.93rem;
}

.section-head {
  max-width: 700px;
  margin-bottom: 26px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.feature-item {
  text-align: center;
  background: rgba(8, 11, 20, 0.4);
  border-radius: 14px;
  padding: 10px;
  padding-top: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  width: 100%;
  height: 300px;
}

.feature-img-wrap {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 10px;
}

.feature-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

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

.feature-item h3 {
  font-size: 0.98rem;
  margin: 0;
  color: #fff;
  background: linear-gradient(120deg, #235cff, #1f6bff);
  border-radius: 10px;
  padding: 12px 10px;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.steps {
  margin: 0;
  padding-left: 18px;
}

.steps li {
  margin-bottom: 10px;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.compact-center {
  text-align: center;
  margin-inline: auto;
}

.mosaic-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  background: linear-gradient(180deg, transparent 0 24%, rgba(42, 58, 95, 0.55) 24% 78%, transparent 78% 100%);
  padding: 22px 8px;
  border-radius: 16px;
}

.mosaic-strip img {
  width: 100%;
  height: 210px;
  border-radius: 22px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: zoom-in;
}

.cta {
  text-align: center;
  background: linear-gradient(155deg, rgba(31, 107, 255, 0.18), rgba(255, 122, 0, 0.12));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding-inline: min(40px, 4vw);
}

.cta p {
  color: var(--muted);
}

.site-footer {
  padding: 28px 6vw 40px;
  color: var(--muted);
  border-top: 1px solid rgba(36, 50, 77, 0.8);
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 236px;
  height: auto;
  display: inline-flex;
  z-index: 50;
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.whatsapp-float img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mosaic-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 64px;
    right: 6vw;
    background: #0d172a;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px;
    flex-direction: column;
    min-width: 190px;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .feature-strip,
  .mosaic-strip {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 32px;
    bottom: 32px;
    width: 220px;
    height: auto;
  }

  .hero-media img {
    min-height: 0;
  }

  .hero-media {
    width: min(90vw, 360px);
    height: min(90vw, 360px);
  }

  .section {
    padding: 58px 0;
  }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: rgba(17, 22, 37, 0.6);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 6vw;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}

.stat-item div {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.stat-item strong {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-family: "Sora", sans-serif;
  color: var(--brand);
}

.stat-item span {
  font-size: 1.3rem;
  color: var(--brand-2);
  font-weight: 700;
}

.stat-item p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 0.88rem;
}

/* ===== MATERIAIS ===== */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mat-card {
  background: rgba(17, 22, 37, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.mat-badge {
  display: inline-block;
  background: linear-gradient(120deg, var(--brand), #2f8fff);
  color: #fff;
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mat-card h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}

.mat-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.mat-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mat-card ul li {
  color: var(--muted);
  font-size: 0.88rem;
  padding: 6px 0;
  border-top: 1px solid var(--border);
}

.mat-card ul li::before {
  content: "✓ ";
  color: var(--brand);
  font-weight: 700;
}

/* ===== DEPOIMENTOS ===== */
.dep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.dep-card {
  background: rgba(17, 22, 37, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin: 0;
}

.dep-card p {
  color: var(--text);
  font-style: italic;
  margin: 0 0 18px;
  line-height: 1.75;
}

.dep-card footer strong {
  color: var(--brand);
  display: block;
  font-size: 0.95rem;
}

.dep-card footer span {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] {
  background: rgba(17, 22, 37, 0.5);
}

.faq-item > p {
  padding: 0 20px 18px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

/* ===== FORMULARIO ===== */
.quote-form {
  max-width: 600px;
  margin: 28px auto 0;
}

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

.quote-form input,
.quote-form select {
  background: rgba(17, 22, 37, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus {
  border-color: var(--brand);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: var(--muted);
}

.quote-form textarea {
  background: rgba(17, 22, 37, 0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  resize: vertical;
  margin-bottom: 12px;
  display: block;
}

.quote-form textarea:focus {
  border-color: var(--brand);
}

.quote-form select option {
  background: #111625;
}

.quote-form .btn {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  display: flex;
  font-size: 1rem;
  padding: 14px;
  cursor: pointer;
  border: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.95);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox > img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(17, 22, 37, 0.9);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== WHATSAPP PULSE ===== */
@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}

.whatsapp-float {
  animation: wa-pulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover {
  animation: none;
  transform: scale(1.1);
}

/* ===== RESPONSIVO - NOVAS SECOES ===== */
@media (max-width: 980px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .dep-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 6vw;
  }

  .mat-grid {
    grid-template-columns: 1fr;
  }

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