@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --custom-primary: #060e20;
  --custom-primary-2: #b06807;
  --off-white: #f8f8ff;
  --light-gray: #f9f9f9;
  --font-family: 'Poppins', var(--bs-font-sans-serif);
  --light-blue: #0479bc; 
}

.btn-custom-primary {
  background-color: var(--custom-primary-2);
  border-color: var(--custom-primary-2);
  color: #fff;
}

.btn-custom-primary:hover,
.btn-custom-primary:focus,
.btn-custom-primary:active {
  background-color: var(--custom-primary-2) !important;
  border-color: var(--custom-primary-2) !important;
  color: #fff !important;
  filter: brightness(0.9) !important;
}

body {
  font-family: var(--font-family);
}

h2 {
  color: var(--custom-primary);
}

section {
  padding: 80px 0;
}

section:nth-of-type(even) {
  background-color: var(--light-gray);
}

.logo {
  width: 400px;
}

.navbar {
  background-color: var(--custom-primary);
  padding: 20px;
}

.nav-link {
  color: #fff !important;
  font-weight: 500;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.hero-section {
  background-image: url('../images/banner-vecci-tecidos-principal.jpg');
  background-size: cover;
  background-position: center;
}

.hero-section h1 {
  font-size: 1.8rem; 
  line-height: 1.3; 
}

.formulario textarea {
    height: 150px !important; /* aumente o valor como quiser */
    min-height: 150px !important;
    resize: vertical; /* permite o usuário aumentar, opcional */
}


.home {
  padding: 110px 0px;
}

.bt a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  background-color: #0e539e;
  padding: 16px 42px;
}

.beneficios .box img {
  width: 120px;
  margin-bottom: 20px;
}

.beneficios .box h3 {
  color: var(--custom-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.beneficios .box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.beneficios .bt {
  display: grid;
  place-items: center;
}

.beneficios .bt a {
  background-color: var(--light-blue);
}

.produtos .title h2 {
  font-size: 40px;
}

.produtos .box img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.produtos .box h3 {
  color: var(--custom-primary);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.produtos .box p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.produtos .bt {
  display: grid;
  place-items: center;
}


.testimonials {
  background-color: #fff;
}

.testimonial-swiper {
  padding: 40px 20px;
}

.testimonial-card {
  background-color: var(--light-gray);
  border-radius: 16px;
  padding: 40px 35px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.quote-icon {
  font-size: 48px;
  color: rgba(6, 14, 32, 0.1);
  margin-left: auto;
}

.testimonial-text {
  color: var(--custom-primary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  font-weight: 400;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-photo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--custom-primary);
}

.author-info h4 {
  color: var(--custom-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.author-info p {
  color: #555;
  font-size: 14px;
  margin-bottom: 0;
}

.testimonial-swiper .swiper-button-prev,
.testimonial-swiper .swiper-button-next {
  color: var(--custom-primary);
  width: 40px;
  height: 40px;
}

.testimonial-swiper .swiper-button-prev:after,
.testimonial-swiper .swiper-button-next:after {
  font-size: 24px;
}

.testimonial-swiper .swiper-button-prev:hover,
.testimonial-swiper .swiper-button-next:hover {
  color: var(--custom-primary-2);
}

.testimonial-swiper .swiper-pagination-bullet {
  background-color: var(--custom-primary);
  opacity: 0.3;
  width: 12px;
  height: 12px;
}

.testimonial-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--custom-primary-2);
}

.about .content strong {
  color: var(--custom-primary);
}

.img-about {
  display: grid;
  place-items: center;
}

footer {
  background-color: white !important;
}

footer .footer-logo {
  display: flex;
  align-items: center;
}

footer h5 {
  color: var(--custom-primary-2);
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--custom-primary-2) !important;
}

footer .fab {
  transition: all 0.3s ease;
}

footer .fab:hover {
  color: var(--custom-primary-2) !important;
  transform: translateY(-2px);
}

.float {
  position: fixed;
  width: 70px;
  height: 70px;
  bottom: 40px;
  right: 40px;
  z-index: 100;
  transition: 0.5s;
}

.float:hover {
  transform: scale(1.1);
}

.float img {
  max-width: 110%;
}

.google-logo {
  width: 100px;         
  height: auto;        
  display: block;      
  margin: 0 auto 10px; 
}


/* responsividade para dispositivos móveis (notebook, tablets e celulares) */

@media (max-width: 1200px) {
  .home {
    padding: 90px 0px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .produtos .title h2 {
    font-size: 36px;
  }
  
  section {
    padding: 70px 0;
  }
}

@media (max-width: 992px) {
  .home {
    padding: 80px 0px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
  }
  
  .produtos .title h2 {
    font-size: 32px;
  }
  
  .beneficios .row {
    flex-wrap: wrap;
  }
  
  .beneficios .col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
  
  .produtos .col {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 30px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .about .row {
    text-align: center;
  }
  
  .about .col-xl-6:first-child {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .home {
    padding: 60px 0px;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .produtos .title h2 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .beneficios .col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 25px;
  }
  
  .produtos .col {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 25px;
  }
  
  .beneficios .box img {
    width: 120px;
    margin-bottom: 15px;
  }
  
  .beneficios .box h3 {
    font-size: 18px;
  }
  
  .produtos .box h3 {
    font-size: 22px;
  }
  
  section {
    padding: 50px 0;
  }
  
  .logo {
    width: 160px;
  }
  
  .bt a {
    font-size: 16px;
    padding: 14px 32px;
  }
  
  .img-about {
    margin-top: 32px;
  }
  
  .testimonial-card {
    padding: 30px 25px;
    min-height: 280px;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
  
  .quote-icon {
    font-size: 36px;
  }
}

@media (max-width: 576px) {
  .home {
    padding: 50px 0px;
  }
  
  .hero-section h1 {
    font-size: 1.6rem;
  }
  
  .hero-section p {
    font-size: 14px;
  }
  
  .produtos .title h2 {
    font-size: 24px;
  }
  
  .beneficios .box h3 {
    font-size: 16px;
  }
  
  .produtos .box h3 {
    font-size: 20px;
  }
  
  .about h2 {
    font-size: 1.5rem;
  }
  
  section {
    padding: 40px 0;
  }
  
  .logo {
    width: 200px;
  }
  
  .bt a {
    font-size: 14px;
    padding: 12px 28px;
  }
  
  .beneficios .box img {
    width: 100px;
  }
  
  .img-about {
    margin-top: 32px;
  }
  
  .testimonial-card {
    padding: 25px 20px;
    min-height: 260px;
  }
  
  .testimonial-text {
    font-size: 15px;
    margin-bottom: 25px;
  }
  
  .quote-icon {
    font-size: 32px;
  }
  
  .author-photo {
    width: 50px;
    height: 50px;
  }
  
  .author-info h4 {
    font-size: 14px;
  }
  
  .author-info p {
    font-size: 12px;
  }
  
  .testimonial-swiper .swiper-button-prev,
  .testimonial-swiper .swiper-button-next {
    width: 35px;
    height: 35px;
  }
  
  .testimonial-swiper .swiper-button-prev:after,
  .testimonial-swiper .swiper-button-next:after {
    font-size: 20px;
  }
}


@media (max-width: 576px) {
  .navbar-brand {
    margin-left: auto;
    margin-right: auto;
    display: block;
    text-align: center;
  }

  .navbar .logo {
    width: 200px; 
  }
}

* {
  max-width: 100%;
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden !important;
}


.hero-section h1 {
  font-size: clamp(1.3rem, 2.4vw, 1.55rem); 
  line-height: 1.28; 
  max-width: 620px; 
}

@media (max-width: 768px) {

    
    .navbar-nav {
        display: flex;
        flex-direction: column;
        align-items: center !important;
        text-align: center !important;
    }

    .navbar-nav .nav-item,
    .navbar-nav .nav-link {
        width: 100%;
        text-align: center !important;
    }

    #navbarSupportedContent {
        width: 100%;
        justify-content: center !important;
        text-align: center !important;
    }

    
    .img_logo_header img {
        margin: 0 auto !important;
        display: block;
    }

    
    footer,
    footer * {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

}

@media (max-width: 768px) {

    
    .hero-section .row {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero-section h1,
    .hero-section p {
        text-align: center !important;
    }

   
    .hero-section .col-lg-6 {
        text-align: center !important;
        margin-bottom: 20px;
    }

    
    .hero-section .formulario {
        margin: 0 auto !important;
        width: 100%;
        display: flex;
        justify-content: center !important;
    }

    
    .hero-section .formulario form {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    
    .col-lg-3.col-md-6.mb-4 h5 {
        text-align: center !important;
        width: 100%;
    }

   
    .footer-redes {
        width: 100%;
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }

    .footer-redes a {
        margin: 0 !important;
    }
}

@media (max-width: 768px) {

    
    #sobre .row {
        display: flex;
        flex-direction: column-reverse !important;
    }

    
    #sobre .content {
        text-align: center !important;
    }

    #sobre .img-about {
        text-align: center !important;
        margin-bottom: 20px;
    }
}

/* ====== FIX DEFINITIVO: centralizar SOMENTE imagens da section.produtos no MOBILE ====== */
@media (max-width: 768px) {
  /* Escopo muito específico para bater em qualquer regra do tema/Bootstrap */
  html body .produtos,
  html body .produtos .container,
  html body .produtos .row,
  html body .produtos .col-lg-4,
  html body .produtos .col-md-6,
  html body .produtos .box {
    box-sizing: border-box !important;
  }

  /* Garante que o row se comporte como coluna empilhada e centrar items */
  html body .produtos .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;      /* centraliza cada coluna */
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Cada coluna vira um item centralizado */
  html body .produtos .col-lg-4,
  html body .produtos .col-md-6 {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Card (.box) centralizado — não altera imagem por si só */
  html body .produtos .box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  /* A REGRA-CRÍTICA: força a imagem a manter seu TAMANHO NATURAL e ficar CENTRALIZADA.
     - width:auto mantém a largura original do arquivo (não reduz)
     - max-width:100% evita overflow total, mas o comportamento principal é width:auto
     - display:inline-block + margin:auto garante centralização absoluta
  */
  html body .produtos .box img,
  html body .produtos .box img.img-fluid {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;

    /* Mantém largura natural do arquivo — NÃO reduz automaticamente.
       Se a imagem for maior que a viewport, ela ficará maior (você pode
       comentar as duas linhas abaixo se preferir o comportamento oposto). */
    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  /* Garante que qualquer texto/child dentro do box esteja centralizado */
  html body .produtos .box,
  html body .produtos .box * {
    text-align: center !important;
  }
}

/* ===== FIX NUCLEAR: centralizar imagem da section #sobre (SOMENTE MOBILE) ===== */
@media (max-width: 768px) {

  /* Escopo bem específico para sobre */
  html body #sobre,
  html body #sobre .container,
  html body #sobre .row,
  html body #sobre .col-lg-6,
  html body #sobre .img-about,
  html body #sobre .img-about * {
    box-sizing: border-box !important;
  }

  /* Faz o row empilhar e centralizar os itens */
  html body #sobre .row {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Centraliza a coluna da imagem exatamente como fez em .produtos */
  html body #sobre .col-lg-6:last-child,
  html body #sobre .col-lg-6:nth-child(2) {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Wrapper da imagem centralizado */
  html body #sobre .img-about {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
  }

  /* REGRA CRÍTICA: força a imagem a manter seu tamanho natural e ficar exatamente CENTRADA */
  html body #sobre .img-about img,
  html body #sobre .img-about img.img-fluid {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;

    /* Mantém largura natural do arquivo (não reduz), mas evita overflow total */
    width: auto !important;
    max-width: 100% !important;

    height: auto !important;
    vertical-align: middle !important;
    transform: none !important;
  }

  /* Garante texto centralizado e consistência com filhos */
  html body #sobre .content,
  html body #sobre .content * {
    text-align: center !important;
  }
}

/* === FORÇA: imagem primeiro + tudo centralizado (mobile) - Cole no FINAL do CSS === */
@media (max-width: 768px) {
  html body #sobre .row {
    display: flex !important;
    flex-direction: column !important; /* garante empilhamento vertical */
    gap: 16px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* força a coluna que contém a imagem (segunda coluna no HTML) a aparecer PRIMEIRO */
  html body #sobre .row > .col-lg-6:nth-child(2),
  html body #sobre .row > .col-lg-6:last-child {
    order: -1 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
  }

  /* garante que a coluna do texto fique depois */
  html body #sobre .row > .col-lg-6:nth-child(1) {
    order: 0 !important;
    width: 100% !important;
  }

  /* mantém a imagem centralizada e do mesmo tamanho */
  html body #sobre .img-about {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 12px !important;
  }

  html body #sobre .img-about img,
  html body #sobre .img-about img.img-fluid {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
  }

  /* texto centralizado */
  html body #sobre .content,
  html body #sobre .content * {
    text-align: center !important;
  }
}

.stats {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;

  padding: 20px 0;
  margin: 30px 0;

  box-sizing: border-box;
}

.stat {
  flex: 1;
  min-width: 0; /* garante que não estoure a tela */
}

.stat h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.stat p {
  font-size: 1.6rem;
  font-weight: bold;
  color: #013c63;
}

/* MOBILE — força centralização REAL */
@media (max-width: 600px) {
  .stats {
    padding: 10px;
    gap: 10px;
  }

  .stat p {
    font-size: 1.4rem;
  }

  .stat h3 {
    font-size: 0.8rem;
  }
}

@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.0rem !important;
    line-height: 1.25 !important;
  }
}

