:root {
  --dark-blue: #0a2540;
  --cyan: #18c3c8;
  --light-bg: #f4f6f8;
  --text-dark: #1e1e1e;
  --white: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 90px;
}

body {
  background: var(--white);
  color: var(--text-dark);
}
.light-bg {
  background: var(--light-bg);
}
.normal-bg{
  background: var(--white);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.header {
  background: var(--dark-blue);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 200px;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--white);
  margin-left: 20px;
  text-decoration: none;
  font-size: 14px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.btn-outline {
  border: 1px solid var(--cyan);
  padding: 8px 14px;
  border-radius: 6px;
}

/* MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* HERO */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;

  background:
    linear-gradient(
      90deg,
      rgba(10, 37, 64, 0.85),
      rgba(10, 37, 64, 0.15)
    ),
    url("../img/new-hero.webp");

  background-size: 120% auto; /* aumenta largura */
  background-position: 85% center; /* puxa mais pra esquerda */
  background-repeat: no-repeat;

  color: var(--white);
}


.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-text {
  max-width: 560px;
}

.hero-text h1 {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text span {
  color: var(--cyan);
}

.hero-text p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-image img {
  max-width: 680px;
  width: 100%;
}

/* BOTÕES */
.btn-primary,
.btn-secondary {
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--cyan);
  color: var(--dark-blue);
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(24,195,200,0.35);
  cursor: pointer;
}

.btn-secondary {
  border: 1px solid var(--white);
  color: var(--white);
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* SERVICES */
.services {
  background: var(--light-bg);
  padding: 80px 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 30px;
}

/* CARD SERVIÇOS */
.card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow:
    0 10px 30px rgba(10, 37, 64, 0.08),
    0 0 0 rgba(24, 195, 200, 0);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeUp 0.6s ease forwards;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

@keyframes cardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ÍCONE */
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: rgba(24, 195, 200, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon img {
  width: 32px;
  height: 32px;
}

/* HOVER */
.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 45px rgba(10, 37, 64, 0.18),
    0 0 25px rgba(24, 195, 200, 0.35);
}

.card:hover .card-icon {
  background: var(--cyan);
}

.card:hover .card-icon img {
  filter: brightness(0) invert(1);
}

/* TEXTO */
.card h3 {
  margin-bottom: 12px;
}

/* SHOWCASE PORTFOLIO */
.showcase {
  padding: 110px 0;
}

.showcase h2 {
  text-align: center;
  margin-bottom: 70px;
}

.showcase-slider {
  position: relative;
  overflow: hidden;
  border-radius: 25px;
}

/* SLIDE */
.showcase-slide {
  display: none;
  background: linear-gradient(135deg, var(--dark-blue), var(--cyan));
  border-radius: 28px;
  padding: 60px;
  min-height: 420px;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.showcase-slide.active {
  display: flex;
  animation: showcaseFade 0.6s ease;
}

@keyframes showcaseFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TEXTO */
.showcase-text {
  color: #fff;
  max-width: 420px;
}

.showcase-text .stars {
  color: #ffd166;
  font-size: 18px;
  margin-bottom: 15px;
}

.showcase-text h3 {
  font-size: 32px;
  margin-bottom: 8px;
}

.showcase-text span {
  display: block;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* IMAGEM */
.showcase-media img {
  width: 100%;
  max-width: 620px;
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}

/* BOTÕES */
.showcase-btn {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-btn.next {
  left: 90px;
}

.showcase-btn:hover {
  background: #fff;
  color: var(--dark-blue);
}

/* DOTS */
.showcase-dots {
  position: absolute;
  bottom: 30px;
  right: 30px;
  display: flex;
  gap: 10px;
}

.showcase-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-dots .dot.active {
  width: 26px;
  border-radius: 20px;
  background: #fff;
}

/* TESTIMONIALS */
.testimonials {
  background: radial-gradient(circle at top left, #123b66, var(--dark-blue));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

/* CTA */
.cta {
  padding: 70px 0;
  text-align: center;
}

.cta .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* CTA BLOG */
.cta-blog {
  background: var(--light-bg);
  padding: 70px 0;
  text-align: center;
}
.cta-blog .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* FOOTER */
.footer {
  background: var(--dark-blue);
  color: var(--white);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
}

/* BRAND */
.footer-brand img {
  width: 180px;
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.6;
}

/* TITLES */
.footer h4 {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--cyan);
}

/* LINKS */
.footer-links ul,
.footer-contact ul {
  list-style: none;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* BADGE SITE SEGURO */
.secure-badge {
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  border-left: 4px solid var(--cyan);
  padding: 12px 14px;
  border-radius: 8px;
  display: inline-block;
}

.secure-badge span {
  font-weight: 600;
  color: var(--cyan);
  display: block;
  margin-bottom: 4px;
}

.secure-badge small {
  font-size: 12px;
  opacity: 0.85;
}

/* FOOTER LEGAL */
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-legal a {
  color: var(--white);
  font-size: 13px;
  opacity: 0.85;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--cyan);
}

.footer-legal span {
  margin: 0 6px;
  opacity: 0.6;
}

/* SOCIAL */
.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.social-icons a:hover {
  background: var(--cyan);
  transform: translateY(-4px);
}

/* BOTTOM */
.footer-bottom {
  margin-top: 60px;
  padding: 20px 0;
  background: #081c30;
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .hero{
    background-color: #081c30;
    background-image: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}


/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.45);
}

/* BLOG */
.blog {
  padding: 80px 0;
}

.blog h2 {
  text-align: center;
  margin-bottom: 50px;
}

/* GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.blog-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 10px 30px rgba(10, 37, 64, 0.08),
    0 0 0 rgba(24, 195, 200, 0);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

/* IMAGEM */
.blog-image {
  height: 190px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* CONTEÚDO */
.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-date {
  font-size: 13px;
  color: #6b7280;
}

/* TÍTULO */
.blog-content h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--dark-blue);
}

/* LINK */
.blog-link {
  margin-top: auto;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* HOVER */
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 45px rgba(10, 37, 64, 0.18),
    0 0 25px rgba(24, 195, 200, 0.35);
}

.blog-card:hover .blog-image img {
  transform: scale(1.08);
}

.blog-link:hover {
  transform: translateX(6px);
}

/* POST HERO */
.post-hero {
  background: linear-gradient(135deg, #0a2540, #123b66);
  color: #fff;
  padding: 100px 0 60px;
}

.post-hero h1 {
  max-width: 800px;
  font-size: 38px;
  line-height: 1.3;
}

.post-meta {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0.9;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* POST CONTENT */
.post-content {
  max-width: 800px;
  padding: 60px 0;
}

.post-content p {
  margin-bottom: 20px;
  line-height: 1.7;
}

.post-content h2 {
  margin: 40px 0 15px;
  color: var(--dark-blue);
}

.post-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.post-content li {
  margin-bottom: 8px;
}

/* IMAGEM */
.post-image {
  width: 100%;
  border-radius: 12px;
  margin: 40px 0;
}

/* CLIENTES */
.clients {
  padding: 70px 0;
  background: var(--white);
}

.clients h2 {
  text-align: center;
  margin-bottom: 40px;
}

/* MARQUEE */
.clients-marquee {
  overflow: hidden;
  position: relative;
}

/* FADE NAS BORDAS (premium) */
.clients-marquee::before,
.clients-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.clients-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

/* TRACK */
.clients-track {
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: marquee 30s linear infinite;
}

/* PAUSA */
.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

/* LOGO */
.client-logo {
  width: 160px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.4s ease, transform 0.4s ease;
}

/* HOVER */
.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

/* ANIMAÇÃO */
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
  .btn-secondary{
    margin-top: 20px;
  }
/* CONTATO */
.contact {
  background: var(--white);
  padding: 90px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* TEXTO */
.contact-info h2 {
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
  opacity: 0.9;
}

.contact-list {
  list-style: none;
}

.contact-list li {
  margin-bottom: 12px;
}

/* FORM */
.contact-form {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(10, 37, 64, 0.08);
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
}


/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  position: relative;
  animation: modalScale 0.3s ease;
}

@keyframes modalScale {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal h3 {
  margin-bottom: 15px;
  color: var(--dark-blue);
}

.modal p {
  font-size: 15px;
  opacity: 0.9;
}

/* BOTÃO FECHAR */
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--dark-blue);
}


/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-image {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--dark-blue);
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    height: calc(100vh - 70px);
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .slider-btn {
    display: none;
  }

  .showcase-slide {
    flex-direction: column;
    padding: 40px 30px;
    text-align: center;
  }

  .showcase-btn {
    display: none;
  }

  .showcase-dots {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }
  .whatsapp-float {
    bottom: 18px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float img {
    width: 26px;
    height: 26px;
  }

  .post-hero h1 {
    font-size: 30px;
  }

  .post-content {
    padding: 40px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}