@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

:root {
  --primary: #1a2953;
  --secondary: #e33028;
  --font-family: 'Neue Haas Grotesk Display', 'Inter', sans-serif;
}

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--primary);
}

header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

/* LOGO */
.logo img {
  display: block;
  max-height: 60px;
}

/* LINKS */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  color: var(--primary);
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--secondary);
}

#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 41, 83, 0.75); 
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

/* TEXTO */
.hero-text {
  flex: 1;
  color: #fff;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
}

.hero-text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.hero-form {
  flex: 1;
  background: #fff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-form h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-form button {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}

.hero-form button:hover {
  background: var(--primary);
  color: #fff;
}

#necessidade {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}

.necessidade-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.necessidade-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.necessidade-content {
  position: relative;
  z-index: 3;
}

#necessidade h2 {
  text-align: center;
  color: var(--primary);
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: 700;
}

.necessidade-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.necessidade-img {
  flex: 1;
}

.necessidade-img img {
  border-radius: 12px;
}

.necessidade-text {
  flex: 1;
  color: var(--primary);
}

.necessidade-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

#problemas {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}

.problema-item img {
  width: 90px; 
  height: 90px; 
  margin-bottom: 20px;
}

.problemas-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.problemas-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problemas-content {
  position: relative;
  z-index: 2;
}

#problemas h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--secondary);
  font-weight: 700;
}

.problemas-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.problemas-text {
  flex: 1;
  color: var(--secondary);
}

.problemas-text ul {
  padding-left: 20px;
  margin-bottom: 25px;
}

.problemas-text li {
  margin-bottom: 12px;
  font-size: 18px;
}

.problemas-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.problemas-img {
  flex: 1;
}

.problemas-img img {
  border-radius: 12px;
}

.btn-problemas {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-problemas:hover {
  background: var(--primary);
}

#problemas {
  background: #f6f6f6;
  padding: 120px 0;
  text-align: center;
}

#problemas h2 {
  font-size: 36px;
  margin-bottom: 70px;
  color: var(--primary);
}

.problemas-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.problema-item {
  max-width: 280px;
}

.problema-item img {
  margin-bottom: 20px;
}

.problema-item p {
  font-size: 18px;
  color: var(--primary);
}

/* BLOCO FINAL */
.problemas-final p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px auto;
  color: var(--primary);
}

.btn-problemas {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 14px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-problemas:hover {
  background: var(--secondary);
}

#sobre {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
}

#sobre h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  color: var(--secondary);
  font-weight: 700;
}

.sobre-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sobre-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sobre-content {
  position: relative;
  z-index: 2;
}

.sobre-wrapper {
  display: flex;
  align-items: center;
  gap: 60px;
}

.sobre-texto {
  flex: 1;
  color: var(--primary);
}

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

.sobre-texto ul {
  padding-left: 20px;
  margin-bottom: 25px;
}

.sobre-texto li {
  margin-bottom: 12px;
  font-size: 18px;
}

.sobre-texto p {
  font-size: 18px;
  line-height: 1.7;
}

.sobre-imagem {
  flex: 1;
}

.sobre-imagem img {
  border-radius: 12px;
}

.curso-item img {
  width: 100%;
  max-width: 280px; 
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 12px;
}

.curso-item h3 {
  font-size: 18px;
  color: var(--primary);
}

#cursos {
  background: #f6f6f6;
  padding: 60px 0; 
}

#cursos h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px; 
  color: var(--secondary);
  font-weight: 700;
}

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

.curso-item {
  text-align: center;
}

#depoimentos {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.depoimentos-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.depoimentos-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.depoimentos-content {
  position: relative;
  z-index: 2;
}
#depoimentos h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 70px;
  color: var(--primary);
  font-weight: 700;
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.depoimento {
  background: #fff;
  padding: 35px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.depoimento:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.depoimento p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  font-style: italic;
}

.depoimento strong {
  font-size: 14px;
  color: var(--secondary);
  letter-spacing: 0.5px;
}

#sobre {
  background: #f6f6f6;
  padding: 120px 0;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
}

.sobre-img img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

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

.sobre-content p {
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 20px;
}

#cta {
  position: relative;
  padding: 70px 0;
  overflow: hidden;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 900px;
}

#cta p {
  font-size: 20px;
  margin-bottom: 20px;
}

.btn-cta {
  display: inline-block;
  background: var(--secondary);
  color: #fff;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-cta:hover {
  background: #fff;
  color: var(--primary);
}

#footer {
  background: #e9e9e9;
  padding: 12px 0; 
}

.footer-logo img {
  max-width: 130px; 
}

.footer-contact {
  margin-top: 12px !important;
}

.footer-contact a {
  text-decoration: none;
  color: var(--primary);
  font-size: 15px; 
  font-weight: 500;
  transition: 0.3s;
}

.footer-contact a i {
  margin-right: 6px;
  font-size: 16px; 
}

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

.footer-address {
  margin-top: 10px !important;
}

.footer-address p {
  margin: 2px 0;
  font-size: 11px; 
  color: #777;
  line-height: 1.4;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .container {
    padding: 0 20px;
  }

  header {
    position: relative;
    z-index: 999;
  }

@media (max-width: 768px) {

  
  header {
    position: relative;
    z-index: 999;
    background: #fff;
  }

  .navbar-wrapper {
    position: relative;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    max-height: 0;
    overflow: hidden;

    transition: max-height 0.4s ease;
    border-bottom: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .nav-links a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  .nav-links.active {
    max-height: 400px;
    padding: 20px 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

}

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .hamburger span {
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
  }

  #hero {
    padding-top: 40px;
    padding-bottom: 40px;
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-content .container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 28px;
  }

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

  .hero-form {
    width: 100%;
  }

  #necessidade,
  #problemas,
  #sobre,
  #depoimentos {
    padding: 70px 0;
  }

  .necessidade-wrapper,
  .sobre-wrapper,
  .sobre-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .cursos-grid {
    grid-template-columns: 1fr;
  }

  .depoimentos-grid {
    grid-template-columns: 1fr;
  }

  #cta {
    padding: 60px 0;
  }

  #cta p {
    font-size: 16px;
  }

  .btn-cta {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  #footer {
    padding: 25px 0;
    text-align: center;
  }

}