/* Estilos para o site da DCG Corretora de Seguros */

:root {
  --primary-color: #005b9f; /* Azul DCG */
  --secondary-color: #0077c8; /* Azul mais claro */
  --accent-color: #ff6600; /* Laranja para destaque */
  --light-color: #f5f9ff; /* Azul muito claro para fundos */
  --dark-color: #003366; /* Azul escuro */
  --text-color: #333333; /* Cor principal para textos */
  --light-text: #ffffff; /* Texto claro */
  --gray-color: #f4f4f4; /* Cinza claro para seções alternadas */
  --border-color: #e0e0e0; /* Cor para bordas */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
}

body {
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

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

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

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  margin-right: 10px;
}

.contact-info {
  display: flex;
  align-items: center;
}

.contact-info .phone {
  display: flex;
  align-items: center;
  margin-right: 20px;
  font-weight: 500;
}

.contact-info .phone i {
  color: var(--primary-color);
  margin-right: 5px;
  font-size: 20px;
}

.contact-info .cta-button {
  background-color: var(--accent-color);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.contact-info .cta-button:hover {
  background-color: #e55c00;
}

/* Navegação */
nav {
  background-color: var(--primary-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  position: relative;
}

.nav-menu li a {
  display: block;
  color: var(--light-text);
  padding: 15px 20px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.nav-menu .dropdown {
  position: relative;
}

.nav-menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.nav-menu .dropdown-content a {
  color: var(--text-color);
  padding: 12px 20px;
  display: block;
}

.nav-menu .dropdown-content a:hover {
  background-color: var(--light-color);
  color: var(--primary-color);
}

.nav-menu .dropdown:hover .dropdown-content {
  display: block;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 91, 159, 0.8), rgba(0, 51, 102, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px 20px 100px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #e55c00;
}

.btn-secondary {
  background-color: transparent;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  border: 2px solid white;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: white;
  color: var(--primary-color);
}

/* Seção de Serviços */
.services {
  padding: 80px 0;
  background-color: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.service-content {
  padding: 25px;
}

.service-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-content p {
  margin-bottom: 20px;
}

.service-content .read-more {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.service-content .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.service-content .read-more:hover i {
  transform: translateX(5px);
}

/* Seção Sobre Nós */
.about {
  padding: 80px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent-color);
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.experience-badge span:first-child {
  font-size: 2.5rem;
  line-height: 1;
}

.about-content h2 {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 20px;
}

.about-features {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-icon {
  color: var(--accent-color);
  font-size: 24px;
  margin-right: 15px;
  margin-top: 5px;
}

.feature-text h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
  font-size: 1.2rem;
}

/* Seção de Depoimentos */
.testimonials {
  padding: 80px 0;
  background-color: var(--light-color);
}

.testimonial-slider {
  margin-top: 40px;
  position: relative;
}

.testimonial-item {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin: 10px;
}

.testimonial-content {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.testimonial-content:before {
  content: '"';
  font-size: 60px;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  left: 0;
  top: -20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.author-info p {
  color: #777;
  font-size: 0.9rem;
}

/* Seção de Parceiros */
.partners {
  padding: 60px 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.partner-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-logo img {
  max-width: 100%;
  max-height: 80px;
}

/* Seção de Blog */
.blog {
  padding: 80px 0;
  background-color: var(--light-color);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #777;
}

.blog-meta span {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 5px;
  color: var(--accent-color);
}

.blog-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.blog-content p {
  margin-bottom: 20px;
}

.blog-content .read-more {
  color: var(--accent-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.blog-content .read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.blog-content .read-more:hover i {
  transform: translateX(5px);
}

/* Seção de CTA */
.cta {
  padding: 80px 0;
  background: linear-gradient(rgba(0, 91, 159, 0.9), rgba(0, 51, 102, 0.95)), url('../images/cta-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

.cta-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.cta-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.cta-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-form button:hover {
  background-color: #e55c00;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  margin-bottom: 20px;
}

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

.footer-about p {
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

.footer-links h3, .footer-contact h3, .footer-newsletter h3 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3:after, .footer-contact h3:after, .footer-newsletter h3:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
  bottom: 0;
  left: 0;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.contact-info {
  margin-bottom: 20px;
}

.contact-info div {
  display: flex;
  margin-bottom: 15px;
}

.contact-info i {
  color: var(--accent-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-newsletter p {
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 0.9rem;
}

.newsletter-form button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e55c00;
}

.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
}

/* Página de Serviços */
.page-header {
  background: linear-gradient(rgba(0, 91, 159, 0.8), rgba(0, 51, 102, 0.9)), url('../images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px 60px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
  color: white;
}

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
  color: var(--accent-color);
}

/* Página de Contato */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-box {
  background-color: var(--primary-color);
  color: white;
  padding: 40px;
  border-radius: 8px;
}

.contact-info-box h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 25px;
}

.contact-info-item i {
  color: var(--accent-color);
  font-size: 24px;
  margin-right: 20px;
  margin-top: 5px;
}

.contact-info-item h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 30px;
}

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

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

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--primary-color);
  outline: none;
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.submit-btn {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e55c00;
}

/* Mapa */
.map-section {
  height: 450px;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividade */
@media (max-width: 1024px) {
  .header-container {
    padding: 10px 20px;
  }
  
  .logo img {
    height: 50px;
  }
  
  .hero h1 {
    font-size: 2.4rem;
  }
  
  .about-container {
    gap: 30px;
  }
  
  .experience-badge {
    width: 100px;
    height: 100px;
    bottom: -15px;
    right: -15px;
  }
  
  .experience-badge span:first-child {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .contact-info {
    margin-top: 15px;
    width: 100%;
    justify-content: space-between;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-container {
    flex-direction: column;
  }
  
  .mobile-menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 25px;
  }
  
  .nav-menu .dropdown-content {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 20px;
  }
  
  .nav-menu .dropdown.active .dropdown-content {
    display: block;
  }
  
  .hero {
    padding: 120px 20px 70px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 40px;
  }
  
  .contact-info {
    flex-direction: column;
    gap: 10px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .services-grid, .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}
