/* Soluções (rolagem horizontal fixada), sobre, dúvidas, fechamento com formulário e rodapé com marca gigante. */

/* ---------- Soluções ---------- */
.sols { position: relative; padding-top: clamp(48px, 7vw, 96px); background: var(--night); color: #fff; }
.hscroll { position: relative; }
.hscroll__pin { position: relative; padding-bottom: var(--sec); }
.hscroll__track { display: grid; gap: 24px; padding-left: max(var(--pad), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
.sols__intro { display: grid; align-content: center; gap: 22px; max-width: 460px; }
.sols__progress { height: 2px; background: var(--line-dark); }
.sols__progress i { display: block; height: 100%; background: var(--neon); transform: scaleX(var(--hp, 0)); transform-origin: 0 50%; }
.hscroll:not(.is-pinned) .sols__progress { display: none; }
.sols__end { display: grid; align-content: center; gap: 20px; max-width: 420px; }
.sols__end p { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -.04em; }

.hscroll.is-pinned .hscroll__pin { position: sticky; top: 0; display: flex; align-items: center; height: 100vh; height: 100svh; padding: 0; overflow: hidden; }
.hscroll.is-pinned .hscroll__track { display: flex; align-items: stretch; width: max-content; padding-right: 10vw; will-change: transform; }
.hscroll.is-pinned .sols__intro { flex: none; width: 400px; margin-right: 3vw; }
.hscroll.is-pinned .scard { flex: none; width: min(920px, 78vw); min-height: min(500px, 66vh); }
.hscroll.is-pinned .sols__end { flex: none; width: 380px; margin-left: 3vw; }

.scard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); padding: clamp(22px, 3vw, 40px); border-radius: var(--r-12); }
.scard--glow { background: linear-gradient(180deg, #12CE8E 0%, var(--neon) 100%); color: var(--graphite); }
.scard--dark { background: #1D2B24; color: #fff; }
.scard--light { background: var(--ivory); color: var(--ink); }
.scard--forest { background: var(--forest); color: #fff; }
.scard__copy { display: flex; flex-direction: column; gap: 16px; }
.scard__name { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.scard__title { font-size: clamp(26px, 2.6vw, 38px); font-weight: 400; line-height: 1.08; letter-spacing: -.05em; }
.scard__text { max-width: 34em; opacity: .82; }
.scard__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: auto; padding-top: 12px; }
.pill { padding: 6px 12px; border: 1px solid currentColor; border-radius: var(--r-full); font-size: 12px; }
.btn--graphite { background: var(--graphite); color: #fff; }
.btn--graphite:hover { background: #fff; border-color: #fff; color: var(--graphite); }
.points li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 10px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.points li:first-child { padding-top: 0; border-top: 0; }
.points__n { padding-top: 3px; font-size: 12px; opacity: .65; }
.points h4 { font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.points p { grid-column: 2; font-size: 14px; line-height: 1.4; opacity: .82; }
.notice { display: flex; gap: 8px; margin-top: 14px; padding: 12px; border-radius: var(--r-8); background: color-mix(in srgb, currentColor 9%, transparent); font-size: 12.5px; line-height: 1.4; }
.notice .ic { margin-top: 1px; }

/* ---------- Sobre ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--stone); }
.about__panel { position: relative; z-index: 1; display: grid; align-content: center; justify-items: start; gap: 24px; padding: clamp(56px, 8vw, 112px) clamp(24px, 5vw, 80px) clamp(56px, 8vw, 112px) max(var(--pad), env(safe-area-inset-left, 0px)); border-radius: 0 var(--r-32) var(--r-32) 0; background: var(--paper); }
.about__panel p { max-width: 34em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: -.035em; color: var(--muted); }
.about__media { position: relative; min-height: 540px; margin-left: calc(var(--r-32) * -1); overflow: hidden; }
.about__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: translate3d(0, var(--plx, 0%), 0) scale(1.26); will-change: transform; }
.about__cap { position: absolute; left: calc(var(--r-32) + 20px); bottom: 20px; display: grid; gap: 2px; padding: 12px 16px; border-radius: var(--r-12); background: var(--paper); }
.about__cap b { font-weight: 600; }
.about__cap span { font-size: 11px; color: var(--muted); }
.statements { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-block: clamp(24px, 3vw, 40px) var(--sec); }
.stcard { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 280px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-12); transition: transform .5s var(--ui-ease); }
.js .stcard[data-rise].is-in:hover { transform: scale(1.03); }
.stcard--glow { background: linear-gradient(180deg, #12CE8E 0%, var(--neon) 100%); color: var(--graphite); }
.stcard--forest { background: var(--forest); color: #fff; }
.stcard--paper { background: var(--paper); }
.stcard__big { font-size: clamp(30px, 3.2vw, 46px); font-weight: 400; line-height: 1.04; letter-spacing: -.055em; }
.stcard__mid { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.16; letter-spacing: -.04em; }
.stcard__small { margin-top: 12px; font-size: 15px; opacity: .78; }

/* ---------- Dúvidas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__side { display: grid; gap: 20px; }
.faq__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.faq__tab { padding: 9px 18px; border: 0; border-radius: var(--r-full); background: var(--stone); font: 600 14px/18px var(--sans); letter-spacing: -.04em; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.faq__tab:hover { background: var(--sand); }
.faq__tab.is-active { background: var(--forest); color: #fff; }
.faq__tab.is-active:hover { background: var(--neon); color: var(--graphite); }
.faq__list { border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa.is-hidden { display: none; }
.qa__q { display: grid; grid-template-columns: minmax(0, 1fr) 40px; align-items: center; gap: 16px; width: 100%; padding: 20px 0; border: 0; background: none; text-align: left; cursor: pointer; transition: color .25s ease; }
.qa__q:hover { color: var(--forest); }
.qa__cat { display: block; margin-bottom: 6px; font-size: 11px; color: var(--muted); }
.qa__t { display: block; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; }
.qa__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-12); background: var(--paper); transition: background-color .25s ease; }
.qa__icon .ic { transition: transform .25s ease; }
.qa.is-open .qa__icon { background: var(--mint); }
.qa.is-open .qa__icon .ic { transform: rotate(45deg); }
.js .qa__a { height: 0; overflow: hidden; transition: height .35s cubic-bezier(.22, .61, .36, 1); }
.qa__a p { max-width: 62ch; padding: 0 56px 24px 0; color: var(--muted); }
.js .qa__a p { opacity: 0; transform: translateY(16px); transition: opacity .35s var(--rise-ease), transform .35s var(--rise-ease); }
.js .qa.is-open .qa__a p { opacity: 1; transform: none; transition-delay: .08s; }

/* ---------- Fechamento e contato ---------- */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--sec) clamp(190px, 25vw, 350px); background: var(--night); color: #fff; color-scheme: dark; }
.contact__glow { position: absolute; left: 50%; bottom: -36%; z-index: -1; width: 130%; aspect-ratio: 2.4 / 1; translate: -50% 0; background: radial-gradient(closest-side, rgba(45, 242, 145, .5), rgba(0, 169, 87, .2) 46%, rgba(0, 169, 87, 0) 72%); pointer-events: none; }
.contact__globe { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: clamp(260px, 34vw, 470px); }
.contact__ghost { position: absolute; left: 50%; top: 40%; z-index: -1; width: min(1500px, 96%); max-width: none; translate: -50% -50%; opacity: .04; pointer-events: none; }
.contact .grain { z-index: 0; }
.contact .wrap { position: relative; z-index: 1; }
.closing { display: grid; justify-items: center; gap: 20px; margin-bottom: clamp(56px, 8vw, 112px); text-align: center; }
.closing__title { max-width: 15em; font-size: clamp(34px, 5.4vw, 78px); font-weight: 400; line-height: 1.02; letter-spacing: -.06em; color: #E3EAE5; }
.closing .mono { opacity: .6; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); gap: clamp(40px, 6vw, 96px); align-items: start; scroll-margin-top: 96px; }
.contact__copy { display: grid; gap: 20px; justify-items: start; }
.contact__title { font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; line-height: 1.04; letter-spacing: -.055em; }
.facts { width: 100%; margin-top: 12px; border-top: 1px solid var(--line-dark); }
.facts div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.facts dt { font-weight: 600; }
.facts dd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-width: 0; color: var(--on-dark-muted); overflow-wrap: anywhere; }
.facts a { color: #fff; text-underline-offset: 3px; }
.facts a:hover { color: var(--neon); }
.copy-btn { padding: 6px 9px; border: 1px solid var(--line-dark); border-radius: var(--r-8); background: none; color: #fff; font: 500 11px/1 var(--mono); text-transform: uppercase; cursor: pointer; }
.copy-btn:hover { border-color: var(--neon); color: var(--neon); }

.formcard { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line-dark); border-radius: var(--r-16); background: rgba(255, 255, 255, .05); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 12px; color: var(--on-dark-muted); }
.field input, .field select {
  width: 100%; height: 54px; padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--r-12);
  background-color: rgba(255, 255, 255, .05); color: #fff;
  font: 400 16px var(--sans); letter-spacing: -.03em;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { padding-right: 44px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232DF291' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: var(--graphite); color: #fff; }
.field input::placeholder { color: rgba(255, 255, 255, .4); }
.field input:focus, .field select:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(45, 242, 145, .25); }
.formcard [aria-invalid="true"] { border-color: var(--danger); }
.err { font-size: 13px; color: var(--danger); }
.err:empty { display: none; }
.consent { display: flex; align-items: flex-start; gap: 12px; margin-block: 4px 6px; font-size: 14px; color: var(--on-dark-muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--neon); }
.privacy { margin-top: 10px; font-size: 13px; color: var(--on-dark-muted); }
.privacy summary { width: fit-content; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.privacy p { margin-top: 10px; line-height: 1.5; }
.btn--send { width: 100%; min-height: 64px; margin-top: 22px; border-radius: var(--r-8); background: linear-gradient(180deg, #12CE8E 0%, var(--neon) 100%); color: var(--graphite); font: 500 16px/1 var(--mono); letter-spacing: -.02em; text-transform: uppercase; }
.btn--send:hover { background: #fff; }
.formdone h4 { margin-block: 14px 12px; font-size: clamp(28px, 3vw, 40px); font-weight: 400; letter-spacing: -.05em; outline: none; }
.formdone > p { margin-bottom: 8px; color: var(--on-dark-muted); }
.linkbtn { margin-top: 18px; padding: 0 0 3px; border: 0; border-bottom: 1px solid currentColor; background: none; color: #fff; font: 500 14px var(--sans); cursor: pointer; }
.linkbtn:hover { color: var(--neon); }

/* ---------- Rodapé: o painel sobe e descobre a marca gigante, presa ao fundo da tela ---------- */
.footer { position: relative; background: var(--ivory); overflow-x: clip; }
.footer__inner { position: relative; padding: clamp(16px, 3.4vw, 48px) max(var(--pad), env(safe-area-inset-right, 0px)) 0 max(var(--pad), env(safe-area-inset-left, 0px)); }
.footer__panel { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(56px, 10vw, 150px) 48px; padding: clamp(28px, 4.6vw, 64px); border-radius: var(--r-16); background: var(--forest); color: #fff; }
.footer__big { display: grid; align-content: start; gap: 8px; }
.footer__big a { width: fit-content; font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; line-height: 1.14; letter-spacing: -.03em; text-decoration: none; transition: color .25s ease; }
.footer__small { display: grid; align-content: start; gap: 12px; }
.footer__small a { text-decoration: none; transition: color .25s ease; }
.footer__big a:hover, .footer__small a:hover { color: var(--neon); }
.footer__small .dim { opacity: .65; font-size: 14px; }
.footer__desc { font-size: 20px; font-weight: 500; line-height: 1.2; opacity: .88; }
.footer__desc span { display: block; margin-top: 10px; font-size: 14px; font-weight: 400; opacity: .7; }
.footer__note { grid-column: 1 / span 3; align-self: end; max-width: 78em; font-size: 12px; line-height: 1.5; opacity: .6; }
.footer__copy { align-self: end; justify-self: end; font-size: 12px; opacity: .6; text-align: right; }
.footer__mark { position: sticky; bottom: 0; z-index: 1; width: 100vw; margin: 32px 0 0 calc(50% - 50vw); padding-bottom: 24px; }
.footer__mark .marquee__track img { width: auto; height: clamp(104px, 19vw, 280px); max-width: none; margin-right: 7vw; }
.footer__ctas { position: absolute; left: 50%; top: 50%; z-index: 2; display: flex; align-items: center; gap: 16px; transform: translate(-50%, calc(-50% - 12px)); white-space: nowrap; }
.btn--xl { padding: 20px 54px; border-radius: 20px; font-size: 27px; line-height: 40px; }

@media (max-width: 1023px) {
  .scard { grid-template-columns: minmax(0, 1fr); }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about__panel { border-radius: 0 0 var(--r-32) var(--r-32); padding-right: max(var(--pad), env(safe-area-inset-right, 0px)); }
  .about__media { min-height: 0; aspect-ratio: 4 / 3.4; margin: calc(var(--r-32) * -1) 0 0; }
  .about__cap { left: 20px; }
  .statements { grid-template-columns: minmax(0, 1fr); }
  .stcard { min-height: 0; }
  .faq, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; }
  .footer__note { grid-column: 1 / -1; }
  .footer__copy { grid-column: 1 / -1; justify-self: start; text-align: left; }
}
@media (max-width: 767px) {
  .footer__small, .footer__desc { grid-column: 1 / -1; min-width: 0; overflow-wrap: anywhere; }
  .qa__a p { padding-right: 0; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .btn--xl { padding: 13px 22px; border-radius: 14px; font-size: 17px; line-height: 24px; }
  .footer__ctas { gap: 8px; }
  .footer__mark .marquee__track img { margin-right: 12vw; }
}
