/*
 * wiklik.ai — the long page (owner 2026-10-19): hero head (title top, centred), the W mark, the capability sections
 * (large title, text beside, a frame of the real app as the visual), the m360m.ai-style footer, the floating actions.
 * Loaded after /wiklik/wiklik.css by site_tpl/wk_head.html. Gradient = palette P1 Esmeralda (the voucher theme's
 * gradient_from / via / to, voucher_theme_palettes.json "wiklik"): brand green -> accent -> deep green; soft = accent-soft.
 */
.wk { --grad: linear-gradient(120deg, #00a47c 0%, #00795b 55%, #0b3d30 100%); --grad-soft: linear-gradient(135deg, #e3f5ef 0%, #f3faf7 60%, #ffffff 100%); }

/* ---------------------------------------------------------------- primary actions = accent #00795B, white text (P1: ink is for text only) */
.wk .btn-primary, .wk .wk-cta { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.wk .btn-primary:hover, .wk .wk-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.wk .wk-cta { box-shadow: 0 12px 28px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.wk-play { background: var(--accent); color: var(--accent-ink); }

/* ---------------------------------------------------------------- the mark */
.wk-brand { display: inline-flex; align-items: center; text-decoration: none; }
/* The lockup (site_tpl/wk_lockup.html, owner 2026-10-19): the B mark of sites/wiklik/brand + the name, gap .24em. One lockup,
   one size everywhere: header and footer. The name sits on the BASE of the W (owner 2026-10-23: "alinhado pela base do W, não
   pela caixa inteira"): align-items: baseline — the mark's baseline is its bottom edge, and the tight mark SVG ends at the
   W's feet (viewBox 2 7 60 46, W base at 52.8 of 53), so the name's baseline lands on them. Centring the boxes (the dot
   included) left the name floating above the W. */
.wk-lockup { display: inline-flex; align-items: baseline; gap: .24em; font-family: var(--font-display); font-size: 30px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); direction: ltr; white-space: nowrap; }
.wk-lockup .wk-lockup-mark, .brand .wk-lockup-mark { display: block; height: 1.12em; width: auto; aspect-ratio: 60 / 46; } /* beats home.css .brand img (20 px) */
@media (max-width: 480px) { .wk-lockup { font-size: 22px; } }

/* sticky header (owner 2026-10-19): brand, language, "Já tenho conta", "Entrar grátis" — on a phone the name stays,
   the language shows its flag and the two actions stay one row */
/* The full-bleed band is a ::before (owner 2026-10-25, "the language menu does nothing"): the old box-shadow band needed
   clip-path: inset(0 -100vmax) on the header itself, and that clip cut away everything below the 60 px bar — the open
   language menu was painted, but invisible and not clickable. Nothing on .wk-top clips now; the blur lives on the band. */
.wk-top { position: sticky; top: 0; z-index: 200; }
.wk-top::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  /* the band reaches both window edges as a shadow (never scrollable overflow), clipped to the bar's height — on the band only */
  box-shadow: 0 0 0 100vmax rgba(255, 255, 255, .94); clip-path: inset(0 -100vmax); }
/* The language list is wider than the room left of the flag on a phone (220 px menu, the flag ~120 px from the edge):
   anchored to the button it opened off screen. On a phone it is a panel under the header, inside the window. */
@media (max-width: 599px) {
  .wk-top .lang-wrap { position: static; }
  .wk-top .lang-menu { top: 100%; left: 12px; right: 12px; min-width: 0; max-height: min(70vh, 520px); }
}
.wk-top-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
@media (max-width: 480px) {
  .wk-top-r { gap: 4px; }
  /* a long "I have an account" (ja, ru, fr …) wraps to two short lines instead of pushing the row past 390 px */
  .wk-top .wk-signin { padding: 2px 9px; font-size: 12.5px; min-height: 38px; max-width: 8.6em; line-height: 1.1; text-align: center; }
  .wk-top-cta { padding: 0 11px; font-size: 12.5px; min-height: 38px; }
  .wk-top #lName { display: none; }
}
.wk-ex { display: inline-flex; align-items: center; gap: 6px; }
.wk-ex img { width: 18px; height: auto; aspect-ratio: 60 / 46; }
.wk-device.web .wk-bezel-mark { position: absolute; left: 50%; bottom: 3px; width: 14px; height: auto; aspect-ratio: 60 / 46; transform: translateX(-50%); opacity: .9; }
.wk-device.phone .wk-bezel-mark { display: none; }
.wk-device.web::after { display: none; }

/* ---------------------------------------------------------------- hero: ONE centred column (owner 2026-10-19)
   badge -> title -> the subtitle in bold -> the simulator -> CTA / price -> the rest. The device is SMALL and sized by the
   window height (demo.js fit(): the whole phone / laptop and its toggle row fit the first screen at 1366 x 768,
   1440 x 900, 1536 x 864 and on a phone, above the floating bar). Caps: phone 270 px on desktop, 240 px on a phone
   screen; laptop min(720 px, 90vw). These widths are the no-JS fallback. */
.wk-hero-head { text-align: center; display: grid; gap: 10px; justify-items: center; padding-top: 4px; }
.wk-hero-head .wk-product { margin-top: 2px; }
.wk-hero-head h1 { margin: 0; font-size: clamp(40px, 10.6vw, 64px); line-height: 1.03; letter-spacing: -0.045em; font-weight: 800; text-wrap: balance; max-width: 18ch; }
.wk-hero-head .wk-product + h1 { margin-top: 0; }
.wk-sub { margin: 0; max-width: 62ch; font-size: 18px; line-height: 1.45; font-weight: 700; color: var(--ink); text-wrap: balance; }
.wk-hero { margin-top: 12px; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "demo" "a" "b"; justify-items: center; text-align: center; }
.wk-hero .wk-a, .wk-hero .wk-b { max-width: 640px; justify-items: center; }
.wk-hero .wk-ctas, .wk-hero .wk-price { justify-content: center; }
.wk-hero .wk-price { width: 100%; margin-inline: auto; }
.wk-hero .wk-plan { text-align: center; align-items: center; }
.wk-hero .wk-plan-p { justify-content: center; }
.wk-hero .wk-goal { justify-self: center; width: 100%; }
.wk-demo { gap: 8px; }
.wk-demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; }
.wk-hero .wk-a .wk-ctas { margin-top: 0; }
/* a phone screen (owner 2026-10-24: "o mesmo tamanho dos outros celulares"): the hero phone IS a section phone (.wk-shot below) —
   same width, bezel, radius and screen (the app's 390 x 766, no drawn status bar / home bar) — and only the phone: the
   Celular / Web switch is a desktop control */
.wk-device.phone { width: 232px; max-width: 100%; padding: 7px; border-radius: 34px; }
.wk-device.phone .wk-screen { border-radius: 28px; }
/* …at EVERY width (owner 2026-10-26: the "Celular" view on a laptop drew a bigger phone — 10 px bezel, 56 px corners, a
   status bar over a 390 x 844 screen that ran past the bezel — beside 256 px section phones): no drawn status bar / home bar,
   the screen is the app's 390 x 766 inside the 7 px bezel, and 256 px from 760 px up, as .wk-shot */
.wk-device.phone { aspect-ratio: auto; }
.wk-device.phone .wk-screen { aspect-ratio: 390 / 766; }
.wk-device.phone .wk-statusbar, .wk-device.phone .wk-homebar { display: none; }
.wk-device.phone .wk-stage { top: 0; }
@media (max-width: 999px) { .wk-hero-head .wk-view { display: none; } }
@media (min-width: 760px) { .wk-device.phone { width: 256px; } }
/* the highlighted line under the hero text, right above the phone (owner 2026-10-24) */
.wk-learn { margin: 2px 0 0; max-width: 34ch; padding: 10px 16px; border-radius: 16px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); font-size: 17px; line-height: 1.4; font-weight: 800; color: var(--nav-active-ink); text-wrap: balance; }
@media (min-width: 1000px) { .wk-learn { max-width: 46ch; font-size: 20px; } }
.wk-device.web { width: min(1440px, 94vw); max-width: none; }
@media (min-width: 1000px) {
  .wk-hero-head h1 { font-size: clamp(56px, 5.4vw, 80px); max-width: 22ch; }
  .wk-main { padding-top: 10px; }
}
@media (min-width: 1000px) { .wk-sub { max-width: 60ch; font-size: 22px; } }
/* the Celular / Web switch sits right under the subtitle, before the device */
.wk-hero-head .wk-view { margin-top: 4px; scroll-margin-top: calc(var(--wk-head-h, 72px) + 10px); }
/* an anchor / scrollIntoView never lands under the fixed header */
.wk-main [id], .wk-sec { scroll-margin-top: calc(var(--wk-head-h, 72px) + 8px); }

/* ---------------------------------------------------------------- sections (full width; the page's .wrap inside) */
.wk-sections { margin-top: 36px; }
.wk-sec { border-top: 1px solid var(--line); }
.wk-sec-in { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr); align-items: center; padding-top: 40px; padding-bottom: 40px; }
.wk-sec-text { display: grid; gap: 12px; min-width: 0; }
.wk-k { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.wk-k::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.wk-sec h2 { margin: 0; font-size: clamp(28px, 6.6vw, 44px); line-height: 1.08; letter-spacing: -0.04em; font-weight: 800; text-wrap: balance; }
.wk-sec-lead { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; max-width: 54ch; }
.wk-sec .wk-logos, .wk-sec .wk-channels { margin-top: 6px; }
.wk-sec .wk-ctas { margin-top: 10px; }
/* The company / enterprise CTAs of "Para a sua empresa" wrap inside a phone column (never widen the page) */
.wk-sec .wk-ctas .btn { white-space: normal; text-align: center; max-width: 100%; min-height: 48px; height: auto; padding-top: 10px; padding-bottom: 10px; line-height: 1.25; }
.wk-cta-alt { min-height: 48px; padding: 0 22px; font-size: 15px; font-weight: 700; border-radius: 999px; cursor: pointer; }
/* Conexões: the catalogue logos scroll sideways on a phone (one row, never stacked); the add-in / extension / plugins rows */
.wk-conn-logos { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.wk-conn-logos li { flex: 0 0 auto; }
@media (min-width: 760px) { .wk-conn-logos { flex-wrap: wrap; overflow: visible; } }
.wk-conn-ways li img + img { margin-inline-start: -4px; }
/* Seus serviços: the ready services by the app's names (chips) and, last, "+ whatever you ask for" */
.wk-svc-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; max-width: 54ch; }
.wk-svc-list li { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); font-size: 14px; font-weight: 600; line-height: 1.2; color: var(--ink); }
.wk-svc-list .wk-svc-more { border-style: dashed; border-color: var(--accent); color: var(--accent); background: transparent; }
.wk-shot { margin: 0; justify-self: center; width: min(100%, 232px); padding: 7px; border-radius: 34px; background: var(--phone); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--ink) 45%, transparent); }
/* a section phone running the REAL app in place (demo.js liveShot): the iframe over the poster, the app's own 390 x 766
   viewport scaled to the screen — the poster stays underneath until the app paints */
.wk-shot { position: relative; }
.wk-shot-live { position: absolute; inset: 7px; border-radius: 28px; overflow: hidden; background: #fff; opacity: 0; transition: opacity .3s; }
.wk-shot.is-live .wk-shot-live { opacity: 1; }
/* …but only once the app inside has painted (wk-shot-reveal.js): the iframe's load came before the app, a white screen */
.wk-shot.is-live:not([data-wk-painted]) .wk-shot-live { opacity: 0; }
/* leaving: the frame is removed at once (demo.js stopShot), so the empty white box must not fade out over the poster */
.wk-shot:not(.is-live) .wk-shot-live, .wk-shot:not([data-wk-painted]) .wk-shot-live { transition: none; }
.wk-shot-live iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .wk-shot-live { transition: none; } }
.wk-shot > img { display: block; width: 100%; height: auto; border-radius: 28px; background: #fff; }
/* A section with a button (Para a sua empresa, Indique): on the phone the button comes AFTER the phone image (owner 2026-10-25:
   text, phone, then "Criar conta PJ"), centred under it; on the laptop it sits in the text column, under the text. */
.wk-sec .wk-sec-cta { margin-top: 0; justify-content: center; }
.wk-sec-alt { background: var(--grad-soft); border-top: 0; }
.wk-sec-alt + .wk-sec { border-top: 0; }
@media (min-width: 760px) {
  .wk-sec-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); column-gap: 48px; padding-top: 64px; padding-bottom: 64px; }
  .wk-sec-alt .wk-sec-text { order: 2; }
  .wk-sec-alt .wk-shot { order: 1; }
  .wk-sec-in-cta { grid-template-rows: auto auto; row-gap: 0; }
  .wk-sec-in-cta > .wk-sec-text { grid-column: 1; grid-row: 1; align-self: end; }
  .wk-sec-in-cta > .wk-shot { grid-column: 2; grid-row: 1 / span 2; }
  .wk-sec-in-cta > .wk-sec-cta { grid-column: 1; grid-row: 2; align-self: start; justify-content: flex-start; margin-top: 22px; }
  .wk-sec-alt .wk-sec-in-cta > .wk-sec-text, .wk-sec-alt .wk-sec-in-cta > .wk-sec-cta { grid-column: 2; }
  .wk-sec-alt .wk-sec-in-cta > .wk-shot { grid-column: 1; }
  .wk-shot { width: min(100%, 256px); }
  .wk-sec h2 { font-size: clamp(34px, 3.6vw, 52px); }
  .wk-sec-lead { font-size: 18px; }
}

/* ---------------------------------------------------------------- footer (the structure of m360m.ai, os_tpl/os.css .ft-*) */
.wk-foot { border-top: 1px solid var(--line); background: var(--bg); color: var(--ink-2); font-size: 14px; display: block; text-align: start; padding: 0 0 calc(18px + env(safe-area-inset-bottom)); }
.ft-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
@media (min-width: 600px) { .ft-grid { grid-template-columns: 1fr 1fr; } .ft-col-brand { grid-column: 1 / -1; } }
/* desktop: the brand block, then every link column in ONE row (Produto | Guias | Empresa | Legal; Students has no Guias),
   nothing below the brand (owner 2026-10-23) */
@media (min-width: 960px) { .ft-grid { grid-template-columns: minmax(0, 2fr); grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); } .ft-col-brand { grid-column: auto; } }
.ft-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.04em; color: var(--ink); line-height: 1; direction: ltr; }
.ft-brand { display: block; }
.ft-tag { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); max-width: 40ch; }
.ft-addr { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: var(--ink-3); }
.ft-addr strong { color: var(--ink-2); }
.ft-dpo { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.6; color: var(--ink-3); }
.ft-dpo strong { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.ft-dpo a { color: var(--ink-3); }
.ft-col-title { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.ft-col a, .ft-col button { display: flex; align-items: center; min-height: 36px; margin: 0; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink-3); text-decoration: none; text-align: start; cursor: pointer; }
.ft-col a:hover, .ft-col button:hover { color: var(--ink); text-decoration: underline; }
.ft-bot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.ft-rights { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); }
[dir="rtl"] .ft-col a, [dir="rtl"] .ft-col button { text-align: right; }

/* ---------------------------------------------------------------- floating actions (m360m.ai os_tpl/os-extra.css .fab)
   desktop: the right edge, a column; narrow desktops: round icon buttons (the label stays for assistive tech); a phone: a
   bottom bar and the page keeps that room. */
.fab { position: fixed; z-index: 190; display: flex; gap: 8px; }
.fab { --fab-grad: linear-gradient(135deg, #00a47c 0%, #00795b 40%, #0b3d30 78%, #0b0d0c 100%); }
.fab a { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; padding: .6rem 1.05rem; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; box-shadow: 0 30px 80px -20px rgba(0, 121, 91, .35); transition: transform .2s; }
.fab a:hover { transform: translateY(-2px); }
.fab .fab-buy { background: var(--fab-grad); color: #fff; }
.fab .fab-wa { background: #fff; color: #0b5d2a; border: 1px solid #b7e4c7; }
.fab svg, .fab img { width: 22px; height: 22px; flex: 0 0 auto; }
@media (max-width: 899px) {
  .fab { left: 0; right: 0; bottom: 0; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .fab a { flex: 1; box-shadow: none; }
  body.wk { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .wk .cookie { bottom: calc(80px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .fab { right: 12px; bottom: 20px; flex-direction: column; align-items: flex-end; } }
@media (min-width: 900px) {
  .fab a { width: 56px; height: 56px; padding: 0; }
  .fab .fab-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) { .wk-sec { scroll-behavior: auto; } .fab a { transition: none; } }

.wk-shot[data-static] .wk-shot-live { display: none; } /* Cérebro: the still poster at every width */
