/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

/* ================= BODY ================= */
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #f5f6f8;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ================= HEADER ================= */
header {
  background: linear-gradient(to right, #16a34a, #15803d);
  padding: 8px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.title-header {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.prelogo {
  transition: all 0.15s ease-in-out;
  border: none;
  border-radius: 6px;
  overflow: hidden;
}

.logodef {
  display: block;
}

.logo2 {
  width: 2rem;
  height: 2rem;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo2:hover {
  transform: rotate(15deg) scale(1.1);
  opacity: 0.85;
}

/* ================= MAIN ================= */
.main-frame {
  margin: 0.75rem auto;
  height: auto;
  width: 91.666667%;
  max-width: 66.666667%;
  padding: 10px 0;
}

/* ================= TITLES ================= */
h1.title {
  color: #0f7a3b;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 4px;
}

h2.title {
  color: #0f7a3b;
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.centerfull {
  width: 100%;
  text-align: center;
}

/* ================= PLAYER ================= */
.subiframe {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  width: 100%;
  margin: 16px auto;
  background: #e5e7eb;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.preframe {
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #111;
}

#embedIframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

#btnIframe {
  background: #16a34a;
  color: white;
  padding: 9px 20px;
  border-radius: 6px;
  margin-top: 6px;
  margin-bottom: 4px;
  width: 100%;
  max-width: 240px;
  transition: background-color 0.2s;
  border: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

#btnIframe:hover {
  background: #15803d;
}

/* ================= CONTENT ================= */
.content-text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.margin-top-2 {
  margin-top: 1.5rem;
  padding: 0;
}

/* ================= FOOTER ================= */
footer {
  background: #1f2937;
  color: white;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.footer-title {
  text-align: center;
  font-size: 0.875rem;
}

.redes {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.redes > li {
  list-style-type: none;
}

.red-item {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color 0.15s ease-in-out;
}

.red-item:hover {
  color: #fff;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .main-frame {
    max-width: 100%;
    width: 100%;
    padding: 0 6px;
  }

  .subiframe {
    border-radius: 6px;
    margin: 8px 0;
    padding: 3px;
  }

  .preframe {
    border-radius: 4px;
  }

  #embedIframe {
    width: 100%;
  }

  h1.title {
    font-size: 1.25rem;
  }

  .margin-top-2 {
    padding: 0 6px;
  }
}
