/* ===== VARIÁVEIS CSS ===== */
:root {
  --primary-color: #008000;
  --primary-dark: #006600;
  --primary-light: #00a000;
  --secondary-color: #ffffff;
  --text-dark: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border-color: #e0e0e0;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* ===== RESET E BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--secondary-color);
}

/* ===== COMPONENTES BOOTSTRAP CUSTOMIZADOS ===== */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* ===== HEADER / HERO SECTION ===== */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--secondary-color);
  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="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.logo {
  max-height: 80px;
  width: auto;
  /* filter: brightness(0) invert(1); */
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 300;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.cta-button {
  font-size: 1.2rem;
  padding: 18px 45px;
  box-shadow: var(--shadow-medium);
  animation: pulse 2s infinite;
}

/* ===== MAIN CONTENT ===== */
.main-content {
  background-color: #f8f9fa;
}

.about-section {
  background-color: var(--secondary-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: 2px;
}

.content-block {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  border-left: 5px solid var(--primary-color);
  transition: var(--transition);
}

.content-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.content-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.content-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  text-align: justify;
}

/* ===== FEATURES ===== */
.feature-item {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--secondary-color);
  border-radius: 15px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 100%;
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.feature-item h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

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

/* ===== REQUIREMENTS LIST ===== */
.requirements-list {
  list-style: none;
  padding: 0;
}

.requirements-list li {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  padding-left: 2rem;
}

.requirements-list li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 0.8rem;
}

.requirements-list li:last-child {
  border-bottom: none;
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  color: var(--secondary-color);
  position: relative;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-text {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--text-dark);
  color: var(--secondary-color);
}

.footer-text {
  opacity: 0.8;
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

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

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

  .content-block {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-item {
    margin-bottom: 1.5rem;
  }

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

  .btn-lg {
    padding: 12px 30px;
    font-size: 1rem;
  }
}

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

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

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

  .content-subtitle {
    font-size: 1.3rem;
  }

  .content-text {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-primary-custom {
  color: var(--primary-color) !important;
}

.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.border-primary-custom {
  border-color: var(--primary-color) !important;
}

.shadow-custom {
  box-shadow: var(--shadow-light) !important;
}

.shadow-custom-medium {
  box-shadow: var(--shadow-medium) !important;
}

/* ===== VARIÁVEIS PARA MODO ESCURO/CLARO ===== */
:root {
  --dark-mode-bg: #1a1a1a;
  --dark-mode-text: #e0e0e0;
  --dark-mode-secondary-bg: #2c2c2c;
  --dark-mode-border: #444444;
  --dark-mode-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* Estilos para Modo Escuro */
body.dark-mode {
  color: var(--dark-mode-text);
  background-color: var(--dark-mode-bg);
}

body.dark-mode .main-content {
  background-color: var(--dark-mode-bg);
}

body.dark-mode .about-section,
body.dark-mode .content-block,
body.dark-mode .feature-item {
  background-color: var(--dark-mode-secondary-bg);
  color: var(--dark-mode-text);
  box-shadow: var(--dark-mode-shadow);
  border-left-color: var(--primary-light);
}

body.dark-mode .section-title,
body.dark-mode .content-subtitle,
body.dark-mode .feature-item h4 {
  color: var(--primary-light);
}

body.dark-mode .content-text,
body.dark-mode .feature-item p,
body.dark-mode .requirements-list li {
  color: var(--dark-mode-text);
}

body.dark-mode .requirements-list li {
  border-bottom-color: var(--dark-mode-border);
}

body.dark-mode .footer {
  background-color: var(--dark-mode-secondary-bg);
  color: var(--dark-mode-text);
}

body.dark-mode .logo {
  /* filter: brightness(0) invert(1); */
}

/* Botão de Modo Escuro/Claro */
.mode-toggle-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.mode-toggle-container .btn {
  background-color: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--secondary-color);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mode-toggle-container .btn:hover {
  background-color: var(--text-light);
  border-color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body.dark-mode .mode-toggle-container .btn {
  background-color: var(--dark-mode-text);
  border-color: var(--dark-mode-text);
  color: var(--dark-mode-bg);
}

body.dark-mode .mode-toggle-container .btn:hover {
  background-color: var(--text-muted);
  border-color: var(--text-muted);
}

/* ===== INDICADOR DE CONTINUIDADE ===== */
.scroll-indicator {
  position: relative;
  margin-top: 40px;
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

/* Animação de bounce para o indicador */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Responsividade do indicador */
@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 20px;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .scroll-indicator {
    bottom: 15px;
    font-size: 1.3rem;
  }
}

/* ===== ESTILOS PERSONALIZADOS PARA FORMULÁRIO ===== */
.google-form-iframe {
  width: 100%;
  height: 2160px !important ;
  border: none;
  background: transparent;
}

.form-container {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

.info-card {
  background: #f8f9fa;
  border-radius: 15px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  height: 100%;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background: #ffffff;
}

.info-card .feature-icon {
  color: var(--primary-color);
  font-size: 2.5rem;
}

.card {
  border-radius: 15px;
  overflow: hidden;
}

.card-header {
  border-bottom: none;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  ) !important;
}

.alert-info {
  background-color: rgba(0, 128, 0, 0.1);
  border-color: var(--primary-color);
  color: var(--primary-dark);
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

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

/* ===== RESPONSIVIDADE PARA FORMULÁRIO ===== */
@media (max-width: 768px) {
  .google-form-iframe {
    height: 2200px;
  }

  .hero-section {
    padding-top: 30px !important;
    padding-bottom: 20px !important;
  }

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

  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .info-card {
    margin-bottom: 20px;
  }

  .alert {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .google-form-iframe {
    height: 2400px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .card {
    margin: 0 10px;
  }
}

/* ===== MODO ESCURO PARA FORMULÁRIO ===== */
.dark-mode .info-card {
  background: #2d3748;
  border-color: #4a5568;
  color: #e2e8f0;
}

.dark-mode .info-card:hover {
  background: #374151;
}

.dark-mode .alert-info {
  background-color: rgba(0, 128, 0, 0.2);
  color: #90cdf4;
  border-color: var(--primary-light);
}

.dark-mode .card {
  background-color: #2d3748;
  border-color: #4a5568;
}

.dark-mode .text-muted {
  color: #a0aec0 !important;
}
