/* landing-login.css - page-scoped styles for LoginComercial_new.jsp */
:root{
  --brand-1:#0d6efd;
  --brand-2:#2563eb;
  --navy-1:#081735;
  --navy-2:#0b1f4d;
  --navy-3:#10265c;
  --cyan-soft:#7dd3fc;
}

body{
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif !important;
  color:#0f172a;
}

html,
body{
  overflow-x:hidden;
}

/* keep the page around the hero in a light tone while header stays dark/full-width */
body.page-login{ background:#f8fafc !important; }

/* ---------- Hero SaaS ---------- */
.hero-saas{
  min-height: auto;
  margin-top:1.75rem;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(2,6,23,0.15);
}
.hero-saas-content{
  padding:2.5rem 2.5rem;
}
.hero-saas-bg{
  background-image: url('../Imgs/negocio2.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(0.95);
}
.hero-saas-overlay{
  background: linear-gradient(
    90deg,
    rgba(3, 18, 48, 0.75) 0%,
    rgba(3, 25, 60, 0.35) 55%,
    rgba(3, 25, 60, 0.20) 100%
  );
}

.hero-badge{
  display:inline-flex;
  border:1px solid rgba(125,211,252,0.5);
  border-radius:999px;
  padding:0.35rem 0.85rem;
  color:#bae6fd;
  background:rgba(15,23,42,0.3);
  font-size:0.79rem;
  font-weight:700;
  letter-spacing:0.02em;
}

.hero-copy{
  position:relative;
  z-index:2;
}

.hero-headline{
  color:#f8fafc;
  font-weight:800;
  line-height:0.98;
  letter-spacing:-0.03em;
  font-size:2rem;
  max-width: 920px;
  margin-top:1.45rem;
}
.hero-headline-line{ display:block; white-space:nowrap; }

.hero-highlight{
  background: linear-gradient(90deg, #93c5fd 0%, #38bdf8 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.hero-subheadline{
  max-width: 820px;
  color:#c7d2fe;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height:1.75;
  font-weight:400;
  margin-top:1.4rem;
}

.hero-cta-group{ display:flex; flex-wrap:wrap; gap:0.9rem; margin-top:2.25rem; }

.hero-cta-primary,
.hero-cta-secondary{
  display:inline-flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  border-radius:14px;
  min-height:64px;
  padding:0.7rem 1.1rem;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.hero-cta-primary{
  color:#ffffff;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  box-shadow: 0 12px 26px rgba(37,99,235,0.35);
}
.hero-cta-primary:hover{ transform:translateY(-2px); box-shadow:0 16px 32px rgba(37,99,235,0.42); }

.hero-cta-secondary{
  color:#e0f2fe;
  border:1px solid rgba(191,219,254,0.5);
  background: rgba(148,163,184,0.08);
}
.hero-cta-secondary:hover{ transform:translateY(-2px); background:rgba(148,163,184,0.15); border-color:rgba(191,219,254,0.72); }

.hero-cta-primary strong,
.hero-cta-secondary strong{ font-size:0.98rem; font-weight:700; }
.hero-cta-primary small,
.hero-cta-secondary small{ font-size:0.74rem; opacity:0.9; margin-top:0.1rem; }

.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:0.8rem 1.2rem;
  color:#cbd5e1;
  font-size:0.85rem;
  margin-top:1.6rem;
}

.hero-mockup{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-mockup .mockup-card{
  border-radius:20px;
  border:1px solid rgba(191,219,254,0.25);
  background: linear-gradient(180deg, rgba(15,23,42,0.82) 0%, rgba(15,23,42,0.62) 100%);
  backdrop-filter: blur(8px);
  box-shadow: 0 22px 44px rgba(2,6,23,0.36);
  padding:1.05rem;
  width:92%;
  max-width:510px;
}

.mockup-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:0.9rem; }
.mockup-top h3{ color:#f8fafc; font-size:1rem; font-weight:700; margin:0; }
.mockup-status{
  color:#bbf7d0;
  background:rgba(22,163,74,0.18);
  border:1px solid rgba(34,197,94,0.4);
  border-radius:999px;
  padding:0.2rem 0.55rem;
  font-size:0.72rem;
  font-weight:700;
}

.mockup-metrics{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0.65rem; margin-bottom:1rem; }
.mockup-metrics > div{ border:1px solid rgba(148,163,184,0.25); background:rgba(15,23,42,0.45); border-radius:12px; padding:0.65rem; }
.mockup-metrics p{ color:#93c5fd; font-size:0.72rem; margin:0 0 0.25rem; }
.mockup-metrics strong{ color:#f8fafc; font-size:1rem; }

.mockup-chart{
  height:120px;
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:0.4rem;
  align-items:end;
  padding:0.75rem;
  border-radius:12px;
  background:rgba(30,41,59,0.55);
  border:1px solid rgba(148,163,184,0.23);
}
.mockup-chart-title{
  margin:0 0 0.45rem;
  color:#cbd5e1;
  font-size:0.78rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.04em;
}
.mockup-chart span{
  display:block;
  border-radius:7px 7px 0 0;
  background:linear-gradient(180deg,#38bdf8 0%, #2563eb 100%);
}

.mockup-list{ margin-top:0.95rem; }
.mockup-list h4{ color:#cbd5e1; font-size:0.78rem; font-weight:700; margin:0 0 0.45rem; text-transform:uppercase; letter-spacing:0.04em; }
.mockup-list ul{ list-style:none; padding:0; margin:0; display:grid; gap:0.35rem; }
.mockup-list li{ display:flex; justify-content:space-between; color:#f8fafc; font-size:0.82rem; border-bottom:1px dashed rgba(148,163,184,0.28); padding-bottom:0.35rem; }
.mockup-list em{ color:#bae6fd; font-style:normal; }

/* ---------- Benefits + Metrics band ---------- */
.hero-benefits-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.15rem;
}

.hero-benefit-card{
  background:#ffffff;
  border-radius:16px;
  padding:1.05rem;
  box-shadow: 0 12px 28px rgba(15,23,42,0.10);
  border:1px solid #e2e8f0;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hero-benefit-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(15,23,42,0.15);
  border-color:rgba(13,110,253,0.25);
}
.benefit-icon{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:1.1rem;
  margin-bottom:0.55rem;
}
.hero-benefit-card-1 .benefit-icon{ background:rgba(13,110,253,0.14); }
.hero-benefit-card-2 .benefit-icon{ background:rgba(102,16,242,0.14); }
.hero-benefit-card-3 .benefit-icon{ background:rgba(34,197,94,0.14); }
.hero-benefit-card h3{ color:#0f172a; font-size:1rem; font-weight:700; margin:0 0 0.45rem; }
.hero-benefit-card p{ color:#475569; font-size:0.9rem; line-height:1.55; margin:0; }

.hero-metrics-band{
  background:linear-gradient(90deg, var(--navy-2) 0%, var(--navy-3) 100%);
  border-top:1px solid rgba(148,163,184,0.22);
  border-bottom:1px solid rgba(148,163,184,0.22);
}

.hero-metrics-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1rem;
  padding:1rem 0;
}

.hero-metrics-grid div{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:0.35rem;
}
.hero-metric-icon{ width:24px; height:24px; color:#bfdbfe; }
.hero-metrics-grid strong{ display:block; color:#f8fafc; font-weight:800; font-size:1.22rem; }
.hero-metrics-grid span{ color:#cbd5e1; font-size:0.84rem; }

.social-proof-strip{
  background:linear-gradient(90deg, var(--navy-2) 0%, var(--navy-3) 100%);
  padding:0.9rem 0 1.2rem;
}

.social-proof-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0.85rem;
}

.social-proof-card{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(191,219,254,0.22);
  border-radius:14px;
  padding:0.85rem 0.9rem;
}

.social-proof-card p{ margin:0 0 0.55rem; color:#e2e8f0; font-size:0.84rem; line-height:1.5; }
.social-proof-card strong{ display:block; color:#f8fafc; font-size:0.85rem; }
.social-proof-card span{ color:#bfdbfe; font-size:0.78rem; }

#contato.section-double-height{
  padding-top:4.5rem;
  padding-bottom:7rem;
}

.final-cta-section{
  background:linear-gradient(90deg, var(--navy-2) 0%, var(--navy-3) 100%);
}

.final-cta-box{
  border:1px solid rgba(191,219,254,0.24);
  background:rgba(15,23,42,0.25);
  border-radius:22px;
  padding:2rem 1.4rem;
  text-align:center;
}

.final-cta-box h3{
  margin:0;
  color:#f8fafc;
  font-size:clamp(1.4rem,2.1vw,2rem);
  font-weight:800;
}

.final-cta-actions{
  margin-top:1.4rem;
  justify-content:center;
}

.floating-cta{
  position:fixed;
  left:18px;
  bottom:26px;
  z-index:120;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0.65rem 1rem;
  border-radius:12px;
  color:#ffffff;
  text-decoration:none;
  font-weight:800;
  font-size:0.94rem;
  background:linear-gradient(90deg,var(--brand-1),var(--brand-2));
  box-shadow:0 12px 28px rgba(37,99,235,0.35);
  opacity:0;
  transform:translateY(10px);
  pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}

.floating-cta.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

/* Override from landpage.css — canto inferior direito */
.whatsapp-btn{
  position:fixed;
  right:20px;
  bottom:18px;
  z-index:1200;
}

.whatsapp-icon{
  width:54px;
  height:54px;
}

.contact-proof-card{
  display:inline-flex;
  flex-direction:column;
  gap:0.2rem;
  background:#ffffff;
  border:1px solid #cbd5e1;
  border-radius:14px;
  padding:0.9rem 1.1rem;
  box-shadow:0 10px 24px rgba(15,23,42,0.08);
}
.contact-proof-card strong{
  font-size:1.7rem;
  line-height:1;
  font-weight:800;
  color:#0f172a;
}
.contact-proof-card p{
  margin:0;
  color:#475569;
  font-size:0.9rem;
  font-weight:600;
}

/* ---------- Existing form + utilities ---------- */
.form-box{ background: linear-gradient(180deg,#081226 0%, #0f1a36 100%); border-radius:18px; box-shadow: 0 12px 30px rgba(2,6,23,0.22); padding:2rem; }
.form-box h3{ color:#fff; }
.form-input{
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.12);
  -webkit-appearance:none;
  appearance:none;
  background:rgba(0,0,0,0.35);
  background-color:rgba(0,0,0,0.35) !important;
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff !important;
  caret-color:#ffffff;
}

.form-input::placeholder{
  color:rgba(226,232,240,0.68) !important;
  opacity:1;
}

.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus{
  -webkit-text-fill-color:#ffffff !important;
  -webkit-box-shadow:0 0 0px 1000px rgba(15,23,42,0.9) inset !important;
  box-shadow:0 0 0px 1000px rgba(15,23,42,0.9) inset !important;
  transition:background-color 9999s ease-in-out 0s;
}

#formulario-contato .grid,
#formulario-contato .grid > div{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
}

#formulario-contato .grid > div{
  min-width:0;
}
.submit-btn{ background: linear-gradient(90deg,var(--brand-1),#1d4ed8); box-shadow: 0 8px 24px rgba(13,110,253,0.14); border:0; }
.submit-btn:hover{ transform: translateY(-2px); }
.toast-custom{ border-radius:12px; padding:0.6rem 1rem; }

/* ---------- Microinteractions ---------- */
.fade-up{
  opacity:0;
  transform: translateY(14px);
  animation: fadeUp .7s ease forwards;
}
.delay-1{ animation-delay: .08s; }
.delay-2{ animation-delay: .16s; }
.delay-3{ animation-delay: .24s; }

@keyframes fadeUp{
  to{ opacity:1; transform: translateY(0); }
}

/* ---------- Responsive ---------- */
@media (max-width:1024px){
  .hero-headline{ max-width:100%; }
  .hero-mockup .mockup-card{ width:100%; max-width:560px; }
  .hero-benefits-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hero-metrics-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  .social-proof-grid{ grid-template-columns:1fr; }
  #contato.section-double-height{ padding-top:3.25rem; padding-bottom:5.75rem; }
  .whatsapp-btn{ right:20px; bottom:16px; }
  .whatsapp-icon{ width:50px; height:50px; }
}

@media (min-width:768px){
  .hero-headline{ font-size:2.4rem; }
}

@media (min-width:1024px){
  .hero-saas-content{ padding:3rem 3rem; }
  .hero-headline{ font-size:2.8rem; }
}

@media (min-width:1280px){
  .hero-headline{ font-size:3.2rem; }
}

@media (max-width:767px){
  .hero-saas{ margin-top:1rem; border-radius:20px; }
  .hero-saas-content{ padding:1.5rem 1.25rem; }
  .hero-saas-bg{ background-position: 58% center; }
  .hero-headline{
    margin-top:1rem;
    font-size:1.86rem;
    line-height:1.1;
  }
  .hero-headline-line{ white-space:normal; }
  .hero-subheadline{ margin-top:1.05rem; }
  .hero-cta-group{ margin-top:1.6rem; }
  .hero-trust{
    margin-top:1.2rem;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:0.55rem 1rem;
  }
  .hero-benefits-grid{ grid-template-columns:1fr; }
  .hero-cta-group{ flex-direction:column; }
  .hero-cta-primary, .hero-cta-secondary{ width:100%; }
  .hero-cta-secondary{ border-color:rgba(191,219,254,0.78); background:rgba(255,255,255,0.06); }
  .mockup-metrics{ grid-template-columns:1fr; }
  .hero-metrics-grid{ grid-template-columns:1fr; }
  #contato.section-double-height{ padding-top:2.4rem; padding-bottom:4.7rem; }
  .final-cta-box{ padding:1.35rem 1rem; }
  .final-cta-actions{ margin-top:1rem; }
  .floating-cta{ left:12px; right:12px; bottom:14px; justify-content:center; }
  .whatsapp-btn{ right:16px; bottom:16px; }
  .whatsapp-icon{ width:48px; height:48px; }
  .form-box{ padding:1rem; }
}

@media (max-width:640px){
  .form-box{ padding:0.9rem; }
  #formulario-contato .grid{ gap:0.6rem !important; }
}

/* reCAPTCHA badge — canto inferior esquerdo */
.grecaptcha-badge {
  bottom: 18px !important;
  right: auto !important;
  left: 20px !important;
  transform: scale(0.5) !important;
  transform-origin: bottom left !important;
}

@media (max-width: 767px) {
  .grecaptcha-badge {
    bottom: 16px !important;
    left: 16px !important;
    transform: scale(0.45) !important;
    transform-origin: bottom left !important;
  }
}
