*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  background-color: #2d2b2b;
  color: white;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: color 0.3s ease;
}
a:hover, a:focus {
  color: #28a745;
  outline: none;
}

header {
  background-color: #2d2b2b;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #383838;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo img { height: 40px; }

nav {
  position: absolute;
  top: 60px;
  right: 20px;
  background: #2d2b2b;
  border-radius: 8px;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  gap: 16px;
}
nav.active { display: flex; }
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn-planos {
  background: #28a745;
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 768px) {
  nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
  }
  nav ul { flex-direction: row; gap: 32px; }
  .hamburger { display: none; }
}
@media (max-width: 767px) {
  .hamburger { display: flex; }
  .btn-planos { margin-left: 10px; }
}

.hero {
  position: relative;
  background-image: url("../images/backinicio.jpg");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}
.hero h1 {
  font-size: 90px;
  font-weight: 900;
  color: #28a745;
}
.hero p {
  font-size: 40px;
  margin: 20px 0;
}
.btn-matricula {
  display: inline-block;
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-matricula:hover {
  background-color: #1e7e34;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 50px; }
  .hero p { font-size: 20px; }
  .btn-matricula {
    font-size: 18px;
    padding: 12px 24px;
  }
}

.sobre {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 120px 60px;
  background-color: #222;
  gap: 50px;
}
.sobre-imagem {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: center;
}
.moldura-verde {
  border-left: 45px solid #28a745;
  border-bottom: 15px solid #28a745;
  display: inline-block;
}
.img-lutador {
  display: block;
  width: 100%;
  max-width: 400px;
  object-fit: cover;
}
.sobre-conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 45%;
}
.sobre-conteudo .destaque {
  color: #28a745;
  font-weight: bold;
  font-size: 18px;
}
.sobre-conteudo h2 {
  font-size: 48px;
  font-weight: 900;
  margin: 15px 0;
  line-height: 1.2;
}
.sobre-conteudo p {
  font-size: 18px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}
.btn-conheca {
  background-color: #28a745;
  color: white;
  padding: 18px 28px;
  font-size: 20px;
  border-radius: 12px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.btn-conheca:hover { background-color: #1e7e34; }

@media (max-width: 900px) {
  .sobre {
    flex-direction: column;
    padding: 60px 20px;
    text-align: center;
  }
  .moldura-verde {
    border-left: none;
    border-bottom: 10px solid #28a745;
    border-top: 10px solid #28a745;
  }
  .sobre-conteudo {
    max-width: 100%;
    margin-top: 30px;
  }
  .sobre-conteudo h2 { font-size: 36px; }
  .sobre-conteudo p { font-size: 16px; }
}
