/* ==========================================================================
   TáOnde — landing page
   Night palette taken from the app (indigo #6d5efc), not the hagiosTech purple.
   Movement colors match the app scale: cyan (quiet) → amber → rose (packed).
   ========================================================================== */

:root {
    --bg: #07060f;
    --bg-2: #0c0a16;
    --bg-3: #110e1e;
    --surface: rgba(255, 255, 255, 0.038);
    --surface-2: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.09);
    --line-2: rgba(255, 255, 255, 0.16);

    --text: #f7f6fb;
    --muted: #b3adc2;
    --faint: #857f95;

    --indigo: #6d5efc;
    --indigo-2: #9b8dff;
    --rose: #ff4d6d;
    --amber: #ffcb5c;
    --cyan: #3ee0ff;
    --grey: #8d94a8;

    --font: "Manrope", system-ui, -apple-system, sans-serif;
    --display: "Sora", system-ui, sans-serif;

    --max: 1200px;
    --gutter: clamp(18px, 4.5vw, 40px);
    --radius: 24px;
    --radius-sm: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3 {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.032em;
    line-height: 1.06;
}

h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
    font-size: 1.22rem;
    letter-spacing: -0.02em;
}

.skip {
    position: absolute;
    left: -9999px;
}

.skip:focus {
    left: 16px;
    top: 16px;
    z-index: 99;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--indigo);
}

.wrap {
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin-inline: auto;
}

/* Header ----------------------------------------------------------------- */

.top {
    position: sticky;
    top: 12px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 36px);
    width: min(var(--max), calc(100% - var(--gutter) * 2));
    margin: 12px auto 0;
    padding: 9px 10px 9px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(9, 8, 18, 0.72);
    backdrop-filter: blur(20px) saturate(140%);
}

.brand img {
    height: 30px;
    width: auto;
    mix-blend-mode: screen;
}

.top-nav {
    display: flex;
    gap: 26px;
    margin-left: auto;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--muted);
}

.top-nav a {
    position: relative;
    padding-block: 4px;
    transition: color 0.2s var(--ease);
}

.top-nav a:hover {
    color: var(--text);
}

/* Buttons ---------------------------------------------------------------- */

.btn,
.btn-ghost,
.link-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.btn {
    min-height: 50px;
    padding: 0 24px;
    border-radius: 999px;
    background: linear-gradient(180deg, #8879ff, #5b49f2);
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 14px 34px rgba(91, 73, 242, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 44px rgba(91, 73, 242, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn--sm {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.92rem;
}

.btn--lg {
    min-height: 58px;
    padding: 0 32px;
    font-size: 1.06rem;
}

.btn--block {
    width: 100%;
}

.btn-ghost {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.95rem;
}

.link-arrow {
    min-height: 50px;
    color: var(--text);
    font-size: 1rem;
}

.link-arrow::after {
    content: "→";
    color: var(--indigo-2);
    transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* Eyebrow / shared ------------------------------------------------------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--indigo-2);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.eyebrow .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--rose);
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.18);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 9px rgba(255, 77, 109, 0);
    }
}

.section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.section-lead {
    max-width: 46rem;
    margin-top: 16px;
    color: var(--muted);
    font-size: clamp(1.02rem, 1.6vw, 1.16rem);
}

h2 + .section-lead {
    margin-top: 18px;
}

.eyebrow + h2 {
    margin-top: 16px;
}

.note {
    margin-top: 26px;
    color: var(--faint);
    font-size: 0.96rem;
}

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(92vh, 880px);
    padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(112%) contrast(104%);
}

.hero-veil {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1000px 620px at 78% 8%, rgba(109, 94, 252, 0.34), transparent 62%),
        radial-gradient(760px 520px at 8% 78%, rgba(255, 77, 109, 0.18), transparent 60%),
        linear-gradient(180deg, rgba(7, 6, 15, 0.82) 0%, rgba(7, 6, 15, 0.7) 42%, var(--bg) 96%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

h1 {
    margin-top: 20px;
    font-size: clamp(2.7rem, 5.6vw, 4.5rem);
    line-height: 1;
}

h1 span {
    background: linear-gradient(100deg, #b9afff 8%, #6d5efc 52%, #ff6f88 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lead {
    max-width: 34rem;
    margin-top: 22px;
    color: #cfc9dc;
    font-size: clamp(1.06rem, 1.8vw, 1.28rem);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 22px;
    margin-top: 32px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-top: 40px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.hero-stats dt {
    color: var(--faint);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-stats dd {
    margin-top: 4px;
    font-family: var(--display);
    font-size: 1.02rem;
}

/* Device mockup ---------------------------------------------------------- */

.hero-app {
    display: flex;
    justify-content: flex-end;
}

.device {
    position: relative;
    width: min(360px, 100%);
    padding: 12px;
    border: 1px solid var(--line-2);
    border-radius: 42px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    box-shadow: 0 50px 110px rgba(0, 0, 0, 0.6);
}

.device-glow {
    position: absolute;
    inset: -30% -18% 40%;
    z-index: -1;
    background: radial-gradient(closest-side, rgba(109, 94, 252, 0.5), transparent);
    filter: blur(28px);
}

.screen {
    padding: 22px 16px 18px;
    border-radius: 32px;
    background: linear-gradient(180deg, #14111f 0%, #0a0813 100%);
}

.screen-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-inline: 4px;
    color: var(--faint);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--rose);
}

.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: blink 1.8s steps(2, end) infinite;
}

@keyframes blink {
    50% {
        opacity: 0.25;
    }
}

.venues {
    display: grid;
    gap: 9px;
}

.venue {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.venue strong {
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.venue small {
    display: block;
    margin-top: 2px;
    color: var(--faint);
    font-size: 0.82rem;
}

.people {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.gauge {
    text-align: right;
}

.gauge b {
    display: block;
    font-family: var(--display);
    font-size: 1.62rem;
    font-weight: 600;
    line-height: 1;
}

.gauge em {
    font-size: 0.74rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.venue--hot {
    border-color: rgba(255, 77, 109, 0.3);
    background: linear-gradient(100deg, rgba(255, 77, 109, 0.16), rgba(255, 77, 109, 0.05));
}

.venue--hot .gauge b,
.venue--hot .gauge em {
    color: var(--rose);
}

.venue--warm .gauge b,
.venue--warm .gauge em {
    color: var(--amber);
}

.venue--warm {
    border-color: rgba(255, 203, 92, 0.22);
}

.venue--calm .gauge b,
.venue--calm .gauge em {
    color: var(--cyan);
}

.friends {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(109, 94, 252, 0.14);
    color: #ded9ef;
    font-size: 0.88rem;
    font-weight: 600;
}

.avatars {
    display: flex;
}

.avatars i {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border: 2px solid #100d1c;
    border-radius: 50%;
    background: linear-gradient(160deg, #8879ff, #5b49f2);
    color: #fff;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 800;
}

.avatars i + i {
    margin-left: -9px;
}

/* Band ------------------------------------------------------------------- */

.band {
    border-block: 1px solid var(--line);
    background: var(--bg-2);
}

.band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 32px;
    padding: 26px 0;
}

.band-grid p {
    font-family: var(--display);
    font-size: clamp(1rem, 1.7vw, 1.22rem);
    color: var(--muted);
}

.band-grid p::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-right: 12px;
    vertical-align: middle;
    background: var(--indigo);
}

/* Movement scale --------------------------------------------------------- */

.levels {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 44px;
}

.lv {
    padding: 20px 18px 22px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.lv-bar {
    display: block;
    height: 4px;
    margin-bottom: 18px;
    border-radius: 99px;
    background: currentColor;
}

.lv b {
    font-family: var(--display);
    font-size: 1.06rem;
    font-weight: 600;
}

.lv span:last-child {
    display: block;
    margin-top: 6px;
    color: var(--faint);
    font-size: 0.9rem;
}

.lv--0 { color: var(--grey); }
.lv--1 { color: var(--cyan); }
.lv--2 { color: var(--amber); }
.lv--3 { color: #ff8fa3; }
.lv--4 {
    color: var(--rose);
    border-color: rgba(255, 77, 109, 0.32);
    background: linear-gradient(180deg, rgba(255, 77, 109, 0.14), rgba(255, 255, 255, 0.03));
}

.lv b,
.lv span:last-child {
    color: var(--text);
}

.lv span:last-child {
    color: var(--faint);
}

/* Duo sections ----------------------------------------------------------- */

.duo {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: clamp(32px, 5vw, 76px);
    align-items: center;
}

.duo--rev .duo-copy {
    order: 2;
}

.duo-copy p {
    max-width: 34rem;
    margin-top: 18px;
    color: var(--muted);
}

.duo-copy .btn {
    margin-top: 30px;
}

.section--split {
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
}

.section--dark {
    border-block: 1px solid var(--line);
    background:
        radial-gradient(700px 400px at 85% 15%, rgba(109, 94, 252, 0.16), transparent 62%),
        var(--bg-2);
}

.checks {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.checks li {
    position: relative;
    padding-left: 30px;
    color: var(--muted);
}

.checks li::before {
    content: "";
    position: absolute;
    top: 0.58em;
    left: 0;
    width: 15px;
    height: 8px;
    border-left: 2px solid var(--indigo-2);
    border-bottom: 2px solid var(--indigo-2);
    transform: rotate(-45deg);
}

/* Bora card -------------------------------------------------------------- */

.bora-card {
    padding: 24px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background:
        radial-gradient(420px 200px at 100% 0%, rgba(255, 77, 109, 0.2), transparent 64%),
        linear-gradient(170deg, #1c1733, #0d0b17 70%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.5);
}

.bora-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tag {
    padding: 5px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gauge--pill {
    display: flex;
    align-items: baseline;
    gap: 7px;
    text-align: left;
}

.gauge--pill b {
    display: inline;
    font-size: 1.3rem;
    color: var(--rose);
}

.gauge--pill em {
    color: var(--rose);
}

.bora-card h3 {
    margin-top: 20px;
    font-size: 1.9rem;
}

.bora-meta {
    margin-top: 6px;
    color: var(--faint);
    font-size: 0.94rem;
}

.bora-why {
    margin-top: 18px;
    padding: 16px 18px;
    border-left: 2px solid var(--indigo);
    border-radius: 0 14px 14px 0;
    background: rgba(109, 94, 252, 0.12);
    color: #e2ddf2;
    font-size: 1rem;
}

.bora-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 22px;
}

.rides {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.rides span {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Feature grid ----------------------------------------------------------- */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 44px;
}

.grid--3 {
    margin-top: 40px;
}

.f {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.f:hover {
    transform: translateY(-3px);
    border-color: var(--line-2);
    background: var(--surface-2);
}

.f p {
    margin-top: 12px;
    color: var(--muted);
    font-size: 1rem;
}

.ico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(109, 94, 252, 0.14);
    color: var(--indigo-2);
}

.ico svg {
    width: 21px;
    height: 21px;
}

.f--wide .ico {
    background: rgba(109, 94, 252, 0.22);
}

/* Reveal on scroll ------------------------------------------------------- */

.js-reveal .reveal {
    opacity: 0;
    transform: translateY(16px);
}

.js-reveal .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease) var(--i, 0s), transform 0.6s var(--ease) var(--i, 0s);
}

.f--wide {
    grid-column: span 2;
    background:
        radial-gradient(520px 260px at 100% 0%, rgba(109, 94, 252, 0.18), transparent 66%),
        var(--surface);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.tags li {
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--faint);
    font-size: 0.82rem;
    font-weight: 600;
}

/* Partner panel ---------------------------------------------------------- */

.panel {
    padding: 22px;
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    background: linear-gradient(170deg, #17142a, #0b0913 76%);
    box-shadow: 0 34px 80px rgba(0, 0, 0, 0.45);
}

.panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--faint);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.badge {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(62, 224, 255, 0.14);
    color: var(--cyan);
    letter-spacing: 0.04em;
}

.kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 18px;
}

.kpis div {
    padding: 16px 14px;
    border-radius: 16px;
    background: var(--surface);
}

.kpis b {
    display: block;
    font-family: var(--display);
    font-size: 1.7rem;
    font-weight: 600;
    line-height: 1;
}

.kpis span {
    display: block;
    margin-top: 8px;
    color: var(--faint);
    font-size: 0.8rem;
}

.kpis div:first-child b {
    color: var(--rose);
}

.panel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 10px;
    padding: 15px 16px;
    border-radius: 16px;
    background: var(--surface);
    font-size: 0.95rem;
    font-weight: 600;
}

.code {
    font-family: var(--display);
    font-size: 1.02rem;
    letter-spacing: 0.22em;
    color: var(--indigo-2);
}

.muted {
    color: var(--faint);
    font-weight: 600;
}

/* Final CTA + footer ----------------------------------------------------- */

.final {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid var(--line-2);
    border-radius: 32px;
    background:
        radial-gradient(640px 260px at 96% 0%, rgba(255, 77, 109, 0.26), transparent 62%),
        linear-gradient(135deg, #2a2059, #100e1c 58%);
}

.final p {
    max-width: 38rem;
    margin-top: 14px;
    color: var(--muted);
}

.foot {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
}

.foot-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
    padding: 36px 0 44px;
}

.foot img {
    height: 26px;
    width: auto;
    mix-blend-mode: screen;
}

.foot p {
    margin-top: 10px;
    color: var(--faint);
    font-size: 0.92rem;
}

.foot nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    color: var(--muted);
    font-size: 0.94rem;
}

.foot nav a:hover {
    color: var(--text);
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
    .top-nav {
        gap: 20px;
        font-size: 0.9rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .f--wide {
        grid-column: span 2;
    }

    .levels {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-inner,
    .duo {
        grid-template-columns: 1fr;
    }

    .duo--rev .duo-copy {
        order: 0;
    }

    .hero {
        min-height: 0;
    }

    .hero-app {
        justify-content: center;
    }

    .top-nav {
        display: none;
    }

    .btn--sm {
        margin-left: auto;
    }

    .band-grid {
        grid-template-columns: 1fr;
    }

    .final {
        flex-direction: column;
        align-items: start;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 1rem;
    }

    .top {
        top: 8px;
        padding: 8px 8px 8px 14px;
    }

    .brand img {
        height: 24px;
    }

    .grid,
    .grid--3,
    .levels {
        grid-template-columns: 1fr;
    }

    .f--wide {
        grid-column: auto;
    }

    .f {
        padding: 22px;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stats div {
        min-width: 42%;
    }

    .kpis {
        grid-template-columns: 1fr;
    }

    .cta-row .btn {
        width: 100%;
    }

    /* No celular, foto em vez de vídeo: economiza dados do usuário. */
    .hero-media video {
        display: none;
    }

    .hero-media {
        background: url("/taonde/night.png") center / cover no-repeat;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .hero-media video {
        display: none;
    }

    .hero-media {
        background: url("/taonde/night.png") center / cover no-repeat;
    }
}
