/* ðŸŽ¨ VariÃ¡veis e base */
:root {
  --azul: #000B8C;
  --amarelo: #FFC629;
  --bege: #FEF0C7;
  --laranja: #FF6100;
  --bg: #ffffff;
  --text: #222;
  --radius: 12px;
  --container: 1100px;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container { 
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
}

/* ðŸŸ¡ Header */
.header {
  width: 100%;
  background: var(--amarelo);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo { 
  max-width: 100%;
  height: 55px; }

/* ðŸ”˜ BotÃµes gerais */
.btn, .cta {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
  
}

.btn.primary { background: var(--amarelo); color: var(--azul); border: 2px solid rgba(255,255,255,0.18);}
.btn.outline { background: var(--azul); color: #fff; border: 2px solid rgba(255,255,255,0.18); }

.btn.amarelo {
  background: var(--amarelo);
  color: var(--azul);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta {
  background: var(--laranja);
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:hover {
  transform: scale(1.05);

}

.btn:active {
  transform: scale(0.96);
}

.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}


.cta:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* ðŸ–¼ï¸ Hero */
.hero {
  background: url('/assets/img/fundo.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content { transform: translateY(232px); }
.hero h1 { font-size: 36px; margin: 8px 0; }
.hero p { max-width: 700px; margin: 10px auto 18px; }

/* ðŸ§¾ FormulÃ¡rio */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  margin: 94px auto;
  max-width: 520px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  
}
.form-card h1 { margin-top: 0; }
.form-card label { display: block; margin-bottom: 12px; font-weight: 600; }
.form-card input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  margin-top: 6px;
}

body.page-root {
  background: url('/assets/img/fundo-login.jpg') center center / cover no-repeat fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
 
}

/* ðŸ’° Painel */
.painel {
  max-width: 900px;
  margin: 28px auto;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}
.painel .saldo { font-size: 40px; color: var(--azul); font-weight: 800; }
.painel .small { color: #666; }

/* ðŸ§© BenefÃ­cios */
.beneficios {
  position: relative;
  background: var(--azul);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.beneficios-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.beneficios h2 {
  font-size: 2rem;
  margin-top: 0px;
  margin-bottom: 20px;
  color: var(--amarelo);
}

.beneficios p {
  font-size: 1.1rem;
  margin-bottom: 14px;
  line-height: 1.6;
}

/* ðŸ§  OrganizaÃ§Ã£o de botÃµes */
.botoes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 25px;
}

/* ðŸŽ¨ DecoraÃ§Ãµes */
.decor {
  position: absolute;
  z-index: 1;
  max-width: 100%;
  height: auto;
}

.decor-left { width: 300px; left: -35px; bottom: -170px; transform: rotate(-10deg); }
.decor-right { width: 300px; right: -30px; bottom: -276px; transform: rotate(10deg); }

/* ðŸ“± Responsivo */
@media (max-width: 720px) {
  .header .container { flex-direction: column; gap: 12px; }
  .hero h1 { font-size: 26px; }
  .form-card { margin: 14px; padding: 18px; }
  .botoes { flex-direction: column; gap: 12px; }
}

/* RodapÃ© Luigi */
.rodape-luigi {
  background-color: var(--bege); /* #FEF0C7 */
  color: var(--azul);
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.rodape-luigi h2 {
  font-size: 2rem;
  color: var(--azul);
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
}

.social-icons img {
  width: 71px;
  height: 90px;
  transition: transform 0.2s ease;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.social-icons img:active {
  transform: scale(0.96);
}

.contatos h3 {
  margin-bottom: 10px;
  color: var(--laranja);
}

.contatos p {
  margin: 4px 0;
  font-weight: 500;
}

.whats-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  font-size: 22px;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px rgba(37, 211, 102, 0.7);
}

.rodape-botoes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.btn.amarelo {
  background: var(--amarelo);
  color: var(--azul);
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn.amarelo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Efeito de clique (active) para botÃµes principais */
.btn.amarelo:active,
.btn.laranja:active,
.btn.primary:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.links {
  margin-top: 20px;
  font-size: 0.95rem;
}

.links a {
  color: var(--azul);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-final {
  background-color: var(--azul);
  color: var(--bege);
  margin-top: 40px;
  padding: 15px 10px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-login {
  text-align: center;
  background-color: var(--azul);
  color: var(--bege);
  padding: 0px 0;
  font-size: 0.80rem;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.footer-cadastro {
  text-align: center;
  background-color: var(--azul);
  color: var(--bege);
  padding: 0px 0;
  font-size: 0.80rem;
  width: 100%;
  margin-top: auto; /* empurra o footer para o fim */
}

/* BotÃ£o flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-float a {
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 36px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.7);
}

.whatsapp-float:active {
  transform: scale(0.96);
}
/* BalÃ£o de texto (tooltip) */
.whatsapp-tooltip {
  position: absolute;
  right: 90px;
  bottom: 20px;
  background-color: #25D366;
  color: white;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Mostra o balÃ£o quando o mouse passa */
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
/* ðŸ“± Menu Responsivo */
.menu-toggle {
  display: none;
  font-size: 28px;
  color:#ffffff;
  cursor: pointer;
  background: var(--azul);
  border-radius: 8px;
  padding: 6px 10px;
  transition: background 0.3s ease;
}

.menu-toggle:hover {
  background:#000863;
  color: #fff;
}

#navbar {
  display: flex;
  gap: 12px;
  align-items: center;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #navbar {
    position: absolute;
    top: 70px;
    right: 0;
    background:#FFC629;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    padding: 20px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
  }

  #navbar.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  #navbar .btn {
    width: 80%;
    text-align: center;
    font-size: 1.1rem;
  }
}


/* ðŸ“± Responsividade */
@media (max-width: 1024px) {
  .hero-content {
    transform: translateY(120px);
  }
  .decor-left,
  .decor-right {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }
  .beneficios h2 {
    font-size: 1.6rem;
  }
  .social-icons img {
    width: 55px;
    max-height: 70px;
  }
  .whatsapp-float a {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  .whatsapp-tooltip {
    font-size: 0.9rem;
    right: 75px;
  }

.logo {
    max-width: 100%;
    height: 55px;
}
}
@media (max-width: 480px) {
  .hero-content {
    transform: translateY(80px);
  }
  .beneficios h2 {
    font-size: 1.4rem;
  }
  .beneficios p {
    font-size: 0.95rem;
  }
  .decor-left,
  .decor-right {
    display: none;
  }
  .rodape-luigi h2 {
    font-size: 1.4rem;
  }
  .social-icons img {
    width: 48px;
  }
  .whatsapp-float a {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }
}

.link-esqueceu {
  text-align: center;
  margin-top: 10px;
}
.link-esqueceu a {
  color: #4a5fd3;
  text-decoration: none;
  font-size: 0.9rem;
}
.link-esqueceu a:hover {
  text-decoration: underline;
}

/* ============================
   âœ¨ AnimaÃ§Ã£o suave - Login/Cadastro
   ============================ */

.form-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInForm 0.6s ease forwards;
  animation-delay: 0.1s;
}

@keyframes fadeInForm {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Evita "pulo" de layout no carregamento */
html {
  overflow-y: scroll;
}

/* Garante transiÃ§Ã£o fluida nos inputs/botÃµes */
.form-card input,
.form-card button {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.form-card button:hover {
  transform: scale(1.05);
}

.btn-red {
    background: #e63946;
    color: white !important;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-red:hover {
    background: #c72c39;
    transform: scale(1.05);
}