:root {
  --color-primary: #0a0a5e;
  --color-primary-dark: #05053b;
  --color-secondary: #c5ce52;
  --color-bg: #f4f5fb;
  --color-surface: #ffffff;
  --color-text: #121212;
  --color-text-muted: #6b7280;
  --shadow-soft: 0 18px 45px rgba(12, 12, 90, 0.22);
  --radius-base: 10px;
  --radius-pill: 999px;
  --container-width: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #11116f 0, #060623 42%, #040418 48%, #020211 52%, #01010a 100%);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #05053b 0%, #0a0a5e 45%, #05053b 100%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 80px;
}

.logo {
  width: auto;
  display: block;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
  position: relative;
  padding-block: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-secondary);
  transform-origin: center;
  transform: scaleX(0);
  transition: transform 0.22s ease-out;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0 0 0 10px;
}

.nav-toggle span {
  height: 2px;
  width: 18px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

main {
  padding-top: 80px;
}

/* HERO */

.hero-section {
  padding: 72px 0 96px;
  color: #f9fafb;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 10% 10%, rgba(197, 206, 82, 0.2), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(80, 180, 255, 0.14), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-text {
  max-width: 620px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 94, 0.7);
  border: 1px solid rgba(197, 206, 82, 0.5);
  color: var(--color-secondary);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 6px rgba(197, 206, 82, 0.28);
}

.hero-text h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.3rem, 3vw + 1.2rem, 3.1rem);
  line-height: 1.1;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(249, 250, 251, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out, background-color 0.14s, color 0.14s,
    border-color 0.14s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary), #e1eb6e);
  color: #121212;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.7);
}

.btn-outline {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(229, 231, 235, 0.6);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.4);
  transform: translateY(-1px);
}

.btn-large {
  padding-block: 14px;
  padding-inline: 26px;
  font-size: 1rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.highlight-item {
  min-width: 150px;
  padding: 12px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.7);
}

.highlight-number {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.highlight-label {
  display: block;
  font-size: 0.85rem;
  color: rgba(209, 213, 219, 0.88);
}

.hero-visual {
  justify-self: center;
}

.hero-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #020617;
}

.hero-card img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.15);
}

.hero-card-badge {
  position: absolute;
  left: 20px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.7);
  max-width: 220px;
}

.badge-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-text {
  display: block;
  font-size: 0.82rem;
  color: rgba(229, 231, 235, 0.86);
}

.hero-services {
  position: relative;
  margin-top: 52px;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 16px;
  color: #f9fafb;
}

.services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid rgba(203, 213, 225, 0.5);
  color: rgba(226, 232, 240, 0.98);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(10, 10, 94, 0.8));
}

/* GENERIC SECTION BASE */

.section {
  padding: 40px 0;
}

.section-subtitle {
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--color-text-muted);
}

/* SOBRE NÓS */

.about-section {
  background: radial-gradient(circle at top left, rgba(197, 206, 82, 0.16), transparent 48%),
    radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.95), #020617 80%);
  color: #e5e7eb;
}

.about-grid {
  display: block;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.about-text p {
  margin: 0 0 16px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.92);
}

.about-text strong {
  color: #ffffff;
}

.about-visual {
  justify-self: center;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
}

.image-main {
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.8);
}

.image-accent {
  position: absolute;
  right: -32px;
  bottom: -36px;
  width: 58%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.9);
}

.about-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.92);
}

.about-list i {
  color: var(--color-secondary);
}

/* SERVIÇOS */

.services-section {
  background: var(--color-bg);
}

.services-section .section-title {
  color: #020617;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-base);
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 45px rgba(15, 23, 42, 0.22);
  border-color: rgba(10, 10, 94, 0.38);
}

.service-image-wrapper {
  height: 180px;
  overflow: hidden;
}

.service-image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.07);
}

.service-content {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  color: #0f172a;
  line-height: 1.3;
}

.service-content p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  flex: 1;
}

/* CONTATO */

.contact-section {
  background: linear-gradient(135deg, #020617, #05053b);
  color: #e5e7eb;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
  padding: 32px 28px;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(197, 206, 82, 0.16), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.75);
}

.contact-text p {
  margin: 0 0 16px;
  font-size: 0.95rem;
  color: rgba(226, 232, 240, 0.96);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.9rem;
}

.contact-list i {
  color: var(--color-secondary);
  margin-right: 6px;
}

.contact-actions {
  text-align: right;
}

.contact-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: rgba(209, 213, 219, 0.9);
}

/* FOOTER */

.site-footer {
  background: #020617;
  color: rgba(148, 163, 184, 0.9);
  padding: 16px 0 22px;
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.back-to-top {
  color: rgba(226, 232, 240, 0.88);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.back-to-top:hover {
  color: var(--color-secondary);
}

/* WHATSAPP FLOAT */

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  z-index: 60;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out, background-color 0.12s ease-out;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.85);
  background: #1ebe57;
}

.whatsapp-float i {
  font-size: 1.6rem;
}

/* RESPONSIVO */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 40px;
  }

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

  .contact-card {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    padding-inline: 22px;
  }
}

@media (max-width: 768px) {
  .header-content {
    height: 70px;
  }

  main {
    padding-top: 70px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 70px;
    background: rgba(5, 5, 59, 0.96);
    backdrop-filter: blur(12px);
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .main-nav.is-open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li + li {
    border-top: 1px solid rgba(148, 163, 184, 0.3);
  }

  .main-nav a {
    display: block;
    padding: 12px 24px;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-section {
    padding-top: 52px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  .hero-card img {
    height: 320px;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .image-accent {
    right: 0;
    bottom: -28px;
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .contact-actions {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .container {
    padding-inline: 18px;
  }

  .hero-section {
    padding-bottom: 72px;
  }

  .hero-highlights {
    gap: 12px;
  }

  .highlight-item {
    flex: 1 1 46%;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card {
    padding-inline: 18px;
    padding-block: 24px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }
}

