/* RESET */
* {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  margin: 0;
  background: #f6f7fb;
}

.hidden {
  display: none !important;
  pointer-events: none !important;
}

/* =========================
   CENTRALIZA A PÁGINA
========================= */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  justify-content: center;   /* horizontal */
  align-items: center;       /* vertical */
}

/* =========================
   LAYOUT PRINCIPAL
========================= */
.landing {
  width: 1400px;             /* 🔑 ESSENCIAL */
  max-width: 90%;
  display: flex;
  background: transparent;
  flex-direction: row-reverse; /* 🔥 INVERTE */
}

/* =========================
   CAPA
========================= */
.landing-cover {
  flex: 1;
  overflow: hidden;
  border-radius: 24px 0 0 24px;
}

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

/* =========================
   LOGIN (BARRA CINZA)
========================= */
.landing-login {
  width: 420px;
  background: #dbcafa;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 0px;         /* espaço real da capa */
  margin-right: 60px;
   border-radius: 24px;
}

/* LOGO */
.logo {
  width: 250px;
  margin: -40px auto 40px;   /* sobe o logo */
}

/* =========================
   BOTÕES
========================= */
.login-box {
  width: 100%;
}

.btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}
.login-box {
  margin-top: -80px;  /* 🔼 sobe os botões */
}

.btn span {
  font-size: 18px;
}

.btn:hover {
  transform: translateY(-2px);
}

/* CRIADOR */
.btn-creator {
  background: #ffffff;
  color: #7B2CFF;
  box-shadow: 0 6px 18px rgba(37,99,235,0.15);
}

/* MEMBRO */
.btn-member {
  background: #ffffff;
  color: #7B2CFF;
  box-shadow: 0 6px 18px rgba(37,99,235,0.15); 
}

/* =========================
   INPUTS
========================= */
.login-input {
  margin-top: 10px;
}

.login-input input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  font-size: 15px;   
}

/* =========================
   FOOTER
========================= */
.footer-links {
  margin-top: 30px;
  text-align: center;
}

.footer-links a {
  font-size: 13px;
  color: #7B2CFF;
  text-decoration: none;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-linksC {
  margin-top: 30px;
  text-align: center;
}

.footer-linksC a {
  font-size: 13px;
  color: #7B2CFF;
  text-decoration: none;
  margin: 0 10px;
}

.footer-linksC a:hover {
  text-decoration: underline;
}
/* =========================
   UTILIDADES
========================= */
.hidden {
  display: none;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 900px) {
  .landing {
    flex-direction: column;
    width: 100%;
  }

  .landing-cover {
    display: none;
  }

  .landing-login {
    width: 100%;
    margin-left: 0;
    border-radius: 24px;
    
  }
}

.landing-login {
  text-align: center;
  align-items: center;
}

.login-box,
.login-input {
  width: 100%;
}

.btn {
  justify-content: center;
  gap: 8px;
}

/* MODAL BASE */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

/* FUNDO */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

/* CAIXA */
.modal-box {
  position: relative;
  width: 360px;
  max-width: 90%;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: modalIn 0.25s ease;
}

.modal-box h2 {
  margin: 0 0 6px;
  text-align: center;
  color: #7B2CFF;
}

/* INPUTS */
.modal-box input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

/* BOTÃO */
.modal-box .btn-primary {
  background: linear-gradient(135deg, #7B2CFF, #9B5CFF);
  color: white;
  font-size: 14px;
  border: none;
  padding: 12px;
  border-radius: 14px;
  font-weight: 600;
  cursor: pointer;
}

/* FECHAR */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.6;
}

/* ANIMAÇÃO */
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-45%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.modal-switch {
  text-align: center;
  font-size: 14px;
  opacity: 0.8;
}

.modal-switch span {
  color: #7B2CFF;
  cursor: pointer;
  font-weight: 600;
}

.modal-box select {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 15px;
}

.footer-sep {
  margin: 0 10px;
  opacity: 0.4;
}
/* MODAL LEGAL */
.legal-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}
.legal-overlay {
  position: absolute;
  inset: 0;
}

.legal-modal.hidden {
  display: none;
}

.legal-box {
  width: 90%;
  max-width: 900px;
  height: 80%;
  background: #fff;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.legal-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.legal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
}




