/* CSS Moderno para Página de Contato - Layout Vertical - Data Age */

/* Variáveis específicas para a página de contato */
:root {
  --gradient-primary: linear-gradient(135deg, #0a2540 0%, #2bb1e0 100%);
  --gradient-secondary: linear-gradient(135deg, #00a99d 0%, #2bb1e0 100%);
  --gradient-accent: linear-gradient(135deg, #d16014 0%, #ffd549 100%);
  --shadow-soft: 0 4px 20px rgba(10, 37, 64, 0.1);
  --shadow-medium: 0 8px 30px rgba(10, 37, 64, 0.15);
  --shadow-strong: 0 20px 60px rgba(10, 37, 64, 0.2);
  --blur-backdrop: blur(20px);
  --animation-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero Section Moderna */
.hero-contato {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-primary);
  color: var(--branco);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 20%,
      rgba(43, 177, 224, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(0, 169, 157, 0.2) 0%,
      transparent 50%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: var(--blur-backdrop);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--animation-smooth);
}

.hero-badge i {
  width: 16px;
  height: 16px;
  color: var(--amarelo);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s var(--animation-smooth) 0.2s both;
}

.hero-title .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--animation-smooth) 0.4s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--animation-smooth) 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amarelo);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

/* Seção Principal de Contato - LAYOUT VERTICAL */
.contato-principal {
  padding: 80px 0;
  background: var(--cinza-fundo-claro);
  position: relative;
}

/* Seção do Formulário - LARGURA TOTAL */
.formulario-section {
  margin-bottom: 60px;
}

.formulario-container {
  background: var(--branco);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
  max-width: 1000px; /* Largura máxima para o formulário */
  margin: 0 auto; /* Centraliza o formulário */
}

.formulario-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.formulario-header {
  margin-bottom: 32px;
  text-align: center;
}

.formulario-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-escuro-principal);
  margin-bottom: 12px;
}

.formulario-header p {
  color: var(--cinza-texto-secundario);
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 600px;
  margin: 0 auto;
}

/* Container do iframe */
.iframe-container {
  position: relative;
  width: 100%;
  min-height: 800px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cinza-fundo-claro);
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  min-height: 800px;
  border: none;
  border-radius: 12px;
}

/* Seção de Informações - CARDS HORIZONTAIS */
.info-section {
  margin-top: 60px;
}

.info-header-section {
  text-align: center;
  margin-bottom: 40px;
}

.info-header-section h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--azul-escuro-principal);
  margin-bottom: 12px;
}

.info-header-section p {
  color: var(--cinza-texto-secundario);
  font-size: 1.1rem;
}

/* Grid de Cards Horizontais */
.contato-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 2fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards de Contato */
.contato-card {
  background: var(--branco);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--cinza-bordas);
  transition: all 0.3s var(--animation-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contato-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
  transform: scaleX(0);
  transition: transform 0.3s var(--animation-smooth);
}

.contato-card:hover::before {
  transform: scaleX(1);
}

.contato-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: var(--azul-claro);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s var(--animation-smooth);
}

.contato-card:hover .card-icon {
  transform: scale(1.1);
  background: var(--gradient-primary);
}

.card-icon i {
  width: 28px;
  height: 28px;
  color: var(--branco);
}

.card-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--azul-escuro-principal);
  margin-bottom: 8px;
}

.card-main-info {
  font-size: 1rem;
  font-weight: 600;
  color: var(--azul-claro);
  margin-bottom: 6px;
  word-break: break-word;
}

.card-detail {
  font-size: 0.9rem;
  color: var(--cinza-texto-secundario);
  font-style: italic;
}

/* Seção de Benefícios */
.beneficios-contato {
  padding: 80px 0;
  background: var(--branco);
}

.beneficios-header {
  text-align: center;
  margin-bottom: 60px;
}

.beneficios-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--azul-escuro-principal);
  margin-bottom: 16px;
}

.beneficios-header p {
  font-size: 1.2rem;
  color: var(--cinza-texto-secundario);
}

.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.beneficio-card {
  background: var(--branco);
  border: 1px solid var(--cinza-bordas);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--animation-smooth);
  position: relative;
  overflow: hidden;
}

.beneficio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: opacity 0.3s var(--animation-smooth);
  z-index: 1;
}

.beneficio-card:hover::before {
  opacity: 0.05;
}

.beneficio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--azul-claro);
}

.beneficio-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-secondary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
}

.beneficio-icon i {
  width: 32px;
  height: 32px;
  color: var(--branco);
}

.beneficio-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--azul-escuro-principal);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.beneficio-card p {
  color: var(--cinza-texto-secundario);
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

/* Seção do Mapa */
.mapa-section {
  padding: 80px 0;
  background: var(--cinza-fundo-claro);
}

.mapa-header {
  text-align: center;
  margin-bottom: 40px;
}

.mapa-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--azul-escuro-principal);
  margin-bottom: 12px;
}

.mapa-header p {
  font-size: 1.1rem;
  color: var(--cinza-texto-secundario);
}

.mapa-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.mapa-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 20px;
  background: var(--gradient-secondary);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: 1;
  pointer-events: none;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--animation-smooth);
  font-size: 1rem;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: var(--branco);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn i {
  width: 18px;
  height: 18px;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsividade */
@media (max-width: 1200px) {
  .formulario-container {
    max-width: 900px;
  }

  .contato-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}

@media (max-width: 1024px) {
  .hero-stats {
    gap: 24px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .iframe-container {
    min-height: 700px;
  }

  .iframe-container iframe {
    min-height: 700px;
  }

  .contato-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-contato {
    min-height: 60vh;
  }

  .hero-content {
    padding: 40px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .contato-principal,
  .beneficios-contato,
  .mapa-section {
    padding: 60px 0;
  }

  .formulario-container {
    padding: 24px;
    max-width: 100%;
  }

  .beneficios-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .iframe-container {
    min-height: 600px;
  }

  .iframe-container iframe {
    min-height: 600px;
  }

  .contato-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contato-card {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

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

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

  .formulario-container {
    padding: 20px;
  }

  .iframe-container {
    min-height: 500px;
  }

  .iframe-container iframe {
    min-height: 500px;
  }

  .contato-card {
    padding: 20px 16px;
  }

  .card-icon {
    width: 56px;
    height: 56px;
  }

  .card-icon i {
    width: 24px;
    height: 24px;
  }
}
