:root {
  --blue-dark: #17355c;
  --blue-deep: #0b1f3a;
  --blue-black: #07172b;
  --turquoise: #2ebec6;
  --turquoise-dark: #24a9b0;
  --gray-light: #f4f6f8;
  --white: #ffffff;
  --text: #1d1d1f;
  --border: #e6e6e6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 88%;
  max-width: 1180px;
  margin: 0 auto;
}

/* HEADER */

.header {
  width: 100%;
  height: 125px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.header-content {
  height: 125px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding-top: 12px;
}

/* LOGO DO CABEÇALHO */

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  height: 125px;
}

.brand-icon {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  height: 160px;
  width: auto;
  object-fit: contain;
}

/* MENU */

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 8px;
}

.nav a {
  color: var(--blue-dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--turquoise);
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.language-option {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: 4px;
  color: var(--blue-dark);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.language-option:hover,
.language-option.active {
  color: var(--white);
  background: var(--blue-dark);
}

.language-option:focus-visible {
  outline: 3px solid rgba(46, 190, 198, 0.35);
  outline-offset: 2px;
}

/* HERO */

.hero {
  min-height: 100vh;
  padding-top: 125px;
  background: linear-gradient(135deg, #07172b 0%, #0b1f3a 52%, #17355c 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;

  --light-x: 75%;
  --light-y: 45%;
}

/* LUZ QUE SEGUE O MOUSE */
/* LUZ PRINCIPAL QUE SEGUE O MOUSE COM INÉRCIA */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle 750px at var(--light-x) var(--light-y),
      rgba(46, 190, 198, 0.15),
      rgba(46, 190, 198, 0.08) 32%,
      rgba(46, 190, 198, 0.03) 58%,
      transparent 80%
    );
  pointer-events: none;
  z-index: 0;
}

/* RASTRO DA LUZ */

.light-trail {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(
      circle,
      rgba(46, 190, 198, 0.18),
      rgba(46, 190, 198, 0.07) 38%,
      transparent 72%
    );
  transform: translate(-50%, -50%) scale(0.7);
  filter: blur(8px);
  z-index: 0;
  animation: trailFade 0.9s ease-out forwards;
}

@keyframes trailFade {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.7);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
  }
}

/* mantém o conteúdo acima da luz */
.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 760px;
}

.tag {
  display: inline-block;
  color: var(--turquoise);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-size: 13px;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero p {
  font-size: 18px;
  max-width: 720px;
  margin-bottom: 34px;
  color: #e6e6e6;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* LOGO BRANCA DO MEIO */

.hero-logo-area {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 340px;
  height: auto;
  object-fit: contain;
  opacity: 0.96;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.32));
}

/* BOTÕES */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--turquoise);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--turquoise-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue-dark);
}

/* SEÇÕES */

.section {
  padding: 90px 0;
}

.section-label {
  display: inline-block;
  color: var(--turquoise);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-label.light {
  color: var(--turquoise);
}

.section h2 {
  font-size: 36px;
  line-height: 1.25;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

.two-columns {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.two-columns p {
  margin-bottom: 18px;
  font-size: 16px;
}

/* SOLUÇÕES */

.section-dark {
  background: var(--blue-deep);
  color: var(--white);
}

.title-light {
  color: var(--white) !important;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  color: var(--text);
  padding: 32px;
  border-radius: 10px;
  border-top: 5px solid var(--turquoise);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: var(--blue-dark);
  margin-bottom: 16px;
  font-size: 20px;
}

/* EMPRESAS */

.companies {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.companies div {
  background: var(--gray-light);
  color: var(--blue-dark);
  padding: 24px 16px;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* DIFERENCIAIS */

.section-gray {
  background: var(--gray-light);
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

.benefit {
  background: var(--white);
  padding: 28px;
  border-radius: 10px;
  border-left: 5px solid var(--turquoise);
}

.benefit h3 {
  color: var(--blue-dark);
  margin-bottom: 12px;
}

/* CONTATO */

.contact-section {
  background: var(--blue-dark);
  color: var(--white);
}

.contact-box {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-box h2 {
  color: var(--white);
}

.contact-box p {
  color: #e8e8e8;
}

.contact-info {
  background: var(--white);
  color: var(--text);
  padding: 32px;
  border-radius: 10px;
}

.contact-info p {
  color: var(--text);
  margin-bottom: 16px;
}

.contact-info .btn-primary {
  margin-top: 12px;
}

/* REDES */

.social-section {
  background: var(--white);
  text-align: center;
}

.social-content {
  max-width: 760px;
}

.social-content h2 {
  color: var(--blue-dark);
}

.social-content p {
  margin-bottom: 26px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social-links a {
  text-decoration: none;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 700;
}

.social-links a:hover {
  background: var(--blue-dark);
  color: var(--white);
}

/* FOOTER */

.footer {
  background: var(--blue-black);
  color: var(--white);
  padding: 26px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  font-size: 14px;
}

.footer a:hover {
  color: var(--turquoise);
}

/* ANIMACAO AO ROLAR */

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

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

.card.scroll-reveal.is-visible:hover {
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card.scroll-reveal.is-visible:hover {
    transform: none;
  }
}

/* WHATSAPP */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(7, 23, 43, 0.24);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float:hover {
  background: #1fbd5a;
  box-shadow: 0 16px 34px rgba(7, 23, 43, 0.3);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid rgba(46, 190, 198, 0.45);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* RESPONSIVO */

@media (max-width: 950px) {
  .nav {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-logo-area {
    justify-content: center;
  }

  .hero-logo {
    width: 220px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .two-columns,
  .cards,
  .benefits,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .companies {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer a {
    margin: 0 10px;
  }
}

@media (max-width: 550px) {
  .container {
    width: 90%;
  }

  .header {
    height: 88px;
  }

  .header-content {
    height: 88px;
    gap: 12px;
    padding-top: 0;
  }

  .brand {
    height: 88px;
    gap: 10px;
    min-width: 0;
  }

  .brand-icon {
    height: 58px;
    flex: 0 0 auto;
  }

  .brand-name {
    height: 48px;
    flex: 0 1 auto;
  }

  .hero {
    padding-top: 88px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-logo {
    width: 220px;
    margin: 0 auto;
  }

  .section {
    padding: 65px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .companies {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    text-align: center;
  }

  .footer {
    padding: 30px 0;
  }

  .footer-content p {
    max-width: 280px;
  }

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

  .whatsapp-float svg {
    width: 29px;
    height: 29px;
  }
}
