/* ============================================
   FACILYCRED · HOMEPAGE STYLES
   Hero, services, simulator, why, about, contact
   ============================================ */

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(116, 192, 67, 0.14), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(116, 192, 67, 0.06), transparent 50%);
  pointer-events: none;
  animation: hero-glow 8s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  0% { opacity: 0.8; }
  100% { opacity: 1.1; }
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green-soft);
  border: 1px solid rgba(116, 192, 67, 0.25);
  color: var(--green);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
  animation: tag-fade 0.7s var(--ease-out) backwards;
}

@keyframes tag-fade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
  color: var(--white);
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: word-rise 0.8s var(--ease-out) forwards;
}

.hero h1 .word:nth-child(1) { animation-delay: 0.15s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.25s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.35s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.45s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.55s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.65s; }
.hero h1 .word:nth-child(7) { animation-delay: 0.75s; }
.hero h1 .word:nth-child(8) { animation-delay: 0.85s; }

@keyframes word-rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  position: relative;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  height: 2px;
  background: var(--green);
  opacity: 0.45;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-grow 1s var(--ease-out) 1.1s forwards;
}

@keyframes underline-grow { to { transform: scaleX(1); } }

.hero p.lead {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 38px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  animation: fade-up 0.8s var(--ease-out) 0.9s backwards;
}

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

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fade-up 0.8s var(--ease-out) 1.05s backwards;
}

/* ============ HERO VISUAL ============ */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  min-height: 360px;
  animation: fade-in 1s var(--ease-out) 0.3s backwards;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-card {
  background: linear-gradient(140deg, #1B1F1B, #0E100E);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
  min-width: 0;
}

.hero-card-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 78%;
  transform: rotate(-3deg);
  z-index: 2;
  animation: card-float-1 6s ease-in-out infinite alternate;
}

.hero-card-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 75%;
  transform: rotate(4deg);
  background: linear-gradient(140deg, var(--green-dark), var(--green));
  border-color: var(--green-bright);
  color: var(--black);
  animation: card-float-2 6s ease-in-out infinite alternate 0.6s;
}

@keyframes card-float-1 {
  from { transform: rotate(-3deg) translateY(0); }
  to { transform: rotate(-2deg) translateY(-14px); }
}

@keyframes card-float-2 {
  from { transform: rotate(4deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-10px); }
}

.hero-card-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 12px;
}

.hero-card-2 .hero-card-label { color: rgba(0, 0, 0, 0.55); }

.hero-card-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1;
  white-space: nowrap;
}

.hero-card-2 .hero-card-value { color: var(--black); }

.hero-card-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-card-2 .hero-card-meta {
  color: rgba(0, 0, 0, 0.6);
  font-weight: 600;
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-bright);
  font-size: 12px;
  color: var(--text-dim);
}

.hero-card-2 .hero-card-row {
  border-top-color: rgba(0, 0, 0, 0.18);
  color: rgba(0, 0, 0, 0.65);
}

.hero-card-row svg { width: 14px; height: 14px; }

/* ============ TRUST BAR ============ */
.trust {
  border-top: 1px dashed var(--border);
  margin-top: 80px;
  padding-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  grid-column: 1 / -1;
}

.trust-item .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--green);
  line-height: 1;
  margin-bottom: 6px;
}

.trust-item .lbl {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ============ SERVICES ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service {
  position: relative;
  background: linear-gradient(180deg, var(--bg-card), #0C0E0C);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px 32px;
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
  cursor: default;
}

.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%),
              rgba(116, 192, 67, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
}

.service:hover::before,
.service:hover::after { opacity: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid rgba(116, 192, 67, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  color: var(--green);
  transition: transform 0.5s var(--ease-bounce), background 0.3s;
}

.service:hover .service-icon {
  transform: rotate(-8deg) scale(1.05);
  background: rgba(116, 192, 67, 0.16);
}

.service-icon svg { width: 26px; height: 26px; }

.service h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.service-list { list-style: none; margin-bottom: 28px; }

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '';
  flex-shrink: 0;
  margin-top: 7px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--green);
  font-size: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  width: 100%;
  transition: gap 0.25s var(--ease-out);
  position: relative;
  z-index: 2;
}

.service-cta:hover { gap: 14px; }

.service-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-out);
}

.service-cta:hover svg { transform: translateX(3px); }

/* ============ SIMULATOR ============ */
.simulator {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 20% 100%, rgba(116, 192, 67, 0.08), transparent 50%),
    var(--bg);
  overflow: hidden;
}

.sim-card {
  position: relative;
  background: linear-gradient(180deg, #131513, #0B0D0B);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.sim-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0.6;
}

.sim-card::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(116, 192, 67, 0.12), transparent 60%);
  pointer-events: none;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* ----- LEFT: form ----- */
.sim-form {
  padding: 48px 48px 40px;
}

.sim-form h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
}

.sim-form > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ----- TABS ----- */
.sim-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 36px;
}

.sim-tab {
  position: relative;
  padding: 12px 6px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  border-radius: 10px;
  transition: color 0.25s, background 0.3s, transform 0.2s;
  z-index: 1;
}

.sim-tab:hover {
  color: var(--white);
}

.sim-tab.active {
  background: var(--green);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(116, 192, 67, 0.25);
}

/* ----- FIELDS ----- */
.sim-field {
  margin-bottom: 28px;
}

.sim-field-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}

.sim-field-head label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sim-output {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.2s, transform 0.2s;
}

.sim-output.changing {
  color: var(--green);
  transform: scale(1.05);
}

/* ----- SLIDER ----- */
.sim-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right,
              var(--green) 0%, var(--green) 50%,
              var(--border-bright) 50%, var(--border-bright) 100%);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.sim-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: var(--green);
  border-radius: 50%;
  cursor: grab;
  border: 4px solid #0B0D0B;
  box-shadow:
    0 0 0 1px var(--green),
    0 6px 16px var(--green-glow);
  transition: transform 0.2s var(--ease-bounce);
}

.sim-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.sim-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
}

.sim-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: var(--green);
  border: 4px solid #0B0D0B;
  border-radius: 50%;
  cursor: grab;
  box-shadow:
    0 0 0 1px var(--green),
    0 6px 16px var(--green-glow);
}

.sim-slider:focus-visible::-webkit-slider-thumb {
  box-shadow:
    0 0 0 1px var(--green),
    0 0 0 6px rgba(116, 192, 67, 0.25),
    0 6px 16px var(--green-glow);
}

.sim-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-dim);
}

.sim-disclaimer {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.55;
  padding-top: 22px;
  border-top: 1px dashed var(--border);
  margin-top: 12px;
}

/* ----- RIGHT: result ----- */
.sim-result {
  position: relative;
  background: linear-gradient(160deg, #0D1B0A, #0A0B0A 60%);
  padding: 48px 44px 40px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.sim-result::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(116, 192, 67, 0.18), transparent 50%);
  pointer-events: none;
}

.sim-result > * { position: relative; }

.sim-result-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 12px;
}

.sim-result-value {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.sim-result-value.bump {
  animation: result-bump 0.45s var(--ease-bounce);
}

@keyframes result-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.06); color: var(--green-bright); }
  100% { transform: scale(1); color: var(--white); }
}

.sim-result-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.sim-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.sim-result-grid > div {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.sim-result-grid > div:hover {
  border-color: rgba(116, 192, 67, 0.25);
  background: rgba(116, 192, 67, 0.04);
}

.sim-result-grid small {
  display: block;
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.sim-result-grid strong {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}

.sim-cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
  padding: 16px;
}

/* ============ WHY ============ */
.why {
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 192, 67, 0.08), transparent 60%),
    var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-item {
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.why-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--green);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease-out);
}

.why-item:hover {
  background: rgba(116, 192, 67, 0.04);
  border-color: rgba(116, 192, 67, 0.25);
  transform: translateY(-4px);
}

.why-item:hover::before { transform: scaleY(1); }

.why-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--green);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============ ABOUT SNIPPET ============ */
.about-snippet {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(140deg, var(--bg-card), #0A0C0A);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(116, 192, 67, 0.22), transparent 55%);
  animation: aurora 10s ease-in-out infinite alternate;
}

@keyframes aurora {
  0% { transform: translate(-5%, -5%) scale(1); opacity: 0.7; }
  100% { transform: translate(10%, 8%) scale(1.2); opacity: 1; }
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.about-visual img {
  position: relative;
  width: 58%;
  max-width: 280px;
  animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1.5deg); }
}

.about-content .section-eyebrow { margin-bottom: 14px; }

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 22px;
}

.about-content h2 em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.65;
}

.about-content .btn { margin-top: 14px; }

/* ============ CONTACT ============ */
.contact {
  position: relative;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(116, 192, 67, 0.1), transparent 50%);
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-info .section-eyebrow { margin-bottom: 14px; }

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  color: var(--white);
}

.contact-info h2 em {
  font-style: italic;
  color: var(--green);
  font-weight: 400;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 16px;
}

.contact-channels { list-style: none; }

.contact-channels li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  transition: padding-left 0.25s var(--ease-out);
}

.contact-channels li:hover { padding-left: 6px; }

.contact-channels li:last-child { border-bottom: 1px solid var(--border); }

.ch-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid rgba(116, 192, 67, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  transition: transform 0.4s var(--ease-bounce);
}

.contact-channels li:hover .ch-icon {
  transform: rotate(-8deg) scale(1.06);
}

.ch-icon svg { width: 20px; height: 20px; }

.ch-text small {
  display: block;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

.ch-text strong {
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
}

/* ============ FORM ============ */
.form-card {
  background: linear-gradient(180deg, #141614, #0E100E);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(116, 192, 67, 0.06), transparent 60%);
  pointer-events: none;
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 6px;
  position: relative;
}

.form-card .form-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  position: relative;
}

.form-card > form { position: relative; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  margin-bottom: 16px;
  position: relative;
}

.field label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-bright);
  color: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: all 0.25s var(--ease-out);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 4px rgba(116, 192, 67, 0.12);
}

.field:focus-within label { color: var(--green); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23748074' d='M6 8 0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 22px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--green);
  cursor: pointer;
}

.checkbox-row a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-card .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 18px;
  font-size: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  animation: fade-up 0.5s var(--ease-out);
}

.form-success.show { display: block; }

.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  animation: success-pop 0.6s var(--ease-bounce);
}

@keyframes success-pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.form-success-icon svg { width: 32px; height: 32px; }

.form-success h4 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--white);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* =============================================
   ============ RESPONSIVE ============
   ============================================= */

/* Janelas estreitas de desktop e tablets (1080px) */
@media (max-width: 1080px) {
  .hero {
    padding: 130px 0 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  /* Cards do hero deixam de sobrepor — viram coluna empilhada */
  .hero-visual {
    margin: 0 auto;
    max-width: 480px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .hero-card,
  .hero-card-1,
  .hero-card-2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Simulador empilha */
  .sim-grid {
    grid-template-columns: 1fr;
  }
  .sim-result {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .about-snippet {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-visual {
    max-width: 380px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* Tablet médio (820px) */
@media (max-width: 820px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 50px;
    gap: 24px;
  }
  .sim-form {
    padding: 36px 28px 30px;
  }
  .sim-result {
    padding: 36px 28px 30px;
  }
}

/* Mobile (640px) */
@media (max-width: 640px) {
  .hero {
    padding: 110px 0 60px;
  }
  .hero h1 {
    font-size: clamp(34px, 9vw, 48px);
  }
  .hero p.lead {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-card {
    padding: 18px;
  }
  .hero-card-value {
    font-size: 26px;
  }
  .trust {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .trust-item .num {
    font-size: 28px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .service {
    padding: 30px 24px 26px;
  }
  .service h3 {
    font-size: 22px;
  }
  .form-card {
    padding: 28px 22px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .sim-form,
  .sim-result {
    padding: 30px 22px 26px;
  }
  .sim-result-grid {
    grid-template-columns: 1fr;
  }
  .sim-tabs {
    gap: 4px;
  }
  .sim-tab {
    font-size: 13px;
    padding: 11px 4px;
  }
}

@media (max-width: 380px) {
  .hero-visual {
    max-width: 100%;
  }
  .sim-tabs {
    grid-template-columns: 1fr;
  }
  .sim-output {
    font-size: 18px;
  }
}
