/* INICIO */

#btn-solicita-orcamento {
    background: #004080;
    color: white;
    padding: 12px 30px;
    border-radius: 6px;
}

#hero {
  padding: 6rem 2rem;
  background: #004080; /* cor mais vibrante que o atual */
  color: #fff;
}

.container-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-text h1 span {
  color: #f8c300;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-buttons {
  margin-top: 1.5rem;
}

.hero-image {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    color: #000;
    margin: 0;
    padding: 0;
  }
  
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8c300;
    padding: 1rem 2rem;
    color: #00008B;
  }
  
  .logo img {
    height: 60px;
    width: auto;
    display: block;
  }
  
  nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #00008B;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: #000;
  }
  
  section {
    padding: 4rem 2rem;
  }
  
  h2 {
    margin-bottom: 1rem;
    color: #FFF;
  }

/* banner */
  
  #banner {
    padding: 80px 20px;
    background: #003366;
    text-align: center;
    color: #fff;
  }
  
  .container-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .container-banner h2 span {
    color: #f8c300;
  }
  
  .container-banner p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-banner {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f8c300;
    color: #00008B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
    margin: 0 auto;
    cursor: pointer;
  }
  
  .btn-banner:hover {
    background-color: #e6b800;
  }
  
/* tipos container */
#tipos-container {
    background: #f9f9f9;
    padding: 6rem 0 4rem 0;
    margin: 0 auto;
    text-align: center;
}

#tipos-container h2 {
    font-size: 2.8rem;
    color: #003366;
    margin-bottom: 2rem;
    font-weight: 700;
}

.cards-tipo-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-left: 30px;
    margin-right: 30px;
}

.card-tipo-container:hover {
transform: translateY(-5px);
}

.card-tipo-container-content {
padding: 1rem;
}

.card-tipo-container {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
cursor: pointer;
}

.card-tipo-container:hover {
transform: translateY(-8px);
box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}

.card-tipo-container img {
width: 100%;
height: 180px;
object-fit: cover;
border-bottom: 3px solid #f8c300;
}

.card-tipo-container-content {
padding: 1.3rem 1.5rem;
}

.card-tipo-container-content h3 {
color: #003366;
font-size: 1.4rem;
margin-bottom: 0.7rem;
font-weight: 700;
}

.card-tipo-container-content p {
font-size: 1rem;
color: #555;
line-height: 1.4;
}

/* fale conosco*/
  
#fale-conosco {
    padding: 6rem 4rem;
  }
  
  .container-fale-conosco {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }
  
  .content-fale-conosco h2 {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 1rem;
  }
  
  .content-fale-conosco p {
    font-size: 1.1rem;
    color: #333;
    max-width: 600px;
  }
  
  .formulario {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .formulario input,
  .formulario textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
  }
  
  .formulario button {
    background: #f8c300;
    color: #00008B;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .formulario button:hover {
    background: #e6b800;
  }
 
  
  footer {
    background: #004080;
    color: #fff;
    text-align: center;
    padding: 1rem;
  }
  
  .social-icons {
    margin-top: 0.5rem;
  }
  
  .social-icons a {
    color: #fff;
    margin: 0 0.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .social-icons a:hover {
    color: #00ff99;
  }
  
  /* container anuncio */


  
  .cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #f8c300;
    color: #00008B;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #e6b800;
  }
  

/* Serviços */
#servicos {
background: #fff;
padding: 6rem 0 4rem 0;
max-width: 1200px;
margin: 0 auto;
text-align: center;
}

#servicos h2 {
font-size: 2.8rem;
color: #003366;
margin-bottom: 2rem;
font-weight: 700;
}

.servicos-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 2rem;
}

.servico-card {
background: #f8f8f8;
padding: 2rem 1.5rem;
border-radius: 12px;
box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
transition: box-shadow 0.3s ease;
cursor: default;
}

.servico-card:hover {
box-shadow: 0 6px 15px rgb(0 0 0 / 0.15);
}

.servico-card i {
font-size: 3rem;
color: #f8c300;
margin-bottom: 1rem;
}

.servico-card h3 {
font-weight: 700;
color: #003366;
margin-bottom: 0.7rem;
font-size: 1.3rem;
}

.servico-card p {
color: #444;
font-size: 1rem;
line-height: 1.4;
}

/* Tipos de Container */
#tipos {
background: #f9f9f9;
padding: 6rem 4rem;
max-width: 1200px;
margin: 0 auto;
text-align: center;
}

#tipos-container h2 {
font-size: 2.8rem;
color: #003366;
margin-bottom: 2rem;
font-weight: 700;
}

/* modal */

.btn-modal {
    background: #f8c300;
    color: #003366;
    padding: 12px 20px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .btn-modal:hover {
    background: #e6b800;
  }

  /* Modal */
  .modal {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* overflow: auto; */
    background-color: rgba(0,0,0,0.5);

    display: flex;
    justify-content: center;
    align-items: center;
  }

.modal.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

  .modal-content {
    background-color: #fff;
    /* margin: 10% auto;  */
    padding: 30px;
    border: 1px solid #888;
    width: 50%; /* aumenta a largura do modal */
    max-width: 600px; /* limite para telas grandes */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;

    max-height: 90vh;
    overflow-y: auto;
  }

body.modal-open {
    overflow: hidden;
}

.modal-content h2 {
    color: #000053
}

  .form-modal input,
.form-modal textarea,
.form-modal select {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  box-sizing: border-box;
}
  .close {
    color: #000053;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
  }

  .close:hover {
    color: #000;
  }

  #input-modal-submit {
    cursor: pointer;
  } 

  #input-formulario-submit {
    cursor: pointer;
  } 

  .form-modal input, .form-modal textarea {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
  }

  .form-modal button {
    background: #f8c300;
    color: #003366;
    padding: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
  }

  .form-modal button:hover {
    background: #e6b800;
  }
  
  .form-modal select {
    background-color: #f9f9f9;
    appearance: none; /* remove estilo nativo */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'14'%20height%3D'8'%20viewBox%3D'0%200%2014%208'%20fill%3D'none'%20xmlns%3D'http%3A//www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M1%201L7%207L13%201'%20stroke%3D'%23666'%20stroke-width%3D'2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
  }

/* modal image */

.modal-image {
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex; /* Centraliza com flexbox */
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,0.7);
}

.modal-image.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.modal-conteudo {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.modal-conteudo:hover {
  transform: scale(1.02);
}

.modal-image-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.modal-image-close:hover {
  transform: scale(1.2);
  color: #ff4444;
}
