    /* HOMEPAGE com gradiente azul */
    .hero-banner {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 20px;
      background: linear-gradient(to bottom right, #007acc, #00c2ff);
      color: #ffffff;
    }

.gradient-text {
  background: linear-gradient(to right, #7dc3ff, #8f00ff); /* ajuste com base na sua logo */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 2rem;
}

.hero-image img {
  max-width: 400px;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
}


.hero-image img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}



.hero-image img:hover {
  transform: scale(1.05); /* efeito zoom sutil */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); /* mais destaque no hover */
}


    .hero-banner img.custom-size {
      width: 180px;
      height: auto;
      margin-bottom: 25px;
    }

    .hero-banner h1 {
      font-size: 4rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .hero-banner .lead {
      font-size: 1.5rem;
      font-weight: 400;
      color: #e0f7ff;
      margin-bottom: 20px;
      text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }


    .hero-banner .btn-primary {
      background-color: #005fa3;
      border: none;
      padding: 12px 32px;
      font-size: 1rem;
      font-weight: 600;
      transition: 0.3s ease;
    }

    .hero-banner .btn-primary:hover {
      background-color: #00487a;
      transform: scale(1.03);
    }

    /* Tabelas */
    .table-container {
      width: 100%;
      overflow-x: auto;
    }

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

    .table th, .table td {
      padding: 15px;
      vertical-align: middle;
    }

    .table th {
      font-weight: bold;
      background-color: #f8f9fa;
    }

    /* Botões */
    .btn {
      width: 100%;
      max-width: 250px;
      padding: 10px;
    }

    /* Layout Flexível */
    .flex-container {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 20px;
      width: 100%;
    }

    /* Carrossel (usado anteriormente na homepage) */
    .carousel-item img {
      width: 100%;
      height: auto;
      max-height: 500px;
      object-fit: cover;
    }

    img.transparent {
      opacity: 0.7;
      filter: brightness(120%);
    }

    /* Espaços gerais */
    .container {
      max-width: 100%;
      margin: auto;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      font-weight: bold;
    }

    .btn-block {
      width: 100%;
    }

    h2, h1 {
      margin-top: 20px;
    }
.gradient-logo-text {
  font-size: 2rem;  /* aumenta o tamanho */
  font-weight: 800;
  background: linear-gradient(to right, #007acc, #00c2ff); /* azul degradê */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.gradient-logo-text:hover {
  filter: brightness(1.3);  /* mais brilho ao passar o mouse */
}

.footer-impact {
  background-color: #011231;
  color: white;
  padding: 60px 20px;
  margin-top: 60px;
}

.footer-impact .footer-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
  background-color: transparent;
  border-radius: 12px;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}


.footer-logo:hover {
  transform: scale(1.05);
}


.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.impact-grid div {
  text-align: center;
  min-width: 150px;
}

.impact-grid h3 {
  font-size: 2.5rem;
  color: #8ec9ff;
  font-weight: bold;
  margin-bottom: 10px;
}

.impact-grid p {
  font-size: 0.95rem;
  color: #d0e6ff;
  margin: 0;
}
    /* HOMEPAGE com gradiente azul */
    .hero-banner {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 40px 20px;
      background: linear-gradient(to bottom right, #007acc, #00c2ff);
      color: #ffffff;
    }

.gradient-text {
  background: linear-gradient(to right, #7dc3ff, #8f00ff); /* ajuste com base na sua logo */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  font-size: 2rem;
}

.hero-image img {
  max-width: 400px;
  height: auto;
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
}


.hero-image img:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}



.hero-image img:hover {
  transform: scale(1.05); /* efeito zoom sutil */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35); /* mais destaque no hover */
}


    .hero-banner img.custom-size {
      width: 180px;
      height: auto;
      margin-bottom: 25px;
    }

    .hero-banner h1 {
      font-size: 4rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #ffffff;
    }

    .hero-banner .lead {
      font-size: 1.5rem;
      font-weight: 400;
      color: #e0f7ff;
      margin-bottom: 20px;
      text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    }


    .hero-banner .btn-primary {
      background-color: #005fa3;
      border: none;
      padding: 12px 32px;
      font-size: 1rem;
      font-weight: 600;
      transition: 0.3s ease;
    }

    .hero-banner .btn-primary:hover {
      background-color: #00487a;
      transform: scale(1.03);
    }

    /* Tabelas */
    .table-container {
      width: 100%;
      overflow-x: auto;
    }

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

    .table th, .table td {
      padding: 15px;
      vertical-align: middle;
    }

    .table th {
      font-weight: bold;
      background-color: #f8f9fa;
    }

    /* Botões */
    .btn {
      width: 100%;
      max-width: 250px;
      padding: 10px;
    }

    /* Layout Flexível */
    .flex-container {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 20px;
      width: 100%;
    }

    /* Carrossel (usado anteriormente na homepage) */
    .carousel-item img {
      width: 100%;
      height: auto;
      max-height: 500px;
      object-fit: cover;
    }

    img.transparent {
      opacity: 0.7;
      filter: brightness(120%);
    }

    /* Espaços gerais */
    .container {
      max-width: 100%;
      margin: auto;
    }

    .form-group {
      margin-bottom: 20px;
    }

    label {
      font-weight: bold;
    }

    .btn-block {
      width: 100%;
    }

    h2, h1 {
      margin-top: 20px;
    }
.gradient-logo-text {
  font-size: 2rem;  /* aumenta o tamanho */
  font-weight: 800;
  background: linear-gradient(to right, #007acc, #00c2ff); /* azul degradê */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.gradient-logo-text:hover {
  filter: brightness(1.3);  /* mais brilho ao passar o mouse */
}

.footer-impact {
  background-color: #011231;
  color: white;
  padding: 60px 20px;
  margin-top: 60px;
}

.footer-impact .footer-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
  background-color: transparent;
  border-radius: 12px;
  opacity: 0.92;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
  transition: transform 0.3s ease;
}


.footer-logo:hover {
  transform: scale(1.05);
}


.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.impact-grid div {
  text-align: center;
  min-width: 150px;
}

.impact-grid h3 {
  font-size: 2.5rem;
  color: #8ec9ff;
  font-weight: bold;
  margin-bottom: 10px;
}

.impact-grid p {
  font-size: 0.95rem;
  color: #d0e6ff;
  margin: 0;
}

/* Espaços da tela login e cadastro */
.form-container,
.login-container {
  max-width: 420px;
  width: 100%;
  box-sizing: border-box;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  box-sizing: border-box;
}

/* Estilo para os links da navbar */
.navbar .nav-link {
  color: #007acc !important;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 4px;
  padding: 8px 12px;
}

.navbar .nav-link:hover {
  background-color: #007acc;
  color: #fff !important;
}
.btn-primary {
  background-color: #007acc;
  border: none;
  font-weight: bold;
}

.btn-primary:hover {
  background-color: #005fa3;
}

.btn-outline-primary:hover {
  background-color: #007acc;
  color: #fff;
}

/* Botões da navbar – visual amigável no padrão azul Petiza */
.btn-brand-auth,
.btn-ghost-auth {
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Botão cheio (Criar conta) */
.btn-brand-auth {
  background: linear-gradient(180deg,#238ef8,#0f7ac4);
  color: #fff !important;
  border: none;
  box-shadow: 0 8px 18px rgba(15,122,196,.25);
}
.btn-brand-auth:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* Botão contornado (Entrar) */
.btn-ghost-auth {
  background: #fff;
  color: #0f2942 !important;
  border: 1px solid #d9e4ef;
}
.btn-ghost-auth:hover {
  background: #f3f7fb;
}

/* Em telas pequenas, dá um respiro */
@media (max-width: 991.98px) {
  .navbar .btn-brand-auth,
  .navbar .btn-ghost-auth {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }
}

.form-container {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 380px;   /* 🔧 antes estava 400px */
  text-align: center;
  margin: 0 auto;     /* 🔧 garante centralização */
  box-sizing: border-box;
}
body .landing-card { max-width: 420px !important; padding: 28px 24px !important; margin: 0 auto !important; box-sizing: border-box; }

/* ===== Login/Cadastro (card + logo) ===== */
.landing-card{
  max-width: 400px;         /* ajuste a largura do card aqui */
  padding: 28px 24px;
  margin: 0 auto;
  box-sizing: border-box;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:center;
}

.landing-card .brand-head{ margin-bottom: 20px; }

.landing-card .brand-logo{
  width: 140px;             /* ajuste o tamanho da logo aqui */
  height: 140px;
  object-fit: contain;
  display:block;
  margin: 0 auto 10px;
}

.landing-card .form-group{ margin-bottom: 16px; text-align:left; }
.landing-card .form-group input{
  width:100%; padding:10px 14px; border:1px solid #d9e4ef; border-radius:8px; font-size:14px;
}

.landing-card .btn-primary,
.landing-card .btn-secondary{
  width:100%; border-radius:8px; padding:12px; font-weight:700; margin-top:10px; text-decoration:none;
}
.landing-card .btn-primary{ border:none; background:#0f7ac4; color:#fff; box-shadow:0 6px 16px rgba(15,122,196,.25); }
.landing-card .btn-primary:hover{ filter:brightness(1.05); transform: translateY(-1px); }
.landing-card .btn-secondary{ border:1px solid #d9e4ef; background:#fff; color:#0f2942; }
.landing-card .btn-secondary:hover{ background:#f3f7fb; }

/* ===== Wrapper para centralizar o card na tela ===== */
.landing-wrap{
  min-height: 100vh;               /* ocupa a tela toda */
  display: flex;
  align-items: center;             /* centro vertical */
  justify-content: center;         /* centro horizontal */
  background: linear-gradient(135deg, #eaf3fb 0%, #ffffff 60%);
  padding: 24px;                   /* respiro nas bordas */
}

/* (você já tem estes, mas deixo aqui juntos) */
.landing-card{
  max-width: 400px;
  padding: 28px 24px;
  margin: 0 auto;
  box-sizing: border-box;
  background:#fff;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:center;
}
.landing-card .brand-head{ margin-bottom: 20px; }
.landing-card .brand-logo{
  width: 140px;
  height: 140px;
  object-fit: contain;
  display:block;
  margin: 0 auto 10px;
}
.landing-card .form-group{ margin-bottom: 16px; text-align:left; }
.landing-card .form-group input{
  width:100%; padding:10px 14px; border:1px solid #d9e4ef; border-radius:8px; font-size:18px;
}
.landing-card .btn-primary,
.landing-card .btn-secondary{
  width:100%; border-radius:8px; padding:12px; font-weight:700; margin-top:10px; text-decoration:none;
}
.landing-card .btn-primary{ border:none; background:#0f7ac4; color:#fff; box-shadow:0 6px 16px rgba(15,122,196,.25); }
.landing-card .btn-primary:hover{ filter:brightness(1.05); transform: translateY(-1px); }
.landing-card .btn-secondary{ border:1px solid #d9e4ef; background:#fff; color:#0f2942; }
.landing-card .btn-secondary:hover{ background:#f3f7fb; }

/* Botão principal (Cadastrar) */
.landing-card .btn-primary {
  display: block;
  width: 100%;
  border-radius: 8px;
  padding: 14px;
  font-weight: 700;
  margin-top: 10px;      /* margem só dele */
  margin-bottom: 18px;   /* margem inferior independente */
  text-decoration: none;
  border: none;
  background: #0f7ac4;
  color: #fff;
  box-shadow: 0 6px 16px rgba(15,122,196,0.25);
  transition: transform 0.04s ease, box-shadow 0.2s ease;
}

.landing-card .btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Botão secundário (Já tenho conta) */
.landing-card .btn-secondary {
  display: block;
  width: 94%;
  border-radius: 8px;
  padding: 12px;
  font-weight: 700;
  margin-top: 6px;      /* margem só dele */
  margin-bottom: 4px;   /* pode mudar só esse */
  text-decoration: none;
  border: 1px solid #d9e4ef;
  background: #fff;
  color: #0f2942;
  transition: background 0.2s ease;
}

.landing-card .btn-secondary:hover {
  background: #f3f7fb;
}

.landing-card .btn-secondary:hover {
  background: #f3f7fb;
}

/* Botão login (entrar e voltar) */
/* Corrige o estouro lateral dos botões do login */
.login-container .login-button,
.login-container .back-button {
  display: block;
  width: 100%;
  box-sizing: border-box;   /* ✅ não soma padding à largura */
  margin-left: 0;
  margin-right: 0;
}

/* Espaçamentos independentes, se quiser ajustar depois */
.login-container .login-button { margin-bottom: 14px; }
.login-container .back-button  { margin-bottom: 14px; }

/* Opcional: corta qualquer glow/sombra que ultrapasse o card */
.login-container { overflow: hidden; }

/* Opcional: focus ring bonito sem “vazar” */
.login-container .login-button:focus,
.login-container .back-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(15,122,196,.15);
}


/* sandbox */
.sandbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sandbox-flag {
  width: 20px;
  height: 200px;
}

/* ====== Card da tela de Empresa (editar/cadastrar) ====== */
.form-card{ max-width: 640px; }                     /* largura do card */
.form-card .brand-logo{ width:100px; height:100px; }
.form-card .brand-title{ font-weight:800; color:#0f7ac4; font-size:22px; margin-top:6px; }
.form-card .brand-sub{ color:#5f7892; font-size:14px; margin-bottom:12px; }

/* Os <p> que o {{ form.as_p }} gera */
.petiza-form p{ margin:0 0 14px 0; text-align:left; }
.petiza-form label{ display:block; font-weight:600; color:#0f2942; margin-bottom:6px; }
.petiza-form input,
.petiza-form select,
.petiza-form textarea{
  width:100%; padding:10px 14px; border:1px solid #d9e4ef; border-radius:8px; font-size:14px; box-sizing:border-box;
}

/* Botões, no mesmo padrão das outras telas */
.btn-empresa-salvar{ font-size:18px; margin-top:10px; }

/* Sandbox (checkbox) bonitinho, alinhado na mesma linha do rótulo) */
.petiza-form label[for="id_sandbox"]{ display:inline-flex; align-items:center; gap:8px; }
#id_sandbox{ width:auto; height:auto; margin:0; transform: translateY(1px); }

/* ====== Card da tela de Usuário ====== */
.form-card{ max-width: 480px; }
.form-card .brand-logo{ width:100px; height:100px; }
.form-card .brand-title{ font-weight:800; color:#0f7ac4; font-size:22px; margin-top:6px; }
.form-card .brand-sub{ color:#5f7892; font-size:14px; margin-bottom:16px; }

.petiza-form label{ display:block; font-weight:600; color:#0f2942; margin-bottom:6px; }
.petiza-form input{ width:100%; padding:10px 14px; border:1px solid #d9e4ef; border-radius:8px; font-size:14px; box-sizing:border-box; }

/* Botões */
.btn-empresa-salvar{ font-size:16px; margin-top:10px; }

/* ===== KPI CARDS – estilo base ===== */
.kpi-card {
  border: 1px solid #e7eef5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: transform .08s ease, box-shadow .12s ease;
  padding: 18px 18px 16px 18px;
  height: 100%;
}
.kpi-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }

.kpi-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.kpi-title {
  margin: 0; font-weight: 700; color: #15293b; font-size: 1rem;
}
.kpi-ico {
  width: 36px; height: 36px; border-radius: 10px;
  background: #f1f6fd; color: #6c8eb5;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.kpi-body { margin-top: 8px; }
.kpi-value {
  font-size: 2.2rem; line-height: 1; font-weight: 800; color: #0f2942;
}
.kpi-sub { margin: 0; color: #8093a8; font-size: .95rem; }

/* ===== ALERTA / AGENDA – cards largos ===== */
.kpi-wide {
  border: 1px solid #e7eef5; border-radius: 14px; background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 18px; height: 100%;
}
.kpi-wide .kpi-title { font-size: 1.05rem; }
.kpi-wide .kpi-iconline { display:flex; gap:10px; align-items:center; margin-bottom:6px; }
.kpi-wide .kpi-ico { background: #f5f7fb; }

/* ===== RESUMO FINANCEIRO ===== */
.resumo-card {
  border: 1px solid #e7eef5; border-radius: 14px; background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  padding: 18px; height: 100%;
}
.resumo-head { display:flex; align-items:center; gap:10px; margin-bottom: 10px; }
.resumo-title { margin:0; font-weight: 700; color:#15293b; }
.resumo-sub { margin:0; color:#8093a8; }

.resumo-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; align-items: center; margin-top: 18px;
}
.res-item { text-align: center; }
.res-label { color:#64748b; margin:0 0 6px 0; font-weight:600; }

.res-value {
  font-size: 1.8rem; font-weight: 800;
  letter-spacing: .2px;
}
.res-value.receber { color: #16a34a; }   /* verde */
.res-value.pagar   { color: #dc2626; }   /* vermelho */
.res-value.saldo   { color: #16a34a; }   /* saldo em verde */

@media (max-width: 992px) {
  .resumo-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* opcional: link invisível para card inteiro clicável */
.stretched-link { text-decoration: none; }


/* ====== Redefinir Senha (hooks) ====== */

/* Centralizar o card */
.reset-container {
  max-width: 400px;   /* largura do card */
  margin: 40px auto;  /* centraliza */
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
  padding: 30px 25px;
  text-align: center;
}

/* Inputs */
.reset-container .form-control {
  width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  padding: 12px;
  font-size: 14px;
}

/* Botões */
.reset-container .btn {
  width: 100%;         /* ocupa toda largura do form */
  margin-bottom: 12px; /* espaço entre os dois */
  border-radius: 8px;
  font-weight: 600;
  padding: 12px;
}
