:root {
  --blue: #005d99;
  --light-blue: #1ca3ec;
  --gray: #f5f5f5;
  --dark: #252525;
  --white: #fff;
}

/* Aplica Poppins em todo o site */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Opcional: títulos mais pesados */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}


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


#snow-effect {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  /* fica atrás do conteúdo */
  pointer-events: none;
  /* não atrapalha clique */
}

#snow-servicos {
  position: absolute;
  /* fica fora do fluxo normal */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  /* fica atrás do conteúdo */
  pointer-events: none;
  /* não atrapalha clique em links/botões */
}


/* ===== Header ===== */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  cursor: pointer;
}


.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--blue);
}

.logo span {
  color: var(--light-blue);
}

.main-nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: var(--dark);
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--blue);
}

.btn-cta {
  background: #2CD46B;
  color: var(--white);
  padding: .6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px; /* espaço entre o ícone e o texto */
}
.btn-cta i {
  font-size: 1.2rem;
  color: #fff !important; /* força o branco no ícone */
}


.btn-cta:hover {
  background: #19A7F5;
}



/* botão hamburguer só aparece no mobile */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--blue);
}

/* mobile */
@media screen and (max-width: 768px) {
  .main-nav {
    display: none;
    /* esconde o menu */
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 70px;
    /* altura do cabeçalho */
    left: 0;
    width: 100%;
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .main-nav a {
    margin: 0.8rem 0;
    text-align: center;
    display: block;
  }

  .menu-toggle {
    display: block;
  }

  /* quando ativo */
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }
}


/* ===== Hero ===== */
.hero {
  position: relative;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: url('assets/img/freepik__the-style-is-candid-image-photography-with-natural__25283.jpeg') no-repeat center center/cover;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-primary {
  background: linear-gradient(45deg, var(--blue), var(--light-blue));
  color: var(--white);
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.btn-primary:active {
  transform: scale(0.98);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}


/* ===== Sections ===== */
.section {
  padding: 4rem 2rem;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 2rem;
}

.bg-light {
  background: var(--gray);
}

/* Seção Clientes */
#clientes {
  background-color: #02629F;
  /* Fundo azul total */
  color: #f0f4ff;
  padding: 80px 20px;
  margin-top: 4rem;

  /* Garante que o fundo ocupa toda a tela */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

#clientes .container {
  max-width: 1200px;
  /* mantém o conteúdo centralizado */
  margin: 0 auto;
  text-align: center;
}

.section-titleCliente {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #e0ecff;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.clientes-img img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}




/* ===== Cards de soluções ===== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 90px;
}

.card {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card i {
  display: block;
  margin: 0 auto 15px;
  color: var(--light-blue);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--blue);
}

.card p {
  font-size: 14px;
  color: #555;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== Cases ===== */
/* ----- SWIPER GERAL ----- */
.swiper {
  width: 100%;
  padding-bottom: 60px;
  /* espaço extra para bolinhas */
  position: relative;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----- CARD DE CADA CASE ----- */
.case-detail {
  max-width: 80%;
  /* controla largura do card */
  width: 100%;
  margin: 0 auto;
  /* centraliza dentro do slide */
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-detail:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.case-detail h3 {
  color: var(--blue);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.case-detail h4 {
  color: var(--blue);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.case-detail p {
  font-size: 1rem;
  margin: 0.5rem 0;
  line-height: 1.6;
}

.case-detail ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.case-detail ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* ----- GRID GERAL (CASO USE EM OUTRAS ÁREAS) ----- */
.grid-cases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* ----- PAGINAÇÃO (BOLINHAS) ----- */
.swiper-pagination {
  position: relative;
  margin-top: 15px;
  text-align: center;
}

.swiper-pagination-bullet {
  background: #333;
  opacity: 0.6;
  transition: 0.3s;
}

.swiper-pagination-bullet-active {
  background: var(--blue);
  opacity: 1;
}

/* ----- SETAS DE NAVEGAÇÃO ----- */
.swiper-button-prev,
.swiper-button-next {
  color: var(--blue);
  transition: 0.3s;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #0056b3;
}

/* Ajusta as setas em telas pequenas */
@media (max-width: 768px) {

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
    /* se quiser esconder no mobile */
  }
}


/* Galeria de imagens */
.case-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.5rem;
  margin: 1rem 0 2rem 0;
}

.case-images img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-images img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}



/* Título da seção Quem Somos */
/* ===== Quem Somos ===== */
#about {
  padding: 120px 30px 100px;
  /* topo maior, inferior igual */
  background: #02629F;
  color: var(--white);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* duas colunas */
  gap: 2rem;
  align-items: start;
}

#about .section-title {
  text-align: left;
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-titleCliente {
  color: #f0f4ff;
  font-size: 2rem;
}


.about-text p {
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Imagem da equipe */
.about-img {
  margin-top: 20px;
  text-align: center;
}

.about-img img {
  max-width: 100%;
  border-radius: 500px;
}

/* Cards Missão, Visão e Valores */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 10px;
  margin-top: 40px;
}

.about-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about-item i {
  color: var(--light-blue);
  margin-bottom: 15px;
}

.about-item h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.about-item p,
.about-item ul {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
}

.about-item ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  text-align: left;
}

/* Responsividade */
@media screen and (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-text {
    text-align: center;
  }

  #about .section-title {
    text-align: center;
  }
}


/* Responsividade */
@media screen and (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    /* empilha em telas médias */
  }
}


/* Responsividade */
@media screen and (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}


/* Seção Serviços */
#servicos .card {
  position: relative;
  background: var(--white);
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
}

#servicos .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background-color: #1CA3EC;
}

/* Ícones */
#servicos .card .icon i {
  font-size: 2.5rem;
  color: var(--light-blue);
  margin-bottom: 15px;
  transition: color 0.3s;
}

/* Muda a cor do ícone ao passar o mouse sobre o card */
#servicos .card:hover .icon i {
  color: #f0f4ff;
}

/* Título */
#servicos .card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--blue);
  transition: color 0.3s;
}

#servicos .card:hover h3 {
  color: #f0f4ff;
}

/* Descrição */
#servicos .card p {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  margin-top: 0;
  transition: all 0.4s ease;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
}

#servicos .card:hover p {
  opacity: 1;
  max-height: 200px;
  margin-top: 10px;
  color: #f0f4ff;
}

/* MOBILE: sempre mostrar descrição */
@media (max-width: 768px) {
  #servicos .card p {
    opacity: 1;
    max-height: none;
    margin-top: 10px;
    color: var(--dark);
  }

  #servicos .card:hover p {
    color: #f0f4ff;
  }
}

/* se quiser, pode mudar a cor do texto quando card for hover tbm */
#servicos .card:hover p {
  color: #f0f4ff;
}





/* ===== Rodapé ===== */
.site-footer {
  background-color: #F5F5F5;
  /* Azul escuro principal */
  color: #fff;
  text-align: center;
  padding: 60px 20px 30px;

  /* Faz o fundo ocupar toda a largura da tela */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-contact h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #1e3a8a;
}

.footer-contact p {
  font-size: 1rem;
  margin: 0.3rem 0;
}

.footer-contact a {
  color: #a8c0ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact a:hover {
  color: #1e3a8a;
}

.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  font-size: 0.9rem;
  color: #1e3a8a;
}

.footer-bottom a {
  color: #1e3a8a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

.site-footer .developer {
  margin-top: 5px;
  font-size: 14px;
  color: #1e3a8a;
}

/* ===== FAQ ===== */
.faq-section {
  width: 100vw; /* ocupa 100% da viewport */
  margin-left: calc(50% - 50vw); /* remove margens automáticas do container */
  background: linear-gradient(180deg, #02629F 0%, #014774 100%);
  color: #fff;
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}


.faq-section h2 {
  text-align: center;
  color: #fff; /* deixa branco */
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 15px;
  text-align: center;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s, color 0.3s;
  text-align: center;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
  color: #e8e8e8;
}

.faq-answer p {
  margin: 10px 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 15px;
}

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
  background-color: #fff;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
}

.close {
  float: right;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* ===== Responsividade ===== */
@media screen and (max-width: 768px) {

  .grid-cards,
  .grid-cases {
    grid-template-columns: 1fr;
  }

  .case-images {
    grid-template-columns: 1fr;
  }

  .case-detail h2 {
    font-size: 2rem;
  }

  .case-detail h3 {
    font-size: 1.3rem;
  }
}

.site-footer {
  background: #F5F5F5;
  color: #1e3a8a;
  text-align: center;
  padding: 40px 20px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-contact h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
 color: #1e3a8a;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 1rem;
   color: #1e3a8a;
}

.footer-contact a {
 color: #1e3a8a;
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--light-blue);
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 0.9rem;
 color: #1e3a8a;
}

.footer-bottom .developer {
 color: #1e3a8a;
   font-size: 0.85rem;
}





/* Responsividade */
@media screen and (max-width: 768px) {
  .footer-container {
    gap: 15px;
  }

  .footer-contact h2 {
    font-size: 1.3rem;
  }
}

.developer a {
 color: #1e3a8a;
   text-decoration: none;
  /* remove o sublinhado */
  transition: color 0.3s;
}

.developer a:hover {
  color: var(--light-blue);
  /* muda a cor ao passar o mouse */
}

/* ===== Quem Somos com ícones ===== */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-item {
  background: var(--gray);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.about-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-item i {
  color: var(--light-blue);
  margin-bottom: 15px;
}

.about-item h3 {
  color: var(--blue);
  margin-bottom: 15px;
}

.about-item p,
.about-item ul {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.5;
}

.about-item ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Estado inicial dos cards (invisíveis) */
#servicos .card {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Quando entra na tela */
#servicos .card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animação base */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

/* Aparecendo um de cada vez */
.card:nth-child(1) {
  animation-delay: 0.2s;
}

.card:nth-child(2) {
  animation-delay: 0.4s;
}

.card:nth-child(3) {
  animation-delay: 0.6s;
}

.card:nth-child(4) {
  animation-delay: 0.8s;
}

.card:nth-child(5) {
  animation-delay: 1s;
}

.card:nth-child(6) {
  animation-delay: 1.4s;
}