/* DEFINIÇÕES GERAIS E NOVAS CORES */
:root {
  --cor-principal: #004c84; 
  --cor-secundaria: #002340; 
  --cor-fundo-claro: #ebebeb; 
  --cor-texto-claro: #ffffff;
  --cor-texto-escuro: #333333;
  --cor-whatsapp: #25d366;
}

html {
  scroll-behavior: smooth;
}

/* FONTE POPPINS APLICADA */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  background-color: var(--cor-fundo-claro);
  color: var(--cor-texto-escuro);
  padding-top: 110px; 
}

/* --- INÍCIO: AJUSTES HEADER --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  transition: background-color 0.4s ease-in-out, height 0.4s ease-in-out;
  height: 110px; 
  background-color: transparent;
  display: flex;
  align-items: center;
  padding: 0; 
}
header.scrolled {
  background-color: #000000cf;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 80px; 
}
.navbar {
  width: 100%; 
}
.navbar-logo {
  transition: max-height 0.4s ease-in-out;
  max-height: 110px;
  width: auto;
  height: auto;
}
header.scrolled .navbar-logo {
  max-height: 100px;
}
.navbar-nav {
  margin: 0 auto;
}
.navbar-nav .nav-link {
  color: var(--cor-texto-claro) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: color 0.3s;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #bbbbbb !important;
}
.header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--cor-texto-claro);
}
.header-contact .btn {
  border-radius: 5px;
  padding: 0.5rem 1.5rem;
}
/* --- FIM: AJUSTES HEADER --- */


/* BOTÕES COM NOVAS CORES */
.btn-primary {
  background-color: var(--cor-principal);
  border-color: var(--cor-principal);
  border-radius: 5px;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #003d6b;
  border-color: #003d6b;
  transform: translateY(-2px);
}
.btn-outline-primary {
  color: var(--cor-principal);
  border-color: var(--cor-principal);
}
.btn-outline-primary:hover {
  background-color: var(--cor-principal);
  color: var(--cor-texto-claro);
}
.btn-whatsapp-hero {
  background-color: var(--cor-whatsapp);
  border-color: var(--cor-whatsapp);
  color: #fff;
  border-radius: 5px;
  padding: 0.8rem 2.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-whatsapp-hero:hover {
  background-color: #1da851;
  border-color: #1da851;
  transform: translateY(-2px);
  color: #fff;
}

/* --- INÍCIO: AJUSTES HERO SECTION --- */
.hero {
  background: url("images/banner-01.webp") center center / cover no-repeat;
  color: white;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: -110px; /* Compensa o padding-top do body */
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 35, 64, 0.6) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 650px;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
}
.hero p {
  font-size: 1.1rem;
  margin: 1.5rem 0 2.5rem;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.9);
}
.hero-overlay-image {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 280px;
  height: 180px;
  border-radius: 10px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.hero-overlay-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* --- FIM: AJUSTES HERO SECTION --- */

/* TÍTULOS DE SEÇÃO COM NOVAS CORES */
.section-title {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--cor-principal);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-title {
  color: #888;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.section-header h2 {
  font-weight: 700;
  color: var(--cor-secundaria);
}

.section-number::before {
  content: attr(data-num);
  color: #888;
  font-weight: 700;
  font-size: 1.5rem;
  margin-right: 1rem;
  line-height: 1;
}

/* SEÇÕES ESCURAS COM NOVA COR (como na imagem) */
.dark-section {
  background-color: #1d1d1d;
  color: var(--cor-texto-claro);
  position: relative;
  overflow: hidden;
}

#about.dark-section::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

#about .section-header-about {
  align-items: center;
  margin-bottom: 1.5rem;
  display: flex;
}

#about .section-number::before {
  content: attr(data-num);
  font-size: 1.5rem;
  font-weight: normal;
  color: #fff;
  margin-right: 1rem;
}

#about .section-title-about {
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
}

#about p {
  color: #a0a0a0;
  line-height: 1.8;
}

#about .subtitle-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: color 0.3s;
}

#about .subtitle-link:hover {
  color: var(--cor-principal);
}

#about .subtitle-link i {
  font-size: 0.7rem;
  margin-left: 8px;
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
}

.about-image-wrapper::before {
  content: "";
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 100px;
  height: 100px;
  border-bottom: 4px solid var(--cor-texto-claro);
  border-left: 4px solid var(--cor-texto-claro);
  border-radius: 0.3rem;
}

/* --- INÍCIO: SEÇÃO POR QUE ESCOLHER (ESTILO ATUALIZADO) --- */
#business {
  background-color: #f0f2f5;
}
.feature-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 3px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.feature-item .icon {
  font-size: 2rem;
  color: var(--cor-principal);
  margin-bottom: 1rem;
}
.feature-item h5 {
  font-weight: 600;
  color: var(--cor-secundaria);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.feature-item p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}
/* --- FIM: SEÇÃO POR QUE ESCOLHER --- */

.director-card {
  background-color: var(--cor-principal);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}
.director-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  margin-bottom: 1rem;
}
.director-card h5 {
  font-weight: 700;
}
.director-card .role {
  font-weight: 600;
  color: #ddd;
  margin-bottom: 1rem;
}

/* --- INÍCIO: ESTILOS PARA NOVA SEÇÃO DE PRODUTOS (ATUALIZADO) --- */
#products {
  background: linear-gradient(
    to bottom,
    #f8f9fa 60%,
    var(--cor-principal) 40%
  );
  position: relative;
  z-index: 1;
}
.product-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid #e9ecef;
}
.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.product-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cor-secundaria);
  margin-bottom: 0.75rem;
}
.product-card-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}
.product-card .btn-primary {
  background-color: var(--cor-principal);
  border-color: var(--cor-principal);
  padding: 0.75rem 1.5rem;
  margin-top: auto;
  border-radius: 8px;
  font-weight: 500;
  width: 100%;
}
#productCarousel .carousel-inner {
  padding-bottom: 2rem;
}
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
  width: 5%;
  opacity: 0.8;
}
#productCarousel .carousel-control-prev-icon,
#productCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 1.5rem;
  background-size: 50% 50%;
}
/* --- FIM: ESTILOS PARA NOVA SEÇÃO DE PRODUTOS --- */

/* --- INÍCIO: ESTILOS ADICIONADOS PARA A SEÇÃO DE SEGMENTOS --- */
#segments {
  background-color: #ffffff;
}
.segments-content h2 {
  font-weight: 700;
  color: var(--cor-secundaria);
  margin-bottom: 2rem;
}
.segment-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.segment-item .icon {
  font-size: 1.5rem;
  color: var(--cor-principal);
  width: 40px;
  height: 40px;
  background-color: var(--cor-fundo-claro);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.segment-item p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}
.segments-image {
  border-radius: 15px;
  object-fit: cover;
  height: 100%;
  min-height: 450px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
/* --- FIM: ESTILOS ADICIONADOS PARA A SEÇÃO DE SEGMENTOS --- */

#contact {
  background: url("https://images.unsplash.com/photo-1603393761517-4b8f5d2d3688?auto=format&fit=crop&w=1500&q=80")
    center center / cover no-repeat;
  position: relative;
  color: white;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(7, 65, 112);
  z-index: 1;
}
.contact-wrapper {
  position: relative;
  z-index: 2;
}
.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  height: 100%;
}
.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}
.contact-info-item i {
  font-size: 1.5rem;
  color: #fff;
  margin-right: 1rem;
  width: 40px;
  text-align: center;
}
.form-control,
.btn {
  border-radius: 8px;
}

.map-container {
  width: 100%;
  height: 350px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- INÍCIO: ESTILOS DO RODAPÉ ATUALIZADO --- */
footer {
  background-color: #181818;
  color: #a0a0a0;
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}
.footer-top {
  padding-bottom: 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #333;
}
.footer-col {
  padding: 0 15px;
}
@media (min-width: 992px) {
  .footer-col:not(:last-child) {
    border-right: 1px dotted rgba(255, 255, 255, 0.25);
  }
}
footer h5 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.footer-about p {
  color: #a0a0a0;
}
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links ul li {
  margin-bottom: 0.8rem;
}
.footer-links ul a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.3s, padding-left 0.3s;
  display: flex;
  align-items: center;
}
.footer-links ul a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-links ul a i {
  font-size: 0.7rem;
  margin-right: 8px;
  color: var(--cor-principal);
}
.footer-contact p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.footer-contact i {
  width: 20px;
  margin-right: 10px;
  color: var(--cor-principal);
}
.footer-bottom {
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #888;
  text-align: center;
}
/* --- FIM: ESTILOS DO RODAPÉ --- */

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: var(--cor-whatsapp);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* --- INÍCIO: AJUSTES RESPONSIVOS --- */
@media (max-width: 991.98px) {
  body {
    padding-top: 80px;
  }
  header, header.scrolled {
    height: 80px; /* Altura fixa para mobile */
    background-color: #000000e0;
  }
  .navbar-logo, header.scrolled .navbar-logo {
    max-height: 55px; 
  }
  .navbar-nav {
    background-color: var(--cor-secundaria);
    text-align: center;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  .header-contact {
    display: none;
  }
  .hero {
    margin-top: -80px;
  }
  #about .about-content-right {
    margin-top: 2rem;
  }
  .segments-image {
    margin-bottom: 2rem;
  }
  .footer-col {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    padding: 0 15px;
  }
  .hero h1 {
    font-size: 2.5rem; 
  }
  .hero p {
    font-size: 1rem;
  }
  .hero .d-flex {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center;
  }
  #about.dark-section::before {
    display: none; 
  }
  .hero-overlay-image {
    display: none; 
  }
  .product-card {
    margin-bottom: 2rem;
  }
}
/* --- FIM: AJUSTES RESPONSIVOS --- */
