/* =========================
   RESET / BASE
========================= */

:root {
  --brand-dark: #1f252d;
  --brand-gold: #cda45f;
  --brand-gold-deep: #bb9150;
  --brand-gold-soft: #f5ecdd;
  --brand-steel: #9eacbc;
  --brand-steel-deep: #8596a8;
  --brand-steel-soft: rgba(158, 172, 188, 0.12);
  --text-main: #111111;
  --text-soft: #475569;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --border-soft: rgba(15, 23, 42, 0.06);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

#sobre,
#servicos,
#contato {
  scroll-margin-top: 86px;
}

@media (max-width: 768px) {
  #sobre,
  #servicos,
  #contato {
    scroll-margin-top: 100px;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--surface);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =========================
   CONTAINER
========================= */

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.header-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.logo-image {
  height: 84px;
  width: auto;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.logo:hover .logo-image {
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 20px rgba(15, 23, 42, 0.08));
  opacity: 0.98;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 500;
  color: #475569;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

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

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-gold);
  box-shadow: 0 0 12px rgba(205, 164, 95, 0.24);
  transition: width 0.25s ease, background 0.25s ease;
}

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

/* =========================
   HERO
========================= */

.hero-dark {
  position: relative;
  overflow: hidden;
  padding: 110px 0 88px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 24%),
    radial-gradient(circle at right center, rgba(255, 255, 255, 0.03), transparent 22%),
    linear-gradient(180deg, #111111 0%, #171717 100%);
}

.hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent 18%);
  pointer-events: none;
}

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

.hero-dark-content {
  max-width: 860px;
  margin-bottom: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hero-dark h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: #f5f5f5;
}

.hero-dark h1 span {
  display: block;
}

.hero-dark-description {
  max-width: 760px;
  margin-bottom: 34px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: #a1a1aa;
}

.hero-dark-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #f5f5f5;
  color: #111111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: #ffffff;
}

.btn-primary-gold {
  background: linear-gradient(180deg, #faf5eb 0%, #f4ead8 100%);
  border-color: rgba(205, 164, 95, 0.48);
  color: #171717;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(205, 164, 95, 0.12),
    0 0 26px rgba(205, 164, 95, 0.14);
}

.btn-primary-gold:hover {
  background: linear-gradient(180deg, #fbf6ec 0%, #f6eddc 100%);
  border-color: rgba(205, 164, 95, 0.62);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(205, 164, 95, 0.16),
    0 0 30px rgba(205, 164, 95, 0.18);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: #f5f5f5;
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline-brand {
  background: rgba(158, 172, 188, 0.12);
  color: #edf2f7;
  border-color: rgba(158, 172, 188, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 0 24px rgba(158, 172, 188, 0.12);
}

.btn-outline-brand:hover {
  background: rgba(158, 172, 188, 0.18);
  border-color: rgba(158, 172, 188, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 28px rgba(158, 172, 188, 0.18);
}

.btn-outline-dark {
  background: transparent;
  color: #111111;
  border-color: rgba(17, 17, 17, 0.12);
}

.btn-outline-dark:hover {
  background: #f5f5f5;
  border-color: rgba(17, 17, 17, 0.18);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-whatsapp:hover {
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  opacity: 0.98;
}

/* BOTÃO COM ÍCONE */

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-icon img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-teamviewer {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* =========================
   HIGHLIGHTS
========================= */

.hero-dark-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.highlight-card {
  padding: 26px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.highlight-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #f5f5f5;
}

.highlight-card p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #a1a1aa;
}

/* =========================
   SHARED SECTION TAG
========================= */

.section-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(132, 151, 173, 0.52);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(243, 247, 251, 0.98) 0%, rgba(232, 239, 246, 0.97) 100%);
  font-size: 0.85rem;
  font-weight: 600;
  color: #5f7286;
  box-shadow:
    0 0 0 1px rgba(132, 151, 173, 0.08),
    0 0 24px rgba(132, 151, 173, 0.18);
}

/* =========================
   ABOUT
========================= */

.about {
  padding: 88px 0;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  grid-template-areas:
    "intro side"
    "content side";
  gap: 28px 48px;
  align-items: start;
}

.about-intro {
  grid-area: intro;
  max-width: 620px;
}

.about-intro h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #111827;
  margin-top: 12px;
}

.about-content {
  grid-area: content;
  max-width: 620px;
}

.about-content p {
  font-size: 1.03rem;
  line-height: 1.9;
  color: #475569;
  margin-bottom: 22px;
}

.about-side {
  grid-area: side;
  display: grid;
  gap: 16px;
  padding-top: 80px;
}

.about-card {
  padding: 20px 22px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.03);
}

.about-card strong {
  display: block;
  font-size: 0.98rem;
  color: #111827;
  margin-bottom: 6px;
}

.about-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #64748b;
  margin-bottom: 0;
}

/* =========================
   SERVICES
========================= */

.services {
  padding: 88px 0;
  background: #f8fafc;
}

.services-header {
  max-width: 780px;
  margin-bottom: 34px;
}

.services-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #111827;
}

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

.service-card {
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 190px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(205, 164, 95, 0.22);
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.05),
    0 0 24px rgba(205, 164, 95, 0.08);
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  font-weight: 700;
  color: #111827;
}

.service-card p {
  font-size: 0.96rem;
  line-height: 1.75;
  color: #64748b;
  margin-top: 8px;
}

/* =========================
   CONTACT
========================= */

.contact {
  padding: 34px 0 92px;
  background: #ffffff;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.contact-content {
  max-width: 760px;
}

.contact-content h2 {
  margin-top: 22px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #111827;
}

.contact-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #475569;
}

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

.contact-card {
  padding: 24px 22px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 286px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
}

.contact-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.contact-card p {
  font-size: 0.98rem;
  line-height: 1.72;
  color: #64748b;
  margin-bottom: 14px;
}

.contact-card > .btn,
.contact-card > .contact-subactions,
.contact-card > .contact-email {
  margin-top: auto;
}

/* WHATSAPP DESTACADO */

.contact-card-whatsapp {
  background: #f0fdf4;
  border: 1px solid rgba(34, 197, 94, 0.18);
}

/* TEAMVIEWER DESTACADO */

.contact-card-teamviewer {
  background: #eff6ff;
  border: 1px solid rgba(59, 130, 246, 0.18);
}

.contact-card-whatsapp:hover {
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.05),
    0 0 24px rgba(34, 197, 94, 0.08);
}

.contact-card-teamviewer:hover {
  box-shadow:
    0 18px 38px rgba(15, 23, 42, 0.05),
    0 0 24px rgba(158, 172, 188, 0.14);
}

/* SUBAÇÕES */

.contact-subactions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 18px;
}

.contact-email {
  margin-top: 8px;
  font-size: 0.94rem;
}

.contact-email a {
  color: #111827;
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

.contact-card:nth-child(2) {
  justify-content: space-between;
}

.contact-card:nth-child(2) .contact-subactions {
  margin-top: 22px;
  margin-bottom: 20px;
}

.contact-card:nth-child(2) .contact-email {
  transform: translateY(12px);
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 26px 0;
  background: #111111;
}

.footer-container p {
  font-size: 0.95rem;
  color: #d4d4d8;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 980px) {
  .hero-dark {
    padding: 92px 0 72px;
  }

  .hero-dark-content {
    margin-bottom: 40px;
  }

  .hero-dark-highlights,
  .services-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-areas:
      "intro"
      "content"
      "side";
    gap: 24px;
  }

  .about-intro,
  .about-content {
    max-width: 100%;
  }

  .about-side {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .header-container {
    min-height: auto;
    padding: 10px 0 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .logo-image {
    height: 78px;
  }

  .nav {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 18px;
  }

  .nav a {
    font-size: 0.96rem;
  }

  .hero-dark {
    padding: 84px 0 64px;
  }

  .hero-dark h1 {
    font-size: 2.5rem;
  }

  .hero-dark-description {
    font-size: 1rem;
    line-height: 1.78;
  }

  .hero-dark-actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
  }

  .highlight-card,
  .about-card,
  .service-card,
  .contact-card {
    padding: 22px;
    border-radius: 18px;
  }
}