/* TELAS GRANDES */
@media (min-width: 2550px) {
  .orcamentotexto {
    width: 30rem;
    max-width: 3000px;
    box-sizing: border-box;
    border: none;
    border-left: 5px solid #a47e43;
    padding: 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    animation: slideInFromRight 1s ease-out forwards;
  }

    .footer-container {
      max-width: 1650px;
      margin: auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 4rem;
  }
  
}

html {
  font-size: 16px;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  #navegacao {
    display: none;
  }
}

@media (min-width: 901px) {
  #navegacaoMobile {
    display: none;
  }
}


/* ============================================= */
/* REGRAS PARA RESPONSIVIDADE           */
/* ============================================= */


.btn-vejaProdutos {
  padding: 1.2rem 1rem;
  font-size: 1.1rem;
}

/* Header*/
#navBranca {
  padding: 0.8rem 2rem;
}

@media (max-width: 900px) {
  #LogoTexport {
    padding-left: 3.4rem;
  }
}




@media (max-width: 900px) {

  #Container-inicialHome {
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    height: auto;
    padding: 1.8rem 0rem;
    background-attachment: scroll;
  }

  #Container-inicialHome::before {
    backdrop-filter: blur(1px) brightness(60%);
  }

  .fundo-slide {
    background-attachment: scroll; 
  }

  .textoChamtivo {
    width: 90%;
    max-width: 500px;
    text-align: center;
  }

  .textoH1 h1 {
    font-size: 3.5em;
  }

  .textoH1 p {
    font-size: 1.5em;
  }

  .textoH5 {
    text-align: center;
  }

  .Form {
    width: 80%;
    max-width: 350px;
    margin: 0;
    padding: 0.8rem 1.1rem;
  }

  .Form h2 {
    font-size: 1.5rem;
  }


  .Form p {
    font-size: 0.7rem;
    text-align: center;
    color: #555;
    margin-bottom: 15px;
  }

  /*Btn Orcamento*/

  .btn-orcamento-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.3rem 0.3rem;
    background-color: #a47e43;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }

  .btn-orcamento-link img {
    height: 1.3rem;
    width: auto;
  }

  #LogoTexport {
    width: 10.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
  }

}
@media (max-width: 500px) {
  #Container-inicialHome {
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    height: auto;
    padding: 1rem 0rem;
    background-attachment: scroll;
  }

  .textoChamtivo {
    width: 90%;
    max-width: 500px;
    text-align: center;
  }

  .textoH1 h1 {
    font-size: 3.5em;
    line-height: 1.3;
  }

  .textoH1 p {
    font-size: 1.5em;
  }

  .textoH5 {
    text-align: center;
  }

  .Form {
    width: 80%;
    max-width: 270px;
    margin: 0;
    padding: 0.7rem 1rem;
  }

  .Form h2 {
    font-size: 1.6rem;
  }


  .Form p {
    font-size: 0.7rem;
    text-align: center;
    color: #555;
    margin-bottom: 3px;
  }

  .btn-vejaProdutos {
    margin-bottom: 0;
  }
}


/* ORCAMENTO */
@media (max-width: 768px) {
  #orcamento-chamada h1 {
    font-size: 2.2rem;
  }

  .sobreEmpresa {
    font-size: 1rem;
  }
}

/* --- Responsividade para os Efeitos --- */
@media (max-width: 768px) {
  .orcamento-textoForm h2 {
    font-size: 2.5rem;
  }

  .orcamento-textoForm h2::before {
    left: -1.5rem;
    /* Ajusta a posição da barra */
  }

  .orcamento-textoForm p {
    font-size: 1rem;
  }
}


/* Produtos GRID*/
@media (max-width: 1200px) {
  .grid-produtos {
    width: 90%;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 50px;
    row-gap: 70px;
    max-width: 960px;
  }

}

@media (max-width: 768px) {
  #textoProduto {
    font-size: 1.6rem;
    padding: 4.5rem 2rem;
    text-align: center;
  }

  .fundo-dourado h1{
    font-size: 3rem;
  }

  #Produtos {
    padding: 3rem 1rem 6rem 1rem;
  }

  .grid-produtos {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 50px;
  }

  .produtos-cta-container {
    margin-top: 4rem;
  }

  .btn-produtos-orcamento {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .grid-produtos {
    column-gap: 15px;
    row-gap: 35px;
  }

  .card-produto:hover {
    transform: translateY(-8px) scale(1.03);
  }

  .fundo-dourado {
    width: 22rem;
  }

  .fundo-dourado h1{
    font-size: 2.3rem;
  }
 
}

/* ===========================================*/

/* dialog */

/* === NOTEBOOKS E TELAS MENORES (<= 1200px) === */
/* 2 Itens por página, bem grandes */
@media (max-width: 1200px) {
  .carrossel-item {
    width: calc(50% - 10px); /* Largura para 2 itens com 20px de gap */
  }
}

/* === TABLETS E CELULARES (<= 900px) === */
/* 1 Item por página, ocupando quase toda a tela */
@media (max-width: 900px) {
  .carrossel-wrapper {
    /* Centraliza o único card, ocupando 90% da largura do modal */
    width: 90%; 
  }
  .carrossel-item {
    /* O card ocupa 100% do wrapper, que já tem 90% da tela */
    width: 100%; 
  }

  .item-marca {
    font-size: 1.2rem;
  }
  
  .item-modelo {
    font-size: 1.1rem;
  }
  
  .item-nome {
    font-size: 1.3rem;
  }
  
  .item-codigo {
    font-size: 1.1rem;
  }
}

/* === AJUSTES FINOS PARA TELAS MENORES === */

@media (max-width: 768px) {
  .carrossel-wrapper {
    /* Em telas um pouco menores, podemos aumentar um pouco a largura */
    width: 95%;
  }
  .modal-header {
    padding: 1rem 1.5rem;
  }
  .carrossel-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .carrossel-wrapper {
    /* Em celulares, 95% ainda é uma boa medida para não colar nas bordas */
    width: 95%;
  }
  .modal-header h2 {
    font-size: 1.4rem;
  }
  /* O width de 100% do .carrossel-item já foi definido em (max-width: 900px) */

  .carrossel-btn {
    width: 40px;
    height: 40px;
  }

  .item-imagem img {
    width: 100%;
    display: block;
    aspect-ratio: 30/36;
    object-fit: cover;
    transition: transform 0.4s ease;
  }
}

/* Sobre Nós*/
@media (max-width: 992px) {
  .quemSomos {
    width: 80%;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .imagem-quemSomos {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #sobreNosSec {
    padding: 4rem 1rem;
    gap: 4rem;
  }

  #sobreNosSec>h2 {
    font-size: 2.2rem;
  }

  .quemSomos {
    width: 100%;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .imagem-quemSomos {
    width: 150px;
    height: auto;

  }

  .imagem-quemSomos img {
    width: 7rem;
    height: 7rem;
}
  .texto-quemSomos h3 {
    font-size: 1.8rem;
  }

  .topicos-quemSomos::before {
    left: 20px;
    transform: translateX(0);
  }

  .topicos-quemSomos li,
  .topicos-quemSomos li:nth-child(even),
  .topicos-quemSomos li:nth-child(odd) {
    width: 90%;
    float: none;
    clear: none;
    text-align: left;
    padding-left: 45px;
    padding-right: 0;
  }

  .topicos-quemSomos li::before,
  .topicos-quemSomos li:nth-child(even)::before,
  .topicos-quemSomos li:nth-child(odd)::before {
    left: 0;
    top: 3.2rem;
    transform: translateX(0);
  }

  .topicos-quemSomos li:hover::before {
    transform: scale(1.3);
  }
}

/* Fotter */
@media (max-width: 1300px) {
  .footer-container {
    max-width: 900px;
    justify-content: space-evenly;
}

  .footer-info {
    text-align: left ;    
  }

  .contact-item {
    text-align: left;
  }
}


@media (max-width: 850px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-info {
    align-items: center;
    text-align: left;
    padding-right: 0;
  }

  .contact-item {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 400px) {
  .btn-sobreNos-orcamento {
    font-size: 1rem;
  }

  .footer-info {
    align-items: center;
    text-align: left;
    padding-right: 0;
  }
  
}

/*Tela orcamente.hmtl*/

@media (max-width: 1416px) {
  #orcamento-div {
    flex-direction: column-reverse;
    padding: 1rem 1.5rem;
  }
  

  /* Ajusta ambos os blocos para ocupar a largura total */
  .FormSPA,
  .orcamento-textoForm {
    flex-basis: auto;
    /* Reseta a base */
    width: 100%;
    max-width: 650px;
    /* Limita a largura em tablets para boa leitura */
  }

  .FormSPA h2,
  .orcamento-textoForm h2 {
    font-size: 1.6rem;
  }

  .orcamento-textoForm {
    text-align: center;
    /* Centraliza o texto quando empilhado */
  }

  .orcamento-textoForm h2::before {
    display: none;
    /* Esconde a barra lateral que não funciona bem centralizada */
  }

  .orcamento-textoForm p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Celulares (Até 768px) --- */
@media (max-width: 992px) {
  #orcamento-video {
    height: 500px;
  }

  #orcamento-chamada h1 {
    font-size: 2rem;
  }

  #orcamento-div {
    padding: 3rem 1rem;
  }

  .FormSPA h2,
  .orcamento-textoForm h2 {
    font-size: 1.7rem;
  }

  .FormSPA p,
  .orcamento-textoForm p {
    font-size: 0.7rem;
  }
}

@media (max-width: 560px) {
  #orcamento-video {
    height: 500px;
  }
  
  #orcamento-video::before {
    backdrop-filter: blur(1px) brightness(100%);
  }
  
  #video-background {
    object-position: 70% 50%; 
  }
  #orcamento-chamada h1 {
    font-size: 2rem;
  }

  #orcamento-div {
    padding: 3rem 1rem;
  }

  .FormSPA h2,
  .orcamento-textoForm h2 {
    font-size: 1.4rem;
  }

  .FormSPA p,
  .orcamento-textoForm p {
    font-size: 0.6rem;
  }
}

/*Section do formulario da pagina de orcamento */

@media (max-width: 1500px) {

  .container-geral {
    width: 99%;
    justify-content: space-around;
  }

  .FormSPA {
    max-width: 400px;
  }

  .orcamentotexto {
    /* Layout e Caixa */
    max-width: 100%;
    box-sizing: border-box;
    margin-right: 1px;
    border: none;
    border-left: 5px solid #a47e43;

    /* Espaçamento Interno e Alinhamento */
    padding: 1.5rem 1.5rem;
    /* Padding vertical e horizontal diferentes */
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* Um pouco mais de espaço entre os elementos */
  }


  .orcamentotexto h1 {
    font-size: 2.1rem;
    /* Maior para mais impacto */
    font-weight: 900;
    color: #4a3c20;
    /* Cor marrom escura, vinda da paleta ocre */
    line-height: 1.25;
    margin: 0;
  }

  .orcamentotexto p {
    font-size: 1rem;
    color: #6c5f46;
    /* Cinza amarronzado que combina com o fundo */
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
  }

}


@media (max-width: 992px) {
  .container-geral {
    flex-direction: column-reverse;
  }

  .FormSPA {
    max-width: 400px;
  }

  .orcamentotexto {
    /* Layout e Caixa */
    width: 90%;
    box-sizing: border-box;
    margin-right: 1px;
    border: none;
    border-left: 5px solid #a47e43;

    /* Espaçamento Interno e Alinhamento */
    padding: 1.5rem 1.5rem;
    /* Padding vertical e horizontal diferentes */
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* Um pouco mais de espaço entre os elementos */
  }

  .orcamentotexto h1 {
    font-size: 2.8rem;
    /* Maior para mais impacto */
    font-weight: 900;
    color: #4a3c20;
    /* Cor marrom escura, vinda da paleta ocre */
    line-height: 1.25;
    margin: 0;
  }

  .orcamentotexto p {
    font-size: 1rem;
    color: #6c5f46;
    /* Cinza amarronzado que combina com o fundo */
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
  }

}

@media (max-width: 560px) {
  .container-geral {
    flex-direction: column-reverse;
  }

  .FormSPA {
    max-width: 300px;
  }

  .orcamentotexto {
    /* Layout e Caixa */
    width: 100%;
    box-sizing: border-box;
    margin-right: 1px;
    border: none;
    border-left: 5px solid #a47e43;

    /* Espaçamento Interno e Alinhamento */
    padding: 1.5rem 1.5rem;
    /* Padding vertical e horizontal diferentes */
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* Um pouco mais de espaço entre os elementos */
  }

  .orcamentotexto h1 {
    font-size: 1.9rem;
    /* Maior para mais impacto */
    font-weight: 900;
    color: #4a3c20;
    /* Cor marrom escura, vinda da paleta ocre */
    line-height: 1.25;
    margin: 0;
  }

  .orcamentotexto p {
    font-size: 1rem;
    color: #6c5f46;
    /* Cinza amarronzado que combina com o fundo */
    line-height: 1.8;
    font-weight: 500;
    margin: 0;
  }

}

/* Segmento */
@media (max-width: 560px) {
  .segmento-texto-imagem {
    width: 95%;
  }

  .segmento-texto-imagem .automacao {
    font-size: 1.9rem;
  }

  .segmento-texto-imagem p {
    font-size: 1.2rem;
    }
}



