/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

.logo {
  height: 60px;
  width: auto;
}

/* Navbar - Fundo branco com bordas pretas */
.navbar {
    background-color: #fff !important;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    transition: all 0.3s ease;
}

/* Links do menu */
.navbar-nav .nav-link {
    color: #000 !important;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease, background 0.3s ease;
    position: relative;
}

/* Efeito de sublinhado ao passar o mouse */
.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    text-decoration: underline;
}

/* Item ativo (Home) */
.navbar-nav .nav-link.active {
    color: #dc3545 !important;
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 2px;
}

/* Destaque especial para o botão "Book" */
.navbar-nav .book-link {
    background-color: #dc3545;
    color: white !important;
    border-radius: 6px;
    margin-left: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.navbar-nav .book-link:hover {
    background-color: #c82333;
    color: white !important;
    transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    .navbar-nav .book-link {
        margin-top: 0.5rem;
        margin-left: 0;
    }
}

/* Hero Section */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay for hero background */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero > .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

/* Sections */
section {
  padding: 60px 20px;
}

#mastercourse-section {
  background-image: url('background.jpg'); /* Coloque o caminho da imagem de fundo aqui */
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  padding: 60px 15px;
  position: relative;
}

#mastercourse-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6); /* camada sombreada para contraste */
  z-index: 0;
}

#mastercourse-section .container {
  position: relative;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  max-width: 600px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.5);
}

.image-wrapper .label {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  user-select: none;
  pointer-events: none;
}

/* Can You Imagine Section */
.can-you-imagine {
  background-color: #fff;
}

.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}

/* Pricing Cards */
.hover-scale {
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.hover-scale:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: #006400;
}

/* Card styles */
.card {
  transition: 0.3s all;
  border-radius: 15px;
}

/* Buttons */
.btn-primary {
  background-color: #007bff;
  border: none;
}
.btn-primary:hover {
  background-color: #0069d9;
}

.btn-primary {
  background-color: green;
  border-radius: 50px;
  font-size: large;
  font-weight: 700;
  padding: 0.5rem 2.5rem; /* espaçamento horizontal maior */
  margin: 0 50px;
}

/* Footer social icons */
.social-icons a {
  margin: 0 10px;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #007bff;
}

/* Responsive typography */
@media(max-width: 768px) {
  /* Global Styles */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
  }
}

/* Header */
.logo {
  height: 60px;
}

.navbar-nav .nav-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #008000;
}

/* Text Section */
.text-section {
  padding: 80px 0;
}

.text-section h2 {
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: .5rem;
  color: #000000;
  font-size: 42px;
}

.text-section p {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 17px;
}

.text-section p strong {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

/* Can You Imagine Section */
.can-you-imagine-section {
  padding: 80px 0;
  background-color: #fff;
}

.image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Pricing Section */
.pricing-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.plan-card {
  transition: all 0.3s ease;
  background-color: #fff;
  border: 2px solid #008000;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 128, 0, 0.1);
}

.plan-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
}

.price-display small {
  font-size: 1rem;
}

.faq-section {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.faq-item {
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 128, 0, 0.2);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #008000;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.faq-header i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-body {
  display: none;
  padding: 1rem;
  background-color: white;
  color: #333;
  font-size: 1rem;
  border-top: 1px solid #e9ecef;
}

.faq-body p {
  margin: 0;
}

.faq-item.active .faq-header i {
  transform: rotate(45deg);
}

.faq-item.active .faq-body {
  display: block;
}


/* Centraliza o último botão */
.faq-item:last-child {
  margin-left: auto;
  margin-right: auto;


}
/* Responsividade */
@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }
  .faq-header {
    font-size: 0.95rem;
  }
  .faq-body {
    font-size: 0.95rem;
  }
}






/* Footer */
footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  color: #008000;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .text-section,
  .can-you-imagine-section,
  .pricing-section,
  .faq {
    padding: 50px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .plan-title {
    font-size: 1.3rem;
  }

  .price {
    font-size: 2.2rem;
  }

  .image-wrapper {
    margin-top: 20px;
  }

  .navbar-nav .nav-link {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .plan-card {
    padding: 20px;
  }
}