/* ===== NAVBAR ===== */
.logo-navbar {
  height: 50px;   /* ajuste o tamanho da logo */
  width: auto;
}

.navbar-brand span {
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #ffffff;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
  color: #f9f9f9;
}

.nav-link:hover {
  color: #00ff15 !important; /* dourado no hover */
}

.navbar {
  padding: 0.8rem 1rem;
  background-color: #3147c4
}

body {
  padding-top: 80px; /* altura da navbar */
}

/* Efeito ao passar o mouse no título */
.section-title:hover::after {
  width: 120px;
}
/* ===== NAVBAR FIM ===== */


/* ===== HERO SECTION ===== */
#hero.hero-half {
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
   background-color: #f8f9fa; 
}

/* imagem de fundo */
.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.55);
  transform: scale(1);
  animation: zoomHero 7s ease-out 1s forwards;
  inset: 0;
  background-color: rgb(255, 255, 255);
}

/* camada de segurança para garantir overlay consistente */
#hero.hero-half::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* container sobre a imagem */
#hero.hero-half .container {
  position: relative;
  z-index: 2;
}

/* efeitos de texto */
#hero.hero-half h1,
#hero.hero-half p {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
}

/* Botões */
.hero-buttons {
  gap: 15px;
}

.hero-btn {
  min-width: 230px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Animação de zoom cinematográfico */
@keyframes zoomHero {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

/* Responsividade */
@media (max-width: 576px) {
  .hero-btn {
    flex: 1 1 100%;
  }
}

/* ===== HERO FIM ===== */

/* ===== QUEM SOMOS ===== */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:wght@400;600&display=swap');

.certifications img {
  transition: all 0.4s ease-in-out;
}

#quem-somos .achievement-box p {
  white-space: nowrap;
  font-size: 0.80rem;
}

.certifications img:hover {
  filter: grayscale(0%);
  transform: scale(1.05); /* opcional: dá um leve zoom */
}

#quem-somos {
  padding: 60px 0;
}

#quem-somos .about-content h2 {
  font-weight: 700;
  margin-bottom: 20px;
}

#quem-somos .about-content .lead {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 15px;
}

/* Métricas */
.achievement-box {
  background: #f8f9fa;
  padding: 20px 15px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease-in-out;
}

.achievement-box h3 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #3147c4; /* azul institucional */
  margin-bottom: 5px;
}

.achievement-box p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.achievement-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Certificações */
.certifications h5 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #1e3a5f;
}

/* Imagem principal */
.about-image {
  position: relative;
}

.about-image .main-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image .image-overlay {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 50%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.about-image .experience-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #3147c4;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.about-image .experience-badge span {
  font-size: 1.8rem;
  font-weight: bold;
  display: block;
}

.about-image .experience-badge p {
  margin: 0;
  font-size: 0.9rem;
}

/* ===== QUEM SOMOS? FIM===== */


/* ===== SERVIÇOS ===== */
.services .service-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  height: 100%;
}

.services .service-card.featured {
  background: #02afff17;
}

.services .service-card {
 text-align: left;
}
.services .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.services .service-icon {
  font-size: 40px;
  color: #3147c4;
  margin-bottom: 20px;
}

.services h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 15px;
}

.services p {
  font-size: 0.95rem;
  color: #555;
}

.services .service-features {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 20px 0;
}

.services .service-features span {
  font-size: 0.9rem;
  color: #333;
  text-align: left;
}

.services .service-features i {
  color: #3147c4;
  margin-right: 6px;
}

.services .service-link {
  display: inline-block;
  margin-top: 10px;
  color: #3147c4;
  font-weight: 500;
  transition: 0.3s;
}

.services .service-link:hover {
  color: #223399;
  text-decoration: underline;
}

.services .featured {
  border: 2px solid #3147c4;
}

.services .service-badge {
  position: absolute;
  top: -12px;
  right: 15px;
  background: #e84b08;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 8px;
  font-weight: bold;
}

.services .service-image-block img {
  border-radius: 12px;
}

.services .service-list-block h3 {
  font-weight: bold;
  margin-bottom: 15px;
}

.services .service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.services .service-list-icon {
  font-size: 28px;
  color: #3147c4;
}

.services .service-list-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.services .service-list-content p {
  font-size: 0.9rem;
  color: #666;
}

.services .cta-container h3 {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 2rem;
}


.services .btn-primary {
  background: #31c469;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  transition: 0.3s;
  margin-bottom: -30px;
}

.services .btn-primary:hover {
  background: #223399;
}


/* ===== SERVIÇOS FIM ===== */


/* ===== PORTFÓLIO 3 fotos inicio ===== */
/* Cards do portfólio (3 colunas) */
.portfolio-card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Imagens com efeito hover */
.portfolio-img-wrapper {
  overflow: hidden;
}

.portfolio-img {
  width: 100%;
  height: 220px; /* altura fixa */
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.05);
}
/* ===== PORTFÓLIO 3 fotos fim ===== */

/* ===== PORTFÓLIO ===== */
.portfolio {
  padding:20px 0;
}

.section-header .section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.section-header .section-subtitle {
  color: #666;
  font-size: 1rem;
}

/* ==== Portfolio Item ==== */
.portfolio-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: stretch;

}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ==== Conteúdo (lado esquerdo) ==== */
.portfolio-content {
  flex: 1;
  padding: 50px;
  text-align: left; /* alinhamento do texto */
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.portfolio-category {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3147c4;
}

.portfolio-status {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 6px;
  color: #fff;
}

.portfolio-status.completed { background: #28a745; }
.portfolio-status.in-progress { background: #ffc107; color: #222; }
.portfolio-status.planning { background: #007bff; }

.portfolio-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.portfolio-desc {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: #555;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-weight: 600;
  color: #3147c4;
  text-decoration: none;
  transition: color 0.3s ease;
}

.portfolio-link:hover {
  color: #1a2e99;
}

/* ==== Imagem (lado direito) ==== */
.portfolio-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.portfolio-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-visual img {
  transform: scale(1.05);
}

/* ==== Badge ==== */
.portfolio-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #3147c4;
  color: #fff;
  font-size: 1.2rem;
  padding: 8px 10px;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* ==== Responsivo ==== */
@media (max-width: 768px) {
  .portfolio-item {
    flex-direction: column;
  }

  .portfolio-visual {
    order: -1; /* imagem vem primeiro no mobile */
    height: 200px;
  }
}

.portfolio .btn-primary {
  background: #31c469;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 8px;
  transition: 0.3s;
  margin-bottom: 30px;
}

.portfolio .cta-container h3 {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 2rem;
}
/* PORTIFOLIO FIM */

/* ===== DEPOIMENTOS ===== */
.testimonials {
  background: #f8f9fb;
  padding: 80px 0;
  margin-bottom: -50px;
}

.testimonial-slide {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.3s ease;
  text-align: center;
}

.testimonial-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  gap: 15px;
}

.stars-rating i {
  color: #ffc107;
  margin-right: 2px;
}

.quote-icon i {
  font-size: 2rem;
  color: #3147c4;
  opacity: 0.2;
}

.testimonial-body p {
  font-style: italic;
  color: #444;
  margin-bottom: 25px;
  line-height: 1.7;
  font-size: 1.05rem;
}

.author-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.author-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
  border: 3px solid #3147c4;
}

.author-details h4 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.author-details span {
  display: block;
  font-size: 0.9rem;
  color: #777;
}

.swiper-button-prev,
.swiper-button-next {
  color: #3147c4;
  transition: 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  color: #1f2d8f;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #3147c4;
}


/* ===== DEPOIMENTOS FIM===== */

/* ==== CONTATO ==== */
.contact {
  padding: 60px 0;
  background: #f8f9fa;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

/* Painel esquerda azul */
.contact-info-panel {
  flex: 1 1 40%;
  background: #3147c4;
  border-radius: 12px;
  padding: 25px;
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info-header h3,
.contact-info-header p {
  color: #fff;
}

.contact-info-cards {
  margin-top: 20px;
  display: grid;
  gap: 20px;
}

.info-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 15px;
  transition: transform 0.3s, background 0.3s;
}

.info-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.2);
}

.info-card .icon-container {
  font-size: 22px;
  color: #fff;
}

.info-card h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.info-card p {
  margin: 4px 0 0;
  font-size: 0.95rem;
  color: #fff;
}

.orcamento-text {
  color: #25d366;
  font-weight: 700;
}

/* Botão WhatsApp */
.whatsapp-button-panel {
  margin-top: 45px;
  text-align: center;
}

.btn-whatsapp {
  display: inline-block;
  background: #25d366;
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1ebe57;
}

/* Painel direita */
.contact-form-panel {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.col-md-4 a {
  text-decoration: none;
  color: inherit; /* mantém a cor do texto atual */
}
.map-container {
  width: 100%;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-container {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.btn-submit {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-submit:hover {
  background: #1ebe57;
}

/* Mensagens envio */
.loading,
.error-message,
.sent-message {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  margin-top: 10px;
}

.loading.active,
.error-message.active,
.sent-message.active {
  display: block;
  opacity: 1;
  font-weight: 500;
}

.loading { color: #555; }
.error-message { color: #ff4d4d; }
.sent-message { color: #25d366; }

.col-md-4 a {
  text-decoration: none;
  color: inherit; /* mantém a cor do texto atual */
}

/* ===== FIM FORMULÁRIO ===== */


/* ===== RODAPÉ ===== */
#footer {
  background-color: #3147c4;
}

#footer h5, 
#footer h6 {
  color: #ffffff;
}

#footer p, 
#footer .small {
  color: #cccccc;
}

#footer .footer-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
#footer .footer-link:hover {
  color: #ffd700;
}

#footer .social-links {
  margin-top: 10px;
}
#footer .social-icon {
  color: #ffffff;
  font-size: 1.2rem;
  margin-right: 12px;
  transition: color 0.3s ease;
}
#footer .social-icon:hover {
  color: #ffd700;
}

/* ===== MENU TÍTULO ===== */
h2 {
  background-image: linear-gradient(135deg, #072473, #1748cd, #072473, #1748cd);
  background-clip: text;                /* Firefox/Edge/Chromium */
  -webkit-background-clip: text;        /* Safari/Chrome */
  color: transparent;                   /* Padrão */
  -webkit-text-fill-color: transparent; /* Necessário pro Safari */
  display: inline-block;                /* Garante que o clip funcione */
  text-transform: uppercase;
}
/* ===== MENU TÍTULO FIM ===== */

.bg-loader{
width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  overflow: hidden;
  background: linear-gradient(225deg, #072473 0%, #1748cd 100%);
}

.no-scroll{
  overflow: hidden;
  max-height: 100vh;
}

.display-none{
  display: none;
}