/* Container geral do header */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html, body {
  width: 100%;
   max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
  
}

.header-wrapper {
  display: flex;                    /* Coloca logo, menu e botão em linha */
  align-items: center;             /* Alinha verticalmente tudo no centro */
  justify-content: space-between;  /* Deixa logo à esquerd menu no meio e botão à direita */
  gap: 5px;                       /* Espaço entre os itens */
  padding: 15px 40px;              /* Espaçamento interno do header */
  background-color: #6EC1E4;       /* Cor de fundo azul claro */
  box-sizing: border-box;
  }

.header-wrapper {
  padding: 15px 20px; /* diminua o padding lateral para telas pequenas */
  max-width: 100vw; /* garantir que não ultrapasse a viewport */
  box-sizing: border-box; /* garantir que padding não aumente largura */
}


.nav-menu ul {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
  
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Estilo base para o menu */
.nav-menu ul {
  display: flex;
  gap: 10px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 70px;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  text-decoration: none;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  transition: transform 0.3s ease;
  font-family: 'Poppins', sans-serif;
  
}

.nav-menu a:hover {
  transform: scale(1.00);
}

  .nav-menu ul.active {
    display: flex;
  }
/* Botão especial */
.nav-menu .btn {
  background-color: #FFFFFF;
  color: #6EC1E4;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: inline-block; /* garantir que funcione o transform */
  cursor: pointer;
}

.nav-menu.btn:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Logo */
.logo {
  width: 100%;            /* Tamanho fixo para não quebrar o layout */
  height: auto;
  max-height: 170px;        /* Impede que ela fique gigante */
  object-fit: contain;
  display: block;
  margin-left: 60px;
 
}
.atendimento {
  position: relative;
  z-index: 0;
}
/* hero */
.hero-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  width: 100%;
}
/* Container geral */
.container, .container-atendimento, .container-servicos-timeline, .container-localizacao, .container-footer {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px; /* padding lateral para evitar overflow */
  box-sizing: border-box;
}

.hero-text {
  flex: 1 1 400px;
}

.hero-text h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  color: #222;
  margin-bottom: 20px;
}

.hero-text p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.btn-hero {
  background-color: #6EC1E4;
  color: #fff;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-hero:hover {
  background-color: #56a6cc;
}

.hero-image {
  flex: 1 1 300px;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
/* Ajuste no iframe do mapa para ser responsivo */
.mapa iframe {
  width: 100% !important;
  max-width: 100%;
  height: 450px; /* ou ajuste conforme necessário */
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}


/* Carrousel Hero */
.carousel {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 350px;
  overflow: hidden;
  border-radius: 12px;
}

.carousel img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel img.active {
  opacity: 1;
}

.atendimento {
  background-color: #fefefe;
  padding: 60px 20px;
}


/* O Atendimento */

.cards-atendimento {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  
}

.card {
  background-color: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: left;
  margin-top: 30px;
}

.card:hover {
  transform: scale(1.03);
}

.card h3 {
  font-size: 1.3rem;
  color: #6EC1E4;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

.card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

/* Serviços */
.servicos-timeline {
  background: #fff;
  padding: 60px 20px;
  color: #003366;
  font-family: 'Poppins', sans-serif;
}

.container-servicos-timeline {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.container-servicos-timeline h2 {
  font-size: 2.8rem;
  margin-bottom: 50px;
  color: #006bb3;
  font-weight: 700;
}

.timeline {
  position: relative;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 3px solid #6EC1E4;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: right;
}

.icon-circle {
  background: #6EC1E4;
  color: white;
  font-size: 1.8rem;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(110,193,228,0.5);
}

.content {
  max-width: 500px;
}

.content h3 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  color: #007acc;
}

.content p {
  margin: 0;
  font-size: 1rem;
  color: #004466;
}

.localizacao {
  background-color: #f9f9f9;
  padding: 60px 20px;
  color: #222;
  font-family: 'Poppins', sans-serif;
  text-align: center;
}

.container-localizacao {
  max-width: 900px;
  margin: 0 auto;
}

.localizacao h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: #006bb3;
  font-weight: 700;
}

.localizacao p {
  color: #3e3e3e; /* Exemplo: vermelho */
}


.mapa iframe {
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin-top: 20px;
}

.info-localizacao {
  font-size: 1.1rem;
  margin: 30px 0 40px;
  color: #555;
  line-height: 1.5;
}

.btn-fale-conosco {
  display: inline-block;
  background-color: #6EC1E4;
  color: white;
  padding: 14px 36px;
  border-radius: 8px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-fale-conosco:hover {
  background-color: #56a6cc;
}


/* Rodapé */
.footer {
  background-color: #004a80;
  color: #e3f0ff;
  font-family: 'Poppins', sans-serif;
  padding: 25px 20px 15px;
}

.container-footer {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-contact h3 {
  color: #6ec1e4;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.footer-contact p {
  margin: 4px 0;
  font-size: 1rem;
  line-height: 1.4;
}

.footer-contact a.whatsapp-link {
  color: #a8d0ff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact a.whatsapp-link:hover {
  color: #ffffff;
}

.footer-social {
  display: flex;
  gap: 18px;
}

.social-icon {
  color: #a8d0ff;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #ffffff;
  transform: scale(1.15);
}

.footer-bottom {
  max-width: 1100px;
  margin: 20px auto 0;
  border-top: 1px solid #195d94;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #a8d0ff;
  text-align: center;
}

.secao-atendimento {
  position: relative;
  z-index: 1;
}
@media (max-width: 769px)  {
  .nav-menu ul {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: fixed;
    top: 0;
    right: 0;
    background-color: #6EC1E4;
    width: 250px;
    height: 100vh;
    padding-top: 100px;
    padding-left: 20px;
    z-index: 2000;
  }

  .nav-menu ul.active {
    display: flex;
  }
}

/* --- ESTILO DOS ÍCONES --- */




/* MENU PRINCIPAL */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
  background-color: none;        /* Background color do nav-menu desktop pp*/
}

/* -----------------------------
   GERAL - Aplicado para todos
------------------------------ */

.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* -----------------------------
   DESKTOP - Maior que 768px
------------------------------ */
@media (min-width: 1024px) {
  .header-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 65px; /* espaçamento entre logo e menu */
  }
 
  .nav-menu ul {
    display: flex !important;
    gap: 10px;
    align-items: center;
    margin-left: 80px; /* afasta todo o menu da logo */
    
  }

  .nav-menu ul li a {                
    color: #ffffff;                        /* Cor do nav-menu desktop */             
    text-decoration: none;
    font-weight: 600;
  
    
  }
  .nav-menu ul li {
  margin-right: 80px; /* ajusta aqui o espaçamento */
}

  .nav-menu ul li a.btn {
    padding: 10px 20px;
    background-color: #ffffff;
    border-radius: 8px;
    color: #6EC1E4;
  }}


/* -----------------------------
   MOBILE - Até 568 - iphone 5 e SE
------------------------------ */
@media (max-width: 568px) {
  /* Ícone do menu */
  .logo {
    margin-left: 40px;
  }

  
  /* Menu lateral */
  .nav-menu ul {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    padding: 90px 20px;
    gap: 70px;
    background-color: #56a6cc;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .nav-menu ul.active {
    display: flex;
  }

  /* Ajustes de texto da timeline */
  .timeline h3 {
    font-size: 20px;
  }

  /* Correções visuais */
  .nav-menu ul li {
    margin: 0;
  }

  .nav-menu ul li a {
    font-size: 18px;
    color: white;
    text-decoration: none;
  }

  .nav-menu ul li a.btn {
    background-color: white;
    color: #6EC1E4;
    padding: 10px 20px;
    border-radius: 8px;
  }
}

@media screen and (max-height: 568px) {
    /* Estilos para telas com altura menor ou igual a 568px */
  .elemento {
    padding-bottom: 8px;
  }
  .card {
  width: 100%;
  max-width: 250px; /* ou qualquer valor que funcione no seu layout */
  margin: auto;   /* centraliza horizontalmente */
  padding: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  border-radius: 10px;
  background-color: white;
  margin-left: 0;
  width: 320px;
}

.container-atendimento h2 {
  margin-bottom: 20px; /* aumenta o espaço abaixo do título */
}
.container-servicos-timeline h2 {
  margin-bottom: 40px; /* espaço abaixo do título */
}

.timeline {
  right: 22px; /* espaço acima da timeline, se necessário */
}
  
  .container-localizacao {
    padding: 0 10px;
    text-align: center;
  }

  .container-localizacao iframe {
    width: 100%;
    height: 250px;
  }

  .info-localizacao {
    font-size: 0.9rem;
    line-height: 1.4;
  }

}
/*IPHONE X,11,*/
@media screen and (min-width: 375px) and (max-height: 812px) {
.logo { 
  display: flex;
  margin-left: 60px;
}}
/*IPONE XR,11 E 11 PRO MAX*/
@media screen and (min-width: 414px) and (max-height: 896px) {
.logo { 
  display: flex;
  margin-left: 70px;
}}
/*IPHONE 12 MINI*/
@media screen and (min-width: 360px) and (max-height: 780px) {
.logo { 
  display: flex;
  margin-left: 55px;
}}
/*iphone 12 e 12pro, 15,13pro,14 */
@media screen and (min-width: 390px) and (max-height: 844px) {
.logo { 
  display: flex;
  margin-left: 65px;
}}
/*iphone 12 pro max*, 13pro max,14 pro,14promax,*/
@media screen and (min-width: 428px) and (max-height: 928px) {
.logo { 
  display: flex;
  margin-left: 80px;
}}

