*{margin:0;padding:0;box-sizing:border-box}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

:target {
  scroll-margin-top: .8em;
}
html{font-size:16px}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:#004e9e;background:#27539a;line-height:1.6;
}
.container{width:90%;max-width:1200px;margin:auto;padding:3rem 0;text-align:center}

/* HEADER */
.header {
  border-bottom: 1px solid #eee;
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

/* MENU MOBILE */
.menu {
  display: none;
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  flex-direction: column;
  gap: 1.5rem;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.menu a, .menu a:hover {
  text-decoration: none;
  color: #393939;
  font-size: 18px;
  font-weight: bold;
}

.menu a:hover {
  color: #27539a;
  border-bottom: 2px solid #27539a;
}

/* MENU ATIVO */
.menu.active {
  display: flex;
}

/* HAMBURGER */
.hamburger {
  width: 30px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #004e9e;
  margin: 6px 0;
}

/* DESKTOP (opcional, ajuste breakpoint se quiser) */
@media (min-width: 768px) {
  .menu {
    display: flex;
    position: static;
    flex-direction: row;
    background: none;
    box-shadow: none;
    padding: 0;
    margin-left: auto;
    align-items: center;
  }

  .hamburger {
    display: none;
  }
}




@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }

  .menu {
    margin-left: auto;
    justify-content: flex-end;
  }
}
/*SOBRE NOS*/
.section-sobrenos{
  display: grid;
  grid-template-columns: 1fr; /* esquerda maior, direita menor */
  gap: 30px;
  color:#1e3a5f;
  margin-bottom:20px;
  background: #FFF;
  padding: 50px;
  text-align: center;
}

.content-sobrenos p{
  margin:15px auto;
  line-height:1.6;
  color:#2c3e50;
  text-align: center;
  width: 90%;
}

.content-inst
{
  display: grid;
  grid-template-columns: 3fr; /* esquerda maior, direita menor */
  gap: 30px;
}

.content-missaovisao{
  /*background:url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789') center/cover no-repeat;
  background: none;
  padding:30px;
  /*display:flex;
  flex-direction:column;
  align-items:flex-end;
  display: grid;
  grid-template-columns: 3fr; /* esquerda maior, direita menor 
  gap:30px;*/


  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;


}

.content-box{
  background:#1f3b5b;
  color:#fff;
  padding:30px;
  width:100%;
  transform:translateX(80px);
  opacity:0;
  transition:all 0.8s ease;
  clip-path:polygon(10% 0,100% 0,90% 100%,0 100%);
}

.content-box{ background:#1f3b5b; color:#fff; padding:30px; width:100%; transform:translateX(80px); opacity:0; transition:all 0.8s ease; clip-path:polygon(10% 0,100% 0,90% 100%,0 100%); } .content-box h2{ margin-bottom:10px; } .content-box.show{ transform:translateX(0); opacity:1; }

.content-box p {
  padding: 20px;
}

.content-box h2 {
  padding: 20px 0px 0px 20px;
}
/* RESPONSIVO */
@media(max-width:900px){
  .section-sobrenos{
    grid-template-columns: 1fr; /* vira 1 coluna */
  }

  .content-missaovisao{
    background:none;
    align-items:center;
  }

  .content-box{
    width:100%;
    clip-path:none;
  }
  
}
/* HERO */
.hero h1{font-size:clamp(2rem,5vw,3.5rem);margin-bottom:1rem}
.hero p{font-size:clamp(1rem,2vw,1.2rem);color:#666}

/* BTN */
.btn{display:inline-block;margin-top:1.5rem;padding:.8rem 2rem;border-radius:50px;background:#ce0812;color:#fff;text-decoration:none}

/* GRID */
.grid-section h2{margin-bottom:2rem}
.grid{display:grid;gap:1.5rem}
.card{padding:5rem 1.5rem 1.5rem 1.5rem;border:1px solid #eee;border-radius:16px;text-align:center;transition:.2s}
.card:hover{transform:translateY(-5px);box-shadow:0 10px 25px rgba(0,0,0,.05)}
.card p{text-align:left;color:#666}
.card a, .card a:hover{color: #ffffff; text-decoration: none;}
.card a:hover{text-decoration: underline;}

/* ===== FOOTER BASE ===== */
.footer {
  background: #1a3069;
  padding: 40px 20px;
  color: #fff;
  font-family: sans-serif;
}

/* ===== GRID PRINCIPAL ===== */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* ===== COLUNA ESQUERDA ===== */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ITEM COM ÍCONE */
.footer-item {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
}

/* ===== ÍCONES ===== */
.footer-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
}

/* Ícones individuais */
.telefone::before {
  background-image: url("../imagens/icon-telefone.png");
}

.whatsapp::before {
  background-image: url("../imagens/icones-whatsapp.png");
}

.email::before {
  background-image: url("../imagens/icone-email.png");
}

.endereco::before {
  background-image: url("../imagens/icone-localização.png");
}

/* ===== CENTRO ===== */
.footer-center img {
  max-width: 220px;
}

/* ===== DIREITA ===== */
.footer-right img {
  max-width: 90px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    align-items: center;
  }

  .footer-item {
    padding-left: 0;
  }

  .footer-item::before {
    position: relative;
    display: block;
    margin: 0 auto 5px;
  }
}


/* FUNDO DO BLOCO */
.bloco-servico {
  background: #f3f3f3;
  padding: 60px 20px;
}

/* CONTAINER CENTRAL */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID BASE */
.grid-2 {
  display: grid;
  gap: 40px;
}

/* TEXTO */
.texto h2 {
  color: #004e9e;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 15px;
}

.texto p {
  color: #5a5a5a;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* BOTÃO */
.card .btn a, .btn {
  display: inline-block;
  background: #ce0812;
  color: white;
  padding: 12px 28px;
  border-radius: 70px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}



.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* IMAGEM */
.imagem img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* TABLET / DESKTOP */
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}


/* TABLET */
@media(min-width:768px){
  .menu{display:flex}
  .hamburger{display:none}
  .grid{grid-template-columns:repeat(2,1fr)}
}

/* DESKTOP */
@media(min-width:1024px){
  body{font-size:18px}
  .grid{grid-template-columns:repeat(3,1fr)}
}


 /* SLIDER */

.slider-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  min-height: 500px;
}


    .slide {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 0;
    }

    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .slide.active {
      opacity: 1;
      z-index: 1;
    }

    .slider-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      padding: 0 20px;
      z-index: 2;
    }

    .slider-nav button {
      background-color: rgba(0, 0, 0, 0.5);
      color: white;
      border: none;
      padding: 5px 10px;
      cursor: pointer;
      font-size: 12px;
      border-radius: 50%;
    }

    .slider-nav button:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }

    .slider-overlay{
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: #fff;
  z-index: 10;
  max-width: 800px;
  background: rgba(0, 77, 150, 0.6);
  padding:40px;
}

.slider-overlay h1{
  font-size: 42px;
  margin-bottom: 15px;
}

.slider-overlay p{
  margin-bottom: 20px;
  font-size: 18px;
}

.btn-slider{
  display: inline-block;
  background: #14ac00;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn-slider:hover{
  background: #16304a;
}

 @media (max-width: 768px) {
  .slider-container {
    min-height: 0;
    height: clamp(220px, 50vw, 600px);
  }
}

@media (max-width: 768px) {
  .slider-nav button {
    font-size: 16px;
    padding: 10px 14px;
  }
}

/* CORES BASE */
:root{
  --vinho:#9e053b;
}

/* FUNDO VINHO */
.secao-online{
  background:var(--vinho);
  padding:60px 20px;
  color:white;
}

/* TITULO */
.titulo{
  text-align:center;
  font-size:clamp(22px,3vw,30px);
  margin-bottom:40px;
}

/* GRID CARDS */
.grid-cards{
  display:grid;
  gap:30px;
}

/* CARD */
.card-online{
  text-align:center;
}

.card-online img{
  width:100%;
  max-width:220px;
  border:2px solid white;
  margin-bottom:15px;
}

.card-online h3{
  font-size:16px;
  margin-bottom:5px;
}

.card-online p{
  font-size:14px;
  opacity:.9;
  margin-bottom:15px;
}

/* BOTÃO */
.btn-consultar{
  background:white;
  color:var(--vinho);
  padding:10px 22px;
  border-radius:8px;
  text-decoration:none;
  font-weight:500;
  display:inline-block;
}

/* LINK MAIS SERVIÇOS */
.mais-servicos{
  text-align:center;
  margin-top:30px;
  font-size:14px;
  opacity:.9;
}

/* CONTATO */
.secao-contato{
  padding:60px 20px;
  background:white;
}

.grid-contato{
  display:grid;
  gap:40px;
}

.info h3{
  color:var(--vinho);
  margin-bottom:15px;
}

.info p{
  color:#555;
  line-height:1.6;
}

/* MAPA */
.mapa iframe{
  width:100%;
  height:250px;
  border:0;
}
/* TABLET */
@media(min-width:768px){
  .grid-cards{
    grid-template-columns:repeat(3,1fr);
  }

  .grid-contato{
    grid-template-columns:1fr 1fr;
    align-items:center;
  }
}

/* DESKTOP GRANDE */
@media(min-width:1024px){
  .secao-online{
    padding:80px 20px;
  }
}
.card-online img{
  transition:.3s;
}

.card-online:hover img{
  transform:scale(1.05);
}

.contato {
  text-align: center; /* Centraliza todo o conteúdo de texto */
}

.social-icons {
  display: flex;
  justify-content: center; /* Centraliza os ícones horizontalmente */
  gap: 10px; /* Espaçamento entre os ícones */
  margin-top: 10px;
}

.social-icons img {
  width: 30px; /* Ajuste o tamanho dos ícones conforme necessário */
  height: 30px;
}


/* ===== SEÇÃO COM FUNDO ===== */
.bosch-section {
  background:
    linear-gradient(to right, rgba(0,0,0,0.35), transparent),
    url('../imagens/bg-bosch.png') no-repeat top left;
  background-size: contain;
  padding: 100px 20px;
  overflow: hidden;
  height: 550px;
}

/* ===== CONTAINER ===== */
.bosch-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
}

/* ===== BOX AZUL ===== */
.bosch-box {
  background: url("../imagens/bg-texteira.png") no-repeat top right;
  color: #fff;
  max-width: 420px;
  padding: 40px;
  line-height: 1.6;
  height: 400px;
  /*border-bottom: 5px solid #c6100d;
  border-top: 10px solid #c6100d;*/



  /* animação lateral */
  transform: translateX(80px);
  opacity: 0;
  animation: slideInRight 1s ease forwards;
}

/* ===== ANIMAÇÃO ===== */
@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .bosch-container {
    justify-content: center;
  }

  .bosch-box {
    max-width: 100%;
    text-align: center;
    transform: translateY(40px);
    animation: slideUp 0.8s ease forwards;
    padding-top: 20px;
    height: auto;
  }
  .bosch-section {
  
  height: auto;
}
}

/* animação mobile */
@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


#card-manutencao
{
  background: url("../imagens/manutencao.png") no-repeat top center #dbdcdf;
}

#card-servicos
{
  background: url("../imagens/servicos.png") no-repeat top center #dbdcdf;
}

#card-eletricos
{
  background: url("../imagens/carros-eletricos.png") no-repeat top center #dbdcdf;
}

#efeito-atendimento 
{
  width: auto;
  padding: 40px 30px 30px 30px;
  background: url("../imagens/icone-atendimento.png") no-repeat center 10px #58c042;
  color: #FFF;

}

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 9999;
  animation: waPulse 1.8s infinite;
}

/* Pulsar */
@keyframes waPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
  }
}

/* SEGMENTOS */

.section-segmentos{
  display:grid;
  grid-template-columns: 1.1fr 1fr;
  gap:60px;
  padding:80px 60px;
  align-items:center;
  background: #dbdcdf;
}

.left p{
  color:#555;
  margin-bottom:30px;
}

.cardssegmento{
  display:flex;
  flex-direction:column;
  gap:15px;
}

.cardsegmento{
  background:#fff;
  padding:20px;
  border-radius:8px;
  box-shadow:0 5px 15px rgba(0,0,0,0.05);
  transform:translateY(40px);
  opacity:0;
  transition:all 0.6s ease;
}



.cardsegmento.show{
  transform:translateY(0);
  opacity:1;
}

.cardsegmento li{
  list-style:none;
  font-weight:600;
}

.right img{
  width:100%;
  border-radius:10px;
}

/* RESPONSIVO */
@media(max-width:900px){
  .section-segmentos{
    grid-template-columns:1fr;
    text-align:center;
  }

  .cardssegmento{
    align-items:center;
  }

  .cardsegmento{
    width:100%;
  }
}