/* Alinms Crédito — landing clara, mobile-first, cores do logo */

:root {
  --a-blue: #0060c0;
  --a-blue-dark: #004a9a;
  --a-blue-soft: #e8f2fc;
  --a-green: #40b010;
  --a-green-dark: #2f8a0c;
  --a-green-soft: #eef9e6;
  --a-ink: #0f1b2d;
  --a-text-2: #3a4a5c;
  --a-text-3: #6b7c8f;
  --a-bg: #f5f9fc;
  --a-surface: #ffffff;
  --a-border: #d7e3ef;
  --a-r-md: 14px;
  --a-r-lg: 18px;
  --a-r-xl: 24px;
  --a-r-full: 9999px;
  --a-font: "Nunito", system-ui, sans-serif;
}

body {
  font-family: var(--a-font);
  font-weight: 600;
  color: var(--a-ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  background: var(--a-bg);
}

html {
  background: var(--a-bg);
  scroll-behavior: smooth;
}

#simular,
#beneficios,
#condicoes,
#contato {
  scroll-margin-top: calc(var(--landing-header-h, 64px) + 10px);
}

.a-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .a-container {
    padding: 0 24px;
  }
}

/* Header */
.a-header {
  padding: 10px 0;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  border-bottom: 2px solid var(--a-border);
  box-shadow: 0 2px 10px rgba(0, 96, 192, 0.06);
}

.a-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.a-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.a-links {
  display: none;
  gap: 22px;
  font-size: 15px;
  color: var(--a-text-2);
  flex: 1;
  justify-content: center;
}

.a-links a {
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

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

.a-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.a-menu-btn {
  background: var(--a-blue-soft);
  border: 0;
  cursor: pointer;
  color: var(--a-blue);
  padding: 10px;
  border-radius: 12px;
  display: inline-flex;
}

/* Buttons — grandes e fáceis no celular */
.a-btn {
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  border-radius: var(--a-r-full);
  transition: transform 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1.1;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.a-btn:active {
  transform: scale(0.98);
}

.a-btn-primary {
  background: var(--a-blue);
  color: #fff;
  padding: 14px 24px;
  box-shadow: 0 6px 18px rgba(0, 96, 192, 0.28);
}

.a-btn-primary:hover {
  background: var(--a-blue-dark);
}

.a-btn-green {
  background: var(--a-green);
  color: #fff;
  padding: 14px 24px;
  box-shadow: 0 8px 22px rgba(64, 176, 16, 0.35);
}

.a-btn-green:hover {
  background: var(--a-green-dark);
}

.a-btn-sm {
  padding: 10px 16px;
  font-size: 14px;
}

.a-btn-lg {
  padding: 16px 28px;
  font-size: 17px;
}

.a-btn-xl {
  padding: 18px 28px;
  font-size: 18px;
  min-height: 56px;
}

.a-btn-block {
  width: 100%;
}

.a-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Hero — layout clássico claro */
.a-hero {
  padding: 20px 0 36px;
  background: linear-gradient(180deg, #fff 0%, var(--a-blue-soft) 55%, var(--a-bg) 100%);
}

.a-hero-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.a-eyebrow {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.a-eyebrow-brand {
  color: var(--a-blue);
}

.a-eyebrow-brand-g {
  color: var(--a-green);
}

.a-hero h1 {
  font-size: clamp(1.7rem, 6.5vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--a-ink);
  margin: 0 0 12px;
}

.a-hero h1 span {
  color: var(--a-blue);
}

.a-lead {
  font-size: 16px;
  line-height: 1.45;
  color: var(--a-text-2);
  margin: 0 0 16px;
  font-weight: 600;
  max-width: 36ch;
}

.a-hero-cta-desktop {
  display: none;
}

.a-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 4px;
  font-size: 13px;
  color: var(--a-text-2);
  font-weight: 700;
}

.a-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.a-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--a-blue);
  flex-shrink: 0;
}

.a-trust-dot--g {
  background: var(--a-green);
}

.a-hero-right {
  position: relative;
  order: -1; /* no celular: simulador/foto primeiro */
}

.a-hero-photo {
  display: none;
  border-radius: var(--a-r-xl);
  overflow: hidden;
  background: var(--a-blue-soft);
  aspect-ratio: 16 / 11;
}

.a-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Calculadora — foco de conversão */
.a-calc {
  background: #fff;
  border-radius: var(--a-r-xl);
  padding: 18px 16px 16px;
  border: 2px solid var(--a-border);
  box-shadow: 0 14px 40px rgba(0, 96, 192, 0.12);
}

.a-calc-badge {
  display: inline-flex;
  align-items: center;
  background: var(--a-green-soft);
  color: var(--a-green-dark);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: var(--a-r-full);
  margin-bottom: 12px;
}

.a-calc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.a-calc h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.a-sub {
  font-size: 13px;
  color: var(--a-text-2);
  margin: 4px 0 0;
  font-weight: 600;
}

.a-calc-amount {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--a-blue);
  letter-spacing: -0.03em;
  white-space: nowrap;
  line-height: 1;
}

.a-calc .a-slider {
  margin-top: 16px;
}

.a-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 96, 192, 0.2);
  height: 10px;
  border-radius: var(--a-r-full);
  outline: none;
  cursor: pointer;
}

.a-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--a-green);
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(64, 176, 16, 0.45);
}

.a-slider::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--a-green);
  cursor: pointer;
  border: 4px solid #fff;
}

.a-slider-range {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 14px;
  font-size: 12px;
  color: var(--a-text-3);
  font-weight: 700;
}

.a-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px;
  background: var(--a-blue-soft);
  border-radius: var(--a-r-md);
  margin-bottom: 14px;
}

.a-detail-k {
  font-size: 11px;
  color: var(--a-text-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.a-detail-v {
  font-size: 14px;
  color: var(--a-ink);
  font-weight: 800;
}

.a-calc-amount-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.a-step-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 2px solid var(--a-border);
  background: #fff;
  color: var(--a-blue);
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.a-step-btn:active {
  background: var(--a-blue-soft);
}

.a-parcela-box {
  background: var(--a-green-soft);
  border: 2px solid #c6ebad;
  border-radius: var(--a-r-md);
  padding: 14px;
  margin-bottom: 14px;
  text-align: center;
}

.a-parcela-label {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--a-green-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.a-parcela-value {
  margin: 0;
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 800;
  color: var(--a-green-dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.a-parcela-total {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--a-text-2);
}

.a-prazo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.a-prazo-label {
  font-size: 14px;
  font-weight: 800;
  color: var(--a-text-2);
}

.a-prazo-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  flex: 1;
  min-width: 200px;
}

.a-prazo-btn {
  border: 2px solid var(--a-border);
  background: #fff;
  color: var(--a-blue);
  border-radius: var(--a-r-full);
  padding: 10px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.a-prazo-btn.is-active {
  background: var(--a-blue);
  border-color: var(--a-blue);
  color: #fff;
}

.a-calc-legal {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--a-text-3);
  font-weight: 600;
}

.a-mini {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--a-text-3);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
}

.a-legal-page {
  padding: 32px 0 48px;
  background: #fff;
}

.a-legal-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin: 0 0 12px;
  color: var(--a-ink);
}

.a-legal-page h2 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
  color: var(--a-blue);
}

.a-legal-page p {
  margin: 0 0 12px;
  color: var(--a-text-2);
  font-weight: 600;
  line-height: 1.55;
}

.a-legal-back {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--a-blue);
  font-weight: 800;
  text-decoration: none;
}

.a-legal-updated {
  margin-top: 24px;
  font-size: 13px;
  color: var(--a-text-3);
}

.a-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 2px solid var(--a-border);
  box-shadow: 0 -8px 24px rgba(0, 96, 192, 0.12);
  transform: translateY(110%);
  transition: transform 0.2s ease;
}

.a-sticky-cta.is-visible {
  transform: translateY(0);
}

@media (max-width: 767px) {
  .a-sticky-cta {
    display: block;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  .a-calc-head {
    flex-direction: column;
    align-items: stretch;
  }

  .a-calc-amount-wrap {
    justify-content: center;
  }

  .a-calc-amount {
    min-width: 130px;
    text-align: center;
  }
}

@media (min-width: 768px) {
  .a-prazo-btns {
    max-width: 320px;
  }
}


/* Benefícios */
.a-benefits-section {
  padding: 40px 0;
  background: #fff;
}

.a-section-head {
  margin-bottom: 20px;
}

.a-kicker {
  color: var(--a-blue);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.a-section-head h2 {
  font-size: clamp(1.45rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}

.a-benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.a-b-card {
  background: var(--a-bg);
  border: 2px solid var(--a-border);
  border-radius: var(--a-r-xl);
  padding: 18px 16px;
}

.a-b-card--green {
  background: var(--a-green-soft);
  border-color: #c6ebad;
}

.a-b-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  font-size: 18px;
}

.a-b-icon--blue {
  background: var(--a-blue);
}

.a-b-icon--green {
  background: var(--a-green);
}

.a-b-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
}

.a-b-card p {
  margin: 0;
  color: var(--a-text-2);
  font-size: 15px;
  font-weight: 600;
}

/* Condições */
.a-conditions-section {
  padding: 40px 0;
  background: var(--a-blue-soft);
}

.a-conditions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.a-cond-item,
.a-cond-example {
  background: #fff;
  border-radius: var(--a-r-lg);
  padding: 16px;
  border: 2px solid var(--a-border);
}

.a-cond-label {
  font-size: 12px;
  color: var(--a-text-2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.a-cond-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--a-ink);
}

.a-cond-detail {
  font-size: 13px;
  font-weight: 600;
  color: var(--a-text-2);
  margin-top: 4px;
}

.a-cond-example {
  margin-bottom: 12px;
}

.a-cond-example p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--a-text-2);
  font-weight: 600;
}

.a-cond-disclaimer {
  margin: 0;
  font-size: 13px;
  color: var(--a-text-2);
  font-weight: 600;
  padding: 12px 14px;
  background: rgba(0, 96, 192, 0.08);
  border-radius: var(--a-r-md);
  border-left: 4px solid var(--a-blue);
}

.a-mid-cta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}

/* Final CTA */
.a-final-section {
  padding: 0 0 40px;
  background: var(--a-blue-soft);
}

.a-final-cta {
  background: linear-gradient(135deg, var(--a-blue) 0%, #0050a8 55%, #003f86 100%);
  border-radius: var(--a-r-xl);
  padding: 32px 20px;
  color: #fff;
  text-align: center;
}

.a-final-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
}

.a-final-cta p {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 600;
  opacity: 0.95;
}

/* Footer */
.a-footer {
  background: #0a1628;
  color: rgba(255, 255, 255, 0.78);
  padding: 40px 0 24px;
  font-size: 14px;
}

.a-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.a-footer-brand {
  margin-bottom: 12px;
}

.a-footer-brand .start-logo-img {
  filter: none;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
}

.a-footer-line {
  margin: 0 0 6px;
  font-weight: 600;
}

.a-footer-col h5 {
  color: #fff;
  margin: 0 0 10px;
  font-weight: 800;
}

.a-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.a-footer-col li {
  margin-bottom: 6px;
}

.a-footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-weight: 700;
}

.a-footer-col a:hover {
  color: #fff;
}

.a-footer-info {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.a-footer-info p {
  margin: 0 0 10px;
}

.a-copyright {
  color: rgba(255, 255, 255, 0.8);
}

/* Tablet / Desktop — volta ao layout clássico */
@media (min-width: 768px) {
  .a-links {
    display: flex;
  }

  .a-menu-btn {
    display: none;
  }

  .a-hero {
    padding: 36px 0 64px;
  }

  .a-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
  }

  .a-hero-right {
    order: 0;
  }

  .a-hero-text {
    order: 0;
  }

  .a-hero-cta-desktop {
    display: flex;
    margin-bottom: 18px;
  }

  .a-hero-photo {
    display: block;
  }

  .a-calc {
    margin-top: -48px;
    position: relative;
    z-index: 2;
    padding: 22px;
  }

  .a-detail {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .a-benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .a-conditions-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .a-final-cta {
    padding: 48px 40px;
  }

  .a-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 36px;
  }
}

@media (min-width: 992px) {
  .a-calc-amount {
    font-size: 1.85rem;
  }

  .a-lead {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .a-btn {
    transition: none;
  }
}
