/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background: #f4f4f4;
  color: #333;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Top Bar */
.top-bar {
  background-color: #1e88e5;
  color: white;
  padding: 10px 0;
  font-size: 0.9rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.top-bar .contact p,
.top-bar .date {
  margin: 0 10px;
}

/* Navigation */
.main-nav {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 50px;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s ease;
}

.menu li a:hover,
.menu li a.active {
  color: #1e88e5;
}

/* Hero Section */
.hero {
  background: #e3f2fd;
  padding: 50px 0;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding: 20px;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #0d47a1;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-text ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.hero-img {
  flex: 1;
  text-align: center;
}

.hero-img img {
  max-width: 100%;
  height: auto;
}

.price-highlight {
  font-size: 1.1rem;
  margin-top: 20px;
}

.btn {
  background-color: #1e88e5;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1565c0;
}

/* Features Section */
.features,
.benefits {
  background-color: #fff;
  padding: 50px 0;
}

.features h2,
.benefits h2 {
  text-align: center;
  color: #0d47a1;
  margin-bottom: 40px;
}

.feature-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature,
.benefit {
  background: #fafafa;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.feature:hover,
.benefit:hover {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature img,
.benefit img {
  max-width: 80px;
  margin-bottom: 15px;
}

.benefit h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #1e88e5;
}

/* Footer */
.footer {
  background-color: #263238;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.9rem;
}

.footer a {
  color: #ffc107;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* MENU MOBILE */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: #111;
    padding: 10px;
  }

  .menu.menu-open {
    display: flex;
  }

  #menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    margin: 10px;
    cursor: pointer;
  }

  .main-nav .container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Seus estilos existentes... */

/* Estilos do Menu Interativo */
.main-nav .menu li a {
    position: relative;
    text-decoration: none;
    color: #333;
    padding: 10px 15px;
    display: block;
}

.main-nav .menu li a:hover {
    color: #007bff;
}

.main-nav .menu li a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #007bff;
    transition: width 0.3s ease-in-out;
}

.main-nav .menu li a:hover::after {
    width: 100%;
}

.main-nav .menu li a.active {
    font-weight: bold;
    color: #0056b3;
}

.main-nav .menu li a.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #0056b3;
}

/* Estilos para o menu fixo (opcional) */
.main-nav.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* Estilos para o menu mobile (opcional - ajuste conforme necessário) */
.main-nav .menu.mobile-active {
    /* Seus estilos para mostrar o menu em mobile */
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed; /* Ou absolute, dependendo do layout */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-btn i {
    font-size: 1.5em;
    color: #333;
}

.quem-somos-content {
    padding: 20px;
}

.quem-somos-content h1 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

.quem-somos-content h2 {
    font-size: 1.5em;
    margin-top: 30px;
}

.quem-somos-image {
    max-width: 100%; /* Garante que a imagem não estoura o container */
    height: auto;
    margin-bottom: 20px;
}

/* Se você precisar de mais espaçamento no main: */
main.quem-somos {
  padding-top: 20px; /* Exemplo de espaçamento */
  padding-bottom: 20px;
}

.accordion {
  margin-bottom: 20px;
}

.accordion-item {
  border: 1px solid #ccc;
  margin-bottom: 5px;
  border-radius: 4px;
}

.accordion-button {
  background-color: #f0f0f0;
  color: #333;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: background-color 0.2s ease-out;
  border-radius: 4px 4px 0 0;
  font-weight: bold;
}

.accordion-button:hover {
  background-color: #e0e0e0;
}

.accordion-button:focus {
  outline: 1px solid #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.accordion-button::after {
  content: '+';
  float: right;
  font-size: 1.5em;
  transition: transform 0.2s ease-out;
}

.accordion-button[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(180deg);
}

.accordion-collapse {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  border-top: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
}

.accordion-collapse.show {
  display: block;
}

.accordion-body {
  padding: 10px;
}

.duvidas-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

main.duvidas {
  padding-top: 20px;
  padding-bottom: 20px;
}

.duvidas-content {
  padding: 20px;
}

.duvidas-content h1 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

/* FALE CONOSCO - FORMULÁRIO */
.contact-form {
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 5px;
}

.contact-form h1 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px; /* Espaçamento entre grupos de formulário */
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%; /* Faz o input preencher a largura total do seu contêiner (a coluna) */
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* box-sizing: border-box; já está no reset */
}

.form-row {
  display: flex;
  flex-wrap: wrap; /* Permite que as colunas quebrem para a próxima linha em telas menores */
  gap: 20px; /* Espaçamento entre as colunas, ajustado para ser mais consistente */
  margin-bottom: 15px; /* Espaçamento da linha inteira abaixo dela */
}

.form-row .form-group {
  flex-grow: 1;
  /* flex-basis: 0; */ /* Define a base inicial para o crescimento */
  margin-bottom: 0; /* Remove a margem inferior extra quando dentro de um form-row */
}

/* Definindo as larguras das colunas usando flex-basis */
.form-row .col-md-6 {
  flex-basis: calc(50% - 10px); /* 50% menos metade do gap para ajustar */
  max-width: calc(50% - 10px);
}

.form-row .col-md-3 {
  flex-basis: calc(25% - 10px); /* 25% menos metade do gap para ajustar */
  max-width: calc(25% - 10px);
}


.btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border: 1px solid #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

main.fale-conosco {
  padding-top: 20px;
  padding-bottom: 20px;
}

.fale-conosco-content {
  padding: 20px;
}

.fale-conosco-content h1 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

/* Media Queries para responsividade das colunas */
@media (max-width: 991px) { /* Para tablets e telas menores que desktops */
  .form-row .col-md-6 {
    flex-basis: calc(100% - 0px); /* Ocupa a largura total */
    max-width: 100%;
  }
  .form-row .col-md-3 {
    flex-basis: calc(50% - 10px); /* Duas colunas em telas menores */
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 767px) { /* Para celulares */
  .form-row {
    flex-direction: column; /* Empilha os campos em telas pequenas */
    gap: 15px; /* Ajusta o gap quando empilhado */
  }
  .form-row .col-md-6,
  .form-row .col-md-3 {
    flex-basis: 100%; /* Ocupa a largura total */
    max-width: 100%;
  }
}

/* No seu arquivo ../css/style.css */

.whatsapp-button {
    display: inline-flex; /* Para alinhar o ícone e o texto */
    align-items: center; /* Centraliza verticalmente */
    background-color: #25D366; /* Cor verde do WhatsApp */
    color: white; /* Cor do texto */
    padding: 8px 15px;
    border-radius: 20px; /* Bordas arredondadas */
    text-decoration: none; /* Remove sublinhado do link */
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease; /* Transição suave ao passar o mouse */
    margin-left: 10px; /* Espaçamento à esquerda, se necessário */
    white-space: nowrap; /* Evita que o texto quebre linha */
}

.whatsapp-button:hover {
    background-color: #1DA851; /* Cor mais escura ao passar o mouse */
}

/* Se você quiser ajustar o parágrafo onde o botão está */
.top-bar .contact p {
    margin: 5px 0; /* Ajusta o espaçamento entre os parágrafos de contato */
}

/* Para garantir que o ícone tenha o tamanho correto */
.whatsapp-button img {
    width: 20px; /* Tamanho do ícone, ajuste se necessário */
    height: 20px;
    margin-right: 8px; /* Espaço entre o ícone e o texto */
}

/* Se o botão precisar de ajustes para responsividade, considere Media Queries */
@media (max-width: 768px) {
    .whatsapp-button {
        padding: 6px 12px;
        font-size: 13px;
        margin-left: 0; /* Remove margem extra em telas pequenas */
        margin-top: 5px; /* Adiciona margem superior em telas pequenas */
    }
}