* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}


:root {
  --cor-bg: #2b3a67;
  --cor-bg-sec: #1e2b56;
  --cor-texto: #ffffff;
  --cor-destaque: #5aa9e6;
  --cor-btn: #ffffff;
  --cor-btn-texto: #000000;
}

body.dark {
  --cor-bg: #0f172a;
  --cor-bg-sec: #1e293b;
  --cor-texto: #e2e8f0;
  --cor-destaque: #38bdf8;
  --cor-btn: #38bdf8;
  --cor-btn-texto: #e2e8f0;
}

body {
  background: var(--cor-bg);
  color: var(--cor-texto);
  transition: background 0.3s, color 0.3s;
}


header {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--cor-bg-sec);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-weight: 600;
}

header nav a {
  color: var(--cor-texto);
  text-decoration: none;
  margin: 0 0.8rem;
  font-weight: 500;
}


header .icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--cor-texto);
  cursor: pointer;
  font-size: 1.3rem;
}

.menu-btn {
  display: none;
}


.sobre-pg {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
}

.sobre-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  flex-wrap: wrap;
}

.sobre-container .foto img {
  width: 250px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.sobre-container .texto {
  flex: 1;
}

.sobre-container h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.sobre-container h3 {
  color: var(--cor-destaque);
  margin-bottom: 1rem;
}

.sobre-container p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.btns-sobre {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn,
.btn-outline {
  padding: 0.6rem 1.3rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  text-align: center;
}

.btn {
  background: var(--cor-btn);
  color: var(--cor-btn-texto);
}

.btn-outline {
  border: 2px solid var(--cor-btn);
  color: var(--cor-btn);
  background: transparent;
}

.btn:hover,
.btn-outline:hover {
  opacity: 0.8;
}


footer {
  background: var(--cor-bg-sec);
  text-align: center;
  padding: 1rem;
  margin-top: 3rem;
}


@media (max-width: 768px) {
  header nav {
    display: none;
    flex-direction: column;
    background: var(--cor-bg-sec);
    position: absolute;
    top: 60px;
    right: 10px;
    width: 180px;
    border-radius: 10px;
  }

  header nav.active {
    display: flex;
  }

  .menu-btn {
    display: inline;
  }

  .sobre-container {
    flex-direction: column;
    text-align: center;
  }

  .sobre-container .foto img {
    width: 70%;
  }
}