/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Container padrão */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.header {
  background: #4f14ff;
  color: white;
  padding: 15px 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header .logo {
  background: azure;
  width: 7rem;
  height: 7rem;
  padding: 0.2rem;
  border-radius: 5px;
}
.header ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.header ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Seção Formulário */
.form-section {
  background: url("assets/bg.png") no-repeat center center/cover;
  padding: 80px 0;
}
.form-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.form-text {
  flex: 1;
  color: #ffffff; /* branco para contrastar com fundo escuro */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}
.form-text h1 {
  font-size: 2rem; /* título maior */
  font-weight: 700; /* mais negrito */
  margin-bottom: 20px;
}
.form-text p {
  color: white;
  font-size: 1.7rem; /* aumenta um pouco o tamanho do parágrafo */
  line-height: 1.6; /* deixa mais legível */
  margin-bottom: 10px;
}
.form-card {
  flex: 1;
  background: #4f14ff;
  padding: 25px;
  border-radius: 10px;
  color: black;
}
.form-card h2 {
  margin-bottom: 15px;
  color: #ffffff; /* branco para contrastar com fundo escuro */
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.form-card input,
.form-card select,
.form-card button {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: none;
  border-radius: 6px;
  font-size: 16px;
}
.form-card input,
.form-card select {
  background: white;
}
.form-card button {
  background: #2ecc71;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.form-card button:hover {
  background: #27ae60;
}
.form-card .privacidade {
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
}

/* Seção Planos */
.planos-section {
  padding: 60px 0;
  text-align: center;
}
.planos-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #030c43;
}
.planos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.planos-grid img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

/* Seção Empresa */
.empresa-section {
  background: #f4f4f4;
  padding: 60px 0;
  text-align: center;
}
.empresa-section h2 {
  font-size: 28px;
  color: #030c43;
  margin-bottom: 20px;
}

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

.contato-section {
  padding: 80px 20px;
  background-color: #ffffff;
  text-align: center;
}

.contato-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #030c43;
}

.contato-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contato-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.contato-item {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex: 1 1 250px;
  max-width: 300px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contato-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.contato-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #333;
}

.contato-item p {
  font-size: 1.1rem;
  color: #555;
}

.contato-item a {
  color: #25d366;
  text-decoration: none;
  font-weight: bold;
}

.contato-item a:hover {
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
}
/* Responsividade extra */
@media (max-width: 768px) {
  /* Header */
  .header-content {
    flex-direction: column;
    gap: 15px;
  }
  .header ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Texto e formulário */
  .form-text h1 {
    font-size: 26px;
    text-align: center;
  }
  .form-text p {
    text-align: center;
  }
  .form-card {
    width: 100%;
  }

  /* Planos */
  .planos-grid {
    gap: 20px;
  }
  .planos-grid img {
    width: 100px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  .header .logo {
    width: 7rem;
    height: 7rem;
  }
  .form-text h1 {
    font-size: 22px;
  }
  .form-text p {
    font-size: 20px;
  }
  .form-card h2 {
    font-size: 18px;
  }
  .planos-grid img {
    width: 80px;
  }
}
.empresa-info {
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.empresa-flex {
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
  gap: 20px;
}

.empresa-logo img {
  height: 5rem;
}

.empresa-dados {
  flex: 1;
  min-width: 200px;
  font-size: 14px;
  color: #333;
}

.empresa-dados p {
  font-size: 1.1rem;
  margin: 3px 0;
}

.empresa-botao {
  flex-shrink: 0;
}

.btn-cotacao {
  display: inline-block;
  background: #00b050; /* verde chamativo */
  color: #fff;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-cotacao:hover {
  background: #008a3c;
}

/* Ajuste visual da seção Empresa */
.empresa-conteudo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.empresa-imagem img {
  max-width: 320px;
  width: 100%;
  border-radius: 10px;
}

.empresa-texto {
  max-width: 600px;
  font-size: 1.1rem;
  color: #333;
}

.empresa-texto p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .empresa-conteudo {
    flex-direction: column;
    text-align: center;
  }

  .empresa-imagem img {
    max-width: 260px;
  }
}
/* Carrossel Hospitais Amil */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.carousel-track-container {
  overflow: hidden;
  width: 85%; /* ocupa quase toda a área */
  max-width: 900px; /* limita em telas grandes */
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-track img {
  width: 100%; /* imagem ocupa todo o slide */
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Botões */
.carousel-btn {
  background: #4f14ff;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background: #3a0fd1;
}

.carousel-btn.prev {
  margin-right: 10px;
}

.carousel-btn.next {
  margin-left: 10px;
}

/* Mobile */
@media (max-width: 768px) {
  .carousel-track-container {
    width: 95%;
  }
}
