:root {
  /* Paleta Modernizada */
  --yellow-main: #ffcc00;
  --yellow-hover: #e6b800;
  --yellow-light: #fff0b3;
  --bg-dark: #111827;
  --bg-surface: #1f2937;
  --bg-light: #f9fafb;
  --text-light: #f3f4f6;
  --text-dark: #030712;
  --text-muted: #9ca3af;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.5px;
}

.highlight {
  color: var(--yellow-main);
}

.highlight-dark {
  color: var(--bg-dark);
  background-color: var(--text-light);
  padding: 0 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 5px;
}

.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--text-dark);
  position: relative;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--yellow-main);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* ================= HEADER ================= */
.header {
  background-color: var(--yellow-main);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-area {
  display: flex;
  flex-direction: row !important;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  flex-wrap: nowrap;
}

.logo-img {
  height: 50px;
  width: auto;
  flex-shrink: 0;
}

.brand-subtitle {
  font-size: 0.85rem;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  font-weight: 700;
  line-height: 1.2;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-menu a:not(.btn) {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: opacity 0.3s;
}

.nav-menu a:not(.btn):hover {
  opacity: 0.6;
}

/* ================= BOTOES ================= */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  gap: 8px; /* Espaço para o ícone */
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--yellow-main);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--yellow-hover);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--bg-dark);
  color: var(--yellow-main);
}

.btn-dark:hover {
  background-color: var(--bg-surface);
  transform: translateY(-2px);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  min-height: calc(100dvh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 204, 0, 0.92),
      rgba(255, 204, 0, 0.98)
    ),
    url("assets/background.jpg") center/cover no-repeat;
  padding: 40px 0;
  color: var(--text-dark);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--bg-dark);
  font-weight: 600;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ================= GRIDS & CARDS ================= */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.courses {
  position: relative;
  background:
    linear-gradient(to bottom, rgba(17, 24, 39, 0.85), rgba(17, 24, 39, 0.95)),
    url("assets/background.jpg") center/cover no-repeat fixed;
  padding: 100px 0;
}

.courses .section-title {
  color: var(--text-light);
}

.card {
  padding: 50px 40px;
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.card-yellow {
  background-color: var(--yellow-main);
  color: var(--text-dark);
}

.card-yellow h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card-yellow p {
  font-weight: 500;
  color: rgba(0, 0, 0, 0.8);
}

.card-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.card-dark h3 {
  color: var(--yellow-main);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.card-dark p {
  color: var(--text-muted);
}

.card-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  display: inline-block;
}

.badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: var(--yellow-main);
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 30px;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

/* ================= EQUIPE ================= */
.team {
  background-color: var(--bg-dark);
}

.team .section-title {
  color: var(--text-light);
}

.teacher-card {
  background-color: var(--bg-surface);
  border: 2px solid rgba(255, 204, 0, 0.2);
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  transition: all 0.3s ease;
}

.teacher-card:hover {
  border-color: var(--yellow-main);
  transform: translateY(-5px);
}

.teacher-image-wrapper {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  padding: 5px;
  background: var(--yellow-main);
}

.teacher-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-surface);
}

.teacher-info h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: var(--text-light);
}

.role {
  display: block;
  font-size: 0.85rem;
  color: var(--yellow-main);
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.teacher-info p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ================= FOOTER & CONTATO ================= */
.footer {
  background-color: var(--bg-dark);
  padding: 100px 0 40px;
  text-align: center;
  border-top: 5px solid var(--yellow-main);
}

.footer h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.footer p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.copyright {
  margin-top: 40px !important;
  font-size: 0.9rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  margin-bottom: 0 !important;
}

/* ================= WHATSAPP FLUTUANTE ================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* Cor oficial do WPP */
  color: white;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20b858;
  color: white;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }

  .brand-area {
    flex-direction: row !important;
    justify-content: center;
    width: 100%;
  }

  .brand-subtitle {
    font-size: 0.7rem;
    white-space: normal;
  }

  .logo-img {
    height: 40px;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100dvh - 120px);
    padding: 40px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }

  .teacher-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px;
  }

  .contact-actions {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.5px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .footer h2 {
    font-size: 2rem;
  }

  .card {
    padding: 40px 25px;
  }
}
