/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", Arial, sans-serif;
  line-height: 1.42857;
  color: #333;
  background-color: #ffffff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background-color: #005093;
  padding: 10px 0;
  text-align: center;
  position: relative;
}

.logo {
  max-width: 265px;
  height: auto;
}

/* Countdown Timer - Discreto abaixo da logo */
.countdown-container {
  margin-top: 10px;
  text-align: center;
}

.countdown-text {
  color: white;
  font-size: 20px;
  margin-bottom: 5px;
  font-weight: 600;
}

.countdown-timer {
  background: linear-gradient(45deg, #00ff86, #17a460);
  color: #005093;
  padding: 7px 15px;
  border-radius: 15px;
  font-weight: bold;
  font-size: 20px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 255, 134, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #0663a8 0%, #0663a8 100%),
    url("https://d335luupugsy2.cloudfront.net/cms/files/184411/1601738918/$wh387811eh");
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  min-height: 623px;
  display: flex;
  align-items: center;
}

.hero-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  min-height: 623px;
}

.hero-left {
  flex: 7;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 50px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1;
}

.title-white {
  color: white;
}

.title-highlight {
  background-color: #00ff86;
  color: #005093;
  padding: 0 10px;
}

.hero-subtitle {
  font-size: 28px;
  font-weight: bold;
  color: white;
  margin-bottom: 30px;
}

.hero-image {
  margin-top: 20px;
}

.hero-image img {
  margin-bottom: -80px;
  width: 100%;
  height: auto;
}

.hero-right {
  flex: 5;
  display: flex;
  align-items: flex-start;
  padding-top: 30px;
}

/* Form Container - Melhorias sutis */
.form-container {
  background: linear-gradient(135deg, #005093 0%, #094f88 100%);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  position: relative;
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff86, #17a460);
  border-radius: 10px 10px 0 0;
}

.form-title {
  color: white;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  margin-bottom: 20px;
}

.form-title-highlight {
  background-color: #00ff86;
  color: #005093;
  padding: 0 5px;
}

/* Enhanced Form Styles - MELHORIAS PARA VISIBILIDADE DOS SELECTS */
.inscricao-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: white;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.form-group input,
.form-group select {
  padding: 12px 15px; /* Aumentado de 8px 12px para 12px 15px */
  border: 2px solid #17a460;
  border-radius: 9px;
  font-size: 20px; /* Aumentado de 18px para 20px */
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600; /* Adicionado peso da fonte para melhor visibilidade */
  background-color: white;
  color: #333;
  height: 48px; /* Aumentado de 32px para 48px */
  box-shadow: inset 0px 2px 3px #ddd;
  transition: all 0.3s ease;
  line-height: 1.2; /* Adicionado para melhor alinhamento do texto */
}

/* Correção APRIMORADA para visibilidade dos campos select */
.form-group select {
  color: #333 !important;
  background-color: white !important;
  cursor: pointer;
  appearance: none; /* Remove estilo padrão do browser */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px; /* Espaço para a seta customizada */
}

.form-group select option {
  color: #333 !important;
  background-color: white !important;
  padding: 8px 12px; /* Aumentado de 5px para 8px 12px */
  font-size: 18px; /* Tamanho específico para as opções */
  font-weight: 500;
  line-height: 1.4;
}

/* Estados de foco melhorados */
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #00ff86;
  box-shadow: 0 0 0 3px rgba(0, 255, 134, 0.2);
  transform: translateY(-1px);
}

/* Hover state para selects */
.form-group select:hover {
  border-color: #00ff86;
  box-shadow: 0 2px 8px rgba(0, 255, 134, 0.1);
}

.form-group input::placeholder {
  color: transparent;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 0;
}

.terms-group {
  margin-top: 0;
}

.terms-text {
  color: white;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
}

.terms-text a {
  color: white;
  text-decoration: underline;
}

.submit-btn {
  background: linear-gradient(45deg, #00ff86, #17a460);
  color: #005093;
  border: none;
  border-radius: 18px;
  padding: 12px 20px;
  font-size: 24px;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  cursor: pointer;
  height: 50px;
  margin-top: 15px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 255, 134, 0.3);
}

/* Felipe Araújo Section - Imagem grande com CTA abaixo */
.felipe-section {
  background-color: #f8f9fa;
  padding: 40px 0;
}

.felipe-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
}

.felipe-image {
  width: 100%;
  position: relative;
}

.felipe-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 80, 147, 0.3);
  transition: all 0.3s ease;
}

.felipe-image img:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 80, 147, 0.4);
}

.felipe-cta {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: center;
}

.felipe-cta-btn {
  background: linear-gradient(45deg, #00ff86, #17a460);
  color: #005093;
  border: none;
  border-radius: 25px;
  padding: 20px 40px;
  font-size: 22px;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 10px 30px rgba(0, 255, 134, 0.3);
  width: 100%;
  max-width: 500px;
}

.felipe-cta-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 255, 134, 0.4);
  background: linear-gradient(45deg, #17a460, #00ff86);
}

/* Success Page Styles - Melhorias visuais inovadoras */
.success-hero {
  background: linear-gradient(135deg, #005093 0%, #0663a8 100%);
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.success-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Animação de confetes */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #00ff86;
  animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  background: #00ff86;
}
.confetti:nth-child(2) {
  left: 20%;
  animation-delay: 0.5s;
  background: #17a460;
}
.confetti:nth-child(3) {
  left: 30%;
  animation-delay: 1s;
  background: #00ff86;
}
.confetti:nth-child(4) {
  left: 40%;
  animation-delay: 1.5s;
  background: #17a460;
}
.confetti:nth-child(5) {
  left: 60%;
  animation-delay: 0.3s;
  background: #00ff86;
}
.confetti:nth-child(6) {
  left: 70%;
  animation-delay: 0.8s;
  background: #17a460;
}
.confetti:nth-child(7) {
  left: 80%;
  animation-delay: 1.3s;
  background: #00ff86;
}
.confetti:nth-child(8) {
  left: 90%;
  animation-delay: 1.8s;
  background: #17a460;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

.success-icon {
  margin-bottom: 30px;
}

.checkmark-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ff86, #17a460);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  animation: scaleIn 0.8s ease-out;
  box-shadow: 0 10px 30px rgba(0, 255, 134, 0.4);
}

.checkmark {
  font-size: 60px;
  color: #005093;
  font-weight: bold;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.success-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 40px;
  line-height: 1.2;
}

.success-message {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Card de sucesso */
.success-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.success-card h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #00ff86;
}

.success-card p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 255, 134, 0.1);
  padding: 15px 20px;
  border-radius: 25px;
  border: 1px solid rgba(0, 255, 134, 0.3);
}

.contact-icon {
  font-size: 20px;
}

/* Timeline de próximos passos */
.next-steps {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-steps h3 {
  font-size: 24px;
  color: #00ff86;
  margin-bottom: 25px;
  text-align: center;
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.timeline-item {
  flex: 1;
  min-width: 200px;
  text-align: center;
  position: relative;
}

.timeline-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(45deg, #00ff86, #17a460);
  color: #005093;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  margin: 0 auto 15px;
  box-shadow: 0 4px 15px rgba(0, 255, 134, 0.3);
}

.timeline-content h4 {
  font-size: 18px;
  color: #00ff86;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

/* Felipe success message */
.felipe-success-message {
  text-align: center;
  color: white;
  background: rgba(0, 255, 134, 0.1);
  padding: 20px;
  border-radius: 15px;
  border: 2px solid rgba(0, 255, 134, 0.3);
  backdrop-filter: blur(10px);
}

.felipe-success-message h4 {
  font-size: 20px;
  color: #00ff86;
  margin-bottom: 10px;
}

.felipe-success-message p {
  font-size: 16px;
  color: white;
}

/* Video Section */
.video-section {
  background-color: #005093;
  padding: 30px 0 50px;
  text-align: center;
}

.section-title {
  font-size: 40px;
  font-weight: bold;
  color: #00ff86;
  margin-bottom: 50px;
}

.section-title .title-highlight {
  background-color: #00ff86;
  color: #005093;
  padding: 0 10px;
}

.video-container {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-top: -50px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* CTA Section */
.cta-section {
  background-color: #094f88;
  padding: 40px 0;
  text-align: center;
}

.cta-title {
  font-size: 40px;
  font-weight: bold;
  color: white;
  margin-bottom: 20px;
}

.cta-btn {
  background-color: #00ff86;
  color: #005093;
  border: none;
  border-radius: 22px;
  padding: 15px 30px;
  font-size: 27px;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  cursor: pointer;
  height: 57px;
  min-width: 315px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 255, 134, 0.3);
}

/* Ratings Section */
.ratings-section {
  padding: 60px 0;
  text-align: center;
  background-color: white;
}

.ratings-title {
  font-size: 50px;
  font-weight: bold;
  color: #094f88;
  margin-bottom: 30px;
}

.mec-badge {
  margin: 20px 0;
}

.mec-badge img {
  max-width: 320px;
  height: auto;
}

.ratings-subtitle {
  font-size: 30px;
  color: #094f88;
  margin: 40px auto;
  max-width: 890px;
  line-height: 1.2;
}

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

.rating-item {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
}

.rating-item img {
  width: 120px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.rating-score {
  font-size: 30px;
  font-weight: bold;
  color: #094f88;
}

/* Final CTA Section */
.final-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: white;
}

.final-cta-title {
  font-size: 40px;
  font-weight: bold;
  color: #094f88;
  margin-bottom: 20px;
}

.final-cta-btn {
  background-color: #00ff86;
  color: #005093;
  border: none;
  border-radius: 22px;
  padding: 15px 30px;
  font-size: 27px;
  font-weight: bold;
  font-family: "Source Sans Pro", sans-serif;
  cursor: pointer;
  height: 57px;
  min-width: 315px;
  transition: all 0.3s ease;
}

.final-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 255, 134, 0.3);
}

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

.footer-logo {
  max-width: 293px;
  height: auto;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: slideIn 0.3s ease;
}

.close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
}

.close:hover {
  color: #333;
}

.modal-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.modal-content h2 {
  margin-bottom: 1rem;
  color: #333;
}

.modal-content p {
  margin-bottom: 2rem;
  color: #666;
}

.modal-btn {
  background-color: #00ff86;
  color: #005093;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.modal-btn:hover {
  transform: scale(1.05);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .form-container {
    padding: 15px;
    margin-top: 0;
  }

  /* MELHORIAS MOBILE PARA SELECTS */
  .form-group input,
  .form-group select {
    height: 52px; /* Aumentado ainda mais no mobile */
    font-size: 18px; /* Mantido tamanho adequado para mobile */
    padding: 14px 16px; /* Padding maior no mobile */
  }

  .form-group select {
    padding-right: 45px; /* Mais espaço para a seta no mobile */
  }

  .hero {
    min-height: auto;
    padding: 20px 0;
  }

  .hero-content {
    flex-direction: column;
    gap: 20px;
  }

  .hero-left,
  .hero-right {
    flex: none;
    width: 100%;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .form-container {
    margin-top: 20px;
  }

  .felipe-image img {
    min-height: auto;
  }

  .felipe-cta-btn {
    font-size: 18px;
    padding: 18px 30px;
  }

  .ratings-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .rating-item {
    max-width: 250px;
  }

  .video-container {
    max-width: 580px;
  }

  .ratings-title {
    font-size: 35px;
  }

  .ratings-subtitle {
    font-size: 24px;
  }

  .cta-title,
  .final-cta-title {
    font-size: 32px;
  }

  .success-title {
    font-size: 32px;
  }

  .timeline {
    flex-direction: column;
    align-items: center;
  }

  .timeline-item {
    max-width: 300px;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .form-title {
    font-size: 20px;
  }

  /* AJUSTES FINAIS PARA TELAS PEQUENAS */
  .form-group input,
  .form-group select {
    height: 50px;
    font-size: 17px;
    padding: 13px 15px;
  }

  .form-group select {
    padding-right: 42px;
  }

  .submit-btn {
    font-size: 20px;
    height: 45px;
  }

  .section-title {
    font-size: 32px;
  }

  .ratings-title {
    font-size: 28px;
  }

  .ratings-subtitle {
    font-size: 20px;
  }

  .cta-title,
  .final-cta-title {
    font-size: 28px;
  }

  .cta-btn,
  .final-cta-btn {
    font-size: 22px;
    min-width: 280px;
    height: 50px;
  }

  .container {
    padding: 0 15px;
  }

  .countdown-timer {
    font-size: 12px;
    padding: 5px 10px;
  }

  .felipe-image {
    max-width: 100%;
  }

  .felipe-cta-btn {
    font-size: 16px;
    padding: 15px 25px;
  }

  .success-title {
    font-size: 28px;
  }

  .success-card {
    padding: 25px;
  }

  .next-steps {
    padding: 20px;
  }
}

/* Form Error States */
.form-group input.error,
.form-group select.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

/* Loading State */
.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-btn.loading {
  background-color: #ccc;
  color: #666;
}
