/* Home TechM2 IT (redesign 2026, linha "Nubank + Stripe"). As páginas legais continuam usando styles.css. */
:root {
  --ink: #0e1430; --slate: #425466; --gray: #6b7a90; --line: #e6ebf1; --soft: #f6f9fc; --white: #fff;
  --brand: #fb7e16; --btn: #c2540a; --btn-hover: #a94808; --green: #12a067;
  --radius: 16px; --radius-lg: 22px;
  --shadow: 0 30px 60px -12px rgba(50,50,93,.22), 0 18px 36px -18px rgba(0,0,0,.25);
  --shadow-sm: 0 2px 5px -1px rgba(50,50,93,.18), 0 1px 3px -1px rgba(0,0,0,.2);
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--white); color: var(--slate); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
a { color: var(--btn); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-family: var(--display); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 8px; }
.nw { white-space: nowrap; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15.5px; cursor: pointer; border: 1px solid transparent; text-align: center; transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease); }
.btn:active { transform: scale(.98); }
.btn span[aria-hidden] { font-size: 1.25em; line-height: 1; transition: transform .2s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(3px); }
.btn.sm { min-height: 40px; padding: 8px 18px; font-size: 14.5px; }
.btn.lg { min-height: 54px; padding: 14px 28px; font-size: 16.5px; }
.btn.block { width: 100%; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost, .btn-outline { background: var(--white); color: var(--ink); border-color: #d5dbe3; }
.btn-ghost:hover, .btn-outline:hover { border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #ffe9d6; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.brand-text strong { color: var(--brand); }
.nav-toggle { background: none; border: 0; color: var(--ink); cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 10px 20px 20px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); }
.nav.open { display: flex; }
.nav a { color: var(--ink); font-weight: 600; font-size: 16px; padding: 12px 4px; }
.nav a.btn { color: #fff; margin-top: 8px; }

/* faixa de gradiente (estilo Stripe) */
.hero-art, .cta-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-art { bottom: auto; height: 260px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.hero-art .ribbon { width: 520px; height: 900px; right: -200px; top: -420px; }
.ribbon { position: absolute; width: 560px; height: 1500px; right: -330px; top: -560px; transform: rotate(38deg); transform-origin: center;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 11px),
    linear-gradient(90deg, rgba(255,209,102,0) 0%, #ffd166 10%, #ffb020 24%, #fb7e16 42%, #ff5d6c 60%, #d64fd0 76%, #7a5cff 90%, rgba(122,92,255,0) 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 62%, transparent 92%);
}

/* topo */
.hero { position: relative; overflow: hidden; padding: 170px 0 48px; }
.hero-grid { position: relative; display: grid; gap: 34px; }
.hero h1 { font-size: clamp(42px, 11.5vw, 84px); line-height: .98; font-weight: 800; letter-spacing: -.035em; margin-bottom: 20px; max-width: 760px; }
.sub { font-size: 19px; color: var(--slate); max-width: 560px; margin: 0 0 28px; }
.sub strong { color: var(--ink); }
.sub-lead { display: inline-block; margin-bottom: 6px; font-family: var(--display); font-size: 1.2em; letter-spacing: -.01em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.ask { position: relative; align-self: end; padding: 24px 20px 20px; border-radius: var(--radius-lg); background: rgba(255,255,255,.82); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow); }
.ask h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ask > p { margin: 2px 0 16px; font-size: 15px; color: var(--gray); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 15px; transition: border-color .2s, background .2s, transform .15s var(--ease); }
.chip span { font-size: 19px; }
.chip:hover { border-color: var(--brand); background: #fff7f0; }
.chip:active { transform: scale(.97); }
.ask-foot { margin: 14px 0 0; font-size: 13px; color: var(--gray); text-align: center; }
.made-by { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 36px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); }
.made-by p { margin: 0; font-size: 13.5px; color: var(--gray); }
.made-by ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.made-by a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #8792a2; transition: color .2s; }
.made-by a b { font-weight: 800; }
.made-by a:hover { color: var(--ink); }
.made-by img { border-radius: 6px; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.made-by a:hover img { filter: none; opacity: 1; }

/* seções */
.section { padding: 52px 0; }
.section-soft { background: var(--soft); }
.sec-head { max-width: 860px; margin: 0 0 28px; }
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--btn); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(26px, 5.2vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -.035em; }
.sec-head h2 span { color: var(--gray); }

/* soluções: vitrine com troca animada (inspirada no exemplo do Mauricio) */
.showcase { --acc: #fb7e16; --acc2: #ffd166; position: relative; overflow: hidden; border-radius: 28px; background: var(--soft); border: 1px solid var(--line); padding: 28px 14px 14px; }
.sc-blob { position: absolute; width: 520px; height: 520px; left: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, var(--acc2), var(--acc) 55%, transparent 72%); opacity: .22; filter: blur(10px); transition: background .8s; pointer-events: none; }
.sc-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.sc-panel { grid-area: 1 / 1; min-width: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.sc-plate { position: relative; width: 200px; height: 200px; }
.sc-plate img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 22px rgba(14,20,48,.32)) drop-shadow(0 6px 6px rgba(14,20,48,.18)); }
.sc-title { display: grid; justify-items: center; gap: 4px; }
.sc-n { font-size: 13px; font-weight: 700; color: var(--slate); }
.sc-title h3 { display: grid; line-height: .95; text-transform: uppercase; letter-spacing: -.02em; word-spacing: .18em; }
.sc-title .thin { font-weight: 300; font-size: clamp(28px, 7.5vw, 48px); color: var(--ink); }
.sc-title .bold { font-weight: 800; font-size: clamp(32px, 8.5vw, 54px); color: var(--ink); letter-spacing: -.04em; }
.sc-act { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--ink); padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.sc-act::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.sc-act:hover { border-color: var(--ink); }
.sc-card { position: relative; width: 100%; max-width: 340px; text-align: left; padding: 18px 20px; border-radius: 20px; background: rgba(255,255,255,.88); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.sc-tab { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--acc); margin-bottom: 14px; }
.sc-badge { display: block; width: max-content; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); padding: 4px 12px; border-radius: 12px; background: color-mix(in srgb, var(--acc) 22%, #fff); margin-bottom: 10px; }
.sc-card strong { display: block; font-family: var(--display); font-size: 19px; color: var(--ink); }
.sc-sub { display: block; font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.sc-card p { margin: 0; font-size: 14.5px; }
.sc-nav { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 22px; }
.sc-thumbs { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 6px; }
.sc-thumbs::-webkit-scrollbar { display: none; }
.sc-thumb { flex: 0 0 86px; scroll-snap-align: center; }
@media (max-width: 959px) { html[lang="es"] .sc-thumb { flex-basis: 106px; } } /* "Automatización" não cabe em 86px */
.sc-thumb { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 16px; background: transparent; font: inherit; font-size: 11.5px; font-weight: 600; line-height: 1.25; color: var(--slate); cursor: pointer; transition: background .25s, box-shadow .25s, color .2s; }
.sc-thumb-ic { width: 52px; height: 52px; transition: transform .3s var(--ease); }
.sc-thumb-ic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(14,20,48,.3)); }
.sc-thumb { position: relative; overflow: hidden; }
.sc-thumb[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.sc-thumb::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--acc); transform: scaleX(0); transform-origin: left; opacity: 0; }
.sc-run .sc-thumb[aria-selected="true"]::after { opacity: 1; animation: progresso 5s linear forwards; }
@keyframes progresso { to { transform: scaleX(1); } }
.sc-thumb:hover .sc-thumb-ic { transform: rotate(-12deg) scale(1.06); }
.sc-arrow { display: none; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 24px; line-height: 1; cursor: pointer; place-items: center; padding-bottom: 3px; transition: border-color .2s; }
.sc-arrow:hover { border-color: var(--ink); }
/* sem JS: mostra as 4 em lista */
html:not(.js) .sc-stage { gap: 40px; }
html:not(.js) .sc-panel { grid-area: auto; }
html:not(.js) .sc-nav { display: none; }
/* com JS: só a ativa aparece */
.js .sc-panel { visibility: hidden; }
.js .sc-panel.is-active, .js .sc-panel.is-leaving { visibility: visible; }
.js .sc-panel.is-leaving { pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  .js .sc-panel.is-active .sc-plate { animation: pratoEntra .9s var(--ease) both; }
  .js .sc-panel.is-active .sc-plate img { animation: flutua 5s ease-in-out 1s infinite; }
  .js .sc-panel.is-active .sc-n { animation: sobe .5s var(--ease) both .15s; }
  .js .sc-panel.is-active .thin { animation: cortina .7s var(--ease) both .2s; }
  .js .sc-panel.is-active .bold { animation: cortina .7s var(--ease) both .3s; }
  .js .sc-panel.is-active .sc-act { animation: sobe .5s var(--ease) both .45s; }
  .js .sc-panel.is-active .sc-card > * { animation: sobe .5s var(--ease) both; }
  .js .sc-panel.is-active .sc-badge { animation: pop .5s var(--ease) both .3s; }
  .js .sc-panel.is-active .sc-card strong { animation-delay: .38s; }
  .js .sc-panel.is-active .sc-sub { animation-delay: .44s; }
  .js .sc-panel.is-active .sc-card p { animation-delay: .5s; }
  .js .sc-panel.is-leaving .sc-plate { animation: pratoSai .6s var(--ease) both; }
  .js .sc-panel.is-leaving .sc-title > *, .js .sc-panel.is-leaving .thin, .js .sc-panel.is-leaving .bold { animation: cortinaSai .45s var(--ease) both; }
  .js .sc-panel.is-leaving .sc-card { animation: some .35s ease both; }
}
@keyframes pratoEntra { from { opacity: 0; transform: translate(70%, -90%) rotate(150deg) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes pratoSai { to { opacity: 0; transform: translate(-90%, -40%) rotate(-150deg) scale(.85); } }
@keyframes cortina { from { clip-path: inset(0 0 0 100%); transform: translateX(-12px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes cortinaSai { to { clip-path: inset(0 100% 0 0); } }
@keyframes sobe { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes flutua { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes some { to { opacity: 0; transform: translateY(8px); } }

/* selos das plataformas */
.stack { margin-top: 28px; text-align: center; }
.stack-tit { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--gray); }
.stack-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stack-list li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--ink); font-size: 14px; font-weight: 600; }
.stack-list img { width: 22px; height: 22px; object-fit: contain; }
.stack-list img.wide { width: 32px; }

/* faixa com foto (estilo Nubank) */
.photo-band { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden; color: #fff; background: var(--ink); }
.photo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10,14,36,.92) 0%, rgba(10,14,36,.6) 45%, rgba(10,14,36,0) 75%); }
.photo-copy { position: relative; z-index: 2; padding-top: 36px; padding-bottom: 36px; width: 100%; }
.photo-copy h2 { color: #fff; font-size: clamp(34px, 8vw, 58px); line-height: 1; font-weight: 800; letter-spacing: -.045em; max-width: 720px; }
.photo-copy p { font-size: 18px; color: rgba(255,255,255,.86); max-width: 520px; margin: 18px 0 26px; }

/* produtos */
.prod-grid { display: grid; gap: 16px; }
.prod { display: flex; flex-direction: column; padding: 20px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s var(--ease); }
.prod-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.prod-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; }
.prod-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pi-cnpj, .pi-car { background: linear-gradient(135deg, #ffb020, #fb7e16); }
.pi-m2b { background: linear-gradient(135deg, #1aa86b, #0b7a4c); }
.tag { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--slate); border: 1px solid var(--line); }
.tag-free { background: #e3f6ec; color: #0b7a4c; border-color: #c6ecd8; }
.tag-soon { background: #fff1e3; color: var(--btn); border-color: #ffd9b5; }
.prod h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.prod p { margin: 0 0 18px; font-size: 15px; flex: 1; }
.prod-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.prod-links a { font-weight: 600; font-size: 15px; padding: 6px 0; }
.prod-links a:hover { color: var(--btn-hover); text-decoration: underline; }
.soon { margin: 24px 0 0; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.soon-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.soon-list li { padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); }

/* planos */
.plans { display: grid; gap: 16px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-tag { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; }
.plan-name { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.plan-for { margin: 4px 0 16px; color: var(--gray); font-size: 15px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; margin-bottom: 18px; }
.plan-price .from { width: 100%; font-size: 13px; color: var(--gray); }
.plan-price .amount { font-family: var(--display); font-size: 46px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.plan-price .per { color: var(--gray); font-weight: 600; }
.plan-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 28px; font-size: 15px; }
.plan-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.plans-note { margin: 20px 0 0; font-size: 14px; color: var(--gray); text-align: center; }

/* dúvidas */
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; font-weight: 600; color: var(--ink); font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; font-size: 26px; font-weight: 400; color: var(--btn); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 620px; }

/* CTA final */
.cta-final { position: relative; overflow: hidden; padding: 64px 0 72px; }
.cta-final .ribbon { right: auto; left: -360px; top: -420px; transform: rotate(-38deg); }
.cta-final .wrap { position: relative; max-width: 780px; text-align: center; }
.cta-final h2 { font-size: clamp(34px, 8vw, 56px); line-height: 1; font-weight: 800; letter-spacing: -.045em; }
.cta-final p { font-size: 19px; margin: 18px auto 30px; max-width: 520px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* WhatsApp flutuante */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 45; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.22); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .25s, transform .25s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float.show { opacity: 1; pointer-events: auto; transform: none; }

/* rodapé */
.footer { background: var(--soft); border-top: 1px solid var(--line); padding: 40px 0 24px; font-size: 14px; }
.foot-grid { display: grid; gap: 28px; }
.foot-brand { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.foot-brand strong { color: var(--brand); }
.foot-sobre p { margin: 8px 0 0; max-width: 340px; color: var(--gray); }
.foot-col { display: flex; flex-direction: column; gap: 2px; }
.foot-col h4 { font-size: 14px; margin-bottom: 8px; }
.foot-col a { color: var(--slate); padding: 4px 0; }
.foot-col a:hover { color: var(--ink); }
.mini-tag { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; background: #fff1e3; color: var(--btn); margin-left: 4px; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-legal a, .foot-legal button { color: var(--gray); font: inherit; font-size: 13px; background: none; border: 0; padding: 4px 0; cursor: pointer; }
.foot-legal a:hover, .foot-legal button:hover { color: var(--ink); }
.foot-empresa { font-size: 12.5px; margin: 14px 0 0; color: var(--gray); }
.foot-copy { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: 12.5px; color: var(--gray); }

/* cookies (mesmo comportamento das outras páginas) */
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; flex-direction: column; align-items: stretch; gap: 12px; background: var(--ink); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); max-width: 600px; margin: 0 auto; text-align: center; }
.cookie-bar p { margin: 0; font-size: 13px; color: rgba(255,255,255,.86); }
.cookie-bar p a { color: #fff; text-decoration: underline; }
.cookie-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.cookie-bar .btn-primary { background: var(--brand); color: var(--ink); }
.btn-link { background: none; border: 0; color: rgba(255,255,255,.86); font: inherit; font-size: 13px; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 9px 6px; }
.btn-out { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.btn-out:hover { border-color: #fff; }
.pref-dialog { border: 0; border-radius: var(--radius-lg); padding: 0; width: min(560px, calc(100% - 32px)); box-shadow: var(--shadow); color: var(--slate); }
.pref-dialog::backdrop { background: rgba(14,20,48,.55); }
.pref-in { padding: 26px; }
.pref-in h2 { font-size: 21px; margin-bottom: 6px; }
.pref-in > p { color: var(--gray); font-size: 14px; margin: 0 0 16px; }
.pref-item { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--line); }
.pref-item strong { display: block; color: var(--ink); font-size: 15px; }
.pref-item span { color: var(--gray); font-size: 13.5px; }
.pref-item .fixo { font-size: 12px; font-weight: 700; color: var(--green); white-space: nowrap; padding-top: 2px; }
.switch { position: relative; flex-shrink: 0; width: 46px; height: 26px; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch i { position: absolute; inset: 0; background: #cdd3e1; border-radius: 999px; transition: background .2s; cursor: pointer; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + i { background: var(--green); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { outline: 2px solid var(--brand); outline-offset: 2px; }
.pref-acts { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 16px; }
.pref-in .pref-more { font-size: 13px; margin: 12px 0 0; color: var(--gray); }

/* animações: só com JS ligado e sem "reduzir movimento" */
@media (prefers-reduced-motion: no-preference) {
  .js .enter { opacity: 0; transform: translateY(18px); animation: subir .7s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
  .js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js .ribbon { animation: balanco 14s ease-in-out infinite alternate; }
  .js .cta-final .ribbon { animation-name: balanco2; }
}
@keyframes subir { to { opacity: 1; transform: none; } }
@keyframes balanco { from { transform: rotate(38deg) translateX(0); } to { transform: rotate(34deg) translateX(-40px); } }
@keyframes balanco2 { from { transform: rotate(-38deg) translateX(0); } to { transform: rotate(-34deg) translateX(40px); } }

/* 640px+ */
/* botões de idioma (PT / EN / ES) */
.lang-sw { display: flex; align-items: center; gap: 2px; margin-left: auto; padding: 3px; border-radius: 999px; background: #eef1f6; }
.lang-sw a { display: inline-flex; align-items: center; gap: 5px; min-width: 34px; height: 30px; padding: 0 9px 0 5px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; color: #5b6478; transition: color .15s, background .15s; }
.lang-sw a:hover { color: #0e1430; }
.lang-sw a[aria-current="page"] { background: #fff; color: #0e1430; box-shadow: 0 1px 3px rgba(14,20,48,.16); }
.lang-sw a:focus-visible { outline: 2px solid #fb7e16; outline-offset: 1px; }
.lang-sw .flag { width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: 0 0 0 1px rgba(14,20,48,.14); }
@media (max-width: 400px) {
  .lang-sw a { gap: 3px; padding: 0 6px 0 4px; font-size: 11.5px; }
  .lang-sw .flag { width: 16px; height: 16px; }
  .brand-text { white-space: nowrap; font-size: 15px; }
  .topbar-in, .topbar-in .brand { gap: 6px; }
  .lang-sw { margin-right: 2px; }
}

@media (min-width: 640px) {
  .hero { padding-top: 140px; }
  .ribbon { width: 700px; right: -260px; }
  .hero-art { height: 220px; }
  .hero-art .ribbon { width: 760px; right: -200px; top: -560px; }
  .chips { grid-template-columns: repeat(3, 1fr); }
  .made-by { flex-direction: row; align-items: center; gap: 28px; }
  .prod-grid { grid-template-columns: 1fr 1fr; }
  .sc-thumb { font-size: 12.5px; }
  .sc-arrow { display: grid; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-copy { flex-direction: row; justify-content: space-between; }
  .cookie-bar { flex-direction: row; align-items: center; text-align: left; }
  .cookie-bar p { flex: 1; min-width: 220px; }
}

/* 960px+ */
@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .topbar-in .nav { margin-left: auto; }
  .lang-sw { margin-left: 18px; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 30px; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav a { font-size: 15px; padding: 6px 0; }
  .nav a:not(.btn):hover { color: var(--btn); }
  .nav a.btn { margin: 0; }
  .hero { padding-top: 80px; padding-bottom: 72px; }
  .hero-grid { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 56px; }
  .hero-art { height: auto; bottom: 0; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 98%); mask-image: linear-gradient(180deg, #000 70%, transparent 98%); }
  .hero-art .ribbon { width: 900px; height: 1700px; right: -300px; top: -640px; }
  .ask { padding: 28px; }
  .chips { grid-template-columns: 1fr 1fr; }
  .made-by { margin-top: 52px; }
  .section { padding: 72px 0; }
  .showcase { padding: 40px 36px 24px; }
  .sc-blob { width: 640px; height: 640px; left: -120px; top: -220px; }
  .sc-panel { grid-template-columns: 280px minmax(0, 1fr) 280px; align-items: center; justify-items: start; text-align: left; gap: 36px; min-height: 330px; }
  .sc-plate { width: 300px; height: 300px; }
  .sc-title { justify-items: start; }
  .sc-card { justify-self: end; }
  .sc-nav { max-width: 880px; margin: 26px auto 0; }
  .sc-thumbs { overflow: visible; justify-content: center; }
  .sc-thumb { flex: 1 1 0; min-width: 0; }
  .sc-thumb { font-size: 13px; padding: 12px 6px; }
  .sc-thumb-ic { width: 60px; height: 60px; }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
  .prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .photo-band { min-height: 480px; align-items: center; }
  .photo-band::before { background: linear-gradient(90deg, rgba(10,14,36,.9) 0%, rgba(10,14,36,.65) 38%, rgba(10,14,36,0) 70%); }
  .photo-band img { object-position: 50% 25%; }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .faq-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
  .faq-wrap .sec-head { position: sticky; top: 110px; }
  .cta-final { padding: 88px 0 96px; }
}
