/* Landing page. Near-black, sky blue, Inter. Mobile first, simple, big tap targets. */
:root {
  --sky: #0ea5e9; --sky-light: #38bdf8; --blue: #0369a1;
  --bg: #080808; --card: #141414; --border: #262626;
  --white: #f5f5f5; --text: #c9c9c9; --muted: #8a8a8a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; touch-action: manipulation; }
html, body { margin: 0; padding: 0; }
body { overflow-x: clip; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--text); line-height: 1.5; -webkit-text-size-adjust: 100%; background: var(--bg) radial-gradient(70% 420px at 70% 0, rgba(14, 165, 233, .20), transparent 70%) no-repeat; }
/* Page pinned while the picture viewer is open (the scroll position is set inline from landing.js) */
body.is-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
a { color: var(--sky-light); }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
h1, h2, h3 { color: var(--white); letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(28px, 7vw, 42px); font-weight: 800; }
ul, ol { list-style: none; margin: 0; padding: 0; }
main { overflow-x: clip; }
section { max-width: 1040px; margin: 0 auto; padding: 56px 16px; scroll-margin-top: 76px; }
.eyebrow { color: var(--sky-light); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.sub { font-size: 18px; line-height: 1.55; margin: 12px 0 0; }
.fine { color: var(--muted); font-size: 15px; margin: 14px 0 0; }
.fine b { color: var(--white); font-weight: 700; }
.app, .langs, .features { text-align: center; }

/* ---- Nav: logo + Entrar + hamburger on phones; links inline on desktop ---- */
.mark { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 7px; background: var(--sky); color: #fff; font-weight: 700; font-size: 13px; }
.nav { position: sticky; top: 0; z-index: 30; background: rgba(8, 8, 8, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding-top: env(safe-area-inset-top, 0px); transition: transform .25s ease; }
/* Scrolling down tucks the bar away; scrolling up (or opening the menu) brings it back */
.nav.nav--hidden { transform: translateY(-110%); }
.nav__in { max-width: 1040px; margin: 0 auto; padding: 8px 16px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; position: relative; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 700; font-size: 18px; }
.nav__right { display: flex; align-items: center; gap: 8px; }
/* "Entrar" is a solid white button so it never disappears into the dark page */
.nav__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 12px; background: var(--white); color: #0b0b0b; font-weight: 700; font-size: 16px; text-decoration: none; }
.nav__cta:hover { background: #fff; }
.nav__lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: inherit; font-weight: 600; font-size: 15px; text-decoration: none; opacity: .85; }
.nav__lang:hover { opacity: 1; text-decoration: underline; }
.nav__burger { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: #151515; cursor: pointer; padding: 0; }
.nav__burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Phone menu: a panel under the bar */
.nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 8px 16px 16px; background: #0b0b0b; border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .9); }
.nav.is-open .nav__links { display: flex; }
.nav__links a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; color: var(--white); text-decoration: none; font-weight: 600; font-size: 18px; }
.nav__links a:hover, .nav__links a.is-active { background: #1a1a1a; }
.nav__links a.is-active { color: var(--sky-light); }
.nav__panelbtns { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 10px; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--border); }
.nav__links .nav__panelcta { justify-content: center; text-align: center; min-height: 56px; padding: 0 8px; background: var(--sky); color: #04131c; font-weight: 800; font-size: 16px; line-height: 1.15; }
.nav__links .nav__panellogin { justify-content: center; text-align: center; min-height: 56px; padding: 0 8px; background: var(--white); color: #0b0b0b; font-weight: 800; font-size: 16px; }
.nav__links .nav__panelcta:hover { background: var(--sky-light); }
.nav__links .nav__panellogin:hover { background: #fff; }
@media (max-width: 759px) { .nav__right .nav__cta, .nav__right .nav__lang { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 700; font-size: 17px; text-decoration: none; transition: transform .12s ease, background-color .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--sky); color: #04131c; box-shadow: 0 8px 28px -8px rgba(14, 165, 233, .65); }
.btn-primary:hover { background: var(--sky-light); }
.btn-big { min-height: 58px; padding: 0 34px; font-size: 19px; }

/* ---- iPhone 17 Pro Max (drawn in CSS). 1em = 10pt of the real screen; the screen is 44em wide. ---- */
.ip { --w: 250px; position: relative; width: var(--w); font-size: calc(var(--w) / 46.4); margin: 0 auto; flex: none; }
.ip__frame { position: relative; z-index: 1; padding: .75em; border-radius: 7.2em; background: linear-gradient(145deg, #f3a266 0%, #d1692f 28%, #b4521f 52%, #e08648 74%, #a94e1d 100%); box-shadow: inset 0 0 0 .14em rgba(255, 255, 255, .38), inset 0 0 .6em rgba(0, 0, 0, .4), 0 3.2em 6em -2em rgba(0, 0, 0, .85), 0 0 0 .1em #5a2a10; }
.ip__screen { position: relative; overflow: hidden; border: .45em solid #000; border-radius: 6.4em; background: #f5f6f8; }
.ip__screen img { width: 100%; height: auto; background: linear-gradient(90deg, #eceff2, #f7f9fb, #eceff2); }
.ip__status { position: absolute; top: 0; left: 0; right: 0; height: 5.9em; display: flex; align-items: center; justify-content: space-between; padding: .6em 3.4em 0 4em; background: #f5f6f8; color: #111; }
.ip__time { font-size: 1.7em; font-weight: 600; letter-spacing: -.01em; }
.ip__sys { display: flex; align-items: center; gap: .55em; }
.ip__sys svg { height: 1.2em; width: auto; fill: currentColor; display: block; }
.ip__island { position: absolute; top: 1.15em; left: 50%; width: 12.4em; height: 3.7em; transform: translateX(-50%); border-radius: 2em; background: #000; }
.ip__home { position: absolute; bottom: .7em; left: 50%; width: 14em; height: .5em; transform: translateX(-50%); border-radius: 1em; background: #111; opacity: .85; }
.ip__b { position: absolute; z-index: 0; width: .45em; border-radius: .2em; background: linear-gradient(90deg, #8f4619, #d98547); }
.ip__b--act { left: -.3em; top: 11.5em; height: 3.2em; }
.ip__b--up { left: -.3em; top: 17.5em; height: 5.8em; }
.ip__b--dn { left: -.3em; top: 24.8em; height: 5.8em; }
.ip__b--pw { right: -.3em; top: 20em; height: 9.5em; background: linear-gradient(270deg, #8f4619, #d98547); }
.ip__b--cam { right: -.3em; top: 44em; height: 5.4em; background: linear-gradient(270deg, #8f4619, #d98547); }

/* ---- Hero ---- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 20px; }
.hero h1 { font-size: clamp(38px, 10.5vw, 64px); font-weight: 800; margin-bottom: 16px; }
.hero h1 span { color: var(--sky); }
.lead { font-size: 20px; color: var(--white); margin: 0 0 26px; font-weight: 500; }
.hero__art { position: relative; display: flex; justify-content: center; padding-bottom: 12px; }
.hero__art .ip { --w: min(64vw, 270px); transform: rotate(-3deg); margin: 0; }
.floatpdf { position: absolute; right: 0; bottom: 0; width: min(40%, 190px); border-radius: 6px; background: #fff; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .9); transform: rotate(5deg); }

/* ---- Carousel: swipe sideways, tap a picture for full screen ---- */
.app .sub { max-width: 520px; margin-left: auto; margin-right: auto; }
.carousel { position: relative; margin: 28px -16px 0; }
.slides { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 12px calc(50% - min(31vw, 125px)) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 min(62vw, 250px); scroll-snap-align: center; text-align: center; }
.slide__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; color: inherit; font: inherit; -webkit-tap-highlight-color: transparent; }
.slide .ip { --w: min(62vw, 250px); }
.slide__doc { display: block; padding: 14px 0; }
.slide__doc img { width: 100%; border-radius: 6px; background: #fff; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .9); }
.slide__zoom { position: absolute; right: -2px; bottom: 6px; z-index: 3; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(8, 8, 8, .78); border: 1px solid rgba(255, 255, 255, .25); }
.slide__zoom svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.slide h3 { font-size: 18px; margin: 20px 0 4px; }
.slide p { margin: 0; font-size: 15px; color: var(--text); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #3a3a3a; transition: background .2s, transform .2s; }
.dots i.is-on { background: var(--sky); transform: scale(1.25); }
.carousel__nav { display: none; }

/* ---- Full-screen viewer ---- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000; touch-action: none; overscroll-behavior: contain; -webkit-user-select: none; user-select: none; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: calc(56px + env(safe-area-inset-top, 0px)) 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
.lb__fig img { -webkit-user-drag: none; user-drag: none; pointer-events: none; max-width: min(100%, 560px); max-height: calc(100dvh - 190px); width: auto; height: auto; object-fit: contain; border-radius: 14px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.lb__fig figcaption { text-align: center; color: var(--text); font-size: 15px; max-width: 520px; display: flex; flex-direction: column; gap: 2px; }
.lb__fig b { color: var(--white); font-size: 17px; }
.lb__fig em { font-style: normal; color: var(--muted); font-size: 13px; margin-top: 4px; }
.lb__close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: 12px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 32px; line-height: 1; cursor: pointer; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 64px; border: 0; background: none; color: #fff; font-size: 44px; cursor: pointer; opacity: .85; display: none; }
.lb__nav--prev { left: 6px; }
.lb__nav--next { right: 6px; }

/* ---- Languages: two independent choices ---- */
.langs .sub { max-width: 600px; margin-left: auto; margin-right: auto; }
.lang-demo { margin: 32px auto 0; max-width: 860px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; text-align: left; }
.lang-demo__controls { display: grid; gap: 16px; }
.lang-pick { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 14px 14px 16px; }
.lang-pick__label { margin: 0 0 10px; color: var(--white); font-weight: 600; font-size: 16px; }
.lang-pick__label b { color: var(--sky-light); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: #0c0c0c; border: 1px solid var(--border); }
.seg__btn { min-height: 48px; border: 0; border-radius: 10px; background: transparent; color: var(--text); font: 700 16px 'Inter', sans-serif; cursor: pointer; }
.seg__btn.is-on { background: var(--sky); color: #04131c; }
.lang-demo__sum { margin: 0; padding: 0 4px; color: var(--white); font-size: 17px; font-weight: 600; line-height: 1.4; }
.lang-demo__view { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 6px; padding-top: 6px; }
.lang-demo__phone { margin: 0; text-align: center; }
.lang-demo__phone .ip { --w: min(36vw, 168px); }
.lang-demo__phone figcaption { margin-top: 14px; color: var(--white); font-weight: 700; font-size: 14px; line-height: 1.25; }
.lang-demo__arrow { align-self: center; margin-top: -26px; color: var(--sky-light); font-size: 28px; line-height: 1; }
[hidden] { display: none !important; }

/* ---- Features ---- */
.features h2 { margin-bottom: 26px; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; text-align: left; }
.feat { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px 14px; }
.feat__i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(14, 165, 233, .15); margin-bottom: 12px; }
.feat__i svg { width: 22px; height: 22px; fill: none; stroke: var(--sky-light); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; line-height: 1.2; }
.feat p { margin: 0; font-size: 15px; color: var(--text); opacity: .82; }

/* ---- Pricing + trial ---- */
.pricing { text-align: center; background: linear-gradient(160deg, #0b2a3d, #0a0a0a 72%); border: 1px solid #16394f; border-radius: 24px; margin: 24px 16px; max-width: 1008px; padding: 44px 14px; }
.pricing h2 { margin-bottom: 12px; }
.pricing .sub { max-width: 520px; margin: 0 auto 30px; }
/* The two plans always sit side by side so they can be compared at a glance */
.plan-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 640px; margin: 0 auto 16px; align-items: stretch; }
.pc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 26px 8px 16px; border: 2px solid var(--border); border-radius: 18px; background: rgba(8, 8, 8, .6); color: var(--text); font: inherit; cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent; transition: border-color .15s, background-color .15s, transform .12s; }
.pc:active { transform: scale(.985); }
.pc[aria-checked="true"] { border-color: var(--sky); background: rgba(14, 165, 233, .12); box-shadow: 0 12px 32px -16px rgba(14, 165, 233, .7); }
.pc__check { position: absolute; top: 9px; right: 9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #3a3a3a; }
.pc[aria-checked="true"] .pc__check { border-color: var(--sky); background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304131c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pc__tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 999px; background: var(--sky); color: #04131c; font-weight: 800; font-size: 11px; white-space: nowrap; }
.pc h3 { font-size: 17px; font-weight: 700; color: var(--white); margin: 0; }
.pc__price { margin: 2px 0 8px; color: var(--white); line-height: 1; }
.pc__price b { font-size: clamp(30px, 9vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.pc__price span { font-size: 15px; color: var(--text); margin-left: 2px; }
.pc__billed { margin: -2px 0 10px; font-size: 13px; line-height: 1.3; color: var(--text); }
.pc__billed b { color: var(--white); }
.pc--best .pc__billed { color: var(--sky-light); font-weight: 600; }
.pc__rows { width: 100%; display: grid; gap: 0; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.pc__rows li { display: flex; flex-direction: column; gap: 1px; padding: 9px 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pc__rows li:last-child { border-bottom: 0; }
.pc__rows span { font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.pc__rows b { font-size: 15px; color: var(--white); font-weight: 700; }
.plan-summary { min-height: 3em; margin: 0 auto 22px; max-width: 520px; color: var(--sky-light); font-weight: 700; font-size: 16px; line-height: 1.4; }
.includes { display: grid; gap: 10px; max-width: 420px; margin: 0 auto 28px; text-align: left; }
.includes li { position: relative; padding-left: 32px; color: var(--white); font-weight: 600; font-size: 16px; }
.includes li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: rgba(14, 165, 233, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---- FAQ ---- */
.faq { max-width: 720px; }
.faq h2 { margin-bottom: 20px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--white); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 54px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; color: var(--sky-light); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 18px 16px; }

.footer { border-top: 1px solid var(--border); text-align: center; padding: 24px 16px calc(24px + 76px + env(safe-area-inset-bottom, 0px)); color: var(--muted); font-size: 14px; }

/* Sticky button on phones, after the hero button scrolls away */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: #080808; border-top: 1px solid #1f1f1f; transform: translateY(110%); transition: transform .25s ease; z-index: 10; }
.sticky.is-on { transform: none; }
.sticky .btn { width: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .sticky, .nav, .nav__burger span, .dots i { transition: none; } }

/* ---- Desktop: same page, wider ---- */
@media (min-width: 760px) {
  section { padding: 84px 24px; scroll-margin-top: 72px; }
  .nav__in { grid-template-columns: auto 1fr auto; gap: 24px; }
  .nav__burger, .nav__panelbtns { display: none; }
  .nav__links { display: flex; position: static; flex-direction: row; justify-content: center; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none; }
  .nav__links a { min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 15px; color: var(--text); }
  .nav__links a.is-active { background: #1c1c1c; color: var(--white); }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 24px; padding-top: 48px; }
  .hero__art .ip { --w: 300px; }
  .floatpdf { width: 190px; right: 4%; }
  .slides { padding-left: 24px; padding-right: 24px; gap: 28px; scroll-padding: 0 24px; justify-content: flex-start; }
  .slide { flex-basis: 250px; }
  .slide .ip { --w: 250px; }
  .carousel { margin-left: 0; margin-right: 0; }
  .lang-demo { max-width: 760px; gap: 24px; }
  .lang-demo__controls { grid-template-columns: 1fr 1fr; gap: 14px; }
  .lang-demo__sum { grid-column: 1 / -1; text-align: center; font-size: 19px; }
  .lang-demo__view { gap: 24px; }
  .lang-demo__phone .ip { --w: 210px; }
  .lang-demo__phone figcaption { font-size: 16px; }
  .slides { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent); }
  .carousel__nav { display: grid; place-items: center; position: absolute; top: 38%; z-index: 5; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: rgba(20, 20, 20, .92); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
  .carousel__nav--prev { left: 6px; }
  .carousel__nav--next { right: 6px; }
  .lb__nav { display: block; }
  .feats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pricing { margin: 24px auto; padding: 60px 32px; }
  .plan-compare { gap: 16px; }
  .pc { padding: 30px 16px 20px; }
  .sticky { display: none; }
  .footer { padding-bottom: 24px; }
}
/* Few slides: centered. Many: scrolls from the left (margin auto keeps the first slide reachable). */
@media (min-width: 760px) {
  .slide:first-child { margin-left: auto; }
  .slide:last-child { margin-right: auto; }
}
