/* =========================================================
   Atirai — site institucional
   ========================================================= */

/* Tema escuro (padrão). Também vale dentro de .scope-dark, usado nas
   áreas sobre vídeo (hero, "Como funciona" e o cabeçalho sobre o hero),
   que continuam escuras no tema claro. */
:root,
.scope-dark,
body:not(.menu-open) .site-header:not(.is-scrolled) {
    color-scheme: dark;
    --bg: #0c0f0d;
    --bg-2: #121613;
    --surface: #171c18;
    --surface-2: #1e241f;
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.18);
    --text: #f3f2ec;
    --text-muted: #a7aca5;
    --text-soft: #d0d3cb;
    --text-dim: #7c827b;
    --accent: #bfc3bc;          /* cinza claro */
    --accent-hover: #dcdfd9;
    --accent-ink: #0c0f0d;
    --accent-soft: rgba(191, 195, 188, 0.14);
    --field: #8fc15a;           /* verde da pista */
    --danger: #ff8a7a;
    --chip: rgba(255, 255, 255, 0.06);
    --chip-hover: rgba(255, 255, 255, 0.12);
    --header-bg: rgba(12, 15, 13, 0.82);
    --inset: rgba(12, 15, 13, 0.55);
    --inset-hover: rgba(12, 15, 13, 0.8);
    --store-hover: #ffffff;
    --logo-filter: none;        /* logos claros (static/media/logo-*-claro.png) */
}

/* Tema claro */
:root[data-theme="light"] {
    color-scheme: light;
    --bg: #f4f3ee;
    --bg-2: #eae9e3;
    --surface: #ffffff;
    --surface-2: #f0efe9;
    --line: rgba(12, 15, 13, 0.09);
    --line-strong: rgba(12, 15, 13, 0.16);
    --text: #121613;
    --text-muted: #555b54;
    --text-soft: #3b403a;
    --text-dim: #7a8079;
    --accent: #4a4f49;          /* cinza escuro */
    --accent-hover: #2d312c;
    --accent-ink: #f4f3ee;
    --accent-soft: rgba(74, 79, 73, 0.1);
    --field: #5a8a2c;
    --danger: #b3321f;
    --chip: rgba(12, 15, 13, 0.05);
    --chip-hover: rgba(12, 15, 13, 0.09);
    --header-bg: rgba(244, 243, 238, 0.86);
    --inset: rgba(255, 255, 255, 0.75);
    --inset-hover: #ffffff;
    --store-hover: #000000;
    --logo-filter: invert(1);   /* deixa os logos claros pretos */
}

.scope-dark,
body:not(.menu-open) .site-header:not(.is-scrolled) { color: var(--text); }

/* Fundo alternado da página (fica fixo mesmo dentro de .scope-dark), usado no degradê do fim da abertura */
:root { --page-bg-2: #121613; }
:root[data-theme="light"] { --page-bg-2: #eae9e3; }

:root {
    --font-display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 18px;
    --radius-sm: 12px;
    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(72px, 11vw, 140px);
    --header-h: 72px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

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

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
figure { margin: 0; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

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

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Botões ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
    min-height: 52px; padding: 0 26px;
    border: 1px solid transparent; border-radius: 999px;
    font: 600 1rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: var(--chip); border-color: var(--line-strong); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: var(--chip-hover); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }

.link {
    display: inline-flex; align-items: center; gap: .45em;
    color: var(--accent); font-weight: 600; text-decoration: none;
}
.link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }

/* ---------- Cabeçalho ---------- */

.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
    transition: background-color .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.menu-open .site-header {
    background: var(--header-bg);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom-color: var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img,
.download-logo,
.footer-brand img { filter: var(--logo-filter); }
.brand img:first-child { width: 40px; height: 40px; }
.brand-word { width: 96px; height: auto; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a,
.nav-access a { color: var(--text-muted); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; transition: color .2s; }
.nav-links a:hover,
.nav-access a:hover,
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-access { display: flex; align-items: center; gap: 16px; padding-left: 24px; border-left: 1px solid var(--line-strong); }
.nav-label { display: none; }

.nav-toggle {
    display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: var(--chip); border: 1px solid var(--line-strong); border-radius: 12px;
    color: var(--text); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }

.theme-toggle {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    width: 40px; height: 40px; padding: 0;
    background: var(--chip); border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--text); cursor: pointer;
    transition: background-color .2s, border-color .2s;
}
.theme-toggle:hover { background: var(--chip-hover); }
.theme-toggle .icon { width: 18px; height: 18px; }
.theme-toggle .theme-label { display: none; }
/* Mostra o ícone do tema para o qual o botão vai trocar */
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

@media (max-width: 1280px) {
    .nav-access { padding-left: 0; border-left: 0; }
    .nav-access > a { display: none; }
}

@media (max-width: 1024px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 12px var(--gutter) 32px;
        background: var(--bg);
        overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
    }
    .menu-open { overflow: hidden; }
    /* backdrop-filter criaria um bloco de contenção e prenderia o painel fixo dentro do header */
    .menu-open .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
    .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease); }
    .nav-links { flex-direction: column; gap: 0; }
    .nav-links a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font: 700 1.75rem/1.1 var(--font-display); color: var(--text); text-transform: uppercase; }
    .nav-access { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 0; border: 0; }
    .nav-label { display: block; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; }
    .nav-access a { padding: 8px 0; font-size: 1.05rem; }
    .nav-access > a { display: block; }
    .theme-toggle { width: auto; height: 44px; margin-top: 14px; padding: 0 18px; font: 500 .95rem/1 var(--font-body); }
    .theme-toggle .theme-label { display: inline; }
    .nav .btn { min-height: 52px; margin-top: 8px; }
}

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

.hero {
    position: relative; isolation: isolate;
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding-top: calc(var(--header-h) + 40px);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(12, 15, 13, 0.92) 0%, rgba(12, 15, 13, 0.62) 45%, rgba(12, 15, 13, 0.15) 100%),
        linear-gradient(0deg, var(--bg) 0%, rgba(12, 15, 13, 0) 40%),
        linear-gradient(180deg, rgba(12, 15, 13, 0.6) 0%, rgba(12, 15, 13, 0) 22%);
}
.hero-content { padding-bottom: clamp(40px, 7vw, 72px); }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px; margin-bottom: 24px;
    border: 1px solid var(--line-strong); border-radius: 999px;
    background: rgba(12, 15, 13, 0.45); backdrop-filter: blur(8px);
    font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.hero h1 {
    font-size: clamp(2.9rem, 6vw, 5.75rem);
    font-weight: 800; text-transform: uppercase; line-height: .92;
}
.accent { color: var(--accent); }
.lead { max-width: 560px; margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d6d8d1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-stores { margin-top: 28px; }
.hero-stores-label { margin-bottom: 12px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }
.hero-stores-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero-stores-badges a { display: block; border-radius: 10px; transition: transform .2s var(--ease), opacity .2s; }
.hero-stores-badges a:hover { transform: translateY(-2px); }
.hero-stores-badges img { height: 52px; width: auto; }

.hero-points {
    display: grid; grid-template-columns: repeat(3, 1fr);
    list-style: none; margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 40px;
}
.hero-points li {
    display: flex; align-items: center; gap: 14px;
    padding: 22px 24px 0 0; border-top: 1px solid var(--line-strong);
}
.hero-points li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero-points .icon { width: 28px; height: 28px; color: var(--accent); }
.hero-points span { display: flex; flex-direction: column; font-size: .9rem; color: var(--text-muted); line-height: 1.4; }
.hero-points strong { color: var(--text); font-weight: 600; font-size: 1rem; }

@media (max-width: 760px) {
    .hero-points { grid-template-columns: 1fr; padding-bottom: 28px; }
    .hero-points li { padding: 14px 0; }
    .hero-points li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-shade {
        background:
            linear-gradient(0deg, var(--bg) 8%, rgba(12, 15, 13, 0.78) 55%, rgba(12, 15, 13, 0.45) 100%);
    }
}

/* ---------- Seções ---------- */

.section { position: relative; padding-block: var(--section-y); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head.split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.kicker {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
    font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section h2 { font-size: clamp(2.4rem, 5.4vw, 4.25rem); text-transform: uppercase; }
.section-intro { margin-top: 20px; font-size: 1.1rem; color: var(--text-muted); max-width: 620px; }
.section-head.split .section-intro { margin-top: 0; }

@media (max-width: 860px) {
    .section-head.split { grid-template-columns: 1fr; }
}

/* ---------- Plataforma ---------- */

.features { display: grid; gap: clamp(20px, 3vw, 32px); }

.feature {
    display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
}
.feature-alt { grid-template-columns: 1fr 1.15fr; }
.feature-alt .feature-media { order: 2; }

.feature-media { position: relative; min-height: 320px; overflow: hidden; background: var(--bg-2); }
.feature-media img,
.feature-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature-media img,
.feature:hover .feature-media video { transform: scale(1.03); }
/* Telas do app alternando na mão */
.app-rotator img { opacity: 0; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.app-rotator img.is-active { opacity: 1; }

.feature-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 4.5vw, 56px); }
.feature-tag {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
    font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.feature-tag .icon { width: 16px; height: 16px; }
.feature h3 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); text-transform: uppercase; }
.feature p { color: var(--text-muted); font-size: 1.05rem; }
.feature .link { margin-top: 8px; }

.live-badge {
    position: absolute; top: 18px; left: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: rgba(12, 15, 13, 0.7); backdrop-filter: blur(8px); color: #f3f2ec;
    font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.live-badge .dot { width: 7px; height: 7px; animation: pulse 1.6s ease-in-out infinite; }

@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(191, 195, 188, 0); opacity: .7; } }

@media (max-width: 860px) {
    .feature,
    .feature-alt { grid-template-columns: 1fr; }
    .feature-alt .feature-media { order: 0; }
    .feature-media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* ---------- Como funciona ---------- */

.steps-section { isolation: isolate; overflow: hidden; background: var(--bg-2); }
.steps-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.steps-shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(12, 15, 13, 0.72) 22%, rgba(12, 15, 13, 0.72) 78%, var(--bg) 100%);
}

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.step {
    position: relative; padding: 32px 28px 36px;
    background: rgba(18, 22, 19, 0.72); border: 1px solid var(--line-strong); border-radius: var(--radius);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.step-num {
    display: block; margin-bottom: 40px;
    font: 800 3.5rem/1 var(--font-display); color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
}
.step h3 { font-size: 1.75rem; text-transform: uppercase; margin-bottom: 10px; }
.step p { color: var(--text-muted); }

@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; }
    .step-num { margin-bottom: 20px; font-size: 2.75rem; }
}

/* ---------- Na pista ---------- */

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 280px); gap: 16px; }
.g-item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: var(--surface); }
.g-item img,
.g-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img,
.g-item:hover video { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-screen { background: #131417; border: 1px solid var(--line); }
.g-screen img { object-position: left center; }
.gallery .g-item:first-child { grid-row: span 2; }

@media (max-width: 860px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; gap: 10px; }
    .gallery .g-item:first-child { grid-row: span 1; }
    .g-wide { grid-column: span 2; }
    .g-wide:last-child { grid-column: span 1; }
}

/* ---------- Baixar ---------- */

.download { padding-top: 0; }
.download-card {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center;
    padding: clamp(32px, 6vw, 72px);
    border-radius: calc(var(--radius) + 6px);
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(191, 195, 188, 0.16) 0%, rgba(191, 195, 188, 0) 55%),
        radial-gradient(90% 120% at 100% 100%, rgba(143, 193, 90, 0.16) 0%, rgba(143, 193, 90, 0) 60%),
        var(--surface);
    border: 1px solid var(--line-strong);
}
.download-logo { width: 64px; height: 64px; margin-bottom: 24px; }
.download h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
.download-copy p { margin-top: 16px; color: var(--text-soft); font-size: 1.1rem; max-width: 460px; }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store-btn {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 60px; padding: 0 22px 0 18px;
    border-radius: 14px; background: var(--text); color: var(--bg);
    text-decoration: none; transition: transform .2s var(--ease), background-color .2s;
}
.store-btn:hover { background: var(--store-hover); transform: translateY(-2px); }
.store-btn .icon { width: 28px; height: 28px; }
.store-btn span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.1rem; line-height: 1.1; }
.store-btn small { font-weight: 500; font-size: .72rem; letter-spacing: .02em; opacity: .75; }

.access { display: flex; flex-direction: column; gap: 10px; }
.access-title { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px; }
.access-item {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; border-radius: var(--radius-sm);
    background: var(--inset); border: 1px solid var(--line);
    text-decoration: none; transition: border-color .2s, background-color .2s;
}
.access-item:hover { border-color: var(--accent); background: var(--inset-hover); }
.access-item > .icon:first-child { width: 24px; height: 24px; color: var(--accent); }
.access-item span { display: flex; flex-direction: column; flex: 1; font-size: .9rem; color: var(--text-muted); line-height: 1.35; }
.access-item strong { color: var(--text); font-weight: 600; font-size: 1rem; }
.icon-end { width: 18px; height: 18px; color: var(--text-dim); transition: transform .25s var(--ease), color .2s; }
.access-item:hover .icon-end { transform: translateX(3px); color: var(--accent); }

@media (max-width: 860px) {
    .download-card { grid-template-columns: 1fr; gap: 36px; }
    .store-btn { flex: 1 1 200px; justify-content: center; }
}

/* ---------- Contato ---------- */

.contact { padding-top: 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy p:not(.kicker) { color: var(--text-muted); font-size: 1.1rem; margin-top: 20px; max-width: 480px; }
.contact-copy .contact-note { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: .95rem; color: var(--text); }
.contact-note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--field); box-shadow: 0 0 0 4px rgba(143, 193, 90, 0.18); }

.contact-card { padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: .9rem; font-weight: 500; color: var(--text-muted); }
.field input,
.field textarea {
    width: 100%; padding: 14px 16px;
    background: var(--bg); color: var(--text);
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    font: 400 1rem/1.5 var(--font-body);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

.form-status { min-height: 1.5em; margin-bottom: 12px; font-size: .92rem; color: var(--text-muted); }
.form-status.is-error { color: var(--danger); }

.thanks { text-align: center; padding: 32px 8px; }
.thanks-icon { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--accent); }
.thanks h3 { font-size: 2rem; text-transform: uppercase; margin-bottom: 10px; }
.thanks p { color: var(--text-muted); }

@media (max-width: 860px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Controle do Clube ---------- */

.hero-point-link { display: flex; align-items: center; gap: 14px; flex: 1; color: inherit; text-decoration: none; }
.hero-points .hero-point-link .icon-end { width: 18px; height: 18px; margin-left: auto; color: var(--text-dim); transition: transform .25s var(--ease), color .2s; }
.hero-point-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero-point-link:hover .icon-end { transform: translateX(3px); color: var(--accent); }

.section-alt { background: var(--bg-2); }

/* Molduras de tela: janela de computador e celular */
.device-stage { position: relative; padding: 0 12% 8% 0; }
.device-window {
    overflow: hidden; border-radius: 12px;
    border: 1px solid var(--line-strong); background: var(--surface);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.device-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.device-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device-window img { width: 100%; height: auto; }
.device-phone {
    overflow: hidden; border-radius: 26px;
    border: 7px solid #0b0d0c; outline: 1px solid var(--line-strong);
    background: #0b0d0c;
    box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.55);
}
.device-phone img { width: 100%; height: auto; }
.device-stage .device-phone { position: absolute; right: 0; bottom: 0; width: 27%; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: var(--text-muted); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23888d86' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Resumo na página principal */
.club-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.club-apps { display: grid; gap: 20px; justify-items: start; }
.club-app { width: 100%; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.club-app h3, .info-card h3 {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px;
    font-size: 1.6rem; text-transform: uppercase;
}
.club-app h3 .icon, .info-card h3 .icon { width: 24px; height: 24px; color: var(--accent); }
.club-app h3 small { font: 500 .85rem/1 var(--font-body); text-transform: none; color: var(--text-dim); }

@media (max-width: 960px) {
    .club-grid { grid-template-columns: 1fr; }
}

/* Página: abertura */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    padding: calc(var(--header-h) + clamp(40px, 7vw, 88px)) 0 40px;
    background: var(--bg);
}
.page-hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background-size: cover; background-position: center; opacity: .18; filter: grayscale(.4);
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
/* Degradê no fim da foto, emendando com a seção seguinte (.section-alt) */
.page-hero--fade { padding-bottom: clamp(120px, 13vw, 180px); }
.page-hero--fade .page-hero-bg {
    opacity: .3;
    mask-image: none; -webkit-mask-image: none;
}
.page-hero--fade::after {
    content: ""; position: absolute; inset: auto 0 0; height: clamp(110px, 12vw, 170px); z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--page-bg-2) 55%, transparent) 50%, var(--page-bg-2) 100%);
}
.page-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(2.6rem, 5.2vw, 4.75rem); font-weight: 800; text-transform: uppercase; line-height: .95; }
.page-hero .lead { color: var(--text-soft); }

.facts {
    display: grid; grid-template-columns: repeat(4, 1fr); list-style: none;
    margin-top: clamp(48px, 7vw, 88px); padding-top: 0; padding-bottom: 0;
}
.facts li { display: flex; align-items: center; gap: 14px; padding: 22px 20px 0 0; border-top: 1px solid var(--line-strong); }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts .icon { width: 26px; height: 26px; color: var(--accent); }
.facts span { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.4; color: var(--text-muted); }
.facts strong { font-size: 1rem; font-weight: 600; color: var(--text); }

@media (max-width: 960px) {
    .page-hero-grid { grid-template-columns: 1fr; }
    .facts { grid-template-columns: 1fr 1fr; }
    .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) {
    .facts { grid-template-columns: 1fr; }
    .facts li { padding: 14px 0; }
    .facts li + li { padding-left: 0; border-left: 0; }
    .page-hero .hero-actions .btn { flex: 1 1 100%; }
}

/* Página: as duas aplicações */
.apps { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 32px); }
.app-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.app-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.app-card-media img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.app-card-photo img { object-position: center; }
.app-card-body { display: grid; gap: 14px; align-content: start; padding: clamp(24px, 3.5vw, 40px); }
.app-card-body .feature-tag { justify-self: start; }
.app-card h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); text-transform: uppercase; }
.app-card-body > p { color: var(--text-muted); font-size: 1.05rem; }
.app-card .check-list { margin-top: 6px; }

@media (max-width: 960px) {
    .apps { grid-template-columns: 1fr; }
}

/* Página: fluxo em passos */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.flow-step { position: relative; padding: 28px 24px 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.flow-step:not(:last-child)::after {
    content: ""; position: absolute; top: 50px; right: -21px; width: 22px; height: 2px; background: var(--line-strong);
}
.flow-icon {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border-radius: 14px; background: var(--accent-soft); color: var(--accent);
}
.flow-icon .icon { width: 24px; height: 24px; }
.flow-step .step-num { position: absolute; top: 24px; right: 24px; margin: 0; font-size: 2.5rem; }
.flow-step h3 { margin: 22px 0 8px; font-size: 1.6rem; text-transform: uppercase; }
.flow-step p { color: var(--text-muted); }

@media (max-width: 960px) {
    .flow { grid-template-columns: 1fr 1fr; }
    .flow-step::after { display: none; }
}
@media (max-width: 560px) {
    .flow { grid-template-columns: 1fr; }
}

/* Página: tour em slides */
.slides { outline: none; }
.slides-viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; overscroll-behavior-x: contain;
}
.slides-viewport::-webkit-scrollbar { display: none; }
.slides-track { display: flex; list-style: none; margin: 0; padding: 0; }
.slide {
    flex: 0 0 100%; scroll-snap-align: start;
    display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.slide-count { font: 700 .9rem/1 var(--font-body); letter-spacing: .12em; color: var(--text-dim); }
.slide-caption h3 { margin: 14px 0 12px; font-size: clamp(2rem, 3.6vw, 3rem); text-transform: uppercase; }
.slide-caption p { color: var(--text-muted); font-size: 1.1rem; }

.slides-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.slides-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    background: var(--chip); border: 1px solid var(--line-strong); border-radius: 50%;
    color: var(--text); cursor: pointer; transition: background-color .2s, opacity .2s;
}
.slides-btn:hover:not(:disabled) { background: var(--chip-hover); }
.slides-btn:disabled { opacity: .35; cursor: default; }
.slides-btn .icon { width: 20px; height: 20px; }
.slides-dots { display: flex; gap: 8px; }
.slides-dots button {
    width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px;
    background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease), background-color .2s;
}
.slides-dots button[aria-selected="true"] { width: 28px; background: var(--accent); }

@media (max-width: 860px) {
    .slide { grid-template-columns: 1fr; align-items: start; gap: 20px; }
}

/* Página: telas do celular */
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 32px); list-style: none; margin: 0; padding: 0; }
.phones .device-phone { margin-bottom: 20px; }
.phones h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.phones p { color: var(--text-muted); font-size: .95rem; }

@media (max-width: 860px) {
    .phones {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
        overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px;
    }
    .phones li { scroll-snap-align: start; }
}

/* Página: recursos */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; list-style: none; margin: 0; padding: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.resource { padding: clamp(24px, 3vw, 36px); background: var(--bg); }
.resource .icon { width: 28px; height: 28px; color: var(--accent); margin-bottom: 18px; }
.resource h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: 8px; }
.resource p { color: var(--text-muted); }

@media (max-width: 960px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .resource-grid { grid-template-columns: 1fr; } }

/* Página: segurança e requisitos */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
.info-card { padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

/* Página: perguntas frequentes */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 22px 0; cursor: pointer; list-style: none;
    font-weight: 600; font-size: 1.1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--font-body); color: var(--text-dim); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--text-muted); max-width: 640px; }

@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* ---------- Página Atirai Lancer (download) ---------- */

.lancer-hero { grid-template-columns: 1.4fr 1fr; padding-bottom: clamp(24px, 4vw, 48px); }
.lancer-hero-phone { width: min(300px, 70%); justify-self: center; transform: rotate(3deg); }

.download-box { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; }
.download-box .btn { min-height: 58px; padding: 0 30px; font-size: 1.05rem; }
.download-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--text-muted); }
.download-meta li + li::before { content: "·"; margin-right: 16px; color: var(--text-dim); }
.android-hint {
    margin-top: 22px; padding: 14px 16px; max-width: 520px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--chip);
    font-size: .92rem; color: var(--text-muted);
}
.android-hint strong { color: var(--text); white-space: nowrap; }
.download-qr {
    display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 14px 16px; max-width: 520px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--chip);
}
.download-qr[hidden] { display: none; }
.download-qr img { flex: none; width: 132px; height: 132px; padding: 6px; border-radius: 10px; background: #fff; image-rendering: pixelated; }
.download-qr p { display: grid; gap: 6px; margin: 0; font-size: .92rem; color: var(--text-muted); }
.download-qr strong { color: var(--text); font-size: 1rem; }
.os-badge {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 18px 12px 14px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--chip);
}
.os-logo { width: 30px; height: 30px; color: #2b9bf0; flex: none; }
.os-logo-android { width: 34px; height: 34px; color: #3ddc84; }
.os-badge span { display: grid; gap: 2px; font-size: .82rem; line-height: 1.3; color: var(--text-muted); }
.os-badge strong { font-size: .95rem; color: var(--text); }
.download-off { margin-top: 28px; color: var(--text-muted); }

.faq-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 4px; }
.faq-nav a { padding: 8px 0; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color .2s; }
.faq-nav a:hover { color: var(--text); }
.faq-groups { display: grid; gap: clamp(48px, 6vw, 72px); }
.faq-group { scroll-margin-top: calc(var(--header-h) + 16px); }
.faq-group h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-transform: uppercase; margin-bottom: 18px; }
.faq details > p + p,
.faq details > p + code { margin-top: -10px; }
.faq details > .check-list,
.faq details > .faq-steps { margin: 0 0 22px; max-width: 640px; }
.faq-steps { padding-left: 1.3em; color: var(--text-muted); display: grid; gap: 8px; }
.faq-steps li::marker { color: var(--text-dim); font-weight: 600; }
.faq strong { color: var(--text); font-weight: 600; }
.hash {
    display: block; margin: 0 0 22px; padding: 12px 14px; max-width: 640px;
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
    font: 500 .82rem/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    color: var(--text); word-break: break-all;
}

@media (max-width: 960px) {
    .lancer-hero { grid-template-columns: 1fr; }
    .lancer-hero-phone { display: none; }
    .faq-layout { grid-template-columns: 1fr; }
    .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .faq-nav .kicker { flex-basis: 100%; }
    .faq-nav a { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; }
}
.faq-nav .kicker { white-space: nowrap; }

@media (max-width: 560px) {
    .download-box .btn { flex: 1 1 100%; }
    .download-meta { gap: 6px 18px; }
    .download-meta li + li::before { content: none; }
}

/* ---------- Rodapé ---------- */

.site-footer { border-top: 1px solid var(--line); padding-top: 48px; background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.footer-brand img { width: 104px; height: auto; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-nav a { color: var(--text-muted); text-decoration: none; font-size: .95rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
    padding-block: 24px 32px;
    background: linear-gradient(var(--line), var(--line)) top center / calc(100% - var(--gutter) * 2) 1px no-repeat;
    font-size: .85rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Animação de entrada ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
