/* LOOM — landing page */
:root { --landing-max: 1180px; }

body { overflow-x: hidden; }
.lp-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.lp-nav-container { width: min(var(--landing-max), calc(100% - 48px)); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lp-logo { display: flex; align-items: center; min-width: 120px; }
.lp-header-logo-img { display: block; width: 112px; height: auto; mix-blend-mode: multiply; }
[data-theme="dark"] .lp-header-logo-img { filter: invert(1); mix-blend-mode: screen; }
.lp-nav-menu, .lp-nav-actions, .hero-ctas, .pricing-toggle-wrap, .lp-footer-links { display: flex; align-items: center; gap: 22px; }
.lp-nav-link { color: var(--text2); font-size: .86rem; font-weight: 600; transition: color .2s ease; }
.lp-nav-link:hover { color: var(--text); }
.lp-nav-actions { gap: 12px; }
.lp-main { padding-bottom: 88px; }

.hero-section { width: min(var(--landing-max), calc(100% - 48px)); min-height: 610px; margin: 0 auto; padding: 80px 0 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero-logo-wrapper { width: min(175px, 42vw); aspect-ratio: 1; margin-bottom: 20px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--surface); }
.hero-logo-video-emblem { width: 100%; height: 100%; display: block; object-fit: cover; transition: opacity .18s linear, transform .18s linear; }
.hero-title { max-width: 880px; color: var(--text); font-size: clamp(2.45rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.065em; font-weight: 900; }
.hero-title span { color: var(--orange); }
.hero-subtitle { max-width: 780px; margin: 26px auto 0; color: var(--text2); font-size: clamp(1rem, 1.6vw, 1.13rem); line-height: 1.7; }
.hero-ctas { justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: var(--text-inv); box-shadow: 0 10px 22px var(--orange-faded); }
.btn-primary:hover { background: var(--orange-light); }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--surface2); }

.section-title-wrap { width: min(800px, calc(100% - 48px)); margin: 0 auto 34px; text-align: center; }
.lp-section-label { display: inline-block; color: var(--text3); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.lp-section-title { margin-top: 10px; color: var(--text); font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.045em; }
.compare-grid, .features-grid, .calculator-section, .pricing-content, .faq-section { width: min(var(--landing-max), calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.compare-card { min-height: 255px; padding: 30px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.compare-card.chaos { border-top: 3px solid var(--red); }
.compare-card.loom { border-top: 3px solid var(--green); }
.compare-card-title { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; }
.compare-list, .plan-features-list { list-style: none; margin-top: 22px; }
.compare-item, .plan-feature-item { display: flex; align-items: flex-start; gap: 10px; color: var(--text2); font-size: .92rem; line-height: 1.55; }
.compare-item + .compare-item, .plan-feature-item + .plan-feature-item { margin-top: 13px; }
.compare-item svg, .plan-feature-item svg { flex: 0 0 auto; margin-top: 3px; }

.features-section { margin-top: 104px; }
.features-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-icon-wrap { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; }
.feature-card-title { margin-top: 20px; font-size: 1.05rem; color: var(--text); }
.feature-card-desc { margin-top: 10px; color: var(--text2); font-size: .9rem; line-height: 1.65; }

.calculator-section { margin-top: 104px; padding: 52px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.calculator-section .section-title-wrap, .pricing-content .section-title-wrap, .faq-section .section-title-wrap { width: 100%; }
.calc-container { display: grid; grid-template-columns: 1.05fr .95fr; gap: 42px; align-items: stretch; }
.calc-inputs { display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.calc-label { display: flex; justify-content: space-between; gap: 20px; color: var(--text2); font-size: .9rem; font-weight: 600; }
.calc-label span:last-child { color: var(--text); font-weight: 800; }
.calc-slider { appearance: none; width: 100%; height: 6px; margin-top: 14px; border-radius: 99px; background: var(--bg2); accent-color: var(--orange); }
.calc-slider::-webkit-slider-thumb { appearance: none; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px var(--orange-faded); cursor: pointer; }
.calc-results { display: grid; gap: 12px; }
.calc-result-card { padding: 20px; border-radius: var(--radius); background: var(--surface2); border: 1px solid var(--border); }
.calc-result-card.highlighted { background: var(--orange); border-color: var(--orange); }
.calc-result-card.highlighted .calc-result-label, .calc-result-card.highlighted .calc-result-value { color: var(--text-inv) !important; }
.calc-result-label { color: var(--text3); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calc-result-value { margin-top: 8px; color: var(--text); font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 900; letter-spacing: -.04em; }

.pricing-section { margin-top: 104px; }
.pricing-toggle-wrap { justify-content: center; gap: 6px; margin-bottom: 28px; }
.pricing-toggle-btn { padding: 9px 16px; color: var(--text2); background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; font-weight: 700; }
.pricing-toggle-btn.active { color: var(--text-inv); background: var(--orange); border-color: var(--orange); }
.pricing-grid { max-width: 850px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.pricing-card { position: relative; padding: 32px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.pricing-card.premium { border: 2px solid var(--orange); box-shadow: var(--shadow-lg); }
.pricing-badge { position: absolute; top: -13px; right: 24px; padding: 5px 11px; color: var(--text-inv); background: var(--orange); border-radius: 99px; font-size: .68rem; font-weight: 800; }
.plan-name { color: var(--text); font-size: 1.18rem; font-weight: 800; }
.plan-desc { min-height: 62px; margin-top: 10px; color: var(--text2); font-size: .88rem; line-height: 1.55; }
.plan-price-wrap { display: flex; align-items: baseline; gap: 5px; margin-top: 26px; color: var(--text); }
.plan-currency { font-size: 1rem; font-weight: 800; }
.plan-price { font-size: 3.2rem; font-weight: 900; letter-spacing: -.07em; }
.plan-period { color: var(--text3); font-size: .78rem; }
.plan-features-list { flex: 1; margin-bottom: 28px; }
.plan-feature-item { font-size: .86rem; }
.plan-feature-item svg { width: 16px; color: var(--green); }

.faq-section { margin-top: 104px; }
.faq-container { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger { width: 100%; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; color: var(--text); background: transparent; text-align: left; font-size: 1rem; font-weight: 750; }
.faq-trigger svg { width: 20px; flex: 0 0 auto; transition: transform .2s ease; }
.faq-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.faq-text { overflow: hidden; padding: 0; color: var(--text2); line-height: 1.65; font-size: .9rem; }
.faq-item.open .faq-content { grid-template-rows: 1fr; }
.faq-item.open .faq-text { padding: 0 0 21px; }
.faq-item.open .faq-trigger svg { transform: rotate(180deg); }

.lp-footer { padding: 32px 24px 48px; text-align: center; color: var(--text3); font-size: .8rem; }
.lp-footer-links { justify-content: center; flex-wrap: wrap; margin-bottom: 17px; }

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .lp-nav-container { width: min(100% - 32px, var(--landing-max)); min-height: 62px; }
  .lp-header-logo-img { width: 90px; }
  .lp-nav-menu { display: none; }
  .lp-nav-actions { gap: 8px; }
  .lp-nav-actions .theme-toggle { display: none; }
  .hero-section { width: min(100% - 32px, var(--landing-max)); min-height: 540px; padding-top: 52px; }
  .hero-title { font-size: clamp(2.3rem, 12vw, 3.8rem); }
  .hero-subtitle br { display: none; }
  .section-title-wrap, .compare-grid, .features-grid, .calculator-section, .pricing-content, .faq-section { width: min(100% - 32px, var(--landing-max)); }
  .compare-grid, .features-grid, .pricing-grid, .calc-container { grid-template-columns: 1fr; }
  .features-section, .calculator-section, .pricing-section, .faq-section { margin-top: 72px; }
  .calculator-section { padding: 28px 20px; }
  .pricing-grid { max-width: 470px; }
  .plan-desc { min-height: 0; }
}

@media (max-width: 420px) {
  .lp-nav-actions .btn { padding: 8px 11px !important; font-size: .72rem !important; }
  .hero-ctas { align-items: stretch; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .compare-card, .feature-card, .pricing-card { padding: 24px; }
}

/* ===== LOOM 25/08/2026 — verde como linguagem de ação ====================
   Pelas diretrizes da marca, o verde não é decoração: ele sinaliza ação,
   oportunidade e começo. Os três botões que levam ao teste grátis são as
   únicas ações de conversão da página — e eram pretos, iguais a "Entrar no
   Sistema". O botão de aceitar cookies chegava a ser mais visível que eles.
   Aqui o verde fica reservado a esses três. Todo o resto segue preto e branco. */
.btn-conversao {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 10px 22px var(--green-faded);
}
.btn-conversao:hover {
  background: #0C8A4D;
  color: #FFFFFF;
}
