@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #071a2a;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --primary: #0e6ea8;
  --primary-strong: #0a4f7a;
  --accent: #24c67a;
  --text: #0f2433;
  --muted: #5b6e7d;
  --border: rgba(15, 36, 51, 0.11);
  --shadow: 0 20px 45px rgba(7, 26, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.65;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0;
}

main {
  margin-top: 0;
}

.section-spacing {
  padding: 6.5rem 0;
}

/* NAVBAR */
#mainNavbar {
  background: rgba(7, 26, 42, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.logo-slot {
  min-width: 88px;
  height: 38px;
  border-radius: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e4f2ff;
}

.logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  transition: 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.nav-link {
  position: relative;
  font-weight: 500;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: 0.35rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  transform: scaleX(1);
}

/* HERO */
/* HERO BASE */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
}

/* FUNDO + GRADIENTE */
.hero-section-bg {
  min-height: max(calc(100vh - 80px), 850px);
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(90deg,
      rgba(5, 25, 40, 0.95) 0%,
      rgba(5, 25, 40, 0.90) 30%,
      rgba(5, 25, 40, 0.65) 55%,
      rgba(5, 25, 40, 0.25) 75%,
      rgba(5, 25, 40, 0.05) 100%),
    url("assets/imagem_fundo.png") center / cover no-repeat;
}

/* CONTAINER */
.hero-section-bg .container {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-bottom: 180px;
}

/* TEXTO */
.hero-section-bg h1 {
  max-width: 700px;
  line-height: 1.05;
  color: #fff;
}

/* SUBTEXTO */
.hero-lead {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

/* BADGE */
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(6px);
}

/* LOGO DIREITA */
.hero-logo-img {
  max-width: 980px;
  width: 225%;
  height: auto;

  opacity: 0.95;

  filter:
    drop-shadow(0 30px 80px rgba(0, 150, 255, 0.25)) drop-shadow(0 0 50px rgba(0, 200, 255, 0.15));

  transition: transform 0.4s ease;
}

/* ANIMAÇÃO SUAVE */
.hero-logo-img:hover {
  transform: scale(1.03);
}

/* PLACEHOLDER GENÉRICO */
.media-slot {
  min-height: 280px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1));
  color: #f2f9ff;
  display: grid;
  place-content: center;
  padding: 1.4rem;
}

/* SEÇÕES */
.section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #081f31;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
}

.bg-light-section {
  background: var(--surface-soft);
}

/* CARDS */
.service-card {
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-media-slot {
  height: 220px;
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  background: linear-gradient(135deg, #c7deef, #e8f0f8);
  border-bottom: 1px dashed #7fa2bc;
  color: #31546d;
  font-weight: 600;
  font-size: 0.95rem;
  display: grid;
  place-content: center;
}

.img-servico {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
}

.service-icon,
.highlight-icon {
  font-size: 2rem;
  color: var(--primary);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow) !important;
  border-color: rgba(14, 110, 168, 0.25);
}

.service-card:hover .img-servico {
  transform: scale(1.05);
}

.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(7, 26, 42, 0.11);
}

/* CTA */
.cta-section {
  background: linear-gradient(120deg, #071a2a, #0d4f78);
}

.cta-text {
  max-width: 62ch;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
}

/* FOOTER */
.footer-section {
  background-color: #04111d;
}

/* BOTÕES */
.btn-premium {
  position: relative;
  overflow: hidden;
  border-radius: 0.8rem;
  font-weight: 600;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: -120%;
  left: -30%;
  width: 45%;
  height: 320%;
  transform: rotate(20deg);
  background: rgba(255, 255, 255, 0.24);
  transition: left 0.5s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(7, 26, 42, 0.22);
}

.btn-premium:hover::before {
  left: 110%;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
  z-index: 1100;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.09);
  color: #fff;
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.3);
}

/* ANIMAÇÃO */
.reveal-up {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ACESSIBILIDADE */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* TABLET E MOBILE */
@media (max-width: 991.98px) {
  .section-spacing {
    padding: 4rem 0;
  }

  .navbar-brand span:last-child {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .hero-section,
  .hero-section-bg {
    min-height: auto;
  }

  .hero-section-bg {
    padding-top: 110px;
    background:
      linear-gradient(
        180deg,
        rgba(7, 26, 42, 0.95) 0%,
        rgba(7, 26, 42, 0.88) 45%,
        rgba(7, 26, 42, 0.45) 100%
      ),
      url("assets/imagem_fundo.png") center / cover no-repeat;
  }

  .hero-section-bg .container {
    padding-top: 0;
    padding-bottom: 3rem;
  }

  .hero-section-bg h1 {
    font-size: clamp(2.2rem, 6vw, 3.2rem);
    line-height: 1.15;
  }

  .hero-lead,
  .hero-section p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-logo-img {
    display: none;
  }

  .card {
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 1.5rem;
  }

  .card img {
    width: 100%;
    height: clamp(220px, 32vw, 320px);
    object-fit: cover;
    object-position: center;
    display: block;
  }

  .card-body {
    padding: 1.5rem 1.35rem;
  }

  .card-title {
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .card-text {
    line-height: 1.65;
    margin-bottom: 0;
  }
}

/* CELULAR */
@media (max-width: 575.98px) {
  body {
    padding-top: 88px;
  }

  .section-spacing {
    padding: 2.5rem 0 5.5rem;
  }

  .navbar {
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .navbar-brand {
    gap: 0.75rem;
    max-width: calc(100% - 72px);
  }

  .navbar-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .navbar-brand span:last-child {
    font-size: 1rem;
    line-height: 1.2;
  }

  .navbar-toggler {
    padding: 0.55rem 0.75rem;
  }

  .hero-section,
  .hero-section-bg {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 1rem;
  }

  .hero-section-bg {
    padding-top: 1.5rem;
  }

  .hero-section-bg .container {
    padding-top: 0;
    padding-bottom: 1.5rem;
  }

  .hero-section-bg h1 {
    font-size: 1.9rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }

  .hero-lead,
  .hero-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.85rem;
  }

  .card img {
    height: clamp(220px, 52vw, 290px);
  }

  .card-body {
    padding: 1.35rem 1.15rem;
  }

  .card-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .card-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
    z-index: 1000;
  }

  .whatsapp-float i,
  .whatsapp-float svg {
    font-size: 1.45rem;
    width: 1.45rem;
    height: 1.45rem;
  }
}

/* CELULARES MAIORES */
@media (min-width: 576px) and (max-width: 767.98px) {
  body {
    padding-top: 92px;
  }

  .section-spacing {
    padding: 3rem 0 5.5rem;
  }

  .hero-section-bg {
    padding-top: 2rem;
  }

  .hero-section-bg .container {
    padding-bottom: 2rem;
  }

  .hero-section-bg h1 {
    font-size: 2.2rem;
    line-height: 1.15;
  }

  .hero-lead,
  .hero-section p {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .card img {
    height: clamp(260px, 40vw, 320px);
  }

  .card-body {
    padding: 1.5rem 1.35rem;
  }

  .card-title {
    font-size: 1.65rem;
  }

  .card-text {
    font-size: 1.02rem;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 14px;
    bottom: 14px;
    z-index: 1000;
  }
}