/* =========================================================================
   EmpréstimosCLT — LP C6 Consig · CSS vanilla (sem build)
   Paleta CARBON: preto/grafite + amarelo #FFD400. Único verde = WhatsApp.
   ========================================================================= */

:root {
  --preto: #0A0A0A;
  --grafite-1: #161616;
  --grafite-2: #1A1A1A;
  --grafite-3: #1F1F1F;
  --borda: #2A2A2A;
  --borda-hover: #3A3A3A;
  --branco: #FAFAFA;
  --cinza-1: #C4C4C4;
  --cinza-2: #A3A3A3;
  --cinza-3: #9A9A9A;
  --amarelo: #FFD400;
  --amarelo-hover: #E6BF00;
  --wpp: #25D366;
  --wpp-hover: #1DA851;
  --vermelho: #FF3B30;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--preto);
  color: var(--branco);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.accent { color: var(--amarelo); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1024px) { .container { padding: 0 4rem; } }

/* ---- Seções ---- */
.section { padding: 3rem 0; }
@media (min-width: 768px) { .section { padding: 4rem 0; } }
.section--dark { background: var(--preto); }
.section--darker { background: var(--grafite-1); }
.section--band { padding: 1.5rem 0; }
@media (min-width: 768px) { .section--band { padding: 2rem 0; } }

.wrap-2xl { max-width: 42rem; margin: 0 auto; }
.wrap-3xl { max-width: 48rem; margin: 0 auto; }

.section__head { text-align: center; margin-bottom: 2rem; }
.section__head--left { text-align: left; }
.section__head h2 {
  font-size: 1.5rem; font-weight: 700; color: var(--branco); line-height: 1.2;
}
@media (min-width: 640px) { .section__head h2 { font-size: 1.875rem; } }

/* ---- Botões ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 700; cursor: pointer; border: none;
  transition: background .2s, box-shadow .2s, transform .2s;
  text-align: center; white-space: nowrap;
}
.btn .ico { flex-shrink: 0; }
.btn--primary {
  background: var(--amarelo); color: var(--preto);
  padding: .875rem 1.5rem; border-radius: .75rem; font-size: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.3);
}
.btn--primary:hover { background: var(--amarelo-hover); box-shadow: 0 20px 25px -5px rgba(0,0,0,.4); }
.btn--pill { background: var(--amarelo); color: var(--preto); padding: .5rem 1rem; border-radius: 9999px; font-size: .875rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,.3); }
.btn--pill:hover { background: var(--amarelo-hover); }
.btn--lg { padding: 1rem 2rem; border-radius: .75rem; font-size: 1.125rem; }
.btn--lg:hover { transform: translateY(-2px); }
.btn--xl { padding: 1.25rem 2.5rem; border-radius: 1rem; font-size: 1.25rem; }
.btn--xl:hover { transform: translateY(-4px); }
.btn--block { width: 100%; }

/* ---- Header ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
  background: transparent;
}
.header.is-scrolled {
  background: rgba(10,10,10,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.2);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 4rem; }
.logo { display: inline-flex; align-items: center; gap: .5rem; }
.logo__mark { width: 2rem; height: 2rem; border-radius: .5rem; background: var(--amarelo); color: var(--preto); display: inline-flex; align-items: center; justify-content: center; }
.logo__text { font-weight: 700; font-size: 1.125rem; color: var(--branco); }
.header__right { display: flex; align-items: center; gap: .75rem; }
.header__status { display: none; align-items: center; gap: .5rem; }
@media (min-width: 640px) { .header__status { display: flex; } }
.header__avatar { position: relative; display: inline-block; }
.header__avatar img { width: 2rem; height: 2rem; border-radius: 9999px; object-fit: cover; }
.header__dot { position: absolute; bottom: 0; right: 0; width: .625rem; height: .625rem; background: var(--amarelo); border-radius: 9999px; border: 2px solid var(--preto); }
.header__status-text { font-size: .75rem; color: var(--cinza-2); }

/* ---- Hero ---- */
.hero { padding: 5rem 0 2rem; }
@media (min-width: 768px) { .hero { padding: 7rem 0 3rem; } }
.hero__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 768px) { .hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.hero__copy { order: 2; }
.hero__media { order: 1; display: flex; justify-content: center; margin-bottom: 1.5rem; }
@media (min-width: 768px) {
  .hero__copy { order: 1; }
  .hero__media { order: 2; margin-bottom: 0; }
}
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 1px solid var(--amarelo); border-radius: 9999px;
  padding: .375rem 1rem; margin-bottom: 1rem;
}
.badge span { font-size: .875rem; color: var(--amarelo); font-weight: 700; }
.hero__title { font-size: 1.875rem; font-weight: 800; color: var(--branco); line-height: 1.15; margin-bottom: 1rem; }
@media (min-width: 640px) { .hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3rem; } }
.hero__subtitle { font-size: 1.25rem; color: var(--cinza-1); margin-bottom: 1.5rem; max-width: 32rem; line-height: 1.35; }
@media (min-width: 640px) { .hero__subtitle { font-size: 1.5rem; } }
.hero__cta { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
@media (min-width: 640px) { .hero__cta { flex-direction: row; } }
.microproof { display: flex; align-items: center; justify-content: center; gap: .75rem; font-size: 1rem; color: var(--cinza-2); margin-bottom: 1rem; }
.microproof span { display: inline-flex; align-items: center; gap: .25rem; }
.microproof .ico--check { color: var(--amarelo); }
.microproof .sep { color: var(--cinza-2); }
.hero__media-wrap { position: relative; }
.hero__media-wrap::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 1.5rem;
  background: linear-gradient(to top, var(--preto), transparent 50%);
  pointer-events: none;
}
.hero__media-wrap img {
  width: 18rem; height: 18rem; border-radius: 1.5rem; object-fit: cover; border: 1px solid var(--borda);
}
@media (min-width: 640px) { .hero__media-wrap img { width: 20rem; height: 20rem; } }
@media (min-width: 1024px) { .hero__media-wrap img { width: 24rem; height: 24rem; } }

/* ---- Google reviews ---- */
.greviews {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--grafite-3); border: 1px solid var(--borda);
  border-radius: 9999px; padding: .5rem .875rem;
}
.greviews__g { display: inline-flex; }
.greviews__stars { display: inline-flex; gap: 1px; }
.greviews__text { font-size: .8125rem; color: var(--cinza-1); }
.greviews__text strong { color: var(--branco); font-weight: 800; }
.greviews--band { display: flex; justify-content: center; max-width: 42rem; margin: 2rem auto 0; padding: .75rem 1rem; }
.greviews--band .greviews__text { font-size: .875rem; }

/* ---- Simulador ---- */
.sim { background: var(--grafite-3); border: 1px solid var(--borda); border-radius: 1rem; padding: 1.5rem; }
@media (min-width: 640px) { .sim { padding: 2rem; } }
.sim__field { margin-bottom: 2rem; }
.sim__row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.sim__row label { font-size: .875rem; font-weight: 500; color: var(--cinza-2); }
.sim__value { font-size: 1.25rem; font-weight: 700; color: var(--branco); }
.sim__scale { display: flex; justify-content: space-between; font-size: .75rem; color: var(--cinza-2); margin-top: .25rem; }
.sim__terms { display: flex; gap: .5rem; }
.sim__terms button {
  flex: 1; padding: .625rem 0; border-radius: .5rem; font-weight: 700; font-size: .875rem;
  background: var(--borda); color: var(--cinza-2); border: none; cursor: pointer; transition: background .2s, color .2s;
}
.sim__terms button:hover { background: var(--borda-hover); }
.sim__terms button.is-active { background: var(--amarelo); color: var(--preto); }
.sim__result { background: var(--grafite-1); border: 1px solid var(--borda); border-radius: .75rem; padding: 1.25rem; margin-bottom: 1.5rem; text-align: center; }
.sim__result-label { font-size: .875rem; color: var(--cinza-2); margin-bottom: .25rem; }
.sim__result-value { font-size: 2.25rem; font-weight: 800; color: var(--amarelo); }
.sim__note { font-size: .75rem; text-align: center; color: var(--cinza-2); margin-top: .75rem; }

/* Range slider */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 4px; background: var(--borda); outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--amarelo); cursor: pointer; border: 3px solid var(--preto);
  box-shadow: 0 2px 8px rgba(255,212,0,.3); transition: transform .1s;
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; background: var(--amarelo); cursor: pointer;
  border: 3px solid var(--preto); box-shadow: 0 2px 8px rgba(255,212,0,.3);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.05); }

/* ---- Listas de cards ---- */
.list { display: flex; flex-direction: column; gap: .75rem; max-width: 42rem; }
.list-item {
  display: flex; align-items: center; gap: 1rem;
  background: var(--grafite-3); border: 1px solid var(--borda); border-radius: .75rem; padding: 1rem;
  transition: border-color .2s;
}
.list-item:hover { border-color: rgba(255,212,0,.25); }
.list-item__num, .list-item__ico {
  width: 3rem; height: 3rem; border-radius: .75rem; flex-shrink: 0;
  background: rgba(255,212,0,.12); color: var(--amarelo);
  display: flex; align-items: center; justify-content: center;
}
.list-item__num { font-size: 1.25rem; font-weight: 800; }
.list-item h3 { font-weight: 700; color: var(--branco); font-size: 1rem; }
.list-item p { color: var(--cinza-2); font-size: .875rem; }

/* ---- Maria ---- */
.maria { max-width: 28rem; margin: 0 auto; text-align: center; }
.maria h2 { font-size: 1.5rem; font-weight: 700; color: var(--branco); margin-bottom: 1.5rem; }
@media (min-width: 640px) { .maria h2 { font-size: 1.875rem; } }
.maria__media { display: flex; flex-direction: column; align-items: center; margin-bottom: 1.5rem; }
.maria__media img { width: 100%; max-width: 20rem; height: auto; }
.maria__seal { display: flex; align-items: center; justify-content: center; gap: .25rem; margin-top: .75rem; opacity: .6; color: var(--cinza-3); }
.maria__seal span { font-size: 10px; letter-spacing: .05em; text-transform: uppercase; }
.maria__text { color: var(--cinza-1); font-size: 1rem; margin: 0 auto 1.5rem; max-width: 24rem; }
@media (min-width: 640px) { .maria__text { font-size: 1.125rem; } }

/* ---- Banner C6 ---- */
.c6 {
  background: var(--grafite-2); border: 1px solid var(--borda); border-radius: .75rem;
  padding: 1.25rem 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem;
  text-align: center;
}
@media (min-width: 768px) { .c6 { flex-direction: row; justify-content: space-between; padding: 1.5rem 2.5rem; text-align: left; } }
.c6 p { color: var(--branco); font-size: 1.125rem; font-weight: 600; }
@media (min-width: 768px) { .c6 p { font-size: 1.25rem; } }
.c6 img { height: 2rem; width: auto; flex-shrink: 0; }
@media (min-width: 768px) { .c6 img { height: 2.5rem; } }

/* ---- Números ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; text-align: center; margin-bottom: 2rem; padding: 0 .5rem; }
@media (min-width: 768px) { .stats { gap: 2rem; } }
.stat__num { font-size: 1.5rem; font-weight: 800; color: var(--amarelo); margin-bottom: .25rem; }
@media (min-width: 640px) { .stat__num { font-size: 2.25rem; } }
.stat__label { color: var(--branco); font-size: .75rem; font-weight: 500; line-height: 1.2; }
@media (min-width: 640px) { .stat__label { font-size: 1rem; } }
.highlight { background: var(--grafite-3); border: 1px solid var(--borda); border-radius: .75rem; padding: 1.25rem; text-align: center; max-width: 32rem; margin: 0 auto; }
.highlight__title { font-size: 1.5rem; font-weight: 800; color: var(--amarelo); margin-bottom: .25rem; }
@media (min-width: 640px) { .highlight__title { font-size: 1.875rem; } }
.highlight__text { color: var(--branco); font-size: .875rem; font-weight: 500; }

/* ---- FAQ ---- */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { background: var(--grafite-3); border: 1px solid var(--borda); border-radius: .75rem; overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem; text-align: left; background: none; border: none; cursor: pointer;
  font-weight: 600; color: var(--branco); font-size: 1rem; font-family: inherit;
}
.faq__chevron { flex-shrink: 0; color: var(--cinza-2); transition: transform .2s; }
.faq__item.is-open .faq__chevron { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__item.is-open .faq__a { max-height: 15rem; }
.faq__a p { padding: 0 1rem 1rem; color: var(--cinza-2); font-size: .875rem; line-height: 1.6; }

/* ---- CTA final ---- */
.cta-final { text-align: center; max-width: 42rem; margin: 0 auto; }
.cta-final h2 { font-size: 1.5rem; font-weight: 700; color: var(--branco); margin-bottom: 1rem; }
@media (min-width: 640px) { .cta-final h2 { font-size: 1.875rem; } }
.cta-final > p { color: var(--cinza-2); margin-bottom: 2rem; font-size: 1.125rem; }

/* ---- Footer ---- */
.footer { background: var(--preto); border-top: 1px solid var(--borda); padding: 2rem 0 6rem; }
.footer__top { display: flex; flex-direction: column; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer__logo { height: 1.75rem; width: auto; margin-bottom: .75rem; filter: invert(1) brightness(1.8) contrast(.9); }
.footer__brand p { color: var(--cinza-2); font-size: .875rem; max-width: 20rem; }
.footer__cols { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 640px) { .footer__cols { flex-direction: row; } }
.footer__cols h4 { color: var(--branco); font-weight: 600; font-size: .875rem; margin-bottom: .75rem; }
.footer__cols p, .footer__cols a { color: var(--cinza-2); font-size: .875rem; display: block; margin-bottom: .5rem; }
.footer__wa { color: var(--amarelo) !important; font-weight: 500; }
.footer__wa:hover, .footer__cols a:hover { text-decoration: underline; }
.footer__legal { border-top: 1px solid var(--borda); padding-top: 1.5rem; }
.footer__legal p { color: rgba(163,163,163,.6); font-size: .75rem; margin-bottom: .5rem; line-height: 1.5; }

/* ---- WhatsApp flutuante ---- */
.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  width: 3.5rem; height: 3.5rem; border-radius: 9999px;
  background: var(--wpp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,.4); box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 12px 20px rgba(0,0,0,.4);
  animation: wpp-pulse 2s ease-in-out infinite;
}
.wa-float:hover { background: var(--wpp-hover); animation: none; transform: scale(1.12); }
.wa-float__dot { position: absolute; top: -2px; right: -2px; width: .875rem; height: .875rem; background: var(--vermelho); border-radius: 9999px; border: 1.5px solid #fff; }
@keyframes wpp-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---- Animações de revelação ao rolar ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group .reveal.is-visible:nth-child(2) { transition-delay: .08s; }
.reveal-group .reveal.is-visible:nth-child(3) { transition-delay: .16s; }
.reveal-group .reveal.is-visible:nth-child(4) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-float { animation: none; }
}

/* ---- Foco acessível ---- */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--amarelo); outline-offset: 2px; border-radius: 4px;
}

/* ---- Scrollbar escura ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--preto); }
::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--borda-hover); }
