/* =========================================================
   LP GoTo Connect · Meester
   Identidade: GoTo (preto, branco, amarelo #FFE900, verde #1B8756)
             + Meester (azul #0033FF)
   Mobile-first
   ========================================================= */
:root {
  --ink: #0B0D10;
  --ink-2: #25282D;
  --muted: #5B6168;
  --line: #E3E7EB;
  --soft: #F5F7F9;
  --white: #FFFFFF;
  --goto-yellow: #FFE900;
  --goto-green: #1B8756;
  --goto-green-2: #07CB73;
  --meester-blue: #0033FF;
  --meester-blue-dark: #0022B0;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(11, 13, 16, .08), 0 2px 6px rgba(11, 13, 16, .05);
  --shadow-lg: 0 24px 60px rgba(11, 13, 16, .18);
  --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 7.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 5.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--meester-blue); }
mark { background: linear-gradient(transparent 58%, var(--goto-yellow) 58%, var(--goto-yellow) 92%, transparent 92%); color: inherit; padding: 0 .08em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--goto-yellow); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 700 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: 3px solid var(--meester-blue); outline-offset: 3px; }
.btn--yellow { background: var(--goto-yellow); color: var(--ink); }
.btn--yellow:hover { box-shadow: 0 8px 24px rgba(255, 233, 0, .45); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--ink-2); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--lg { min-height: 58px; padding: 0 34px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 16, .96); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid rgba(255,255,255,.06); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.brand__logo { height: 30px; width: auto; }
.brand__text { color: var(--white); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; }
.partner-tag { display: none; align-items: center; gap: 8px; color: #C9CED4; font-size: .85rem; }
.partner-tag strong { color: var(--white); }
.partner-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--goto-yellow); box-shadow: 0 0 0 4px rgba(255,233,0,.18); }
.header__cta { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 36px 0 48px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 620px; height: 620px; background: radial-gradient(closest-side, rgba(0, 51, 255, .45), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -40px; bottom: 36px; width: 46%; height: 110px; background: var(--goto-yellow); transform: rotate(-8deg); opacity: .9; pointer-events: none; display: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 32px; }
.eyebrow { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: #C9CED4; margin-bottom: 18px; }
.goto-mark { display: inline-block; background: var(--goto-yellow); color: var(--ink); font-weight: 800; padding: 3px 8px; border-radius: 6px; letter-spacing: -0.02em; }
.hero h1 { color: var(--white); }
.hero mark { background: linear-gradient(transparent 60%, rgba(255, 233, 0, .9) 60%, rgba(255, 233, 0, .9) 90%, transparent 90%); color: var(--white); }
.lead { font-size: 1.08rem; color: #D7DBE0; max-width: 40em; }
.lead strong { color: var(--white); }
.hero__checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.hero__checks li { position: relative; padding-left: 30px; color: #E6E9ED; }
.hero__checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--goto-green-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0D10' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.stats div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius-sm); padding: 12px 10px; }
.stats dt { font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 800; color: var(--goto-yellow); letter-spacing: -0.02em; }
.stats dd { margin: 2px 0 0; font-size: .78rem; color: #B9BFC6; line-height: 1.3; }

/* ---------- Form ---------- */
.form-card { background: var(--white); color: var(--ink); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 24px 20px; scroll-margin-top: calc(var(--header-h) + 12px); border-top: 6px solid var(--goto-yellow); }
.form-card__head h2 { font-size: 1.5rem; margin-bottom: .3em; }
.form-card__head p { color: var(--muted); font-size: .95rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 50px; padding: 12px 14px; font: 500 16px/1.2 var(--font); /* 16px evita zoom no iOS */ color: var(--ink); background: var(--soft); border: 1.5px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s, background .15s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325282D' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 38px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--meester-blue); background-color: var(--white); box-shadow: 0 0 0 4px rgba(0, 51, 255, .12); }
.field.is-invalid input, .field.is-invalid select { border-color: #D93025; background-color: #FFF6F5; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 4px 0 18px; cursor: pointer; line-height: 1.45; }
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--meester-blue); }
.consent.is-invalid span { color: #D93025; }
.form-msg { min-height: 1.2em; margin: 10px 0 0; font-size: .88rem; color: #D93025; text-align: center; }
.form-msg:empty { display: none; }
.form-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); text-align: center; }
.spinner { display: none; width: 18px; height: 18px; border: 2.5px solid rgba(11,13,16,.25); border-top-color: var(--ink); border-radius: 50%; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { text-align: center; padding: 24px 6px; outline: none; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; background: var(--goto-green); color: var(--white); }
.form-success p { color: var(--muted); }

/* ---------- Awards ---------- */
.awards { background: var(--white); border-bottom: 1px solid var(--line); }
.awards__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding-top: 18px; padding-bottom: 18px; }
.award { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--soft); }
.award strong { font-size: 1rem; }
.award span { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.award--meester { background: var(--meester-blue); border-color: var(--meester-blue); color: var(--white); }
.award--meester span { color: #C9D3FF; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .section__head p { color: #C9CED4; }
.section--meester { background: linear-gradient(135deg, var(--meester-blue) 0%, var(--meester-blue-dark) 100%); color: var(--white); }
.section__head { max-width: 760px; margin: 0 auto 36px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--goto-green); margin-bottom: 12px; }
.kicker--yellow { color: var(--goto-yellow); }
.kicker--light { color: var(--goto-yellow); }

.showcase { margin: 0 auto 36px; max-width: 1080px; }

.cards { display: grid; gap: 14px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(0,0,0,.03); }
.card p { color: var(--muted); margin: 0; font-size: .96rem; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--goto-yellow); display: grid; place-items: center; margin-bottom: 14px; }
.card__icon svg { width: 22px; height: 22px; fill: var(--ink); }
.card--dark { background: #15181D; border-color: #23272E; }
.card--dark h3 { color: var(--white); }
.card--dark p { color: #B9BFC6; }
.hl { color: var(--goto-yellow); }

.split { display: grid; gap: 28px; align-items: center; }
.split--top { align-items: start; }
.split__media img { width: 100%; border-radius: var(--radius); }
.split__copy p { color: var(--muted); font-size: 1.04rem; }
.section--meester .split__copy p { color: #DCE3FF; }

.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--goto-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }
.checks--light li::before { background-color: var(--goto-yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B0D10' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

.chips { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 980px; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 500; }

.integrations { margin-top: 44px; text-align: center; }
.integrations p { font-weight: 700; margin-bottom: 14px; }
.integrations ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.integrations li { background: var(--ink); color: var(--white); border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: .92rem; }

.quote { margin: 0; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; padding: 26px; }
.quote__num { font-size: clamp(3.2rem, 14vw, 5rem); font-weight: 800; line-height: 1; color: var(--goto-yellow); letter-spacing: -0.04em; }
.quote blockquote { margin: 10px 0 14px; font-size: 1.1rem; line-height: 1.5; color: var(--white); }
.quote figcaption { font-size: .85rem; color: #C9D3FF; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--goto-yellow); display: grid; place-items: center; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 18px 18px; margin: 0; color: var(--muted); }

.cta-final { background: var(--goto-yellow); padding: 56px 0; text-align: center; }
.cta-final p { font-size: 1.05rem; color: var(--ink-2); }
.cta-final .btn--yellow { background: var(--ink); color: var(--white); }
.cta-final .btn--yellow:hover { box-shadow: 0 8px 24px rgba(0,0,0,.25); }

.footer { background: var(--ink); color: #9BA2AA; padding: 32px 0 calc(96px + env(safe-area-inset-bottom)); font-size: .85rem; }
.footer__inner { display: grid; gap: 12px; }
.footer__brand { color: var(--white); font-size: 1rem; }
.footer p { margin: 4px 0 0; }

/* Barra fixa mobile */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,13,16,.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(110%); transition: transform .25s ease; }
.mobile-bar.is-visible { transform: translateY(0); }

/* ---------- Breakpoints ---------- */
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1.25fr; }
  .awards__row { grid-template-columns: repeat(4, 1fr); }
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .form-card { padding: 30px 28px; }
}
@media (min-width: 720px) {
  .header__cta { display: inline-flex; }
  .partner-tag { display: inline-flex; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  :root { --header-h: 72px; }
  .brand__logo { height: 36px; }
  .hero { padding: 64px 0 80px; }
  .hero::after { display: block; }
  .hero__grid { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
  .hero__copy { padding-top: 12px; }
  .form-card { position: relative; }
  .section { padding: 96px 0; }
  .cards--4 { grid-template-columns: repeat(4, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
  .footer { padding-bottom: 32px; }
  .footer__inner { grid-template-columns: 1fr 1.4fr; align-items: center; }
  .footer__legal { text-align: right; }
  .mobile-bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
