:root {
  --primary-color: #009c3b;
  --secondary-color: #ffdf00;
  --accent-color: #002776;
  --dark-color: #1a1a1a;
  --light-color: #f8f8f8;
  --text-color: #333;
  --transition: all 0.3s ease;
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 15px 40px rgba(0, 0, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 20px;
}

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

.container-white {
  background-color: white;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}

.btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
}

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

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
}

.text-white {
  color: white !important;
}

.text-white h2 {
  color: white !important;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
}

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

.logo img {
  height: 50px;
  margin-right: 15px;
}

.logo-text h1 {
  color: white;
  font-size: 18px;
  margin-bottom: 0;
}

.logo-text p {
  font-size: 12px;
  margin: 0;
  opacity: 0.8;
}

.language-selector {
  display: flex;
  align-items: center;
}

.language-selector a {
  color: white;
  margin-left: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  transition: var(--transition);
}

.language-selector a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.language-selector .flag-link {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
}

.language-selector .flag-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.language-selector .flag-link img {
  transition: var(--transition);
}

.language-selector .flag-link:hover img {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imgi_9_jogadores-de-futebol-em-acao-no-estadio-profissional-2-scaled-1.jpg') center/cover no-repeat;
  color: white;
  padding: 120px 0 60px;
  text-align: center;
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 15px;
  color: white;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .edition {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.hero-date {
  font-size: 22px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  display: inline-block;
}

/* Countdown */
.countdown {
  margin-top: 30px;
}

.countdown h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 20px;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.countdown-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  min-width: 100px;
  backdrop-filter: blur(5px);
}

.countdown-item span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--secondary-color);
}

.countdown-item p {
  font-size: 14px;
  margin: 0;
}

/* Stats Section */
.stats {
  background: var(--light-color);
  padding: 25px 0;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  min-height: 120px;
}

.stat-item {
  flex: 1;
  min-width: 200px;
  background: white;
  border-radius: 8px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-item h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: 800;
  line-height: 1;
}

.stat-item p {
  font-size: 14px;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

/* Countries Grid */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.country-flag {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  cursor: pointer;
}

.country-flag:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.country-flag img {
  width: 60px;
  height: 45px;
  border-radius: 5px;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.country-flag:hover img {
  transform: scale(1.1);
}

.country-flag span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.2;
}

/* Video Section */
.video-section {
  padding: 80px 0;
  background: white;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporção 16:9 para modo paisagem */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  margin: 0 auto;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que o vídeo cubra todo o container mantendo proporção */
  border-radius: 10px;
}

/* History Section */
.history {
  background: var(--light-color);
  padding: 80px 0;
}

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

.history-image {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.history-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.history-content {
  flex: 1;
}

.history-content h2 {
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.history-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* Benefits Section */
.benefits {
  background: #005a31;
  padding: 80px 0;
}

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

.benefit-card {
  background: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-icon i {
  font-size: 24px;
  color: white;
}

.benefit-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.benefit-card p {
  font-size: 16px;
  margin-bottom: 0;
}

/* Categories Section */
.categories {
  background: #005a31;
  padding: 80px 0;
}

.categories-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.categories-list {
  flex: 1;
  background: var(--light-color);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.categories-list h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.category-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.category-item span {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-weight: 600;
}

.category-item p {
  font-size: 18px;
  margin: 0;
}

.categories-image {
  flex: 1;
}

.categories-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Highlights Section */
.highlights {
  background: var(--light-color);
  padding: 80px 0;
}

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

.highlight-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

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

.highlight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.highlight-content {
  padding: 30px;
}

.highlight-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.highlight-content p {
  font-size: 16px;
  margin-bottom: 0;
}

/* Testimonials Section */
.testimonials {
  background: white;
  padding: 80px 0;
}

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

.testimonial-card {
  background: var(--light-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonial-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.testimonial-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Form Section */
.form-section {
  background: linear-gradient(135deg, #005a31, #007a41);
  padding: 100px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.form-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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.form-section .section-title h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.form-section .section-title:after {
  background: #FFD700;
  height: 6px;
  border-radius: 3px;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #e1e5e9;
  position: relative;
  z-index: 1;
}

.form-group {
  margin-bottom: 30px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
  position: relative;
}

.form-group label i {
  margin-right: 8px;
  color: #005a31;
  width: 16px;
  text-align: center;
}

.form-group label::before {
  display: none;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #005a31;
  box-shadow: 0 0 0 3px rgba(0, 90, 49, 0.1);
  transform: translateY(-2px);
}

.form-group input::placeholder {
  color: #999;
  font-style: italic;
}

.form-group .radio-group,
.form-group .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.form-group .radio-item,
.form-group .checkbox-item {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  padding: 15px;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.form-group .radio-item:hover,
.form-group .checkbox-item:hover {
  background: #e9ecef;
  border-color: #005a31;
  transform: translateY(-2px);
}

.form-group .radio-item input,
.form-group .checkbox-item input {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  accent-color: #005a31;
}

.form-group .radio-item label,
.form-group .checkbox-item label {
  margin: 0;
  padding: 0;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.form-group .radio-item label::before,
.form-group .checkbox-item label::before {
  display: none;
}

.form-submit {
  text-align: center;
  margin-top: 40px;
}

.form-submit .btn {
  background: linear-gradient(135deg, #005a31, #007a41);
  color: white;
  border: none;
  padding: 20px 50px;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 90, 49, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.form-submit .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.form-submit .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 90, 49, 0.4);
}

.form-submit .btn:hover::before {
  left: 100%;
}

.form-submit .btn:active {
  transform: translateY(-1px);
}

.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(220, 53, 69, 0.1);
  border-radius: 6px;
  border-left: 4px solid #dc3545;
}

.form-help {
  color: #6c757d;
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
}

.phone-input-group {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.phone-input-group select {
  flex: 0 0 180px;
  padding: 18px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.phone-input-group select:focus {
  outline: none;
  border-color: #005a31;
  box-shadow: 0 0 0 3px rgba(0, 90, 49, 0.1);
  transform: translateY(-2px);
}

.phone-input-group select option {
  background: #ffffff;
  color: #000;
  padding: 8px;
}

.phone-input-group input {
  flex: 1;
  padding: 18px 20px;
  border: 2px solid #e1e5e9;
  border-radius: 12px;
  font-size: 16px;
  background: white;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.phone-input-group input:focus {
  outline: none;
  border-color: #005a31;
  box-shadow: 0 0 0 3px rgba(0, 90, 49, 0.1);
  transform: translateY(-2px);
}

.phone-input-group input::placeholder {
  color: #999;
  font-style: italic;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1509953182371-2f9344193023?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  padding: 100px 0;
  text-align: center;
  color: white;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 20px;
  color: white;
}

.cta p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cta .btn {
  background: var(--secondary-color);
  color: var(--dark-color);
  border: 2px solid var(--secondary-color);
  font-size: 18px;
  padding: 15px 40px;
}

.cta .btn:hover {
  background: transparent;
  color: var(--secondary-color);
}

/* Footer */
footer {
  background: linear-gradient(135deg, #005A31, #007A41);
  color: white;
  padding: 40px 0 30px;
  position: relative;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

/* Logo */
.footer-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.footer-logo-img {
  height: 80px;
  width: auto;
}

/* Copyright */
.footer-copyright {
  margin-bottom: 15px;
}

.footer-copyright p {
  font-size: 14px;
  margin: 0;
}

/* Privacy Policy */
.footer-privacy {
  margin-bottom: 30px;
}

.footer-privacy a {
  color: white;
  text-decoration: underline;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.footer-privacy a:hover {
  opacity: 0.8;
}

/* Footer Info */
.footer-info {
  margin-bottom: 20px;
}

.footer-info p {
  margin: 5px 0;
  font-size: 14px;
}

/* Footer Contact */
.footer-contact {
  margin-bottom: 20px;
}

.footer-contact p {
  margin: 5px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--secondary-color);
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

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

.footer-social a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Developer Credits */
.footer-developer {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.developer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.developer-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.developer-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.developer-name span:first-child {
  font-weight: 600;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Button Styles */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

/* Enhanced Card Hover Effects */
.stat-item,
.benefit-card,
.highlight-card {
  position: relative;
  overflow: hidden;
}

.stat-item::before,
.benefit-card::before,
.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
  z-index: -1;
}

.stat-item:hover::before,
.benefit-card:hover::before,
.highlight-card:hover::before {
  opacity: 0.05;
}

/* Form Enhancements */
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.1);
}

.form-group.error input {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 156, 59, 0.1);
}

.error-message {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

.success-message {
  color: var(--primary-color);
  font-size: 14px;
  margin-top: 5px;
  display: none;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideInFromTop 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: var(--transition);
}

.close:hover {
  color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .history-container,
  .categories-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .history-image {
    min-height: 200px;
  }

  .history-image img {
    max-width: 100%;
  }

  .countdown-container {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 28px;
  }

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

  .hero p {
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .header-container {
    flex-direction: row;
    gap: 10px;
    min-height: auto;
    justify-content: space-between;
    align-items: center;
  }

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

  .language-selector {
    gap: 5px;
  }

  .language-selector a {
    padding: 5px 8px;
    font-size: 14px;
  }

  .countdown-item {
    min-width: 100px;
    padding: 15px;
  }

  .countdown-item span {
    font-size: 28px;
  }

  .countries-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
  }

  .country-flag {
    padding: 10px;
  }

  .country-flag img {
    width: 50px;
    height: 37px;
  }

  .country-flag span {
    font-size: 12px;
  }

  /* Footer Responsive */
  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 35px;
    height: 35px;
  }

  .footer-developer {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }

  /* Stats Section Responsive */
  .stats {
    padding: 20px 0;
  }

  .stats-container {
    flex-direction: column;
    gap: 15px;
    min-height: auto;
  }

  .stat-item {
    min-width: auto;
    width: 100%;
    height: 80px;
    padding: 15px 10px;
  }

  .stat-item h3 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .stat-item p {
    font-size: 12px;
  }

  /* Video Container Responsive */
  .video-container {
    padding-bottom: 56.25%; /* Mantém proporção 16:9 em paisagem */
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 22px;
    line-height: 1.3;
  }

  .hero .edition {
    font-size: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .countdown-container {
    gap: 15px;
  }

  .countdown-item {
    min-width: 80px;
    padding: 10px;
  }

  .countdown-item span {
    font-size: 24px;
  }

  .cta h2 {
    font-size: 32px;
  }

  .cta p {
    font-size: 18px;
  }

  /* Stats Section Mobile */
  .stats {
    padding: 15px 0;
  }

  .stat-item {
    height: 70px;
    padding: 12px 10px;
  }

  .stat-item h3 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .stat-item p {
    font-size: 11px;
  }

  /* Header Mobile Adjustments */
  .header-container {
    padding: 10px 0;
  }

  .logo img {
    height: 35px;
    margin-right: 8px;
  }

  .language-selector a {
    padding: 4px 6px;
    font-size: 12px;
  }

  .language-selector a img {
    width: 16px;
    height: 12px;
    margin-right: 4px;
  }

  /* History Section Mobile */
  .history {
    padding: 40px 0;
  }

  .history-image {
    min-height: 150px;
  }

  .history-image img {
    max-width: 100%;
    height: auto;
  }

  /* Video Container Mobile */
  .video-container {
    padding-bottom: 56.25%; /* Mantém proporção 16:9 em paisagem */
    margin: 0 5px;
    border-radius: 8px;
  }

  .video-container video {
    border-radius: 8px;
  }
}

/* Garantir proporção paisagem em dispositivos muito pequenos */
@media (max-width: 480px) {
  .video-container {
    padding-bottom: 56.25%; /* Mantém proporção 16:9 */
    margin: 0 2px;
  }
}

/* Orientação paisagem em dispositivos móveis */
@media (orientation: landscape) and (max-width: 768px) {
  .video-container {
    padding-bottom: 56.25%; /* Mantém proporção 16:9 */
    max-width: 100%;
  }
}
