/* Estilos gerais */
:root {
  --primary-color: #467886;
  --secondary-color: #2c4f59;
  --accent-color: #f8f9fa;
  --text-color: #333;
  --light-color: #fff;
  --dark-color: #212529;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --danger-color: #dc3545;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header */
header {
  background-color: var(--light-color);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

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

.logo img {
  max-height: 60px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
  padding: 5px 10px;
  border-radius: 4px;
}

nav ul li a:hover {
  color: var(--secondary-color);
  background-color: var(--accent-color);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 120px 0 60px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  color: var(--light-color);
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--dark-color);
}

/* Sections */
section {
  padding: 60px 0;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
  font-size: 2rem;
}

.section-content {
  margin-bottom: 30px;
}

/* Cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card {
  background-color: var(--light-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 350px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.card p {
  margin-bottom: 15px;
}

/* Team */
.team-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.team-member {
  text-align: center;
  width: 100%;
  max-width: 250px;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--primary-color);
}

.team-member h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.team-member p {
  margin-bottom: 10px;
}

.social-links a {
  color: var(--primary-color);
  margin: 0 5px;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--secondary-color);
}

/* Contact */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

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

.contact-info p {
  margin-bottom: 10px;
}

.contact-form {
  flex: 1;
  min-width: 300px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 40px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--light-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  nav.active {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
  }

  nav ul li {
    margin: 0 0 15px 0;
  }

  .hero {
    padding: 100px 0 40px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section {
    padding: 40px 0;
  }

  section h2 {
    font-size: 1.8rem;
  }
  
  .cotadores-container {
    grid-template-columns: 1fr;
  }
  
  .seguradoras-container {
    justify-content: center;
  }
  
  .seguradora-card {
    max-width: 100%;
  }
  
  .team-container {
    grid-template-columns: 1fr;
    justify-content: center;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info, .contact-form {
    width: 100%;
  }
  
  .tab-buttons {
    flex-wrap: wrap;
  }
  
  .tab-button {
    margin: 5px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Cotadores */
.cotadores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cotador-card {
  background-color: var(--accent-color);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.cotador-card:hover {
  transform: translateY(-5px);
}

.cotador-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.cotador-card h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

/* Seguradoras */
.seguradoras-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.seguradora-card {
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  max-width: 280px;
}

.seguradora-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.seguradora-card p {
  margin-bottom: 5px;
}

/* Sinistro */
.sinistro-steps {
  margin-bottom: 30px;
}

.sinistro-steps ol {
  padding-left: 20px;
}

.sinistro-steps li {
  margin-bottom: 10px;
}

/* Coberturas */
.coberturas-tabs {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.tab-button {
  padding: 10px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-color);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.tab-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.tab-content li {
  margin-bottom: 8px;
}
