/* Alleryon Labs — estilo do site institucional (v3, identidade do logo oficial de 27/11/2026).
   Paleta tirada do logo: fundo #010415, ciano #00E3FC, azul elétrico #0A93FF, índigo #0646E6, dobra #03188A.
   Contrastes sobre --bg: --text 17.9:1, --muted 9.4:1, --accent (links) 12.6:1; botão principal: texto
   #02102E sobre o degradê ciano->azul, 5.4:1 no ponto mais escuro. Fonte de títulos: Sora (OFL, local). */
@font-face { font-family: "Sora"; src: url("/assets/fonts/sora-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
:root {
  --bg: #010415;
  --bg-2: #030a24;
  --surface: #071230;
  --surface-2: #0c1a42;
  --line: #13244f;
  --line-2: #1e3470;
  --text: #eaf2ff;
  --muted: #9db0d3;
  --accent: #00e3fc;
  --accent-2: #0a93ff;
  --accent-ink: #02102e;
  --accent-soft: rgba(10, 147, 255, .14);
  --indigo: #0646e6;
  --indigo-soft: rgba(6, 70, 230, .18);
  --ribbon: linear-gradient(120deg, #00e3fc, #0a93ff 55%, #0646e6);
  --ok: #6fd3a3;
  --radius: 20px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --display: "Sora", var(--font);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration-color: rgba(0, 227, 252, .6); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: #fff; text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 .55em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem); font-weight: 650; letter-spacing: -.04em; }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.stack > * + * { margin-top: 1rem; }
.muted { color: var(--muted); }
.small { font-size: .925rem; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 44ch; }
.eyebrow { font-size: .9rem; font-weight: 650; color: var(--accent); margin-bottom: .6rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--accent); color: var(--accent-ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(1, 4, 21, .78); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background-color .25s; }
@supports (backdrop-filter: blur(1px)) { .site-header { backdrop-filter: saturate(140%) blur(14px); } }
.site-header.scrolled, html:not(.js) .site-header { border-bottom-color: rgba(19, 36, 79, .8); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-row { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; white-space: nowrap; color: var(--text); }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.wordmark span { font-weight: 300; }
.mark { width: 36px; height: auto; flex: none; overflow: visible; }
.nav-desktop { margin-left: auto; }
.nav-desktop ul, .nav-mobile ul { list-style: none; display: flex; gap: .2rem; }
.nav-desktop a, .nav-mobile a { position: relative; display: block; padding: .5rem .85rem; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 560; font-size: .96rem; transition: color .2s, background-color .2s; }
.nav-desktop a:hover, .nav-mobile a:hover { color: var(--text); background: var(--surface); }
.nav-desktop a[aria-current="page"], .nav-mobile a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-desktop a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 2px; margin-left: -7px; border-radius: 2px; background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: .5rem; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
.langs { position: relative; }
.langs > summary { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .75rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: .9rem; color: var(--text); min-height: 40px; transition: border-color .2s, background-color .2s; }
.langs > summary:hover, .langs[open] > summary { border-color: var(--line-2); background: var(--surface); }
.globe { width: 16px; height: 16px; border: 1.6px solid currentColor; border-radius: 50%; position: relative; }
.globe::before { content: ""; position: absolute; inset: -1.6px 4px; border: 1.6px solid currentColor; border-radius: 50%; }
.langs ul { list-style: none; position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: .4rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); z-index: 30; }
.langs a { display: block; padding: .55rem .75rem; border-radius: 8px; text-decoration: none; color: var(--muted); }
.langs a:hover { background: var(--surface-2); color: var(--text); }
.langs a[aria-current="true"] { color: var(--text); background: var(--accent-soft); }
.langs a[aria-current="true"]::after { content: " ✓"; color: var(--accent); }
.langs-footer ul { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }
.nav-mobile { display: none; }
.nav-mobile > summary { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; font-weight: 650; font-size: .9rem; min-height: 40px; display: inline-flex; align-items: center; }
.nav-mobile[open] > summary { background: var(--surface); }
.nav-mobile nav { position: absolute; left: 0; right: 0; top: 64px; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: .75rem 16px 1rem; box-shadow: 0 20px 40px rgba(0, 0, 0, .4); }
.nav-mobile nav ul { flex-direction: column; }
.nav-mobile nav a { padding: .8rem 1rem; border-radius: 12px; font-size: 1.05rem; }
@media (prefers-reduced-motion: no-preference) {
  .langs[open] ul, .nav-mobile[open] nav { animation: drop .22s var(--ease) both; }
  @keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .header-tools { margin-left: auto; }
  .nav-mobile { display: block; }
}

/* ---------- botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.25rem; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; border: 1px solid transparent; transition: transform .18s var(--ease), background-color .2s, border-color .2s, box-shadow .2s; }
.btn-lg { min-height: 52px; padding: .8rem 1.45rem; font-size: 1.02rem; }
.btn-primary { background: linear-gradient(120deg, #00e3fc, #0a93ff); color: var(--accent-ink); box-shadow: 0 10px 34px rgba(10, 147, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-primary:hover { color: var(--accent-ink); box-shadow: 0 14px 44px rgba(0, 200, 255, .5), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(0, 227, 252, .55); background: var(--surface); }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s; background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 60%); }
.btn:hover::after { opacity: 1; }
.btn .arrow { transition: transform .2s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-1px); }
  .btn:active { transform: translateY(0) scale(.98); }
  .btn:hover .arrow { transform: translateX(3px); }
}
.play-glyph { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.mail-glyph { width: 18px; height: 13px; border: 2px solid currentColor; border-radius: 3px; position: relative; }
.mail-glyph::after { content: ""; position: absolute; left: 2px; right: 2px; top: -3px; height: 9px; border-bottom: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) scale(.7); }
.link-arrow { font-weight: 650; text-decoration: none; color: var(--accent); white-space: nowrap; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- herói ---------- */
.hero { position: relative; padding: clamp(2rem, 1rem + 3.5vw, 4.5rem) 0 clamp(1.5rem, 1rem + 2vw, 3rem); isolation: isolate; overflow: clip; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(30rem 22rem at var(--lx, 72%) var(--ly, 38%), rgba(0, 170, 255, .16), transparent 70%),
  radial-gradient(52rem 28rem at 4% -12%, rgba(6, 70, 230, .30), transparent 62%),
  radial-gradient(44rem 30rem at 98% 92%, rgba(10, 147, 255, .20), transparent 62%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(60% 60% at 70% 40%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 3vw, 3.5rem); }
.hero-grid > * { min-width: 0; }
.hero-copy h1 { max-width: 17ch; text-wrap: balance; }
.hero-app .hero-copy .app-icon { margin-bottom: 1.1rem; }
.hero-app .hero-copy h1 { margin-bottom: .35em; }
.app-intro { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--muted); max-width: 52ch; }
.app-intro p:first-child { color: var(--text); font-weight: 650; }
.app-intro p:last-child { margin-bottom: 0; }

/* ---------- celulares (composição com telas reais) ---------- */
.showcase { position: relative; display: grid; justify-items: center; padding: 1rem 0 0; }
.showcase-glow { position: absolute; z-index: -1; width: 78%; aspect-ratio: 1; top: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(10, 147, 255, .30), rgba(6, 70, 230, .18) 55%, transparent); filter: blur(10px); }
.device { position: relative; border-radius: 42px; padding: 9px; background: linear-gradient(160deg, #14254f, #050c26 55%); border: 1px solid rgba(0, 227, 252, .22); box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .04); }
.device-screen { position: relative; overflow: hidden; border-radius: 34px; background: #040a20; aspect-ratio: 694 / 1444; }
.device-screen img { width: 100%; height: 100%; object-fit: cover; }
.device-main { width: clamp(220px, 21vw, 290px); z-index: 2; }
.device-back { position: absolute; top: 9%; width: clamp(170px, 15vw, 210px); z-index: 1; opacity: .5; }
.device-back-left { right: calc(50% + clamp(40px, 6vw, 90px)); transform: rotate(-9deg); }
.device-back-right { left: calc(50% + clamp(40px, 6vw, 90px)); transform: rotate(9deg); }
.slides { list-style: none; display: grid; height: 100%; }
.slides > li { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), transform .55s var(--ease), visibility 0s .55s; transform: scale(1.025); }
.slides > li.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease), transform .55s var(--ease); }
.showcase-app { position: absolute; z-index: 3; left: calc(50% - clamp(160px, 15vw, 205px)); bottom: 14%; display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem .45rem .45rem; border-radius: 999px; background: rgba(7, 18, 48, .88); border: 1px solid var(--line-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); font-weight: 700; }
@supports (backdrop-filter: blur(1px)) { .showcase-app { backdrop-filter: blur(10px); } }
.showcase-app .app-icon { width: 40px; height: 40px; box-shadow: none; }
.showcase-caption { margin: 1.1rem 0 0; min-height: 3em; max-width: 34ch; text-align: center; color: var(--muted); font-size: .95rem; }
.showcase-nav, .rail-nav { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: .4rem; }
.nav-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 1.35rem; line-height: 1; cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.nav-btn:hover:not(:disabled) { background: var(--surface-2); border-color: #2a4690; }
.nav-btn:active:not(:disabled) { transform: scale(.94); }
.nav-btn:disabled { opacity: .35; cursor: default; }
.dot { position: relative; width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: #24386e; cursor: pointer; transition: width .25s var(--ease), background-color .25s; }
.dot[aria-current="true"] { width: 26px; background: var(--accent); }
.dot::before { content: ""; position: absolute; inset: -10px -4px; }    /* área de toque maior */
@media (prefers-reduced-motion: no-preference) {
  .reveal .device-main { animation: float-in .9s var(--ease) both .15s; }
  .reveal .device-back-left { animation: tilt-left 1s var(--ease) both .3s; }
  .reveal .device-back-right { animation: tilt-right 1s var(--ease) both .3s; }
  .reveal .showcase-app { animation: rise .8s var(--ease) both .6s; }
  @keyframes float-in { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes tilt-left { from { opacity: 0; transform: rotate(0) translateX(40px); } to { opacity: .5; transform: rotate(-9deg); } }
  @keyframes tilt-right { from { opacity: 0; transform: rotate(0) translateX(-40px); } to { opacity: .5; transform: rotate(9deg); } }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 18ch; }
  .device-main { width: min(230px, 58vw); }
  .device-back { width: min(165px, 40vw); top: 12%; }
  .device-back-left { right: calc(50% + 46px); }
  .device-back-right { left: calc(50% + 46px); }
  .showcase-app { left: 4px; bottom: 16%; padding-right: .75rem; font-size: .92rem; }
  .showcase-app .app-icon { width: 34px; height: 34px; }
}

/* ---------- produto ---------- */
.product { position: relative; padding: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); background: linear-gradient(180deg, transparent, rgba(7, 18, 48, .55) 30%, rgba(7, 18, 48, .55) 70%, transparent); }
.product-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1.2rem 1.5rem; margin-bottom: 1.6rem; }
.product-head .app-icon { width: 72px; height: 72px; }
.product-id h2 { margin: 0 0 .2rem; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.product-id .eyebrow { margin-bottom: .35rem; }
.product-id p:last-child { margin: 0; }
.product-actions { margin-top: 0; }
@media (max-width: 760px) {
  .product-head { grid-template-columns: auto minmax(0, 1fr); }
  .product-actions { grid-column: 1 / -1; }
}
.app-icon { border-radius: 22%; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); flex: none; }

/* trilhos (recursos com telas reais e galeria de capturas) */
.rail { position: relative; }
.rail-track { list-style: none; display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(16px, calc((100vw - var(--wrap)) / 2)); padding: .5rem max(16px, calc((100vw - var(--wrap)) / 2)) 1.1rem; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.rail-track:focus-visible { outline-offset: -3px; }
.rail-card { flex: none; width: 220px; scroll-snap-align: start; }
.rail-card p { margin: .9rem .2rem 0; font-size: .95rem; color: var(--muted); }
.device-mini { width: 100%; border-radius: 30px; padding: 7px; }
.device-mini .device-screen { border-radius: 24px; }
.rail-card .device-mini { transition: transform .3s var(--ease), border-color .3s; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .rail-card:hover .device-mini { transform: translateY(-6px); border-color: rgba(10, 147, 255, .55); }
}
.rail-nav { justify-content: flex-end; width: min(100% - 32px, var(--wrap)); margin: .2rem auto 0; }
.rail-gallery .rail-nav { justify-content: center; }
.gallery-item { flex: none; width: clamp(210px, 66vw, 280px); scroll-snap-align: center; }
.gallery-item img { border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }

/* futuros aplicativos e ajuda */
.future { display: flex; align-items: center; gap: 1.4rem; padding: 1.25rem 1.5rem; border: 1px dashed var(--line-2); border-radius: var(--radius); background: rgba(255, 255, 255, .015); }
.future h2 { font-size: 1.15rem; margin-bottom: .25rem; }
.future p { margin: 0; }
.future-icons { display: flex; gap: .5rem; flex: none; }
.future-icons span { width: 44px; height: 44px; border-radius: 12px; border: 1.5px dashed #24386e; }
.future-icons span:nth-child(2) { opacity: .65; }
.future-icons span:nth-child(3) { opacity: .35; }
@media (max-width: 560px) { .future { flex-direction: column; align-items: flex-start; } }
.help-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.5rem; padding: 1.1rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.help-line p { margin: 0; }

/* página de aplicativos */
.app-spot { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); align-items: center; padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(10, 147, 255, .10), var(--bg-2) 45%, rgba(6, 70, 230, .10)); }
.app-spot-visual { display: grid; place-items: center; padding: 1rem 0; }
.app-spot-visual .device-mini { width: min(200px, 56vw); transform: rotate(-4deg); }
.app-spot-info .feature-head { margin-bottom: .9rem; }
@media (max-width: 760px) { .app-spot { grid-template-columns: 1fr; } }
.feature-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.feature-head h2 { margin: 0 0 .25rem; }
.feature-head h2 a { text-decoration: none; }
.feature-head p { margin: 0; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips li { padding: .38rem .8rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .76rem; font-weight: 700; letter-spacing: .03em; padding: .15rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag-ok { color: var(--ok); border-color: rgba(111, 211, 163, .35); background: rgba(111, 211, 163, .08); }

/* ---------- seções e cartões ---------- */
.section { padding: clamp(1.75rem, 1.25rem + 2vw, 3.5rem) 0; }
.section-tight { padding-top: .5rem; }
.page-head { padding: clamp(2.25rem, 1.5rem + 3vw, 4.25rem) 0 .75rem; }
.page-head .lead { max-width: 60ch; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.two-col > * { min-width: 0; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.panel { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.panel + .panel { margin-top: 1.25rem; }
.two-col .panel + .panel { margin-top: 0; }
.panel + p { margin-top: 1.25rem; }
.panel-accent { border-color: rgba(10, 147, 255, .45); background: linear-gradient(180deg, rgba(10, 147, 255, .10), var(--bg-2)); }
.cta-band { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: linear-gradient(90deg, rgba(10, 147, 255, .12), var(--surface)); border: 1px solid var(--line); }
.cta-band p { margin: 0; flex: 1 1 260px; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .75rem; }
.feature-list li { padding: 1rem 1.1rem 1rem 3rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 1.1rem; top: 1.3rem; width: 14px; height: 12px; background: var(--ribbon); clip-path: polygon(50% 0, 100% 100%, 72% 100%, 50% 52%, 28% 100%, 0 100%); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item > summary { padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 650; position: relative; transition: color .2s; }
.faq-item > summary:hover { color: #fff; }
.faq-item > summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font-size: 1.5rem; color: var(--accent); font-weight: 400; transition: transform .25s var(--ease); }
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding-bottom: 1rem; margin: 0; }
.doc-list { list-style: none; display: grid; gap: .5rem; }
.doc-list li { display: flex; flex-wrap: wrap; gap: .25rem .75rem; align-items: baseline; }
.doc-list a { font-weight: 650; }
.check-list { padding-left: 1.2rem; display: grid; gap: .35rem; margin-bottom: 1rem; }
.notice { border-left: 3px solid var(--accent); padding: .6rem .9rem; background: var(--accent-soft); border-radius: 0 10px 10px 0; margin: 0; }

/* ---------- documentos ---------- */
.doc-wrap { padding: clamp(2.25rem, 1.5rem + 3vw, 4.25rem) 0; }
.doc-badge { display: inline-block; font-size: .85rem; font-weight: 650; color: var(--indigo); background: var(--indigo-soft); border: 1px solid rgba(6, 70, 230, .35); border-radius: 999px; padding: .25rem .75rem; margin-bottom: 1.25rem; }
.doc { overflow-wrap: anywhere; }
.doc h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2.2rem; }
.doc .hero { padding: 0; isolation: auto; overflow: visible; }
.doc .hero::before, .doc .hero::after { content: none; }
.doc .meta, .doc .note { color: var(--muted); }
.doc section { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.doc ul { padding-left: 1.3rem; margin: 0 0 1em; display: grid; gap: .35rem; }
.doc code { font-size: .92em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .05em .35em; }

/* ---------- rodapé ---------- */
.site-footer { margin-top: clamp(1.5rem, 1rem + 3vw, 4rem); border-top: 1px solid var(--line); background: var(--bg-2); padding: 2.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-title { font-family: var(--font); font-size: .95rem; font-weight: 650; letter-spacing: 0; color: var(--text); margin-bottom: .75rem; }
.footer-links { list-style: none; display: grid; gap: .4rem; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- 404 / raiz ---------- */
.nf { padding: 4rem 0; }
.nf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin-top: 2rem; }
.nf-block { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.nf-block h2 { font-size: 1.15rem; }
.root-langs { margin-top: 2rem; }

/* ---------- movimento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .7s var(--ease) both; }
  .reveal + .reveal { animation-delay: .1s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .js [data-reveal].pre { opacity: 0; transform: translateY(18px); }
  .js [data-reveal].pre.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .rail-track .rail-card.pre.in:nth-child(2) { transition-delay: .06s; }
  .rail-track .rail-card.pre.in:nth-child(3) { transition-delay: .12s; }
  .rail-track .rail-card.pre.in:nth-child(4) { transition-delay: .18s; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print { .js [data-reveal].pre { opacity: 1 !important; transform: none !important; } }
@media (forced-colors: active) { .btn, .langs > summary, .nav-mobile > summary, .nav-btn { border: 1px solid CanvasText; } }

/* ---------- v3: identidade do logo (arcos, luz, inclinação, dobra do símbolo) ---------- */
.hero-arcs { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.arc { position: absolute; width: clamp(420px, 62vmax, 980px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 75deg, rgba(6, 70, 230, 0) 0deg, #0646e6 22deg, #0a93ff 50deg, #00e3fc 78deg, #0a93ff 104deg, rgba(6, 70, 230, 0) 135deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px), #000 100%, transparent 100%);
          mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px), #000 100%, transparent 100%);
  filter: drop-shadow(0 0 14px rgba(0, 190, 255, .55)); opacity: .9;
  transform: translate3d(calc(var(--px, 0) * var(--depth)), calc(var(--py, 0) * var(--depth)), 0); transition: transform .5s var(--ease); }
.arc-a { --depth: -18px; left: calc(clamp(420px, 62vmax, 980px) * -.62); top: calc(clamp(420px, 62vmax, 980px) * -.70); }
.arc-b { --depth: 14px; right: calc(clamp(420px, 62vmax, 980px) * -.66); bottom: calc(clamp(420px, 62vmax, 980px) * -.74);
  background: conic-gradient(from 255deg, rgba(6, 70, 230, 0) 0deg, #0646e6 22deg, #0a93ff 50deg, #00e3fc 78deg, #0a93ff 104deg, rgba(6, 70, 230, 0) 135deg); }
.hero-app .arc-b { bottom: calc(clamp(420px, 62vmax, 980px) * -.80); }
.showcase-stage { position: relative; display: grid; justify-items: center; width: 100%; transform-style: preserve-3d;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--ease); }
.showcase-glow { background: radial-gradient(closest-side, rgba(0, 200, 255, .30), rgba(6, 70, 230, .22) 55%, transparent); }
.dot[aria-current="true"] { background: var(--ribbon); }
.rail-card .device-mini { border-color: var(--line-2); }
.product { background: linear-gradient(180deg, transparent, rgba(7, 18, 48, .7) 30%, rgba(7, 18, 48, .7) 70%, transparent); }
.app-spot { background: linear-gradient(135deg, rgba(0, 227, 252, .10), var(--bg-2) 45%, rgba(6, 70, 230, .16)); }
.panel-accent { border-color: rgba(0, 227, 252, .45); background: linear-gradient(180deg, rgba(10, 147, 255, .12), var(--bg-2)); }
.cta-band { background: linear-gradient(90deg, rgba(0, 227, 252, .12), var(--surface)); }
.site-footer { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.skip { background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  /* o único momento orquestrado: a dobra do "A" se encaixa ao abrir a página */
  .js .site-header .mark .am-d { animation: fold .9s var(--ease) both .15s; transform-box: fill-box; transform-origin: 20% 100%; }
  @keyframes fold { from { opacity: 0; transform: translate(-14%, 10%) scaleY(.6); } to { opacity: 1; transform: none; } }
  .js .hero-arcs .arc { animation: arc-in 1.4s var(--ease) both; }
  .js .hero-arcs .arc-b { animation-delay: .15s; }
  @keyframes arc-in { from { opacity: 0; } to { opacity: .9; } }
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .showcase-stage { transform: none !important; }
  .arc { transform: none !important; }
}
@media (max-width: 860px) {
  /* no celular fica só o arco de baixo, para não cruzar o texto */
  .arc-a { display: none; }
  .arc-b { right: calc(clamp(420px, 62vmax, 980px) * -.72); bottom: calc(clamp(420px, 62vmax, 980px) * -.62); }
}
