@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

:root {
  --custom-primary: #F47920;
  --white: #fff;
  --black: #1a1a1a;
  --gray: #ebebe8;
  --font-family: 'Nunito Sans', var(--bs-font-sans-serif);
}

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

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

body {
  font-family: var(--font-family);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-image: url('../images/banner-secoli-base.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: auto; /* ou ajuste o tamanho manual, ex: 800px */
  background-attachment: fixed; /* 👈 faz o fundo ficar fixo e contínuo */
  position: relative; /* importante para o ::before funcionar corretamente */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('../images/banner-secoli-base.jpg');
  background-position: center;
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.15; /* controla a intensidade da textura */
  filter: brightness(1.05) contrast(0.9); /* deixa mais branco e leve */
  z-index: -1;
  pointer-events: none; /* evita interferência com cliques */
}







h1 {
  color: var(--white);
  font-size: 52px;
  font-weight: 500;
}

h1>span {
  display: block;
  color: var(--custom-primary);
  font-size: 48px;
  font-weight: 700;
}

h2 {
  color: var(--black);
  font-size: 38px;
  font-weight: 700;
}

h3 {
  color: var(--black);
  font-size: 24px;
  font-weight: 500;
}

p {
  color: var(--black);
  font-size: 16px;
}

section {
  padding: 100px 0px;
}

.bt a {
  display: block;
  text-decoration: none;
  color: var(--black);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 18px;
  background: linear-gradient(to right, var(--custom-primary), rgba(244, 121, 32, 0.3));
  padding: 16px 72px;
  width: fit-content;
  transition: all 0.3s ease-in-out;
}

.bt a:hover {
  transform: translateY(-6px);
}

#mobile {
  display: none;
}

#desktop {
  display: block;
}

@media (max-width: 1024px) {
  #mobile {
    display: block;
  }

  #desktop {
    display: none;
  }
}

.text-orange {
  background: linear-gradient(45deg, #fa6f0b, #f5af83, #f2934f);
  -webkit-background-clip: text;
  -moz-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -moz-text-fill-color: transparent;
  color: transparent;
}

/* nav */
.logo {
  width: 240px;
}

.nav-link {
  color: var(--black);
  font-size: 18px;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease-out;
}

.nav-link:hover {
  color: var(--black);
  border-bottom: 4px solid var(--custom-primary);
}

/* end nav */

/* hero */
#hero {
  min-height: 100vh;
  padding: 0;
}

#hero .home {
  min-height: 100vh;
}

#hero .img-hero {
  height: 100vh;
}

#hero .content {
  padding: 60px 40px;
}

#hero .content p {
  color: var(--black);
}


/* end hero */

/* secoli */
.conectando .content h2 {
  font-size: 42px;
}

.conectando .content h2>span {
  color: var(--custom-primary);
}

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

.img-conect img {
  max-width: 100%;
  width: 90%;
}

/* end secoli */

/* por que escolher */
.escolher .bt {
  display: grid;
  place-items: center;
}

.escolher .box {
  background-color: var(--white);
  border: 2px solid var(--custom-primary);
  border-radius: 24px;
  padding: 24px 20px;
  height: 280px;
}

.escolher .box img {
  max-width: 100%;
  width: 100px;
}

.escolher .box h3 {
  font-size: 20px;
}

.escolher .box p {
  font-size: 15px;
}

/* end por que escolher */

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

.Produtos .slide-content img {
  max-width: 100%;
  width: 450px;
}

/* end produtos */


/* clientes */
.clientes .box {
  display: grid;
  place-items: center;
  padding: 12px;
}

.clientes .box {
  img {
    max-width: 100%;
    width: 140px;
  }
}

/* end clientes */

/* about */
.about {
  background-color: var(--gray);
}

.about .content h2 {
  font-size: 44px;
}

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

.img-about img {
  max-width: 100%;
  width: 90%;
}

/* end about */

.contact {
  background-image: url('../images/secoli-regua.png');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 70%;
  background-attachment: scroll;
  margin: 0;
  padding: 0 !important;
}

/* contact */
.contact .content h2 {
  font-size: 44px;
}

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

.img-contact img {
  width: 100%;
}


.formulario {
  background: linear-gradient(to right, var(--custom-primary), rgba(244, 121, 32, 0.3));
  padding: 32px;
  border: none;
  border-radius: 20px;
  max-width: 500px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 121, 32, 0.2);
}

form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

form button {
  width: 55%;
  border: 1px solid var(--white) !important;
}
/* end contact */

/* footer */
footer {
  color: var(--black);
  background: linear-gradient(to bottom, var(--custom-primary), rgba(244, 121, 32, 0.3));
  width: 100%;
}

footer ul li {
  padding-left: 0px !important;
}

footer span {
  color: var(--white);
  padding-left: 14px;
}

.footer-link {
  text-decoration: none;
}

#footer_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 50px 20px 0px 50px;
}

.footer-logo img {
  max-width: 100%;
  width: 220px;
}

#footer_social_media {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media screen and (max-width: 768px) {
  #footer_social_media {
    align-items: left;
    justify-content: left;
  }
}

#footer_social_media .footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  color: var(--black);
  background-color: transparent;
  border: 2px solid var(--black);
  border-radius: 50%;
  transition: all 0.4s;
}

#footer_social_media .footer-link:hover {
  color: var(--white);
  background-color: var(--black);
  border: 2px solid var(--black);
}

#footer_social_media .footer-link i {
  font-size: 1.25rem;
}

#instagram,
#facebook,
#whatsapp-footer {
  background-color: transparent;
}

#contacts li i {
  color: var(--black);
  font-size: 16px;
  padding-right: 4px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-list h3 {
  color: var(--black);
  border-left: 4px solid var(--black);
  padding-left: 4px;
  font-weight: 600;
  font-size: 24px;
  gap: 100px;
}

.footer-list .footer-link {
  color: var(--black);
  font-size: 16px;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
}

.footer-list .footer-link:hover {
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

#footer_copyright {
  display: flex;
  justify-content: center;
  font-size: 0.9rem;
  padding: 1.5rem;
  font-weight: 100;
  color: var(--black);
}

#year {
  color: var(--black);
}

.footer_iso {
  display: flex;
  align-items: right;
  justify-content: right;
  flex-direction: row;
  gap: 12px;
}

.footer_iso>li {
  list-style: none;
}

.footer_iso img {
  max-width: 100%;
  width: 200px;
}


@media screen and (max-width: 768px) {
  #footer_content {
    text-align: left;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 450px) {
  #footer_content {
    grid-template-columns: repeat(1, 1fr);
    padding: 32px 10px;
  }
}

/* end footer */

/* responsivo */
@media screen and (max-width: 768px) {
  h1 {
    text-align: center;
  }

  section {
    padding: 52px 10px;
  }

  .bt a {
    width: 100%;
  }

  #hero {
    min-height: auto;
    padding: 0;
  }

  #hero .home {
    min-height: auto;
  }

  #hero .row {
    flex-direction: column;
  }

  #hero .col-xl-6:first-child {
    order: 1;
  }

  #hero .col-xl-6:last-child {
    order: 2;
  }

  #hero .img-hero {
    height: 300px;
  }

  #hero .content {
    margin-bottom: 32px;
    padding: 40px 20px;
    text-align: center;
  }

  #hero .content p {
    text-align: center;
  }

  .mb-center {
    display: block;
    text-align: center;
    margin-top: 24px;
  }

  .img-conect {
    margin-bottom: 32px;
  }

  .img-conect img {
    width: 100%;
  }

  .escolher .col {
    flex: 0 0 100%;
    margin-bottom: 16px;
  }

  .clientes .col {
    flex: 0 0 100%;
  }

  .clientes .box img {
    width: 140px;
  }

  .img-about {
    margin-bottom: 32px;
  }

  .img-about img {
    width: 100%;
  }

  .footer_iso {
    justify-content: center;
    align-items: center;
  }
}

/* end responsivo */

form button {
  width: 55%;
  border: 1px solid var(--white) !important;
  background-color: #F47920;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  padding: 10px 0;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  display: block;
}

.btn-acessar {
  display: block;
  width: 55%;
  border: 1px solid var(--white);
  background-color: #F47920;
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  padding: 10px 0;
  text-align: center;
  margin-top: 8px;
}

form button:hover,
.btn-acessar:hover {
  background-color: #d8661b;
  color: #fff;
}

/* Contêiner apenas dos botões */
.formulario .botoes-lado-a-lado {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}


.formulario .botoes-lado-a-lado button,
.formulario .botoes-lado-a-lado .btn-acessar {
  flex: 1; 
  min-width: 140px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
}

/* Botão "Enviar" */
.formulario .botoes-lado-a-lado button {
  background-color: #424242 !important;
  border: 1px solid #424242 !important;
  color: #fff !important;
  transition: 0.3s;
}

.formulario .botoes-lado-a-lado button:hover {
  background-color: #333 !important;
}

/* Botão "Acesse nosso site" */
.formulario .botoes-lado-a-lado .btn-acessar {
  border: 1px solid var(--white);
  background-color: #F47920;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.formulario .botoes-lado-a-lado .btn-acessar:hover {
  background-color: #d8661b;
  color: #fff;
}

.formulario .botoes-lado-a-lado {
  display: flex;
  align-items: center; 
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* Ambos os botões com o mesmo tamanho e alinhamento */
.formulario .botoes-lado-a-lado button,
.formulario .botoes-lado-a-lado .btn-acessar {
  flex: 1; /* tamanhos iguais */
  min-width: 140px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  padding: 0; 
  margin: 0; 
  line-height: 1; 
}

/* Botão "Enviar" */
.formulario .botoes-lado-a-lado button {
  background-color: #424242 !important;
  border: 1px solid #424242 !important;
  color: #fff !important;
  transition: 0.3s;
}

.formulario .botoes-lado-a-lado button:hover {
  background-color: #333 !important;
}

/* Botão "Acesse nosso site" */
.formulario .botoes-lado-a-lado .btn-acessar {
  border: 1px solid var(--white);
  background-color: #F47920;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.formulario .botoes-lado-a-lado .btn-acessar:hover {
  background-color: #d8661b;
  color: #fff;
}


.formulario .botoes-lado-a-lado button,
.formulario .botoes-lado-a-lado .btn-acessar {
  border: none !important;        /* remove borda */
  box-shadow: none !important;    /* remove sombra que parece borda */
  background-clip: border-box !important;
}


.formulario .botoes-lado-a-lado button {
  background-color: #424242 !important;
  color: #fff !important;
}
.formulario .botoes-lado-a-lado button:hover {
  background-color: #333 !important;
}


.formulario .botoes-lado-a-lado .btn-acessar {
  background-color: #F47920 !important;
  color: #fff !important;
  text-decoration: none;
}
.formulario .botoes-lado-a-lado .btn-acessar:hover {
  background-color: #d8661b !important;
  color: #fff !important;
}



/* =====================================
   AJUSTES EXCLUSIVOS PARA MOBILE
   ===================================== */

/* --- Formulário e botões --- */
@media screen and (max-width: 768px) {
  .formulario {
    padding: 24px 16px;
    max-width: 100%;
    width: 100%;
  }

  .formulario form {
    gap: 16px;
  }

  /* Botões lado a lado passam a empilhar */
  .formulario .botoes-lado-a-lado {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .formulario .botoes-lado-a-lado button,
  .formulario .botoes-lado-a-lado .btn-acessar {
    width: 100%;
    min-width: auto;
    max-width: 320px;
  }

  /* Garante que o texto dos botões centralize bem */
  .formulario .botoes-lado-a-lado button span,
  .formulario .botoes-lado-a-lado .btn-acessar span {
    text-align: center;
  }
}

/* --- Hero e imagens --- */
@media screen and (max-width: 768px) {
  #hero .img-hero {
    height: auto;
  }

  .img-conect img,
  .img-about img,
  .img-contact img {
    width: 100%;
    height: auto;
  }

  .contact {
    background-size: cover;
    background-position: center;
  }
}

/* --- Texto e títulos --- */
@media screen and (max-width: 768px) {
  h1 {
    font-size: 40px;
  }

  h1 > span {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  p {
    font-size: 15px;
  }
}

@media screen and (max-width: 768px) {

  /* Centraliza os blocos do footer */
  #footer_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Listas centralizadas */
  .footer-list,
  #contacts,
  #footer_contacts {
    margin: 0 auto;
    text-align: center;
    padding: 0;
  }

  #footer_social_media {
    display: flex;
    justify-content: center;
    gap: 12px;
  }


  footer .container {
    padding: 0 !important;        
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer_iso {
    width: 100%;                 
    display: flex;
    justify-content: center;      
    align-items: center;
    margin-top: 2px;             
  }

  .footer_iso img {
    display: block;
    margin: 0 auto;               
    max-width: 160px;             
  }

}





/* --- Extra: padding e espaçamentos menores --- */
@media screen and (max-width: 450px) {
  section {
    padding: 40px 12px;
  }

  .formulario {
    padding: 20px;
  }

  .bt a {
    padding: 12px 20px;
  }
}

@media (max-width: 768px) {
  .contact {
    background-size: 60%;
    background-position: right bottom 60px;
  }
}

/* DESKTOP — mantém o layout atual */
.clientes-carousel {
  display: none;
}

.clientes-grid {
  display: block;
}

/* MOBILE — um slide por vez */
@media (max-width: 767px) {

  .clientes-grid {
    display: none; /* esconde grid */
  }

  .clientes-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    gap: 0;                 
    padding: 0;             
    width: 100%;            
  }

  .clientes-carousel .box {
    flex: 0 0 100%;        
    max-width: 100%;
    scroll-snap-align: center;
    scroll-snap-stop: always;

    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .clientes-carousel img {
    width: 70%;             
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 767px) {

  .botoes-lado-a-lado {
    display: flex;
    flex-direction: column;   /* um embaixo do outro */
    gap: 12px;
    width: 100%;              /* ocupa 100% */
    margin-top: 10px;
  }

  .botoes-lado-a-lado button,
  .botoes-lado-a-lado .btn-acessar {
    width: 100% !important;   /* força largura total */
    min-height: 48px;         /* altura confortável para toque */
    font-size: 16px;          /* aumenta fonte */
    border-radius: 30px;      /* mantém estilo arredondado */
    text-align: center;
  }

  /* Caso o form esteja comprimindo tudo */
  .formulario form {
    width: 100%;
  }
}

@media (max-width: 767px) {

  /* Centraliza TODOS os blocos do footer */
  #footer_content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Centraliza cada lista */
  #footer_content .footer-list {
    align-items: center !important;
    text-align: center !important;
  }

  /* Alinha os itens dentro da lista */
  #footer_content .footer-list li {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Centraliza o bloco de redes sociais */
  #footer_social_media {
    display: flex;
    justify-content: center !important;
    gap: 16px;
    width: 100%;
  }

  /* Deixa os ícones alinhados */
  #footer_social_media li {
    display: flex;
    justify-content: center;
  }

  /* Centraliza o logo */
  #footer_contacts,
  .footer-logo {
    text-align: center !important;
  }

  /* Centraliza a ISO */
  .footer_iso {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }

  /* Centraliza copyright */
  #footer_copyright {
    text-align: center !important;
  }
}

@media screen and (max-width: 768px) {
  /* Evita que footer fique fixo/absolute no mobile */
  footer,
  .site-footer,
  .fixed-bottom,
  .bottom-banner,
  .cookie-banner {
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    z-index: 0 !important;
  }

  .formulario {
    position: relative !important;
    z-index: 5 !important;
  }
}

@media screen and (max-width: 768px) {
  .formulario {
    position: relative;
    z-index: 5;
  }
}

@media (max-width: 767px) {

  /* Evita o formulário colar no rodapé */
  .contact {
    padding-bottom: 35px !important;
  }

  /* Reduz ainda mais o espaçamento entre todas as sessões */
  section {
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }
}

/* ======== CENTRALIZAR APENAS NO MOBILE ======== */
@media (max-width: 767px) {

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

  .conectando .content h2 {
    text-align: center !important;
  }

  .conectando .content p {
    text-align: center !important;
  }
}

/* ======== CENTRALIZAR CONTACT — APENAS MOBILE ======== */
@media (max-width: 767px) {

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

  .contact .content h2 {
    text-align: center !important;
  }

  .contact .content p {
    text-align: center !important;
  }
}




