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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Color Variables */
:root {
  --primary-orange: #ff8c00;
  --secondary-orange: #ffa500;
  --light-orange: #ffe4b5;
  --dark-orange: #ff6347;
  --gradient-orange: linear-gradient(135deg, #ff8c00 0%, #ffa500 100%);
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(255, 140, 0, 0.1);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-orange);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff08" points="0,1000 1000,800 1000,1000"/></svg>');
  background-size: cover;
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo-img {
  max-width: 200px;
  height: auto;
  border-radius: 15px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Animated Logo */
.animated-logo {
  position: relative;
  width: 240px;
  /* Reduzido 20% de 300px */
  height: 240px;
  /* Reduzido 20% de 300px */
  margin: 0;
  /* Removido auto para alinhar à esquerda */
}

.logo-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.logo-frame.active {
  opacity: 1;
}

.animated-logo:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-illustration {
  text-align: center;
}

.hero-illustration i {
  font-size: 15rem;
  color: rgba(255, 255, 255, 0.2);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* Buttons */
.btn-primary {
  background: var(--white);
  border: none;
  color: var(--primary-orange);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--light-orange);
  color: var(--dark-orange);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 140, 0, 0.2);
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

/* Info Cards */
.info-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 140, 0, 0.1);
  box-shadow: var(--shadow);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 140, 0, 0.15);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: var(--white);
}

.info-card h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Process Info */
.process-info {
  background: var(--light-orange);
  padding: 3rem;
  border-radius: 20px;
  margin: 2rem 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.step-number {
  width: 50px;
  height: 50px;
  background: var(--gradient-orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: var(--text-light);
  margin: 0;
}

/* Important Notice */
.important-notice {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  padding: 2rem;
  border-radius: 15px;
  border-left: 5px solid var(--secondary-orange);
}

.important-notice h3 {
  color: var(--dark-orange);
  font-weight: 600;
  margin-bottom: 1rem;
}

.important-notice h3 i {
  margin-right: 0.5rem;
}

.important-notice p {
  color: var(--text-dark);
  margin: 0;
}

/* Guidelines */
.guidelines {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.guideline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 140, 0, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.guideline-item:hover {
  background: rgba(255, 140, 0, 0.1);
  transform: translateX(5px);
}

.guideline-item i {
  color: var(--primary-orange);
  font-size: 1.2rem;
}

.guideline-item span {
  color: var(--text-dark);
  font-weight: 500;
}

/* Terms Agreement */
.terms-agreement {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}

.form-check {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--primary-orange);
}

.form-check-input:checked {
  background-color: var(--primary-orange);
  border-color: var(--primary-orange);
}

.form-check-label {
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}

/* Form Section */
#form-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid rgba(255, 140, 0, 0.2);
  border-radius: 10px;
  padding: 12px 15px;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 140, 0, 0.25);
}

.form-text {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Modal Styles */
.modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: var(--shadow);
}

.modal-header {
  background: var(--gradient-orange);
  color: var(--white);
  border-radius: 20px 20px 0 0;
  border-bottom: none;
}

.modal-title {
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .hero-illustration i {
    font-size: 8rem;
  }

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

  .info-card {
    margin-bottom: 2rem;
  }

  .process-info {
    padding: 2rem 1.5rem;
  }

  .form-container {
    padding: 2rem 1.5rem;
  }

  .process-step {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .step-number {
    margin-bottom: 1rem;
  }
}

/* Styles moved from inline styles */
.form-section-hidden {
  display: none;
}

.success-icon-large {
  font-size: 3rem;
}

.inline-form {
  display: inline;
}

.modal-image {
  max-height: 500px;
  object-fit: contain;
}

.modal-iframe {
  width: 100%;
  height: 500px;
  border: none;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-illustration i {
    font-size: 6rem;
  }

  .info-card {
    padding: 2rem 1.5rem;
  }

  .form-container {
    padding: 1.5rem;
  }

  .guidelines {
    padding: 2rem 1.5rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid var(--primary-orange);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}