@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(195, 158, 70, 0.5),
                0 0 10px rgba(195, 158, 70, 0.3),
                0 0 15px rgba(195, 158, 70, 0.1);
  }
  50% {
    box-shadow: 0 0 10px rgba(195, 158, 70, 0.8),
                0 0 20px rgba(195, 158, 70, 0.5),
                0 0 30px rgba(195, 158, 70, 0.3);
  }
  100% {
    box-shadow: 0 0 5px rgba(195, 158, 70, 0.5),
                0 0 10px rgba(195, 158, 70, 0.3),
                0 0 15px rgba(195, 158, 70, 0.1);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Carrossel */
.carousel-container,
.testimonial-carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.swiper-slide {
  padding: 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-item i {
  font-size: 2rem;
  color: #002657;
  margin-bottom: 12px;
}

.carousel-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002657;
}

.carousel-item p {
  margin-top: 8px;
  color: #4b5563;
}

/* Swiper */
.swiper-pagination {
  position: relative;
  margin-top: 16px;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d1d5db;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #c39e46;
}

/* Vídeo */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 50%; /* Centraliza verticalmente */
  left: 50%; /* Centraliza horizontalmente */
  width: 101%; /* Levemente maior que 100% */
  height: 101%; /* Levemente maior que 100% */
  transform: translate(-50%, -50%); /* Ajuste para centralizar após aumentar */
  border: 0;
}

/* Carrossel de Depoimentos */
.testimonial-item {
  padding: 20px;
  background: white;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 16px;
  object-fit: cover;
}

.testimonial-item .quote-icon {
  font-size: 2rem;
  color: #c39e46;
  margin-bottom: 12px;
}

.testimonial-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #002657;
  margin-bottom: 4px;
}

.testimonial-item p.location {
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.testimonial-item p.message {
  font-style: italic;
  color: #4b5563;
  line-height: 1.5;
}

/* Carrossel de Planos */
.plans-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #4b5563;
  padding: 20px 0;
}

.plans-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.plan-item {
  flex: 1 1 0;
  max-width: 350px;
  min-width: 280px;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.04);
  padding: 32px 24px;
  margin: 0 auto;
  transition: box-shadow 0.3s, transform 0.3s;
}

.plan-item:hover {
  box-shadow: 0 8px 32px 0 rgba(195, 158, 70, 0.18);
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
}

/* fix barra dourada */
.plan-item::before {
  display: none;
}

.plan-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-item p {
  font-size: 1.1rem;
  color: #222;
  margin: 0;
  font-weight: 500;
}

.plan-item .amount {
  font-size: 2rem;
  font-weight: bold;
  color: #c39e46;
  margin: 0 0 10px 0;
  word-break: break-word;
}

.plan-item .button {
  display: inline-block;
  background-color: #c39e46;
  color: white;
  padding: 12px 28px;
  border-radius: 7px;
  text-decoration: none;
  margin-top: 18px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.plan-item .button:hover {
  background-color: #a78b3a;
}

.plan-item hr {
  width: 100%;
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 10px 0;
}

/* fix barra de rolagem dos cards de investimento */
.planos-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.beneficios-list {
  list-style: disc inside;
  margin: 0 0 0 1rem;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c39e46;
  line-height: 1.3;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

@media (max-width: 1100px) {
  .planos-grid {
    flex-wrap: wrap;
    gap: 2rem;
  }
  .plan-item {
    max-width: 100%;
    min-width: 320px;
    min-height: 540px;
  }
}

@media (max-width: 900px) {
  .planos-grid {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    flex-wrap: nowrap;
  }
  .plan-item {
    max-width: 400px;
    min-width: 0;
    min-height: 480px;
  }
}

/* Header planos investimento */
.plans-header {
  color: #ffffff;
  margin-bottom: 2rem;
}

.plans-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.plans-header p {
  font-size: 1.25rem;
  color: #e5e7eb;
  max-width: 800px;
  margin: 0 auto;
}

/* Tooltip do card */
.plan-item .info {
  position: relative;
  z-index: 1000;
  display: inline-block;
  background: transparent;
  max-width: 100%;
}

.plan-item .info::after {
  content: attr(data-tooltip);
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
  padding: 10px 16px;
  background-color: #002657;
  color: #fff;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: pre-line;
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  min-width: 180px;
  max-width: 250px;
  text-align: center;
  pointer-events: none;
  word-break: break-word;
  opacity: 0;
  transition: opacity 0.15s;
}

.plan-item .info:hover::after,
.plan-item .info:focus::after {
  display: block;
  opacity: 1;
}

.plan-item .info::before {
  content: '';
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 5px);
  border-width: 7px;
  border-style: solid;
  border-color: #002657 transparent transparent transparent;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.15s;
}

.plan-item .info:hover::before,
.plan-item .info:focus::before {
  display: block;
  opacity: 1;
}

.tooltip-wrapper {
  position: relative;
  display: inline-block;
  overflow: visible;
}

.info {
  color: #c39e46;
  font-size: 22px;
  cursor: pointer;
  margin-left: 4px;
  transition: color 0.2s;
  vertical-align: middle;
  position: relative;
  z-index: 1000;
}

.info:focus {
  outline: 2px solid #c39e46;
}

.tooltip-text {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 10px);
  background: #002657;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  white-space: pre-line;
  min-width: 180px;
  max-width: 250px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: opacity 0.2s;
  visibility: hidden;
}

.tooltip-wrapper:hover .tooltip-text,
.tooltip-wrapper:focus-within .tooltip-text {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 7px;
  border-style: solid;
  border-color: #002657 transparent transparent transparent;
}

/* Estilos do body */
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
}

/* Header */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section > div {
  position: relative;
  z-index: 2;
}

/* Cards e Elementos */
.plan-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c39e46, #e6c76e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.plan-item:hover::before {
  opacity: 1;
}

.plan-item .button {
  background: linear-gradient(135deg, #c39e46 0%, #e6c76e 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(195, 158, 70, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  margin-top: auto;
}

.plan-item .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 158, 70, 0.3);
  background: linear-gradient(135deg, #e6c76e 0%, #c39e46 100%);
}

/* Carrossel de Depoimento */
.testimonial-item {
  background: #ffffff;
  border-radius: 16px;
}

/* Botões flutuantes */
.back-to-top,
.whatsapp-button {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top {
  bottom: 30px;
  right: 30px;
  display: none;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

.whatsapp-button {
  bottom: 90px;
  right: 30px;
  background: #c39e46;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.whatsapp-button:hover {
  transform: translateY(-5px);
  background: #a78b3a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* título do hero */
.hero-section h1 {
  color: #ffffff;
}

/* botão CTA */
.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #c39e46 0%, #e6c76e 100%);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(195, 158, 70, 0.2);
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(195, 158, 70, 0.3);
  background: linear-gradient(135deg, #e6c76e 0%, #c39e46 100%);
}

/* Footer */
footer {
  position: relative;
  z-index: 10;
}

footer .social-button {
  transition: transform 0.3s ease;
}

footer .social-button:hover {
  transform: translateY(-3px);
}

footer .instagram-gradient {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Captador de Leads - ajuste para rolagem com header fixo */
#leadForm {
  scroll-margin-top: 130px; /* Ajuste o valor conforme a altura do cabeçalho fixo */
}

/* Melhorias de Responsividade */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .hero-section p {
    font-size: 20px;
    line-height: 28px;
  }
  
  #leadForm {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    padding: 1rem;
  }
  
  .video-container {
    margin: 0 -1rem;
  }
}

/* Feedback Visual do Formulário */
.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #c39e46;
  box-shadow: 0 0 0 3px rgba(195, 158, 70, 0.2);
  outline: none;
}

.form-control.error {
  border-color: #ef4444;
}

.form-control.success {
  border-color: #10b981;
}

.error-message {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: none;
}

.error-message.show {
  display: block;
}

.success-message {
  display: none;
  padding: 15px;
  background-color: #4CAF50;
  color: white;
  border-radius: 8px;
  margin: 10px 0;
  text-align: center;
  font-weight: 500;
  animation: fadeInUp 0.5s ease-out;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.success-message.show {
  display: block;
  animation: fadeInUp 0.5s ease-out;
}

/* Loading State */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  top: 50%;
  left: 50%;
  margin: -0.75rem 0 0 -0.75rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Proteção contra Spam */
.honeypot {
  display: none;
}

.plan-item-footer {
  margin-top: auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.cta-protecao {
  display: block;
  width: 100%;
  background: #c39e46;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  padding: 16px 0;
  box-shadow: 0 2px 8px 0 rgba(195, 158, 70, 0.10);
  text-align: center;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: background 0.2s, box-shadow 0.2s;
  margin: 0;
}

.cta-protecao:hover {
  background: #a78b3a;
  box-shadow: 0 4px 16px 0 rgba(195, 158, 70, 0.18);
} 